Nathan Wakefield, Christine Kelley, Marla Williams, Michelle Haver, Lawrence Seminario-Romero, Robert Huben, Aurora Marks, Stephanie Prahl, Based upon Active Calculus by Matthew Boelkins
How does the derivative of a function tell us whether the function is increasing or decreasing at a point or on an interval?
What can we learn by taking the derivative of the derivative (the second derivative) of a function ?
What does it mean to say that a function is concave up or concave down? How are these characteristics connected to certain properties of the derivative of the function?
What are the units of the second derivative? How do they help us understand the rate of change of the rate of change?
Given a differentiable function , we know that its derivative, , is a related function whose output at tells us the slope of the tangent line to at the point . That is, -coordinates on the derivative graph tell us the values of slopes on the original functionβs graph.
At a point where is positive, the slope of the tangent line to is positive. Therefore, on an interval where is positive, the function is increasing (or rising). Similarly, if is negative on an interval, the graph of is decreasing (or falling).
The derivative of tells us not only whether the function is increasing or decreasing on an interval, but also how the function is increasing or decreasing. Look at the two tangent lines shown below in Figure 1.75. We see that at point the value of is positive and relatively close to zero, and at that point the graph is rising slowly. By contrast, at point , the derivative is negative and relatively large in absolute value, and is decreasing rapidly at .
Besides asking whether the value of the derivative function is positive or negative and whether it is large or small, we can also ask βhow is the derivative changing?β
Because the derivative, , is itself a function, we can consider taking its derivative β the derivative of the derivative β and ask βwhat does the derivative of the derivative tell us about how the original function behaves?β We start with an investigation of a moving object.
Example1.76.
The position of a car driving along a straight road at time in minutes is given by the function that is pictured below in Figure 1.77. The carβs position function has units measured in thousands of feet. For instance, the point on the graph indicates that after 2 minutes, the car has traveled 4000 feet.
Figure1.77.The graph of , the position of the car (measured in thousands of feet from its starting location) at time in minutes.
In everyday language, describe the behavior of the car over the provided time interval. In particular, you should carefully discuss what is happening on each of the time intervals ,,,, and , plus provide commentary overall on what the car is doing on the interval .
Sketch a careful, accurate graph of .
What is the meaning of the function in the context of the given problem? What can we say about the carβs behavior when is positive? when is zero? when is negative?
Rename the function you graphed in (b) to be called . Describe the behavior of in words, using phrases like β is increasing on the interval β and β is constant on the interval .β
Sketch a graph of the function . Write at least one sentence to explain how the behavior of is connected to the graph of .
Hint.
Can you estimate the carβs speed at different times? Does it ever stop or change direction? How can you tell?
What are the units on ? When is the slope of the tangent line to positive, zero, or negative? How big does it get?
What are the units on ? When is the value of the derivative positive, zero, or negative, and how does that relate to the direction the car is traveling at that time?
When does your graph in (b) have positive slope? Negative slope? Zero slope?
Look at your graph of from (b). What do the slopes of the tangent lines to tell you about the values of ?
Answer.
The car starts out not moving and then speeds up for a minute as it travels about feet forward before starting to slow down in the second minute, coming to a stop at time minutes at a point feet from its starting position. The car is stopped during the third minute. This three-minute pattern repeats for the full minutes, at which point the car is feet from its starting position, having always traveled in the same direction along the road.
Figure1.78.The graph of , showing the velocity of the car, in thousands of feet per minute, after minutes.
describes the velocity of the car, in ft/min, after minutes of driving. The car moves forward when is positive, moves backward when is negative, and is stopped when .
is increasing on the intervals ,,, and . is decreasing on the intervals ,,, and . is constant on the intervals ,,, and .
Figure1.79.The graph of , showing the acceleration of the car, in thousands of feet per minute per minute, after minutes.
As seen in the graph above: is positive whenever is increasing; is negative whenever is decreasing; is zero whenever is constant.
Solution.
At time , the car is at rest but gradually accelerates to a speed of about ft/min as it drives about feet during the first minute of travel. The car reaches its peak speed of about ft/min just after the time minute (and again just after the points ,, and minutes). In the second minute, the car gradually slows back down, coming to a stop about feet from where it started. It waits there for a minute (between minutes and minutes) before continuing to drive in the same direction as before. At this point, the car again gradually accelerates to a speed of about ft/min by the end of the fourth minute, at which point it has driven around feet since starting out. During the fifth minute, the car gradually slows back to a stop after traveling an additional feet. This pattern of starts and stops continues for a total of minutes, by which time the car has traveled a total of feet from its starting point.
Figure1.80.The graph of , showing the velocity of the car, in thousands of feet per minute, after minutes.
The car is stopped at and minutes, as well as on the intervals ,,, and . The value of at these times is ft/min. In the minute or so after each of the points ,,, and , the car gradually accelerates to a speed of about ft/min, and then gradually slows back down, reaching a speed of ft/min by the times ,,, and minutes. While the car is speeding up, the graph of has a positive slope; while the car is slowing down, the graph of has a negative slope. When the car is traveling at a constant speed (of ft/min), the graph of is horizontal.
The derivative function describes the velocity of the car, in thousands of feet per minute, after minutes of driving. The car moves forward when is positive, moves backward when is negative, and is stopped when .
is increasing from ft/min to ft/min approximately on the -second intervals ,,, and . is decreasing from ft/min to ft/min approximately on the -second intervals ,,, and . is constant at ft/min on the -minute intervals ,,, and .
Figure1.81.The graph of , showing the acceleration of the car, in thousands of feet per minute per minute, after minutes.
As seen in the graph above: is positive whenever is increasing; is negative whenever is decreasing; is zero whenever is constant. Since the units of are thousands of feet per minute squared, we conjecture that the function models the acceleration of the car after minutes of driving. Thus we have positive acceleration whenever the car is speeding up (increasing velocity), negative acceleration whenever the car is slowing down (decreasing velocity), and zero acceleration whenever the car travels at a constant speed (constant velocity).
Given a function defined on the interval , we say that is increasing on provided that whenever . Similarly, we say that is decreasing on provided that whenever .
Simply put, an increasing function is one that is rising as we move from left to right along the graph, and a decreasing function is one that falls as the value of the input increases. If the function has a derivative, the sign of the derivative tells us whether the function is increasing or decreasing.
Let be a function that is differentiable on an interval . If the function is increasing on then for every in the interval . Conversely, if for every in the interval, then the function must be increasing on the interval. Notice that we have to have the derivative strictly positive to conclude that the function is increasing. Letting be a constant function shows that if the derivative can be zero, then the function need not be increasing. Also, knowing the function is increasing is not enough to conclude that the derivative is positive. The function is increasing on but .
Similarly, if the function is decreasing on then for every in the interval . Conversely, if for every in the interval, then the function must be decreasing on the interval.
For example, the function pictured below in Figure 1.82 is increasing on the entire interval . Note that at both and , we say that is neither increasing nor decreasing, because at these values.
We are now accustomed to investigating the behavior of a function by examining its derivative. The derivative of a function is a new function given by the rule
Because is itself a function, it is perfectly feasible for us to consider the derivative of the derivative, which is the new function . We call this resulting function the second derivative of , and denote the second derivative by . Consequently, we will sometimes call βthe first derivativeβ of , rather than simply βthe derivativeβ of .
The meaning of the derivative function still holds, so when we compute , this new function measures slopes of tangent lines to the curve , as well as the instantaneous rate of change of . In other words, just as the first derivative measures the rate at which the original function changes, the second derivative measures the rate at which the first derivative changes. The second derivative will help us understand how the rate of change of the original function is itself changing.
In addition to asking whether a function is increasing or decreasing, it is also natural to inquire how a function is increasing or decreasing. There are three basic behaviors that an increasing function can demonstrate on an interval, as pictured below in Figure 1.83: the function can increase more and more rapidly, it can increase at the same rate, or it can increase in a way that is slowing down. Fundamentally, we are beginning to think about how a particular curve bends, with the natural comparison being made to lines, which donβt bend at all. More than this, we want to understand how the bend in a functionβs graph is tied to behavior characterized by the first derivative of the function.
On the leftmost curve in Figure 1.83, draw a sequence of tangent lines to the curve. As we move from left to right, the slopes of those tangent lines will increase. Therefore, the rate of change of the pictured function is increasing, and this explains why we say this function is increasing at an increasing rate. For the rightmost graph in Figure 1.83, observe that as increases, the function increases, but the slopes of the tangent lines decrease. This function is increasing at a decreasing rate.
Similar options hold for how a function can decrease. Here we must be extra careful with our language, because decreasing functions involve negative slopes.β34β
Negative numbers present an interesting tension between common language and mathematical language. For example, it can be tempting to say that β is bigger than .β But we must remember that βgreater thanβ describes how numbers lie on a number line: provided that lies to the right of . So of course, is less than . Informally, it might be helpful to say that β is more negative than .β
When a functionβs values are negative, and those values get more negative as the input increases, the function must be decreasing.
Now consider the three graphs shown above in Figure 1.84. The middle graph clearly depicts a function decreasing at a constant rate. Now draw a sequence of tangent lines on the first curve. We see that the slopes of these lines get closer to zero β meaning they get less and less negative β as we move from left to right. That means that the values of the first derivative, while all negative, are increasing, and thus we say that the leftmost curve is decreasing at an increasing rate.
This leaves only the rightmost curve in Figure 1.84 to consider. For that function, the slopes of the tangent lines are negative throughout the pictured interval, but as we move from left to right, the slopes get more and more negative as they get steeper. Hence the slope of the curve is decreasing, and we say that the function is decreasing at a decreasing rate.
We now introduce the notion of concavity, which provides simpler language to describe these behaviors. When a curve opens upward on a given interval, like the parabola or the exponential growth function , we say that the curve is concave up on that interval. Likewise, when a curve opens down, like the parabola or the negative exponential function , we say that the function is concave down. Concavity is linked to both the first and second derivatives of the function.
In Figure 1.85 below, we see two functions and a sequence of tangent lines to each. The lefthand plot shows a function that is concave up; observe that here the tangent lines always lie below the curve itself, and the slopes of the tangent lines are increasing as we move from left to right. In other words, the graph of is concave up on the interval shown because its derivative, , is increasing on that interval. Similarly, the righthand plot in Figure 1.85 depicts a function that is concave down; in this case, we see that the tangent lines alway lie above the curve and that the slopes of the tangent lines are decreasing as we move from left to right. The fact that its derivative, , is decreasing makes concave down on the interval shown.
Let be a differentiable function on an interval . Then is concave up on if and only if is increasing on ; is concave down on if and only if is decreasing on .
Example1.86.
The position of a car driving along a straight road at time in minutes is given by the function that is pictured below in Figure 1.87. The carβs position function has units measured in thousands of feet. Remember that you worked with this function and sketched graphs of and earlier, in Example 1.76.
Figure1.87.The graph of , the position of the car (measured in thousands of feet from its starting location) at time in minutes.
On what intervals is the position function increasing? Decreasing? Why?
On which intervals is the velocity function increasing? Decreasing? Neither? Why?
Acceleration is defined to be the instantaneous rate of change of velocity, as the acceleration of an object measures the rate at which the velocity of the object is changing. Say that the carβs acceleration function is named . How is computed from ? How is computed from ? Explain.
What can you say about whenever is increasing? Why?
Using only the words increasing, decreasing, constant, concave up, concave down, and linear, complete the following sentences. For the position function with velocity and acceleration ,
on an interval where is positive, is .
on an interval where is negative, is .
on an interval where is zero, is .
on an interval where is positive, is .
on an interval where is negative, is .
on an interval where is zero, is .
on an interval where is positive, is .
on an interval where is negative, is .
on an interval where is zero, is .
Hint.
Remember that a function is increasing on an interval if and only if its first derivative is positive on the interval.
See (a).
Remember that the first derivative of a function measures its instantaneous rate of change.
Think about how .
Be very careful with your letters: ,, and .
Answer.
Increasing: ,,, and . Decreasing: never.
Velocity is increasing on ,,, and ; is decreasing on ,,, and . Velocity is neither increasing nor decreasing (i.e. the velocity is constant) on ,,, and .
and .
is positive since is increasing.
increasing.
decreasing.
constant.
increasing.
decreasing.
constant.
concave up.
concave down.
linear.
Solution.
The position function is increasing on the intervals ,,, and because is positive at every point in such intervals. Furthermore, is never decreasing because its derivative is never negative.
The velocity function appears to be increasing on the intervals ,,, and . This is because the curve is concave up on these intervals, which corresponds to an increasing first derivative . Similarly, appears to be decreasing on the intervals ,,, and . This is due to the curve being concave down on these intervals, corresponding to a decreasing first derivative . On the intervals ,,, and , the curve is constant, and thus linear, so is neither concave up nor concave down. On these intervals, then, the velocity function is constant.
Since is the instantaneous rate of change of , we can say . Moreover, because , it follows that , so acceleration is the second derivative of position.
Since is the first derivative of , then whenever is increasing, must be positive.
For the position function with velocity and acceleration ,
on an interval where is positive, is increasing.
on an interval where is negative, is decreasing.
on an interval where is zero, is constant.
on an interval where is positive, is increasing.
on an interval where is negative, is decreasing.
on an interval where is zero, is constant.
on an interval where is positive, is concave up.
on an interval where is negative, is concave down.
Exploring the context of position, velocity, and acceleration is an excellent way to understand how a function, its first derivative, and its second derivative are related to one another. In Example 1.86 that we just finished, we can replace ,, and with an arbitrary function and its derivatives and , and essentially all the same observations hold. In particular, note that the following are equivalent: on an interval where the graph of is concave up, is increasing and is positive. Likewise, on an interval where the graph of is concave down, is decreasing and is negative.
Example1.88.
A potato is placed in an oven, and the potatoβs temperature (in degrees Fahrenheit) at various points in time is taken and recorded below in Table 1.89. Time is measured in minutes. We also provide data for in Table 1.90 below on the right.
Table1.89.Select values of .
NA
NA
Table1.90.Select values of .
What are the units on the values of ?
Use the formula
(commonly called a central difference) to estimate the value of .
In terms of the potatoβs temperature, what is the meaning of the value of that you have computed in (b)? Write several careful sentences that discuss (with appropriate units) the values of ,, and , and explain the overall behavior of the potatoβs temperature at this point in time.
Overall, is the potatoβs temperature increasing at an increasing rate, increasing at a constant rate, or increasing at a decreasing rate? Why?
Hint.
Remember that the derivativeβs units are βunits of output per unit of input.β
Try using and . Choose a value for that works with the data available in Table 1.90. Note that a central difference just calculates the slope of a secant line between two input values whose midpoint is .
For each of the values and , think about what they tell you about expected upcoming behavior in and , respectively.
Think about concavity.
Answer.
Degrees Fahrenheit per minute.
.
At the moment , the temperature of the potato is degrees; its temperature is rising at a rate of degrees per minute; and the rate at which the temperature is rising is falling at a rate of degrees per minute per minute.
Increasing at a decreasing rate.
Solution.
has units measured in degrees Fahrenheit per minute.
Using a central difference,
.
The values ,, and (which is measured in degrees per minute per minute), tell us that at the moment minutes: the temperature of the potato is degrees, its temperature is rising at a rate of degrees per minute, and the rate at which the temperature is rising is falling at a rate of degrees per minute per minute. That is, even though the temperature is still rising, it is doing so at a slower and slower rate. At , we expect that the rate of increase of the potatoβs temperature would have dropped to about degrees per minute.
The potatoβs temperature is increasing at a decreasing rate because the values of the first derivative of are positive and decreasing. Equivalently, the value of is negative throughout the given time interval.
Example1.91.
This example builds on our experience and understanding of how to sketch the graph of given the graph of .
For each of the two functions graphed below in Figure 1.92, sketch the corresponding graphs of the first and second derivatives. In addition, for each, write several careful sentences in the spirit of those in Example 1.86 that connect the behaviors of ,, and (or of ,, and in the case of the second function). For instance, write something such as
β is on the interval , which is connected to the fact that is on the same interval , and is on the interval.β
but with the blanks filled in. The scale of the grids on the given graphs is ; be sure to label the scale on each of the graphs you draw, even if it does not change from the original.
Figure1.92.The graphs of and , for two given functions and .
Hint.
Remember that to plot , it is helpful to first identify where .
Answer.
Notice the vertical scale on the graph of has changed, with each grid square now having height .
Solution.
The graphs of and are plotted below the graph of on the left. The graphs of and are plotted below the graph of on the right. Notice the vertical scale on the graph of has changed, with each grid square now having height .
The graph of is decreasing and concave up on the interval , which is connected to the fact that is positive, and that is negative and increasing on the same interval.
The graph of is increasing and concave up on the interval , which is connected to the fact that is positive, and that is positive and increasing on the same interval.
The graph of is increasing and concave down on the interval , which is connected to the fact that is negative, and that is positive and decreasing on the same interval.
The graph of is decreasing and concave down on the interval , which is connected to the fact that is negative, and that is negative and decreasing on the same interval.
The graph of is increasing and concave up on the (approximate) intervals ,,,, and . This is connected to the fact that is positive, and that is positive and increasing on the same intervals.
The graph of is increasing and concave down on the (approximate) intervals ,,,, and . This is connected to the fact that is negative, and that is positive and decreasing on the same intervals.
The graph of is decreasing and concave down on the (approximate) intervals ,,,, and . This is connected to the fact that is negative, and that is negative and decreasing on the same intervals.
The graph of is decreasing and concave up on the (approximate) intervals ,,,, and . This is connected to the fact that is positive, and that is negative and increasing on the same intervals.
Recall that if the function gave the position of an object at time then gave the change in position, otherwise known as velocity. That is, , where is the velocity function. Using the alternate notation introduced in Section 1.6 we have .
Following this same idea, gives the change in velocity, more commonly called acceleration. Using derivative notation, . Therefore, . That is, the second derivative of the position function gives acceleration. Using the alternative notation from the previous section 1.6.1, we write .β35β
Notice that in higher order derivatives the exponent occurs in what appear to be different locations in the numerator and denominator. In reality, what is happening is we have acting as an operator that takes the th order derivative of the function.
Example1.93.
Suppose that an objectβs velocity is given by the graph in the figure below.
On what intervals is the acceleration positive?
On what intervals is the objectβs position increasing?
Where is the function concave up?
Figure1.94.A graph of the velocity of some object.
Hint.
Recall that acceleration is given by the derivative of the velocity function.
Recall that a function is increasing when its derivative is positive. What is the derivative of a position function?
Recall that a function is concave up when its second derivative is positive.
Answer.
.
.
.
Solution.
Recall that acceleration is given by the derivative of the velocity function. Therefore, we can say that acceleration is positive whenever the velocity function is increasing. Since the graph in Figure 1.94 depicts the velocity function, it follows that the objectβs acceleration is positive exactly on the intervals and .
We know that a function is increasing whenever its derivative is positive, and that velocity, , is the derivative of position, , with respect to time, . Inspection of Figure 1.94 shows that the is positive only on , so the objectβs position is increasing on that same interval.
Recall that a function is concave up when its second derivative is positive, which is when its first derivative is increasing. In (a) we saw that the acceleration is positive on ; as acceleration is the second derivative of position, these are the intervals where the graph of is concave up.
A differentiable function is increasing at a point or on an interval whenever its first derivative is positive, and decreasing whenever its first derivative is negative.
By taking the derivative of the derivative of a function , we arrive at the second derivative, . The second derivative measures the instantaneous rate of change of the first derivative. The sign of the second derivative tells us whether the slope of the tangent line to is increasing or decreasing.
A differentiable function is concave up whenever its first derivative is increasing (equivalently, whenever its second derivative is positive), and concave down whenever its first derivative is decreasing (equivalently, whenever its second derivative is negative). Examples of functions that are everywhere concave up are and ; examples of functions that are everywhere concave down are and .
The units on the second derivative are βunits of output per unit of input per unit of input.β They tell us how the value of the derivative function is changing in response to changes in the input. In other words, the second derivative tells us the rate of change of the rate of change of the original function.
At exactly two of the labeled points in the figure below, which shows a function , the derivative is zero; the second derivative is not zero at any of the labeled points. Select the correct signs for each of , and at each marked point.
Suppose that an accelerating car goes from 0 mph to 60.0 mph in five seconds. Its velocity is given in the following table, converted from miles per hour to feet per second, so that all time measurements are in seconds. (Note: 1 mph is 22/15 ft/sec.) Find the average acceleration of the car over each of the first two seconds.
Let represent the price of a share of stock of a corporation at time . What does each of the following statements tell us about the signs of the first and second derivatives of ?
What is the approximate slope of the tangent line to at the point ?
How many real number solutions can there be to the equation ? Justify your conclusion fully and carefully by explaining what you know about how the graph of must behave based on the given graph of .
On the interval , how many times does the concavity of change? Why?
Use the given data to estimate ,, and . At which of these times is the bungee jumper rising most rapidly?
Use the given data and your work in (a) to estimate .
What physical property of the bungee jumper does the value of measure? What are its units?
Based on the data, on what approximate time intervals is the function concave down? What is happening to the velocity of the bungee jumper on these time intervals?