Kevin Gonzales, Eric Hopkins, Catherine Zimmitti, Cheryl Kane, Modified to fit Applied Calculus from Coordinated Calculus by Nathan Wakefield et. al., Based upon Active Calculus by Matthew Boelkins
We have seen how the first derivative of a function can help us determine when a function is increasing or decreasing. We have also seen how we can use that information to determine when a function reaches a maximum or minimum point. We will now explore what the second derivative of a function tells us.
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 4.2.1: 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 4.2.1, 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 4.2.1, 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. 1
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 .”
Now consider the three graphs shown above in Figure 4.2.2. The middle graph 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 4.2.2 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 4.2.3 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 4.2.3 depicts a function that is concave down; in this case, we see that the tangent lines always 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 , that is is increasing, on ; is concave down on if and only if , that is is decreasing, on .
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.
Example4.2.4.
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 4.2.5. The car’s position function has units measured in thousands of feet.
Figure4.2.5.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.
Recall that the second derivative of a function tells us several important things about the behavior of the function itself. For instance, if is positive on an interval, then is increasing on that interval and is concave up on that interval. This also tells us that throughout that interval the tangent line to lies below the curve at every point. As seen in Figure 4.2.6 below, at a point where , the sign of the second derivative determines whether has a local minimum or local maximum at the critical number .
In Figure 4.2.6 above, we see the four possibilities for a function that has a critical number at which , provided we can find an interval around on which is not zero, except possibly at . On either side of the critical number, can be either positive or negative, and hence can be either concave up or concave down. In the first two graphs, does not change concavity at and has either a local minimum or local maximum in those situations. In particular, if and , then is concave down at with a horizontal tangent line, so has a local maximum there. This fact, along with the corresponding statement for when is positive, is the substance of the second derivative test.
If is a critical number of a continuous function such that and , then has a relative maximum at if and only if , and has a relative minimum at if and only if .
In the event that , the second derivative test is inconclusive. That is, the test doesn’t provide us any information. This is because if , it is possible that has a local minimum, local maximum, or neither. 2
Consider the functions ,, and at the critical point .
Just as a first derivative sign chart reveals all of the increasing and decreasing behavior of a function, we can construct a second derivative sign chart that demonstrates all of the important information involving concavity.
Example4.2.7.
Let be a function whose first derivative is . Construct both first and second derivative sign charts for ; fully discuss where is increasing, decreasing, concave up, and concave down; identify all relative extreme values; and sketch a possible graph of .
Solution.
Since we know , we can find the critical numbers of by solving (since exists everywhere, then there are no critical numbers for which . Factoring, we observe that
,
so that are the three critical numbers of . The first derivative sign chart for is given below in Figure 4.2.8.
Figure4.2.8.The first derivative sign chart for when .
We see that is increasing on the intervals and , and is decreasing on and . By the first derivative test, this information tells us that has a local maximum at and a local minimum at . Although also has a critical number at , neither a maximum nor minimum occurs there since does not change sign at .
Next, we move on to investigate concavity. Differentiating , we see that . Since we are interested in knowing the intervals on which is positive and negative, we first find where . Observe that
.
This equation has solutions . Building a sign chart for in the exact same way we do for , we see the result shown below in Figure 4.2.9.
Figure4.2.9.The second derivative sign chart for when .
Therefore is concave down on the intervals and , and concave up on and .
Putting all of this information together, we now see a complete and accurate possible graph of in Figure 4.2.10.
Figure4.2.10.A possible graph of the function in Example 4.2.7.
The point is a local maximum, because is increasing prior to and decreasing after; similarly, the point is a local minimum. Note, too, that is concave down at and concave up at , which is consistent both with our second derivative sign chart and the second derivative test. At points and , concavity changes, as we saw in the results of the second derivative sign chart in Figure 4.2.9. Finally, at point , has a critical point with a horizontal tangent line, but neither a maximum nor a minimum occurs there, since is decreasing both before and after . It is also the case that concavity changes at .
While we completely understand where is increasing and decreasing, where is concave up and concave down, and where has relative extrema, we do not know any specific information about the -coordinates of points on the curve. For instance, while we know that has a local maximum at , we don’t know the value of that maximum because we do not know . Any vertical translation of our sketch of in Figure 4.2.10 would satisfy the given criteria for .
Let be a continuous function. If is a point in the domain of at which changes concavity, then we say that is an inflection point (or point of inflection) of .
Just as we look for locations where changes from increasing to decreasing by considering the behavior at points where or is undefined, so too we find points where or is undefined to see if there are points of inflection at these locations.
At this point in our study, it is important to remind ourselves of the big picture that derivatives help to paint: the sign of the first derivative tells us whether the function is increasing or decreasing, while the sign of the second derivative tells us how the function is increasing or decreasing.
Example4.2.11.
Suppose that is a function whose second derivative, , is given by the graph in Figure 4.2.12 below.
Figure4.2.12.The graph of .
Find the -coordinates of all points of inflection of .
Fully describe the concavity of by making an appropriate sign chart.
Suppose you are given that . Is there a local maximum, local minimum, or neither (for the function ) at this critical number of , or is it impossible to say? Why?
Assuming that is a polynomial (and that all important behavior of is seen in the graph above), what degree polynomial do you think is? Why?
Hint.
What must be true of at a point of inflection?
Use the given graph to decide where is positive and negative.
What does the second derivative test say?
Can you guess a formula for based on its graph?
Answer.
is an inflection point of .
is concave up for and concave down for .
has a local minimum at .
is a degree 5 polynomial.
Solution.
Based on the given graph of , the only point at which changes sign is , so this is the only inflection point of .
Note that for and for . This tells us that is concave up for and concave down for .
Given that , we know that is a critical number for . Additionally, the graph of shows that , so we infer that is concave up at -values near . The second derivative test allows us to conclude that has a local minimum at .
As seen in the given graph, since has a zero of multiplicity 1 at and a zero of multiplicity 2 at , it appears that is a degree 3 polynomial. If so, then is a degree 4 polynomial, and is a degree 5 polynomial.
As we will see in more detail in the following section, derivatives also help us to understand families of functions that differ only by changing one or more parameters. For instance, we might be interested in understanding the behavior of all functions of the form where ,, and are parameters. Each parameter has considerable impact on how the graph appears.
The Second Derivative Test tells us that given a twice differentiable function , if and , the sign of tells us the concavity of and hence whether has a maximum or minimum at . In particular, if and , then is concave down at and has a local maximum there, while if and , then has a local minimum at .
The Second Derivative Test can be used only if is twice differentiable and at the critical number . If both and , then the second derivative test does not tell us whether has a local extremum at or not.
PTX:ERROR: WeBWorK problem UNL-Problems/104-Problems/concavity6.pg with seed 111 does not return valid XML It may not be PTX compatible Use -a to halt with returned content
The following shows graphs of three functions, A (in black), B (in blue), and C (in green). If these are the graphs of three functions ,, and , identify which is which.
PTX:ERROR: WeBWorK problem UNL-Problems/104-Problems/second_der_test1.pg with seed 115 does not return valid XML It may not be PTX compatible Use -a to halt with returned content
PTX:ERROR: WeBWorK problem UNL-Problems/104-Problems/second_der_test7.pg with seed 116 does not have a statement tag Maybe it uses something other than BEGIN_TEXT or BEGIN_PGML to print the statement in its PG code Use -a to halt with returned content
Construct a first derivative sign chart for . Clearly identify all critical numbers of , where is increasing and decreasing, and where has local extrema.
On the right-hand axes, sketch an approximate graph of .
Construct a second derivative sign chart for . Clearly identify where is concave up and concave down, as well as all inflection points.
On the left-hand axes, sketch a possible graph of .
Construct a second derivative sign chart for and determine all inflection points of .
Suppose you also know that is a critical number of . Does have a local minimum, local maximum, or neither at ? Why?
If the point lies on the graph of and , find the equation of the tangent line to at the point where . Does the tangent line lie above the curve, below the curve, or neither at this value? Why?