### Learning Objectives

- 3.1.1 Recognize the meaning of the tangent to a curve at a point.
- 3.1.2 Calculate the slope of a tangent line.
- 3.1.3 Identify the derivative as the limit of a difference quotient.
- 3.1.4 Calculate the derivative of a given function at a point.
- 3.1.5 Describe the velocity as a rate of change.
- 3.1.6 Explain the difference between average velocity and instantaneous velocity.
- 3.1.7 Estimate the derivative from a table of values.

Now that we have both a conceptual understanding of a limit and the practical ability to compute limits, we have established the foundation for our study of calculus, the branch of mathematics in which we compute derivatives and integrals. Most mathematicians and historians agree that calculus was developed independently by the Englishman Isaac Newton $\text{(1643\u20131727)}$ and the German Gottfried Leibniz $\text{(1646\u20131716),}$ whose images appear in Figure 3.2. When we credit Newton and Leibniz with developing calculus, we are really referring to the fact that Newton and Leibniz were the first to understand the relationship between the derivative and the integral. Both mathematicians benefited from the work of predecessors, such as Barrow, Fermat, and Cavalieri. The initial relationship between the two mathematicians appears to have been amicable; however, in later years a bitter controversy erupted over whose work took precedence. Although it seems likely that Newton did, indeed, arrive at the ideas behind calculus first, we are indebted to Leibniz for the notation that we commonly use today.

### Tangent Lines

We begin our study of calculus by revisiting the notion of secant lines and tangent lines. Recall that we used the slope of a secant line to a function at a point $(a,f\left(a\right))$ to estimate the rate of change, or the rate at which one variable changes in relation to another variable. We can obtain the slope of the secant by choosing a value of $x$ near $a$ and drawing a line through the points $(a,f\left(a\right))$ and $\left(x,f\left(x\right)\right),$ as shown in Figure 3.3. The slope of this line is given by an equation in the form of a difference quotient:

We can also calculate the slope of a secant line to a function at a value *a* by using this equation and replacing $x$ with $a+h,$ where $h$ is a value close to 0. We can then calculate the slope of the line through the points $(a,f\left(a\right))$ and $(a+h,f\left(a+h\right)).$ In this case, we find the secant line has a slope given by the following difference quotient with increment $h\text{:}$

### Definition

Let $f$ be a function defined on an interval $I$ containing $a.$ If $x\ne a$ is in $I,$ then

is a difference quotient.

Also, if $h\ne 0$ is chosen so that $a+h$ is in $I,$ then

is a difference quotient with increment $h.$

### Media

View the development of the derivative with this applet.

These two expressions for calculating the slope of a secant line are illustrated in Figure 3.3. We will see that each of these two methods for finding the slope of a secant line is of value. Depending on the setting, we can choose one or the other. The primary consideration in our choice usually depends on ease of calculation.

In Figure 3.4(a) we see that, as the values of $x$ approach $a,$ the slopes of the secant lines provide better estimates of the rate of change of the function at $a.$ Furthermore, the secant lines themselves approach the tangent line to the function at $a,$ which represents the limit of the secant lines. Similarly, Figure 3.4(b) shows that as the values of $h$ get closer to $0,$ the secant lines also approach the tangent line. The slope of the tangent line at $a$ is the rate of change of the function at $a,$ as shown in Figure 3.4(c).

### Media

You can use this site to explore graphs to see if they have a tangent line at a point.

In Figure 3.5 we show the graph of $f\left(x\right)=\sqrt{x}$ and its tangent line at $(1,1)$ in a series of tighter intervals about $x=1.$ As the intervals become narrower, the graph of the function and its tangent line appear to coincide, making the values on the tangent line a good approximation to the values of the function for choices of $x$ close to $1.$ In fact, the graph of $f(x)$ itself appears to be locally linear in the immediate vicinity of $x=1.$

Formally we may define the tangent line to the graph of a function as follows.

### Definition

Let $f(x)$ be a function defined in an open interval containing $a.$ The *tangent line* to $f(x)$ at $a$ is the line passing through the point $\left(a,f\left(a\right)\right)$ having slope

provided this limit exists.

Equivalently, we may define the tangent line to $f\left(x\right)$ at $a$ to be the line passing through the point $\left(a,f\left(a\right)\right)$ having slope

provided this limit exists.

