### Learning Objectives

• Recognize the meaning of the tangent to a curve at a point.
• Calculate the slope of a tangent line.
• Identify the derivative as the limit of a difference quotient.
• Calculate the derivative of a given function at a point.
• Describe the velocity as a rate of change.
• Explain the difference between average velocity and instantaneous velocity.
• 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  (1643–1727) and the German Gottfried Leibniz  (1646–1716), whose images appear in (Figure) . 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(a))$ 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(a))$ and $(x,f(x))$, as shown in (Figure) . The slope of this line is given by an equation in the form of a difference quotient :

$m_{\sec}=\frac{f(x)-f(a)}{x-a}$.

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(a))$ and $(a+h,f(a+h))$. In this case, we find the secant line has a slope given by the following difference quotient with increment $h$:

$m_{\sec}=\frac{f(a+h)-f(a)}{a+h-a}=\frac{f(a+h)-f(a)}{h}$.

### Definition

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

$Q=\frac{f(x)-f(a)}{x-a}$

is a difference quotient .

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

$Q=\frac{f(a+h)-f(a)}{h}$

is a difference quotient with increment $h$.

View several Java applets on the development of the derivative.

These two expressions for calculating the slope of a secant line are illustrated in (Figure) . 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) (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) (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) (c).

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

In (Figure) we show the graph of $f(x)=\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 $(a,f(a))$ having slope

$m_{\tan}=\underset{x\to a}{\lim}\frac{f(x)-f(a)}{x-a}$

provided this limit exists.

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

$m_{\tan}=\underset{h\to 0}{\lim}\frac{f(a+h)-f(a)}{h}$

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.

### Finding a Tangent Line

Find the equation of the line tangent to the graph of $f(x)=x^2$ at $x=3$.

#### Solution

First find the slope of the tangent line. In this example, use (Figure) .

$\begin{array}{lllll}m_{\tan} & =\underset{x\to 3}{\lim}\frac{f(x)-f(3)}{x-3} & & & \text{Apply the definition.} \\ & =\underset{x\to 3}{\lim}\frac{x^2-9}{x-3} & & & \text{Substitute} \, f(x)=x^2 \, \text{and} \, f(3)=9. \\ & =\underset{x\to 3}{\lim}\frac{(x-3)(x+3)}{x-3}=\underset{x\to 3}{\lim}(x+3)=6 & & & \text{Factor the numerator to evaluate the limit.} \end{array}$

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 $(3,f(3))$. We have $f(3)=9$, so the tangent line passes through the point $(3,9)$.

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

### The Slope of a Tangent Line Revisited

Use (Figure) to find the slope of the line tangent to the graph of $f(x)=x^2$ at $x=3$.

#### Solution

The steps are very similar to (Figure) . See (Figure) for the definition.

$\begin{array}{lllll}m_{\tan} & =\underset{h\to 0}{\lim}\frac{f(3+h)-f(3)}{h} & & & \text{Apply the definition.} \\ & =\underset{h\to 0}{\lim}\frac{(3+h)^2-9}{h} & & & \text{Substitute} \, f(3+h)=(3+h)^2 \, \text{and} \, f(3)=9. \\ & =\underset{h\to 0}{\lim}\frac{9+6h+h^2-9}{h} & & & \text{Expand and simplify to evaluate the limit.} \\ & =\underset{h\to 0}{\lim}\frac{h(6+h)}{h}=\underset{h\to 0}{\lim}(6+h)=6 \end{array}$

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

### Finding the Equation of a Tangent Line

Find the equation of the line tangent to the graph of $f(x)=1/x$ at $x=2$.

#### Solution

We can use (Figure) , but as we have seen, the results are the same if we use (Figure) .

