Here we examine what the second derivative tells us about the geometry of functions.
Concavity
We know that the sign of the derivative tells us whether a function is increasing or decreasing at some point. Likewise, the sign of the second derivative tells us whether is increasing or decreasing at . We summarize the consequences of this seemingly simple idea in the table below:
If we are trying to understand the shape of the graph of a function, knowing where it is concave up and concave down helps us to get a more accurate picture. It is worth summarizing what we have seen already in a single theorem.
- (a)
- on that interval whenever is concave up on that interval.
- (b)
- on that interval whenever is concave down on that interval.
- for .
- for and .
- for and .
- for .
Sketch a possible graph of .
Inflection points
If we are trying to understand the shape of the graph of a function, knowing where it is concave up and concave down helps us to get a more accurate picture. Of particular interest are points at which the concavity changes from up to down or down to up.
It is instructive to see some examples of inflection points:
It is also instructive to see some non-examples of inflection points:
We identify inflection points by first finding such that is zero or undefined and then checking to see whether does in fact go from positive to negative or negative to positive at these points.
Note that we need to compute and analyze the second derivative to understand concavity, which can help us to identify whether critical points correspond to maxima or minima. Sometimes, rather than using the first derivative test for extrema, the second derivative test can also help you to identify extrema.
The second derivative test
Recall the first derivative test:
- If to the left of and to the right of , then is a local maximum.
- If to the left of and to the right of , then is a local minimum.
If changes from positive to negative, then is decreasing. In this case, might be negative, and if in fact is negative then is definitely decreasing, so there is a local maximum at the point in question. On the other hand, if changes from negative to positive, then is increasing. Again, this means that might be positive, and if in fact is positive then is definitely increasing, so there is a local minimum at the point in question. We summarize this as the second derivative test.
- If , then has a local maximum at .
- If , then has a local minimum at .
- If , then the test is inconclusive. In this case, may or may not have a local extremum at , and the first derivative test should be used to find out.
In certain situations, when the second derivative is easy to calculate, the second derivative test is often the easiest way to identify local extrema. However, if the second derivative is difficult to calculate, you may want to stick with the first derivative test. Also, if has a critical point, at which is undefined, the second derivative test does not apply, which means you’ll want to use the first derivative test instead. To add to this, even if the second derivative is easy to calculate, if it turns out that , then is neither concave up nor concave down at , so no conclusions can be made using concavity/the second derivative about whether corresponds to a local maximum or minimum.