Section 2.1 Instantaneous Rates of Change: The Derivative
Subsection 2.1.1 Introduction
We can approximate the value of this limit numerically with small values of h as seen in Table 2.1.2. It looks as though the velocity is approaching -64 ftβs.
h | Average Velocity ( ftβs) |
1 | Averageβ80 |
0.5 | Averageβ72 |
0.1 | Averageβ65.6 |
0.01 | Averageβ64.16 |
0.001 | Averageβ64.016 |
Definition 2.1.7. Derivative at a Point.
Let f be a continuous function on an open interval I and let c be in I. The derivative of f at c, denoted fβ²(c), is
provided the limit exists. If the limit exists, we say that f is differentiable at c; if the limit does not exist, then f is not differentiable at c. If f is differentiable at every point in I, then f is differentiable on I.
Definition 2.1.9. Tangent Line.
Let f be continuous on an open interval I and differentiable at c, for some c in I. The line with equation β(x)=fβ²(c)(xβc)+f(c) is the tangent line to the graph of f at c; that is, it is the line through (c,f(c)) whose slope is the derivative of f at c.
Example 2.1.10. Finding derivatives and tangent lines.
Let f(x)=3x2+5xβ7. Find:
fβ²(1)
The equation of the tangent line to the graph of f at x=1.
fβ²(3)
The equation of the tangent line to the graph f at x=3.
-
We compute this directly using Definition 2.1.7.
\begin{align*} \fp(1)\amp = \lim_{h\to 0} \frac{f(1+h)-f(1)}{h}\\ \amp = \lim_{h\to 0} \frac{3(1+h)^2+5(1+h)-7 - (3(1)^2+5(1)-7)}{h}\\ \amp = \lim_{h\to 0} \frac{3(1+2h+h^2)+5+5h-7 - 1}{h}\\ \amp = \lim_{h\to 0} \frac{3+6h+3h^2+5+5h-8}{h}\\ \amp = \lim_{h\to 0} \frac{3h^2+11h}{h}\\ \amp = \lim_{h\to 0} (3h+11)\\ \amp = 11\text{.} \end{align*} The tangent line at \(x=1\) has slope \(\fp(1)\) and goes through the point \((1,f(1)) = (1,1)\text{.}\) Thus the tangent line has equation, in point-slope form, \(y = 11(x-1) + 1\text{.}\) In slope-intercept form we have \(y = 11x-10\text{.}\)
-
Again, using the definition,
\begin{align*} \fp(3)\amp = \lim_{h\to 0} \frac{f(3+h)-f(3)}{h}\\ \amp = \lim_{h\to 0} \frac{3(3+h)^2+5(3+h)-7 - (3(3)^2+5(3)-7)}{h}\\ \amp = \lim_{h\to 0} \frac{3(9+6h+h^2)+15+3h-7 - 35}{h}\\ \amp = \lim_{h\to 0} \frac{27+18h+3h^2+15+3h-42}{h}\\ \amp = \lim_{h\to 0} \frac{3h^2+23h}{h}\\ \amp = \lim_{h\to 0} 3h+23\\ \amp = 23\text{.} \end{align*} The tangent line at \(x=3\) has slope \(23\) and goes through the point \((3,f(3)) = (3,35)\text{.}\) Thus the tangent line has equation \(y=23(x-3)+35 = 23x-34\text{.}\)
A graph of \(f\) is given in Figure 2.1.11 along with the tangent lines at \(x=1\) and \(x=3\text{.}\)
Definition 2.1.13. Normal Line.
Let f be continuous on an open interval I and differentiable at c, for some c in I. The normal line to the graph of f at c is the line with equation
when fβ²(c)β 0. (When fβ²(c)=0, the normal line is the vertical line through (c,f(c)); that is, x=c.)
Example 2.1.14. Finding equations of normal lines.
Let f(x)=3x2+5xβ7, as in Example 2.1.10. Find the equations of the normal lines to the graph of f at x=1 and x=3.
In Example 2.1.10, we found that \(\fp(1)=11\text{.}\) Hence at \(x=1\text{,}\) the normal line will have slope \(-1/11\text{.}\) An equation for the normal line is
The normal line is plotted with \(y=f(x)\) in Figure 2.1.15. Note how the line looks perpendicular to \(f\text{.}\) (A key word here is βlooks.β Mathematically, we say that the normal line is perpendicular to \(f\) at \(x=1\) as the slope of the normal line is the negative-reciprocal of the slope of the tangent line. However, normal lines may not always look perpendicular.
The aspect ratio of the picture of the graph plays a big role in this. When using graphing software, there is usually an option called Zoom Square
that keeps the aspect ratio \(1:1\)
We also found that \(\fp(3) = 23\text{,}\) so the normal line to the graph of \(f\) at \(x=3\) will have slope \(-1/23\text{.}\) An equation for the normal line is
Example 2.1.16. Finding the derivative of a linear function.
Consider f(x)=3x+5. Find the equation of the tangent line to f at x=1 and x=7.
We find the slope of the tangent line by using Definition 2.1.7.
We just found that \(\fp(1) = 3\text{.}\) That is, we found the instantaneous rate of change of \(f(x) = 3x+5\) is \(3\text{.}\) This is not surprising; lines are characterized by being the only functions with a constant rate of change. That rate of change is called the slope of the line. Since their rates of change are constant, their instantaneous rates of change are always the same; they are all the slope.
So given a line \(f(x) = ax+b\text{,}\) the derivative at any point \(x\) will be \(a\text{;}\) that is, \(\fp(x) = a\text{.}\)
It is now easy to see that the tangent line to the graph of \(f\) at \(x=1\) is just \(f\text{,}\) with the same being true at \(x=7\text{.}\)
Example 2.1.17. Numerical approximation of the tangent line.
Approximate the equation of the tangent line to the graph of f(x)=sin(x) at x=0.
In order to find the equation of the tangent line, we need a slope and a point. The point is given to us: \((0,\sin(0)) = (0,0)\text{.}\) To compute the slope, we need the derivative. This is where we will make an approximation. Recall that
for a small value of \(h\text{.}\) We choose (somewhat arbitrarily) to let \(h=0.1\text{.}\) Thus
Thus our approximation of the equation of the tangent line is \(y = 0.9983(x-0) +0 = 0.9983x\text{;}\) it is graphed in Figure 2.1.18. The graph seems to imply the approximation is rather good.
Definition 2.1.19. Derivative Function.
Let f be a differentiable function on an open interval I. The function
is the derivative of f.
Let y=f(x). The following notations all represent the derivative of f:
Example 2.1.22. Finding the derivative of a function.
Let f(x)=3x2+5xβ7 as in Example 2.1.10. Find fβ²(x).
We apply Definition 2.1.19.
So \(\fp(x) = 6x+5\text{.}\) Recall earlier we found that \(\fp(1) = 11\) and \(\fp(3) = 23\text{.}\) Note our new computation of \(\fp(x)\) affirms these facts.
Example 2.1.23. Finding the derivative of a function.
Let f(x)=1x+1. Find fβ²(x).
We apply Definition 2.1.19.
Now find common denominator then subtract; pull \(1/h\) out front to facilitate reading.
\begin{align*} \amp = \lim_{h\to 0} \frac{1}{h}\cdot\left(\frac{x+1}{(x+1)(x+h+1)} - \frac{x+h+1}{(x+1)(x+h+1)}\right)\\ \end{align*}Now simplify algebraically.
\begin{align*} \amp = \lim_{h\to 0} \frac 1h\cdot\left(\frac{x+1-(x+h+1)}{(x+1)(x+h+1)}\right) \\ \amp = \lim_{h\to 0} \frac1h\cdot\left(\frac{-h}{(x+1)(x+h+1)}\right)\\ \end{align*}Finally, apply the limit.
\begin{align*} \amp = \lim_{h\to 0} \frac{-1}{(x+1)(x+h+1)}\\ \amp = \frac{-1}{(x+1)(x+1)}\\ \amp = \frac{-1}{(x+1)^2}\text{.} \end{align*}So \(\fp(x) = \frac{-1}{(x+1)^2}\text{.}\) To practice using our notation, we could also state
Example 2.1.24. Finding the derivative of a function.
Find the derivative of f(x)=sin(x).
Before applying Definition 2.1.19, note that once this is found, we can find the actual tangent line to \(f(x) = \sin(x)\) at \(x=0\text{,}\) whereas we settled for an approximation in Example 2.1.17.
We have found that when \(f(x) = \sin(x)\text{,}\) \(\fp(x) = \cos(x)\text{.}\) This should be somewhat surprising; the result of a tedious limit process on the sine function is a nice function. Then again, perhaps this is not entirely surprising. The sine function is periodic β it repeats itself on regular intervals. Therefore its rate of change also repeats itself on the same regular intervals. We should have known the derivative would be periodic; we now know exactly which periodic function it is.
Thinking back to Example 2.1.17, we can find the slope of the tangent line to \(f(x)=\sin(x)\) at \(x=0\) using our derivative. We approximated the slope as \(0.9983\text{;}\) we now know the slope is exactly \(\cos(0) =1\text{.}\)
Using similar techniques, we can show that the derivative of \(\cos(x)\) is \(-\sin(x)\text{.}\) See if you can show this yourself; if you get stuck, you can check out the next video.
Example 2.1.26. Finding the derivative of a piecewise defined function.
Find the derivative of the absolute value function,
See Figure 2.1.27.
We need to evaluate \(\lim_{h\to0}\frac{f(x+h)-f(x)}{h}\text{.}\) As \(f\) is piecewise-defined, we need to consider separately the limits when \(x\lt 0\) and when \(x \gt 0\text{.}\)
When \(x\lt 0\text{:}\)
When \(x \gt 0\text{,}\) a similar computation shows that \(\frac{d}{dx}(x) = 1\text{.}\)
We need to also find the derivative at \(x=0\text{.}\) By the definition of the derivative at a point, we have
Since \(x=0\) is the point where our function's definition switches from one piece to the other, we need to consider left and right-hand limits. Consider the following, where we compute the left and right hand limits side by side.
The last lines of each column tell the story: the left and right hand limits are not equal. Therefore the limit does not exist at \(0\text{,}\) and \(f\) is not differentiable at \(0\text{.}\) So we have
At \(x=0\text{,}\) \(\fp(x)\) does not exist; there is a jump discontinuity at \(0\text{;}\) see Figure 2.1.28. So \(f(x) = \abs{x}\) is differentiable everywhere except at \(0\text{.}\)
Example 2.1.29. Finding the derivative of a piecewise defined function.
Find the derivative of f(x), where
See Figure 2.1.30.
Using Example 2.1.24, we know that when \(x\lt \pi/2\text{,}\) \(\fp(x) = \cos(x)\text{.}\) It is easy to verify that when \(x \gt \pi/2\text{,}\) \(\fp(x) = 0\text{;}\) consider:
So far we have
We still need to find \(\fp(\pi/2)\text{.}\) Notice at \(x=\pi/2\) that both pieces of \(\fp\) are \(0\text{,}\) meaning we can state that \(\fp(\pi/2)=0\text{.}\)
Being more rigorous, we can again evaluate the difference quotient limit at \(x=\pi/2\text{,}\) utilizing again left- and right-hand limits. We will begin with the left-hand limit:
Notice we used Special Limits to finally evaluate the limit.
Now we will find the right-hand limit:
Since both the left and right hand limits are \(0\) at \(x=\pi/2\text{,}\) the limit exists and \(\fp(\pi/2)\) exists (and is \(0\)). Therefore we can fully write \(\fp\) as
See Figure 2.1.31 for a graph of this derivative function.
Subsection 2.1.2 Differentiablity on Closed Intervals
When we defined the derivative at a point in Definition 2.1.7, we specified that the interval I over which a function f was defined needed to be an open interval. Open intervals are required so that we can take a limit at any point c in I, meaning we want to approach c from both the left and right. Recall we also required open intervals in Definition 1.5.1 when we defined what it meant for a function to be continuous. Later, we used one-sided limits to extend continuity to closed intervals. We now extend differentiability to closed intervals by again considering one-sided limits. Our motivation is three-fold. First, we consider βcommon sense.β In Example 2.1.22 we found that when f(x)=3x2+5xβ7, fβ²(x)=6x+5, and this derivative is defined for all real numbers, hence f is differentiable everywhere. It seems appropriate to also conclude that f is differentiable on closed intervals, like [0,1], as well. After all, fβ²(x) is defined at both x=0 and x=1. Secondly, consider f(x)=βx. The domain of f is [0,β). Is f differentiable on its domain β specifically, is f differentiable at 0? (We'll consider this in the next example.) Finally, in later sections, having the derivative defined on closed intervals will prove useful. One such place is Section 7.4 where the derivative plays a role in measuring the length of a curve. After a formal definition of differentiability on a closed interval, we explore the concept in an example.Definition 2.1.33. Differentiability on a Closed Interval.
Let f be continuous on [a,b] and differentiable on (a,b). If the one-sided limits
exist, then we say f is differentiable on [a,b].
Example 2.1.34. Differentiability at an endpoint.
Consider f(x)=βx=x1/2 and g(x)=βx3=x3/2. The domain of each function is [0,β). It can be shown that each is differentiable on (0,β); determine the differentiability of each at x=0.
We start by considering \(f\) and take the right-hand limit of the difference quotient:
The one-sided limit of the difference quotient does not exist at \(x=0\) for \(f\text{;}\) therefore \(f\) is differentiable on \((0,\infty)\) and not differentiable on \([0,\infty)\text{.}\)
We state (without proof) that \(\fp(x) = 1/\big(2\sqrt{x}\big)\text{.}\) Note that \(\lim_{x\to 0^+}\fp(x) = \infty\text{;}\) this limit was easier to evaluate than the limit of the difference quotient, though it required us to already know the derivative of \(f\text{.}\)
Now consider \(g\text{:}\)
As the one-sided limit exists at \(x=0\text{,}\) we conclude \(g\) is differentiable on its domain of \([0,\infty)\text{.}\)
We state (without proof) that \(\gp(x) = 3\sqrt{x}/2\text{.}\) Note that \(\lim_{x\to0^+}\gp(x) = 0\text{;}\) again, this limit is easier to evaluate than the limit of the difference quotient.
The two functions are graphed in Figure 2.1.35. Note how \(f(x) = \sqrt{x}\) seems to βgo verticalβ as \(x\) approaches 0, implying the slopes of its tangent lines are growing toward infinity. Also note how the slopes of the tangent lines to \(g(x)= \sqrt{x^3}\) approach 0 as \(x\) approaches 0.
Exercises 2.1.3 Exercises
Terms and Concepts
1.
True
False
2.
True
False
3.
In your own words, explain the difference between the average rate of change and instantaneous rate of change.
4.
In your own words, explain the difference between Definitions 2.1.7 and Definition 2.1.19.
5.
Let y=f(x). Give three different notations equivalent to βfβ²(x).β
6.
If two lines are perpendicular, what is true of their slopes?
Problems
Use the definition of the derivative to compute the derivative of the given function.
A function and an x-value are given. (Note: these functions are the same as those given in Exercises 2.1.3.7 through Exercise 2.1.3.14.) Give the equations of the tangent line and the normal line at that x-value.
A function f and an x-value a are given. Approximate the equation of the tangent line to the graph of f at x=a by numerically approximating fβ²(a), using h=0.1.
27.
The graph of f(x)=x2β1 is shown.

Use the graph to approximate the slope of the tangent line to f at (β1,0), (0,β1), and (2,3).
Using the definition of the derivative, find fβ²(x).
Use the derivative to find the slope of the tangent line at the points (β1,0), (0,β1) and (2,3).
28.
The graph of f(x)=1x+1 is shown.

-
Use the graph to approximate the slope of the tangent line to f at (0,1) and (1,0.5).
Using the definition of the derivative, find fβ²(x).
Use the derivative to find the slope of the tangent line at the points (β1,0), (0,β1) and (2,3).
A graph of a function f(x) is given. Using the graph, sketch fβ²(x).
Use the graph of the function to answer questions about it.
Review
37.
Approximate limxβ5.5x2+1.5x+(β38.5)x2+(β10.5)x+27.5.
38.
Use the Bisection Method to approximate, accurate to two decimal places, the root of g(x)=x3+1x2+1x+(β1) on [0.5,0.6].
39.
Give maximal intervals on which each of the following functions are continuous.
1ex+1
1x2β1
β5βx
β5βx2
40.
Use the graph of f(x) provided to answer the following.

limxββ3βf(x)
limxββ3+f(x)
limxββ3f(x)
Where is f continuous?