$\begin{array}{lllll}m_{\tan} & =\underset{x\to 2}{\lim}\frac{f(x)-f(2)}{x-2} & & & \text{Apply the definition.} \\ & =\underset{x\to 2}{\lim}\frac{\frac{1}{x}-\frac{1}{2}}{x-2} & & & \text{Substitute} \, f(x)=\frac{1}{x} \, \text{and} \, f(2)=\frac{1}{2}. \\ & =\underset{x\to 2}{\lim}\frac{\frac{1}{x}-\frac{1}{2}}{x-2} \cdot \frac{2x}{2x} & & & \begin{array}{l}\text{Multiply numerator and denominator by} \, 2x \, \text{to} \\ \text{simplify fractions.} \end{array} \\ & =\underset{x\to 2}{\lim}\frac{(2-x)}{(x-2)(2x)} & & & \text{Simplify.} \\ & =\underset{x\to 2}{\lim}\frac{-1}{2x} & & & \text{Simplify using} \, \frac{2-x}{x-2}=-1, \, \text{for} \, x\ne 2. \\ & =-\frac{1}{4} & & & \text{Evaluate the limit.} \end{array}$

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(2)=\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(x)=\frac{1}{x}$ and $y=-\frac{1}{4}x+1$ are shown in (Figure) .

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

#### Hint

Use either (Figure) or (Figure) . Multiply the numerator and the denominator by a conjugate.

#### Solution

$\frac{1}{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}(a)$, is defined by

$f^{\prime}(a)=\underset{x\to a}{\lim}\frac{f(x)-f(a)}{x-a}$

provided this limit exists.

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

$f^{\prime}(a)=\underset{h\to 0}{\lim}\frac{f(a+h)-f(a)}{h}$
provided this limit exists.

### Estimating a Derivative

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

#### 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}(3)=6$.

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

#### Hint

Evaluate $\frac{(x+h)^2-x^2}{h}$ at $h=-0.1,-0.01,-0.001,0.001,0.01,0.1$

6

### Finding a Derivative

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

#### Solution

Substitute the given function and value directly into the equation.

$\begin{array}{lllll}f^{\prime}(x)& =\underset{x\to 2}{\lim}\frac{f(x)-f(2)}{x-2} & & & \text{Apply the definition.} \\ & =\underset{x\to 2}{\lim}\frac{(3x^2-4x+1)-5}{x-2} & & & \text{Substitute} \, f(x)=3x^2-4x+1 \, \text{and} \, f(2)=5. \\ & =\underset{x\to 2}{\lim}\frac{(x-2)(3x+2)}{x-2} & & & \text{Simplify and factor the numerator.} \\ & =\underset{x\to 2}{\lim}(3x+2) & & & \text{Cancel the common factor.} \\ & =8 & & & \text{Evaluate the limit.} \end{array}$

### Revisiting the Derivative

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

#### Solution

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

$\begin{array}{lllll}f^{\prime}(2) & =\underset{h\to 0}{\lim}\frac{f(2+h)-f(2)}{h} & & & \text{Apply the definition.} \\ & =\underset{h\to 0}{\lim}\frac{(3(2+h)^2-4(2+h)+1)-5}{h} & & & \begin{array}{l}\text{Substitute} \, f(2)=5 \, \text{and} \\ f(2+h)=3(2+h)^2-4(2+h)+1. \end{array} \\ & =\underset{h\to 0}{\lim}\frac{3h^2+8h}{h} & & & \text{Simplify the numerator.} \\ & =\underset{h\to 0}{\lim}\frac{h(3h+8)}{h} & & & \text{Factor the numerator.} \\ & =\underset{h\to 0}{\lim}(3h+8) & & & \text{Cancel the common factor.} \\ & =8 & & & \text{Evaluate the limit.} \end{array}$

The results are the same whether we use (Figure) or (Figure) .

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

#### Hint

Use either (Figure) , (Figure) , or try both. Use either (Figure) or (Figure) as a guide.

#### Solution

$f^{\prime}(1)=5$

# Velocities and Rates of Change

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

$v_{\text{avg}}=\frac{s(t)-s(a)}{t-a}$.

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

$v(a)=s^{\prime}(a)=\underset{t\to a}{\lim}\frac{s(t)-s(a)}{t-a}$.