Just as we have used two different expressions to define the slope of a secant line, we use two different forms to define the slope of the tangent line. In this text we use both forms of the definition. As before, the choice of definition will depend on the setting. Now that we have formally defined a tangent line to a function at a point, we can use this definition to find equations of tangent lines.

### Example 3.1

#### Finding a Tangent Line

Find the equation of the line tangent to the graph of $f\left(x\right)={x}^{2}$ at $x=3.$

#### Solution

First find the slope of the tangent line. In this example, use Equation 3.3.

Next, find a point on the tangent line. Since the line is tangent to the graph of $f(x)$ at $x=3,$ it passes through the point $\left(3,f\left(3\right)\right).$ We have $f\left(3\right)=9,$ so the tangent line passes through the point $\left(3,9\right).$

Using the point-slope equation of the line with the slope $m=6$ and the point $\left(3,9\right),$ we obtain the line $y-9=6\left(x-3\right).$ Simplifying, we have $y=6x-9.$ The graph of $f\left(x\right)={x}^{2}$ and its tangent line at $3$ are shown in Figure 3.6.

### Example 3.2

#### The Slope of a Tangent Line Revisited

Use Equation 3.4 to find the slope of the line tangent to the graph of $f\left(x\right)={x}^{2}$ at $x=3.$

#### Solution

The steps are very similar to Example 3.1. See Equation 3.4 for the definition.

We obtained the same value for the slope of the tangent line by using the other definition, demonstrating that the formulas can be interchanged.

### Example 3.3

#### Finding the Equation of a Tangent Line

Find the equation of the line tangent to the graph of $f\left(x\right)=1\text{/}x$ at $x=2.$

#### Solution

We can use Equation 3.3, but as we have seen, the results are the same if we use Equation 3.4.

We now know that the slope of the tangent line is $-\frac{1}{4}.$ To find the equation of the tangent line, we also need a point on the line. We know that $f\left(2\right)=\frac{1}{2}.$ Since the tangent line passes through the point $(2,\frac{1}{2})$ we can use the point-slope equation of a line to find the equation of the tangent line. Thus the tangent line has the equation $y=-\frac{1}{4}x+1.$ The graphs of $f\left(x\right)=\frac{1}{x}$ and $y=-\frac{1}{4}x+1$ are shown in Figure 3.7.

### Checkpoint 3.1

Find the slope of the line tangent to the graph of $f\left(x\right)=\sqrt{x}$ at $x=4.$

### The Derivative of a Function at a Point

The type of limit we compute in order to find the slope of the line tangent to a function at a point occurs in many applications across many disciplines. These applications include velocity and acceleration in physics, marginal profit functions in business, and growth rates in biology. This limit occurs so frequently that we give this value a special name: the derivative. The process of finding a derivative is called differentiation.

### Definition

Let $f(x)$ be a function defined in an open interval containing $a.$ The derivative of the function $f(x)$ at $a,$ denoted by ${f}^{\prime}\left(a\right),$ is defined by

provided this limit exists.

Alternatively, we may also define the derivative of $f(x)$ at $a$ as

### Example 3.4

#### Estimating a Derivative

For $f\left(x\right)={x}^{2},$ use a table to estimate ${f}^{\prime}(3)$ using Equation 3.5.

#### Solution

Create a table using values of $x$ just below $3$ and just above $3.$

$x$ | $\frac{{x}^{2}-9}{x-3}$ |
---|---|

$2.9$ | $5.9$ |

$2.99$ | $5.99$ |

$2.999$ | $5.999$ |

$3.001$ | $6.001$ |

$3.01$ | $6.01$ |

$3.1$ | $6.1$ |

After examining the table, we see that a good estimate is ${f}^{\prime}\left(3\right)=6.$

### Checkpoint 3.2

For $f\left(x\right)={x}^{2},$ use a table to estimate ${f}^{\prime}(3)$ using Equation 3.6.

### Example 3.5

#### Finding a Derivative

For $f\left(x\right)=3{x}^{2}-4x+1,$ find ${f}^{\prime}(2)$ by using Equation 3.5.

#### Solution

Substitute the given function and value directly into the equation.

### Example 3.6

#### Revisiting the Derivative

For $f\left(x\right)=3{x}^{2}-4x+1,$ find ${f}^{\prime}(2)$ by using Equation 3.6.

#### Solution

