The sign of the second derivative shows which way the graph of a function bends.
Table of Contents
Definition of Concavity and Concavity Test
Although the sign of the derivative provides information about whether a function is increasing or decreasing, it does not tell us which way the graph of the function bends. The graphs of two increasing functions are shown in Figure 1. The graph on the left bends upward as the point that traces it moves from left to right. In this case, we say the function is concave upward. The graph of the right bends downward, and we say that this function is concave downward.
Unofficially, we can say a function is concave up on an interval if its graph over “holds water” and is concave down if the graph “spills water.”
Figure 1.
In Figure 2, the graph of the function is concave upward. It is clear from this figure that in passing along the graph from left to right, the slope of the tangent line (which is ) increases (before the slope is negative, and after slope is positive; thus the tangent lines have increasing slopes).
Figure 2. Increasing slopes (increasing )
In Figure 3, the graph of the function is concave downward; in passing along the graph from left to right, the slope of the tangent line (or ) decreases.
Figure 3. Decreasing slopes (decreasing )
Definition 1. Assume is a differentiable function on an interval .
(a) The (graph of the) function is “concave up” if is increasing on
(b) The (graph of the) function is “concave down” if is decreasing on .
There are alternative and more general definitions for concavity but the above definition is good enough for this course.
Because is the derivative of , it follows from the Increasing/Decreasing Test that is increasing on an interval if for each in and is decreasing on if for each in . Therefore, we have the following theorem.
Theorem 1. Concavity Test. Let be a function whose second derivative exists at each point of an interval .
(a) If for every in , then the graph of is concave up on .
(b) If for every in , then the graph of is concave down on .
Example 1
Determine where the following functions are concave up and where they are concave down.
(a)
(b)
(c)
Solution
(a)
Because for all , it follows from the Concavity Test (Theorem 1) that is concave up on (Figure 4).
Figure 4. Graph of
(b)
The above table shows that is concave down on and is concave up on (Figure 5).
Figure 5. Graph of . The graph is concave down for and is concave up for .
(c) e
Therefore, is concave down on and is concave up on . Graph of clearly agrees with our calculations (Figure 6).
Figure 6. Graph of . At , the concavity changes from downward to upward.
Example 2
Determine where is concave up and where it is concave up.
Solution
Let
Because for all , the sign of is solely determined by . We write
[Recall ]. Therefore, we have the following sign table.
The graph of this function is concave down on the interval and is concave up on . The graph of this function is shown in Figure 7.
Figure 7. Graph of . It is concave down between and and is concave up outside of this interval.
Concavity and Tangent Lines
From Figures 2 and 3, we observe that if a function is concave up on an interval, its graph lies above all of its tangent on that interval and if it is concave down, its graph lies below all of its tangent lines. We can prove this observation is true (see the following example).
Example 3
Let be a differentiable function on an open interval and be an arbitrary point of . Show that if is concave up on , the curve lies above the tangent line to this curve at .
Spoiler title
The tangent to the curve is the line . We need to show that for all in , we have Assume . Because is continuous on the closed interval and is differentiable on the open interval , it follows from the Mean-Value Theorem that there is some in the interval such that Because is concave up, is an increasing function and thus Multiplying both sides by , we obtain or In a similar way, we can show that if , we also have This is what we wanted to prove.
Inflection Points
Most curves are concave up on some interval and concave down on some others. A point where the direction of concavity changes is called an “inflection1 point.”
Figure 8.
Definition 2. We say is an inflection point of the graph of or simply has an inflection point at if:
(a) The graph of has a tangent line at , and
(b) The direction of concavity of changes (from upward to downward or from downward to upward) at .
In other words, an inflection point is where the rate of change (the slopes of the tangent lines) changes from increasing to decreasing or from decreasing to increasing.
Figure 9.
We mentioned that if a function is concave up on an interval, its graph lies above the tangents (see Example 3) and if it is concave down, its graph lies below the tangent. If is an inflection point of the graph of , the direction of concavity changes and hence the graph crosses one side of the tangent to the other at .
Because a tangent line exists at an inflection point, either must be a finite number, or in the case of a vertical tangent must be or .
How to Find Inflection Points
Example 4
Find the inflection points of the following functions:
(a)
(b)
(c)
Solution
(a) In Example 1, we saw is concave up on . Because the direction of concavity does not change the graph of does not have an inflection point.
Figure 10. The graph of shows that is always concave up; hence, does not have an inflection point.
(b) In Example 1, we saw that is concave down on and concave up on Therefore, at , the direction of concavity changes. Furthermore, exists, so the graph of has a tangent. Therefore, both conditions (a) and (b) in Definition 2 are satisfied, and is an inflection point of the graph of .
Figure 11. The graph of shows that is concave down on and concave up on . Hence, is an inflection point of the graph of .
(c) In Example 1, we saw that the direction of concavity changes at . Because exists, is an inflection point of the graph of .
Figure 12. The graph of shows is concave down on and is concave up on . Hence, is an inflection point of the graph of .
Example 5
Find the inflection points of .
Solution
First, let’s find where is concave up and where it is concave down. To do so, we need to calculate .
or Although does not exist, is positive for and is negative for [if it is not clear from the formula of , we can test two numbers at each side that are close to 0. For example, and :
Therefore, the direction of concavity changes at , and condition (b) in Definition 2 for to be an inflection point is satisfied. Although does not exist (in fact, ), because the vertical line is the tangent to the graph of , condition (a) is also satisfied. Hence, the graph has a point of inflection at the origin.
Figure 13.. Graph of . It is concave up on and is concave down on . Because the graph has a vertical tangent at origin and the direction of concavity changes there, is a point of inflection.
Example 6
Find the inflection point of
Solution
Let’s calculate the first and second derivatives
We can see that is concave down on and is concave up on . Thus the direction of concavity changes at . Because has a tangent at (the line is the tangent line), both conditions of Definition 2 are satisfied and is an inflection point of the graph of (see Figure 14).
Figure 14. Graph of As we can see from this graph, the direction of concavity changes at , and thus is a point of inflection, although does not exist.
Assume is an inflection point of the graph of . If is continuous, because has opposite signs at each side of , it follows from the Intermediate Value Theorem (or Bolzano’s Theorem) that must be zero (for example, see, Example 4). Even if the assumption of continuity of is dropped, with a more advanced argument we can show that if exists, it must be zero. The other possibility is does not exist (for example, in Examples 5 and 6). So, we have the following theorem.
Theorem 2. If is an inflection point of the graph of , either or does not exist.
The above theorem states that if has an inflection point at , then is a critical point of the derivative .
Even if , the point is not necessarily an inflection point. For instance, see the following example.
Example 7
Determine the inflection points of the graph of .
Solution
Because is always non-negative, the concavity of does not change. So even if , the point is not an inflection point.
1 Oxford Dictionary: from Latin inflectere, from in- ‘into’ + flectere ‘to bend’.