To better understand the relationship between average velocity and instantaneous velocity, see (Figure) . 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(t)$. The slope of the secant line (shown in green) is the average velocity of the object over the time interval $[a,t]$.

We can use (Figure) 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 (Figure) .

### 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(t)= \sin t$ ( (Figure) ). Use a table of values to estimate $v(0)$. Check the estimate by using (Figure) .

#### 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 (Figure) .

Average velocities using values of $t$ approaching 0
$t$ $\frac{\sin t - \sin 0}{t-0}=\frac{\sin t}{t}$
-0.1 0.998334166
-0.01 0.9999833333
-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 $[-0.1,0]$ is 0.998334166, the average velocity over the time interval $[-0.01,0]$ is 0.9999833333, and so forth. Using this table of values, it appears that a good estimate is $v(0)=1$.

By using (Figure) , we can see that

$v(0)=s^{\prime}(0)=\underset{t\to 0}{\lim}\frac{\sin t- \sin 0}{t-0}=\underset{t\to 0}{\lim}\frac{\sin t}{t}=1$.

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

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

#### Hint

$v(t)=s^{\prime}(t)$. Follow the earlier examples of the derivative using (Figure) .

#### Solution

-32 ft/sec

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)$.

### 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 to 100 mph in 5.88 seconds, from 0 to 200 mph in 14.51 seconds, and from 0 to 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.

$v(t)$ at different values of $t$
$t$ $v(t)$
0 0
3.05 88
5.88 147.67
14.51 293.33
19.96 337.19

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

Average acceleration
$t$ $\frac{v(t)-v(19.96)}{t-19.96}=\frac{v(t)-337.19}{t-19.96}$
0.0 16.89
3.05 14.74
5.88 13.46
14.51 8.05

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

### Rate of Change of Temperature

A homeowner sets the thermostat so that the temperature in the house begins to drop from $70^{\circ}\text{F}$ at 9 p.m., reaches a low of $60^{\circ}$ during the night, and rises back to $70^{\circ}$ by 7 a.m. the next morning. Suppose that the temperature in the house is given by $T(t)=0.4t^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 (Figure) .

$\begin{array}{lllll}T^{\prime}(3) & =\underset{t\to 3}{\lim}\frac{T(t)-T(3)}{t-3} & & & \text{Apply the definition.} \\ & =\underset{t\to 3}{\lim}\frac{0.4t^2-4t+70-61.6}{t-3} & & & \begin{array}{l}\text{Substitute}T(t)=0.4t^2-4t+70 \, \text{and} \\ T(3)=61.6. \end{array} \\ & =\underset{t\to 3}{\lim}\frac{0.4t^2-4t+8.4}{t-3} & & & \text{Simplify.} \\ & =\underset{t\to 3}{\lim}\frac{0.4(t-3)(t-7)}{t-3} & & & =\underset{t\to 3}{\lim}\frac{0.4(t-3)(t-7)}{t-3} \\ & =\underset{t\to 3}{\lim}0.4(t-7) & & & \text{Cancel.} \\ & =-1.6 & & & \text{Evaluate the limit.} \end{array}$

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

### Rate of Change of Profit

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

#### Solution

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

$R(x)=xp=x(-0.01x+400)=-0.01x^2+400x$.

Consequently,

$P(x)=-0.01x^2+300x-10,000$.

Therefore, evaluating the rate of change of profit gives

$\begin{array}{ll}P^{\prime}(10000)& =\underset{x\to 10000}{\lim}\frac{P(x)-P(10000)}{x-10000} \\ & =\underset{x\to 10000}{\lim}\frac{-0.01x^2+300x-10000-1990000}{x-10000} \\ & =\underset{x\to 10000}{\lim}\frac{-0.01x^2+300x-2000000}{x-10000} \\ & =100 \end{array}$

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

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

#### Hint

Use (Figure) for a guide.

#### Solution

$P^{\prime}(3.25)=20 < 0$; raise prices

### Key Concepts