Using this equation, we can substitute two values of the function into the equation, and we should get the same value as in Example 3.5.

The results are the same whether we use Equation 3.5 or Equation 3.6.

### Checkpoint 3.3

For $f\left(x\right)={x}^{2}+3x+2,$ find ${f}^{\prime}\left(1\right).$

### Velocities and Rates of Change

Now that we can evaluate a derivative, we can use it in velocity applications. Recall that if $s\left(t\right)$ is the position of an object moving along a coordinate axis, the average velocity of the object over a time interval $\left[a,t\right]$ if $t>a$ or $\left[t,a\right]$ if $t<a$ is given by the difference quotient

As the values of $t$ approach $a,$ the values of ${v}_{\text{ave}}$ approach the value we call the instantaneous velocity at $a.$ That is, instantaneous velocity at $a,$ denoted $v\left(a\right),$ is given by

To better understand the relationship between average velocity and instantaneous velocity, see Figure 3.8. In this figure, the slope of the tangent line (shown in red) is the instantaneous velocity of the object at time $t=a$ whose position at time $t$ is given by the function $s\left(t\right).$ The slope of the secant line (shown in green) is the average velocity of the object over the time interval $\left[a,t\right].$

We can use Equation 3.5 to calculate the instantaneous velocity, or we can estimate the velocity of a moving object by using a table of values. We can then confirm the estimate by using Equation 3.7.

### Example 3.7

#### Estimating Velocity

A lead weight on a spring is oscillating up and down. Its position at time $t$ with respect to a fixed horizontal line is given by $s\left(t\right)=\text{sin}\phantom{\rule{0.2em}{0ex}}t$ (Figure 3.9). Use a table of values to estimate $v\left(0\right).$ Check the estimate by using Equation 3.5.

#### Solution

We can estimate the instantaneous velocity at $t=0$ by computing a table of average velocities using values of $t$ approaching $0,$ as shown in Table 3.1.

$t$ | $\frac{\text{sin}\phantom{\rule{0.1em}{0ex}}t-\text{sin}\phantom{\rule{0.1em}{0ex}}0}{t-0}=\frac{\text{sin}\phantom{\rule{0.1em}{0ex}}t}{t}$ |
---|---|

$\mathrm{-0.1}$ | $0.998334166$ |

$\mathrm{-0.01}$ | $0.9999833333$ |

$\mathrm{-0.001}$ | $0.999999833$ |

$0.001$ | $0.999999833$ |

$0.01$ | $0.9999833333$ |

$0.1$ | $0.998334166$ |

From the table we see that the average velocity over the time interval $\left[\mathrm{-0.1},0\right]$ is $0.998334166,$ the average velocity over the time interval $\left[\mathrm{-0.01},0\right]$ is $0.9999833333,$ and so forth. Using this table of values, it appears that a good estimate is $v\left(0\right)=1.$

By using Equation 3.5, we can see that

Thus, in fact, $v\left(0\right)=1.$

### Checkpoint 3.4

A rock is dropped from a height of $64$ feet. Its height above ground at time $t$ seconds later is given by $s\left(t\right)=\mathrm{-16}{t}^{2}+64,0\le t\le 2.$ Find its instantaneous velocity $1$ second after it is dropped, using Equation 3.5.

As we have seen throughout this section, the slope of a tangent line to a function and instantaneous velocity are related concepts. Each is calculated by computing a derivative and each measures the instantaneous rate of change of a function, or the rate of change of a function at any point along the function.

### Definition

The instantaneous rate of change of a function $f(x)$ at a value $a$ is its derivative ${f}^{\prime}(a).$

### Example 3.8

#### Chapter Opener: Estimating Rate of Change of Velocity

Reaching a top speed of $270.49$ mph, the Hennessey Venom GT is one of the fastest cars in the world. In tests it went from $0$ to $60$ mph in $3.05$ seconds, from $0\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}100$ mph in $5.88$ seconds, from $0\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}200$ mph in $14.51$ seconds, and from $0\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}229.9$ mph in $19.96$ seconds. Use this data to draw a conclusion about the rate of change of velocity (that is, its acceleration) as it approaches $229.9$ mph. Does the rate at which the car is accelerating appear to be increasing, decreasing, or constant?

#### Solution

