A common amusement park ride lifts riders to a height then allows them to freefall a certain distance before safely stopping them. Suppose such a ride drops riders from a height of feet. Students of physics may recall that the height (in feet) of the riders, seconds after freefall (and ignoring air resistance, etc.) can be accurately modeled by .
Using this formula, it is easy to verify that, without intervention, the riders will hit the ground when so at seconds. Suppose the designers of the ride decide to begin slowing the riders’ fall after seconds (corresponding to a height of 86 ft). How fast will the riders be traveling at that time?
We have been given a position function, but what we want to compute is a velocity at a specific point in time, i.e., we want an instantaneous velocity. We do not currently know how to calculate this.
However, we do know from common experience how to calculate an average velocity. (If we travel miles in hours, we know we had an average velocity of 30 mph.) We looked at this concept in Section 1.1 when we introduced the difference quotient. We have
We can approximate the instantaneous velocity at by considering the average velocity over some time period containing . If we make the time interval small, we will get a good approximation. (This fact is commonly used. For instance, high speed cameras are used to track fast moving objects. Distances are measured over a fixed number of frames to generate an accurate approximation of the velocity.)
where the minus sign indicates that the riders are moving down. By narrowing the interval we consider, we will likely get a better approximation of the instantaneous velocity. On we have
We can approximate the value of this limit numerically with small values of as seen in Figure 2.1.2. It looks as though the velocity is approaching -64 ft⁄s.
Graphically, we can view the average velocities we computed numerically as the slopes of secant lines on the graph of going through the points and . In Figures 2.1.3–2.1.5, the secant line corresponding to is shown in three contexts. Figure 2.1.3 shows a “zoomed out” version of with its secant line. In Figure 2.1.4, we zoom in around the points of intersection between and the secant line. Notice how well this secant line approximates between those two points — it is a common practice to approximate functions with straight lines.
The graph starts at the origin and is drawn on the first quadrant. The horizontal axis is drawn between to , and the axis is drawn between to . The graph has a decreasing slope, gently declining from points to . A secant line is drawn on the curve from and .
Figure2.1.3.The function and its secant line corresponding to and
The graph appears to start at the point and is drawn on the first quadrant. The horizontal axis is drawn between to , and the axis is drawn between to . The curve appears to be coinciding with the secant line.
Figure2.1.4.The function and a secant line corresponding to and , zoomed in near
The graph appears to start at the point and is drawn on the first quadrant. The horizontal axis is drawn between to , and the axis is drawn between to . The curve appears to be coinciding with the secant line that is drawn on the function at . The secant line is above the curve on the left of the point of intersection and is below the curve to its right.
Figure2.1.5.The function with the same secant line, zoomed in further
The graph appears to start at the point and is drawn on the first quadrant. The horizontal axis is drawn between to , and the axis is drawn between to . The curve appears to be coinciding with the tangent line at .
Figure2.1.6.The function with its tangent line at
As , these secant lines approach the tangent line, a line that goes through the point with the special slope of . In Figure 2.1.5 and Figure 2.1.6, we zoom in around the point . We see the secant line, which approximates well, but not as well the tangent line shown in Figure 2.1.6.
provided the limit exists. If the limit exists, we say that is differentiable at ; if the limit does not exist, then is not differentiable at . If is differentiable at every point in , then is differentiable on .
Let be continuous on an open interval and differentiable at , for some in . The line with equation is the tangent line to the graph of at ; that is, it is the line through whose slope is the derivative of at .
The tangent line at has slope and goes through the point . Thus the tangent line has equation, in point-slope form, . In slope-intercept form we have .
Again, using the definition,
.
The tangent line at has slope and goes through the point . Thus the tangent line has equation .
A graph of is given in Figure 2.1.11 along with the tangent lines at and .
The graph starts at origin the axis ends at while the axis ends at . The curve starts in the third quadrant and moves into the first quadrant with an intercept at , the curve reaches point and continues further. Two tangents are drawn on the curve at and .
Figure2.1.11.A graph of and its tangent lines at and
In Definition 2.1.7, we assumed that the function is continuous, but this is actually not necessary. One can in fact prove that a function has to be continuous at any point where it is differentiable. Or, in other words, a function cannot be differentiable at a point of discontinuity. This is explained in the video in Figure 2.1.12.
Another important line that can be created using information from the derivative is the normal line. It is perpendicular to the tangent line, hence its slope is the negative-reciprocal of the tangent line’s slope.
In Example 2.1.10, we found that . Hence at , the normal line will have slope . An equation for the normal line is
.
The normal line is plotted with in Figure 2.1.15. Note how the line looks perpendicular to . (A key word here is “looks.” Mathematically, we say that the normal line is perpendicular to at 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 graph starts at the origin. The axis ends at in the diagram while the axis ends at . The function is a straight line that rises steeply from points to point . The normal is drawn on the line at point .
Figure2.1.15.A graph of , along with its normal line at
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
We also found that , so the normal line to the graph of at will have slope . An equation for the normal line is
Linear functions are easy to work with; many functions that arise in the course of solving real problems are not easy to work with. A common practice in mathematical problem solving is to approximate difficult functions with not-so-difficult functions. Lines are a common choice. It turns out that at any given point on the graph of a differentiable function , the best linear approximation to is its tangent line. That is one reason we’ll spend considerable time finding tangent lines to functions.
One type of function that does not benefit from a tangent line approximation is a line; it is rather simple to recognize that the tangent line to a line is the line itself. We look at this in the following example.
We find the slope of the tangent line by using Definition 2.1.7.
.
We just found that . That is, we found the instantaneous rate of change of is . 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 , the derivative at any point will be ; that is, .
It is now easy to see that the tangent line to the graph of at is just , with the same being true at .
We often desire to find the tangent line to the graph of a function without knowing the actual derivative of the function. While we will eventually be able to find derivatives of many common functions, the algebra and limit calculations on some functions are complex. Until we develop further techniques, the best we may be able to do is approximate the tangent line. We demonstrate this in the next example.
In order to find the equation of the tangent line, we need a slope and a point. The point is given to us: . To compute the slope, we need the derivative. This is where we will make an approximation. Recall that
for a small value of . We choose (somewhat arbitrarily) to let . Thus
.
Thus our approximation of the equation of the tangent line is ; it is graphed in Figure 2.1.18. The graph seems to imply the approximation is rather good.
The axis of the graph is drawn from to and the axis is drawn from and . The sine graph has an intercept at then enters the third quadrant and forms an upward facing parabola with its vertex at point . It passes throgh the origin then enters the first quadrant forming a downward facing parabola with vertex at .
Figure2.1.18. graphed with an approximation to its tangent line at
Recall from Section 1.3 that , meaning for values of near ,. Since the slope of the line is at , it should seem reasonable that “the slope of ” is near at . In fact, since we approximated the value of the slope to be , we might guess the actual value is 1. We’ll come back to this later.
Consider again Example 2.1.10. To find the derivative of at , we needed to evaluate a limit. To find the derivative of at , we needed to again evaluate a limit. We have this process:
This process describes a function; given one input (the value of ), we return exactly one output (the value of ). The “do something” box is where the tedious work (taking limits) of this function occurs.
Instead of applying this function repeatedly for different values of , let us apply it just once to the variable . We then take a limit just once. The process now looks like:
Important: The notation is one symbol; it is not the fraction “”. The notation, while somewhat confusing at first, was chosen with care. A fraction-looking symbol was chosen because the derivative has many fraction-like properties. Among other places, we see these properties at work when we talk about the units of the derivative, when we discuss the Chain Rule, and when we learn about integration (topics that appear in later sections and chapters).
Before applying Definition 2.1.19, note that once this is found, we can find the actual tangent line to at , whereas we settled for an approximation in Example 2.1.17.
Derivative definitionAngle addition identityRegrouped and factoredSplit into two fractionsProduct/sum limit rulesApplied Theorem 1.3.17
We have found that when ,. This should be somewhat amazing; 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 at using our derivative. We approximated the slope as ; we now know the slope is exactly.
Using similar techniques, we can show that the derivative of is . See if you can show this yourself; if you get stuck, you can check out the video in Figure 2.1.25.
The axis of the graph is drawn from to and the axis from to . The function is a straight line, in the second quadrant it appears to pass through point and decreases until it meets the origin. From the origin, it steeply increases after it enters the first quadrant and appears to pass through point .
Figure2.1.27.The absolute value function . Notice how the slope of the lines (and hence the tangent lines) abruptly changes at .
Solution.
We need to evaluate . As is piecewise-defined, we need to consider separately the limits when and when .
When :
.
When , a similar computation shows that .
We need to also find the derivative at . By the definition of the derivative at a point, we have
.
Since 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 , and is not differentiable at . So we have
.
At , does not exist; there is a jump discontinuity at ; see Figure 2.1.28. So is differentiable everywhere except at .
The axis and the axis are drawn from to . In the first quadrant the derivative of the function starts from the open point and continues as a function that moves towards right parallel to the axis at for all values of , but value for does not exist. In the third quadrant the derivative of the function starts from the open point and continues as a function that moves towards left parallel to the axis at for all values of , but value for does not exist.
The point of non-differentiability came where the piecewise defined function switched from one piece to the other. Our next example shows that this does not always cause trouble.
Using Example 2.1.24, we know that when ,. It is easy to verify that when ,; consider:
.
So far we have
.
We still need to find . Notice at that both pieces of are , meaning we can state that .
Being more rigorous, we can again evaluate the difference quotient limit at , utilizing again left- and right-hand limits. We will begin with the left-hand limit:
Since both the left and right hand limits are at , the limit exists and exists (and is ). Therefore we can fully write as
.
See Figure 2.1.31 for a graph of this derivative function.
Graph of the derivative function, the derivative exists at and follows a curve of for and after . There is a sharp bend at , hence it is not differentiable at that point, since for there exists function is continuous.
Recall we pseudo-defined a continuous function as one in which we could sketch its graph without lifting our pencil. We can give a pseudo-definition for differentiability as well: it is a continuous function that does not have any “sharp corners” or a vertical tangent line. One such sharp corner is shown in Figure 2.1.27. Even though the function in Example 2.1.29 is piecewise-defined, the transition is “smooth” hence it is differentiable. Note how in the graph of in Figure 2.1.30 it is difficult to tell when switches from one piece to the other; there is no “corner.”
Subsection2.1.2Differentiability on Closed Intervals
When we defined the derivative at a point in Definition 2.1.7, we specified that the interval over which a function was defined needed to be an open interval. Open intervals are required so that we can take a limit at any point in , meaning we want to approach 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 ,, and this derivative is defined for all real numbers, hence is differentiable everywhere. It seems appropriate to also conclude that is differentiable on closed intervals, like , as well. After all, is defined at both and .
Secondly, consider . The domain of is . Is differentiable on its domain — specifically, is differentiable at ? (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.
For all the functions in this text, we can determine differentiability on by considering the limits and . This is often easier to evaluate than the limit of the difference quotient.
We start by considering and take the right-hand limit of the difference quotient:
.
The one-sided limit of the difference quotient does not exist at for ; therefore is differentiable on and not differentiable on .
We state (without proof) that . Note that ; this limit was easier to evaluate than the limit of the difference quotient, though it required us to already know the derivative of .
Now consider :
.
As the one-sided limit exists at , we conclude is differentiable on its domain of .
We state (without proof) that . Note that ; again, this limit is easier to evluate than the limit of the difference quotient.
The graph has two curves that form a leaf shape. The axis is drawn from to and the axis is drawn from to . The curve on top is of function and its a downward facing curve. The one below is of function and it is an upward facing curve. The two graphs intersect at points and .
We state (without proof) that . Note that ; 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 seems to “go vertical” as approaches 0, implying the slopes of its tangent lines are growing toward infinity. Also note how the slopes of the tangent lines to approach 0 as approaches 0.
Most calculus textbooks omit this topic and simply avoid specific cases where it could be applied. We choose in this text to not make use of the topic unless it is “needed.” Many theorems in later sections require a function to be differentiable on an open interval ; we could remove the word “open” and just use “ on an interval ,” but choose to not do so in keeping with the current mathematical tradition. Our first use of differentiability on closed intervals comes in Chapter 7, where we measure the lengths of curves.
This section defined the derivative; in some sense, it answers the question of “What is the derivative?” The next section addresses the question “What does the derivative mean?”
A function and an -value are given. (Note: these functions are the same as those given in Exercises 7–14.) Give the equations of the tangent line and the normal line at that -value.
The axis if drawn from to and the axis from to . The graph is a decreasing straight line primarily in the first quadrant that passes through on the axis and on the axis.
The axis is drawn from to and the axis from to . The graph has a maxima near point and a minima near point . It crosses the origin then passes the maxima then crosses axis at and decreases in the third quadrant and continues to infinity on the left. On the right side it decreases from the origin passes the minima and goes to infinity after crossing the axis at in the first quadrant.
The axis is drawn from to and the axis is drawn from to . At the function has a maximum of on the left of the axis the function decreases from and reaches a minima of at after crossing \p. Then it increases to cross the axis at and increases further to reach a maximum of in the second quadrant.
Similarly, on the right of the axis the function decreases from and reaches a minima of at after crossing \p. Then it increases to cross the axis at and increases further to reach a maximum of in the first quadrant.