• The slope of the tangent line to a curve measures the instantaneous rate of change of a curve. We can calculate it by finding the limit of the difference quotient or the difference quotient with increment $h$.
• The derivative of a function $f(x)$ at a value $a$ is found using either of the definitions for the slope of the tangent line.
• Velocity is the rate of change of position. As such, the velocity $v(t)$ at time $t$ is the derivative of the position $s(t)$ at time $t$. Average velocity is given by
$v_{\text{avg}}=\frac{s(t)-s(a)}{t-a}$.

Instantaneous velocity is given by

$v(a)=s^{\prime}(a)=\underset{t\to a}{\lim}\frac{s(t)-s(a)}{t-a}$.
• We may estimate a derivative by using a table of values.

# Key Equations

• Difference quotient
$Q=\frac{f(x)-f(a)}{x-a}$
• Difference quotient with increment $h$
$Q=\frac{f(a+h)-f(a)}{a+h-a}=\frac{f(a+h)-f(a)}{h}$
• Slope of tangent line
$m_{\tan}=\underset{x\to a}{\lim}\frac{f(x)-f(a)}{x-a}$
$m_{\tan}=\underset{h\to 0}{\lim}\frac{f(a+h)-f(a)}{h}$
• Derivative of $f(x)$ at $a$
$f^{\prime}(a)=\underset{x\to a}{\lim}\frac{f(x)-f(a)}{x-a}$
$f^{\prime}(a)=\underset{h\to 0}{\lim}\frac{f(a+h)-f(a)}{h}$
• Average velocity
$v_{\text{avg}}=\frac{s(t)-s(a)}{t-a}$
• Instantaneous velocity
$v(a)=s^{\prime}(a)=\underset{t\to a}{\lim}\frac{s(t)-s(a)}{t-a}$

For the following exercises, use (Figure) to find the slope of the secant line between the values $x_1$ and $x_2$ for each function $y=f(x)$.

1.  $f(x)=4x+7; \, x_1=2, \, x_2=5$

#### Solution

4

2.  $f(x)=8x-3; \, x_1=-1, \, x_2=3$

3.  $f(x)=x^2+2x+1; \, x_1=3, \, x_2=3.5$

#### Solution

8.5

4.  $f(x)=-{x}^{2}+x+2;{x}_{1}=0.5,{x}_{2}=1.5$

5.  $f(x)=\frac{4}{3x-1}; \, x_1=1, \, x_2=3$

#### Solution

$-\frac{3}{4}$

6.  $f(x)=\frac{x-7}{2x+1}; \, x_1=-2, \, x_2=0$

7.  $f(x)=\sqrt{x}; \, x_1=1, \, x_2=16$

#### Solution

0.2

8.  $f(x)=\sqrt{x-9}; \, x_1=10, \, x_2=13$

9.  $f(x)=x^{1/3}+1; \, x_1=0, \, x_2=8$

#### Solution

0.25

10.  $f(x)=6x^{2/3}+2x^{1/3}; \, x_1=1, \, x_2=27$

For the following functions,

1. use (Figure) to find the slope of the tangent line $m_{\tan}=f^{\prime}(a)$, and
2. find the equation of the tangent line to $f$ at $x=a$.

11.  $f(x)=3-4x, \, a=2$

#### Solution

a. -4 b. $y=3-4x$

12.  $f(x)=\frac{x}{5}+6, \, a=-1$

13.  $f(x)=x^2+x, \, a=1$

#### Solution

a. 3 b. $y=3x-1$

14.  $f(x)=1-x-x^2, \, a=0$

15.  $f(x)=\frac{7}{x}, \, a=3$

#### Solution

a. $\frac{-7}{9}$ b. $y=\frac{-7}{9}x+\frac{14}{3}$

16.  $f(x)=\sqrt{x+8}, \, a=1$

17.  $f(x)=2-3x^2, \, a=-2$

#### Solution

a. 12 b. $y=12x+14$

18.  $f(x)=\frac{-3}{x-1}, \, a=4$

19.  $f(x)=\frac{2}{x+3}, \, a=-4$