First observe that $60$ mph = $88$ ft/s, $100$ mph $\approx 146.67$ ft/s, $200$ mph $\approx 293.33$ ft/s, and $229.9$ mph $\approx 337.19$ ft/s. We can summarize the information in a table.

$t$ | $v(t)$ |
---|---|

$0$ | $0$ |

$3.05$ | $88$ |

$5.88$ | $146.67$ |

$14.51$ | $293.33$ |

$19.96$ | $337.19$ |

Now compute the average acceleration of the car in feet per second per second on intervals of the form $\left[t,19.96\right]$ as $t$ approaches $19.96,$ as shown in the following table.

$t$ | $\frac{v\left(t\right)-v(19.96)}{t-19.96}=\frac{v\left(t\right)-337.19}{t-19.96}$ |
---|---|

$0.0$ | $16.89$ |

$3.05$ | $14.74$ |

$5.88$ | $13.53$ |

$14.51$ | $8.05$ |

The rate at which the car is accelerating is decreasing as its velocity approaches $229.9$ mph $\text{(}337.19$ ft/s).

### Example 3.9

#### Rate of Change of Temperature

A homeowner sets the thermostat so that the temperature in the house begins to drop from $70\text{\xb0}\text{F}$ at $9$ p.m., reaches a low of $60\text{\xb0}$ during the night, and rises back to $70\text{\xb0}$ by $7$ a.m. the next morning. Suppose that the temperature in the house is given by $T\left(t\right)=0.4{t}^{2}-4t+70$ for $0\le t\le 10,$ where $t$ is the number of hours past $9$ p.m. Find the instantaneous rate of change of the temperature at midnight.

#### Solution

Since midnight is $3$ hours past $9$ p.m., we want to compute ${T}^{\prime}(3).$ Refer to Equation 3.5.

The instantaneous rate of change of the temperature at midnight is $\mathrm{-1.6}\text{\xb0}\text{F}$ per hour.

### Example 3.10

#### Rate of Change of Profit

A toy company can sell $x$ electronic gaming systems at a price of $p=\mathrm{-0.01}x+400$ dollars per gaming system. The cost of manufacturing $x$ systems is given by $C\left(x\right)=100x+\mathrm{10,000}$ dollars. Find the rate of change of profit when $\mathrm{10,000}$ games are produced. Should the toy company increase or decrease production?

#### Solution

The profit $P\left(x\right)$ earned by producing $x$ gaming systems is $R\left(x\right)-C\left(x\right),$ where $R\left(x\right)$ is the revenue obtained from the sale of $x$ games. Since the company can sell $x$ games at $p=\mathrm{-0.01}x+400$ per game,

Consequently,

Therefore, evaluating the rate of change of profit gives

Since the rate of change of profit ${P}^{\prime}\left(\mathrm{10,000}\right)>0$ and $P\left(\mathrm{10,000}\right)>0,$ the company should increase production.

### Checkpoint 3.5

A coffee shop determines that the daily profit on scones obtained by charging $s$ dollars per scone is $P\left(s\right)=\mathrm{-20}{s}^{2}+150s-10.$ The coffee shop currently charges $\text{\$}3.25$ per scone. Find ${P}^{\prime}(3.25),$ the rate of change of profit when the price is $\text{\$}3.25$ and decide whether or not the coffee shop should consider raising or lowering its prices on scones.

### Section 3.1 Exercises

For the following exercises, use Equation 3.1 to find the slope of the secant line between the values ${x}_{1}$ and ${x}_{2}$ for each function $y=f\left(x\right).$

$f\left(x\right)=8x-3;{x}_{1}=\mathrm{-1},{x}_{2}=3$

$f\left(x\right)=\text{\u2212}{x}^{2}+x+2;{x}_{1}=0.5,{x}_{2}=1.5$

$f\left(x\right)=\frac{x-7}{2x+1};{x}_{1}=0,{x}_{2}=2$

$f\left(x\right)=\sqrt{x-9};{x}_{1}=10,{x}_{2}=13$

$f\left(x\right)=6{x}^{2\text{/}3}+2{x}^{1\text{/}3};{x}_{1}=1,{x}_{2}=27$

For the following functions,

- use Equation 3.4 to find the slope of the tangent line ${m}_{\text{tan}}={f}^{\prime}\left(a\right),$ and
- find the equation of the tangent line to $f$ at $x=a.$