#### Solution

a. -2 b. $y=-2x-10$

20.  $f(x)=\frac{3}{x^2}, \, a=3$

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

21.  $f(x)=5x+4, \, a=-1$

#### Solution

5

22.  $f(x)=-7x+1, \, a=3$

23.  $f(x)=x^2+9x, \, a=2$

#### Solution

13

24.  $f(x)=3x^2-x+2, \, a=1$

25.  $f(x)=\sqrt{x}, \, a=4$

#### Solution

$\frac{1}{4}$

26.  $f(x)=\sqrt{x-2}, \, a=6$

27.  $f(x)=\frac{1}{x}, \, a=2$

#### Solution

$-\frac{1}{4}$

28.  $f(x)=\frac{1}{x-3}, \, a=-1$

29.  $f(x)=\frac{1}{x^3}, \, a=1$

#### Solution

-3

30.  $f(x)=\frac{1}{\sqrt{x}}, \, a=4$

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

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

31. [T]  $f(x)=x^2+3x+4, \, P(1,8)$ (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)

#### Solution

a. (i) $5.100000$, (ii) $5.010000$, (iii) $5.001000$, (iv) $5.000100$, (v) $5.000010$, (vi) $5.000001$,
(vii) $4.900000$, (viii) $4.990000$, (ix) $4.999000$, (x) $4.999900$, (xi) $4.999990$, (xii) $4.999999$

b. $m_{\tan}=5$
c. $y=5x+3$

32. [T]  $f(x)=\frac{x+1}{x^2-1}, \, P(0,-1)$

$x$ Slope $m_{PQ}$ $x$ Slope $m_{PQ}$
0.1 (i) -0.1 (vii)
0.01 (ii) -0.01 (viii)
0.001 (iii) -0.001 (ix)
0.0001 (iv) -0.0001 (x)
0.00001 (v) -0.00001 (xi)
0.000001 (vi) -0.000001 (xii)

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

$x$ Slope $m_{PQ}$
-0.1 (i)
-0.01 (ii)
-0.001 (iii)
-0.0001 (iv)
-0.00001 (v)
-0.000001 (vi)

#### Solution

a. (i) $4.8771$, (ii) $4.9875$, (iii) $4.9988$, (iv) $4.9999$, (v) $4.9999$, (vi) $4.9999$
b. $m_{\tan}=5$
c. $y=5x+10$

34. [T] $f(x)= \tan (x), \, P(\pi,0)$

$x$ Slope $m_{PQ}$
3.1 (i)
3.14 (ii)
3.141 (iii)
3.1415 (iv)
3.14159 (v)
3.141592 (vi)

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

1. the simplified expression for the average velocity from $t=2$ to $t=2+h$;
2. the average velocity between $t=2$ and $t=2+h$, where (i) $h=0.1$, (ii) $h=0.01$, (iii) $h=0.001$, and (iv) $h=0.0001$; and
3. use the answer from a. to estimate the instantaneous velocity at $t=2$ seconds.

35. [T]  $s(t)=\frac{1}{3}t+5$

#### Solution

a. $\frac{1}{3}$;
b. (i) $0.\bar{3}$ m/s, (ii) $0.\bar{3}$ m/s, (iii) $0.\bar{3}$ m/s, (iv) $0.\bar{3}$ m/s;
c. $0.\bar{3}=\frac{1}{3}$ m/s

36. [T]  $s(t)=t^2-2t$

37. [T]  $s(t)=2t^3+3$

#### Solution

a. $2(h^2+6h+12)$;
b. (i) 25.22 m/s, (ii) 24.12 m/s, (iii) 24.01 m/s, (iv) 24 m/s;
c. 24 m/s

38. [T]  $s(t)=\frac{16}{t^2}-\frac{4}{t}$

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

#### Solution

a. $1.25$; b. 0.5

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

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.

41.  $f(x)=x^{1/3}, \, x=0$

#### Solution