$f\left(x\right)=\frac{x}{5}+6,a=\mathrm{-1}$

$f\left(x\right)=1-x-{x}^{2},a=0$

$f\left(x\right)=\sqrt{x+8},a=1$

$f\left(x\right)=\frac{\mathrm{-3}}{x-1},a=4$

$f\left(x\right)=\frac{3}{{x}^{2}},a=3$

For the following functions $y=f\left(x\right),$ find ${f}^{\prime}\left(a\right)$ using Equation 3.5.

$f\left(x\right)=\mathrm{-7}x+1,a=3$

$f\left(x\right)=3{x}^{2}-x+2,a=1$

$f\left(x\right)=\sqrt{x-2},a=6$

$f\left(x\right)=\frac{1}{x-3},a=\mathrm{-1}$

$f\left(x\right)=\frac{1}{\sqrt{x}},a=4$

For the following exercises, given the function $y=f\left(x\right),$

- find the slope of the secant line $PQ$ for each point $Q\left(x,f\left(x\right)\right)$ with $x$ value given in the table.
- Use the answers from a. to estimate the value of the slope of the tangent line at $P.$
- Use the answer from b. to find the equation of the tangent line to $f$ at point $P.$

**[T]** $f\left(x\right)={x}^{2}+3x+4,P\left(1,8\right)$ (Round to $6$ decimal places.)

x |
Slope ${m}_{PQ}$ | x |
Slope ${m}_{PQ}$ |
---|---|---|---|

1.1 | (i) | 0.9 | (vii) |

1.01 | (ii) | 0.99 | (viii) |

1.001 | (iii) | 0.999 | (ix) |

1.0001 | (iv) | 0.9999 | (x) |

1.00001 | (v) | 0.99999 | (xi) |

1.000001 | (vi) | 0.999999 | (xii) |

**[T]** $f\left(x\right)=\frac{x+1}{{x}^{2}-1},P\left(0,\mathrm{-1}\right)$

x |
Slope ${m}_{PQ}$ | x |
Slope ${m}_{PQ}$ |
---|---|---|---|

0.1 | (i) | $\mathrm{-0.1}$ | (vii) |

0.01 | (ii) | $\mathrm{-0.01}$ | (viii) |

0.001 | (iii) | $\mathrm{-0.001}$ | (ix) |

0.0001 | (iv) | $\mathrm{-0.0001}$ | (x) |

0.00001 | (v) | $\mathrm{-0.00001}$ | (xi) |

0.000001 | (vi) | $\mathrm{-0.000001}$ | (xii) |

**[T]** $f\left(x\right)=10{e}^{0.5x},P\left(0,10\right)$ (Round to $4$ decimal places.)

x |
Slope ${m}_{PQ}$ |
---|---|

$\mathrm{-0.1}$ | (i) |

$\mathrm{-0.01}$ | (ii) |

$\mathrm{-0.001}$ | (iii) |

$\mathrm{-0.0001}$ | (iv) |

$\mathrm{-0.00001}$ | (v) |

−0.000001 | (vi) |

**[T]** $f\left(x\right)=\text{tan}\phantom{\rule{0.1em}{0ex}}\left(x\right),P\left(\pi ,0\right)$

x |
Slope ${m}_{PQ}$ |
---|---|

3.1 | (i) |

3.14 | (ii) |

3.141 | (iii) |

3.1415 | (iv) |

3.14159 | (v) |

3.141592 | (vi) |

**[T]** For the following position functions $y=s\left(t\right),$ an object is moving along a straight line, where $t$ is in seconds and $s$ is in meters. Find

- the simplified expression for the average velocity from $t=2$ to $t=2+h;$
- the average velocity between $t=2$ and $t=2+h,$ where $\text{(i)}\phantom{\rule{0.2em}{0ex}}h=0.1,$ $\text{(ii)}\phantom{\rule{0.2em}{0ex}}h=0.01,$ $\text{(iii)}\phantom{\rule{0.2em}{0ex}}h=0.001,$ and $\text{(iv)}\phantom{\rule{0.2em}{0ex}}h=0.0001;$ and
- use the answer from a. to estimate the instantaneous velocity at $t=2$ second.

$s\left(t\right)={t}^{2}-2t$

$s\left(t\right)=\frac{16}{{t}^{2}}-\frac{4}{t}$

Use the following graph to evaluate a. ${f}^{\prime}\left(1\right)$ and b. ${f}^{\prime}\left(6\right).$

Use the following graph to evaluate a. ${f}^{\prime}\left(\mathrm{-3}\right)$ and b. ${f}^{\prime}\left(1.5\right).$

For the following exercises, use the limit definition of derivative to show that the derivative does not exist at $x=a$ for each of the given functions.

$f\left(x\right)={x}^{2\text{/}3},x=0$

$f\left(x\right)=\frac{\left|x\right|}{x},x=0$

**[T]** The position in feet of a race car along a straight track after $t$ seconds is modeled by the function $s\left(t\right)=8{t}^{2}-\frac{1}{16}{t}^{3}.$

- Find the average velocity of the vehicle over the following time intervals to four decimal places:
- [4, 4.1]
- [4, 4.01]
- [4, 4.001]
- [4, 4.0001]

- Use a. to draw a conclusion about the instantaneous velocity of the vehicle at $t=4$ seconds.

**[T]** The distance in feet that a ball rolls down an incline is modeled by the function $s\left(t\right)=14{t}^{2},$ where *t* is seconds after the ball begins rolling.

- Find the average velocity of the ball over the following time intervals:
- [5, 5.1]
- [5, 5.01]
- [5, 5.001]
- [5, 5.0001]

- Use the answers from a. to draw a conclusion about the instantaneous velocity of the ball at $t=5$ seconds.

Two vehicles start out traveling side by side along a straight road. Their position functions, shown in the following graph, are given by $s=f(t)$ and $s=g\left(t\right),$ where $s$ is measured in feet and $t$ is measured in seconds.

- Which vehicle has traveled farther at $t=2$ seconds?
- What is the approximate velocity of each vehicle at $t=3$ seconds?
- Which vehicle is traveling faster at $t=4$ seconds?
- What is true about the positions of the vehicles at $t=4$ seconds?

**[T]** The total cost $C(x),$ in hundreds of dollars, to produce $x$ jars of mayonnaise is given by $C\left(x\right)=0.000003{x}^{3}+4x+300.$

- Calculate the average cost per jar over the following intervals:
- [100, 100.1]
- [100, 100.01]
- [100, 100.001]
- [100, 100.0001]

- Use the answers from a. to estimate the average cost to produce $100$ jars of mayonnaise.

**[T]** For the function $f\left(x\right)={x}^{3}-2{x}^{2}-11x+12,$ do the following.

- Use a graphing calculator to graph
*f*in an appropriate viewing window. - Use the ZOOM feature on the calculator to approximate the two values of $x=a$ for which ${m}_{\text{tan}}={f}^{\prime}\left(a\right)=0.$

**[T]** For the function $f\left(x\right)=\frac{x}{1+{x}^{2}},$ do the following.

- Use a graphing calculator to graph $f$ in an appropriate viewing window.
- Use the ZOOM feature on the calculator to approximate the values of $x=a$ for which ${m}_{\text{tan}}={f}^{\prime}\left(a\right)=0.$

Suppose that $N\left(x\right)$ computes the number of gallons of gas used by a vehicle traveling $x$ miles. Suppose the vehicle gets $30$ mpg.

- Find a mathematical expression for $N\left(x\right).$
- What is $N(100\text{)?}$ Explain the physical meaning.
- What is ${N}^{\prime}(100)?$ Explain the physical meaning.

**[T]** For the function $f\left(x\right)={x}^{4}-5{x}^{2}+4,$ do the following.

- Use a graphing calculator to graph $f$ in an appropriate viewing window.
- Use the $\text{nDeriv}$ function, which numerically finds the derivative, on a graphing calculator to estimate ${f}^{\prime}\left(\mathrm{-2}\right),{f}^{\prime}(\mathrm{-0.5}),{f}^{\prime}(1.7),$ and ${f}^{\prime}(2.718).$

**[T]** For the function $f\left(x\right)=\frac{{x}^{2}}{{x}^{2}+1},$ do the following.

- Use a graphing calculator to graph $f$ in an appropriate viewing window.
- Use the $\text{nDeriv}$ function on a graphing calculator to find ${f}^{\prime}\left(\mathrm{-4}\right),{f}^{\prime}(\mathrm{-2}),{f}^{\prime}(2),$ and ${f}^{\prime}(4).$