$\underset{x\to 0^-}{\lim}\frac{x^{1/3}-0}{x-0}=\underset{x\to 0^-}{\lim}\frac{1}{x^{2/3}}=\infty$

42.  $f(x)=x^{2/3}, \, x=0$

43.  $f(x)=\begin{cases} 1 & \text{if} \, x < 1 \\ x & \text{if} \, x \ge 1 \end{cases}, \, x=1$

#### Solution

$\underset{x\to 1^-}{\lim}\frac{1-1}{x-1}=0\ne 1=\underset{x\to 1^+}{\lim}\frac{x-1}{x-1}$

44.  $f(x)=\frac{|x|}{x}, \, x=0$

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

1. Find the average velocity of the vehicle over the following time intervals to four decimal places:
1. [4, 4.1]
2. [4, 4.01]
3. [4, 4.001]
4. [4, 4.0001]
2. Use a. to draw a conclusion about the instantaneous velocity of the vehicle at $t=4$ seconds.

#### Solution

a. (i) 61.7244 ft/s, (ii) 61.0725 ft/s, (iii) 61.0072 ft/s, (iv) 61.0007 ft/s
b. At 4 seconds the race car is traveling at a rate/velocity of 61 ft/s.

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

1. Find the average velocity of the ball over the following time intervals:
1. [5, 5.1]
2. [5, 5.01]
3. [5, 5.001]
4. [5, 5.0001]
2. Use the answers from a. to draw a conclusion about the instantaneous velocity of the ball at $t=5$ seconds.

47.  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(t)$, where $s$ is measured in feet and $t$ is measured in seconds.

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

#### Solution

a. The vehicle represented by $f(t)$, because it has traveled 2 feet, whereas $g(t)$ has traveled 1 foot.
b. The velocity of $f(t)$ is constant at 1 ft/s, while the velocity of $g(t)$ is approximately 2 ft/s.
c. The vehicle represented by $g(t)$, with a velocity of approximately 4 ft/s.
d. Both have traveled 4 feet in 4 seconds.

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

1. Calculate the average cost per jar over the following intervals:
1. [100, 100.1]
2. [100, 100.01]
3. [100, 100.001]
4. [100, 100.0001]
2. Use the answers from a. to estimate the average cost to produce 100 jars of mayonnaise.

49. [T] For the function $f(x)=x^3-2x^2-11x+12$, do the following.

1. Use a graphing calculator to graph $f$ in an appropriate viewing window.
2. Use the ZOOM feature on the calculator to approximate the two values of $x=a$ for which $m_{\tan}=f^{\prime}(a)=0$.

#### Solution

a.

b. $a\approx -1.361, \, 2.694$

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

1. Use a graphing calculator to graph $f$ in an appropriate viewing window.
2. Use the ZOOM feature on the calculator to approximate the values of $x=a$ for which $m_{\tan}=f^{\prime}(a)=0$.

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

1. Find a mathematical expression for $N(x)$.
2. What is $N(100)$? Explain the physical meaning.
3. What is $N^{\prime}(100)$? Explain the physical meaning.

#### Solution

a. $N(x)=\frac{x}{30}$
b. $\sim 3.3$ gallons. When the vehicle travels 100 miles, it has used 3.3 gallons of gas.
c. $\frac{1}{30}$. The rate of gas consumption in gallons per mile that the vehicle is achieving after having traveled 100 miles.

52. [T] For the function $f(x)=x^4-5x^2+4$, do the following.

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

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

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

#### Solution

a.

b. $-0.028, \, -0.16, \, 0.16, \, 0.028$

## Glossary

derivative
the slope of the tangent line to a function at a point, calculated by taking the limit of the difference quotient, is the derivative
difference quotient
of a function $f(x)$ at $a$ is given by

$\frac{f(a+h)-f(a)}{h}$ or $\frac{f(x)-f(a)}{x-a}$
differentiation
the process of taking a derivative
instantaneous rate of change
the rate of change of a function at any point along the function $a$, also called $f^{\prime}(a)$, or the derivative of the function at $a$