Skip to main content
Logo image

APEX Calculus: for University of Lethbridge

Section 3.4 Concavity and the Second Derivative

Figure 3.4.1. Video introduction to Section 3.4
Our study of “nice” functions continues. The previous section showed how the first derivative of a function, \(\fp\text{,}\) can relay important information about \(f\text{.}\) We now apply the same technique to \(\fp\) itself, and learn what this tells us about \(f\text{.}\)
The key to studying \(\fp\) is to consider its derivative, namely \(\fp'\text{,}\) which is the second derivative of \(f\text{.}\) When \(\fp'\gt 0\text{,}\) \(\fp\) is increasing. When \(\fp'\lt 0\text{,}\) \(\fp \)is decreasing. \(\fp\) has relative maxima and minima where \(\fp'=0\) or is undefined.
This section explores how knowing information about \(\fpp\) gives information about \(f\text{.}\)

Subsection 3.4.1 Concavity

We begin with a definition, then explore its meaning.

Definition 3.4.2. Concave Up and Concave Down.

Let \(f\) be continuous on an interval \(I\text{.}\) The graph of \(f\) is concave up on \(I\) if for any \(a\lt b\) in \(I\text{,}\)
\begin{equation} f\left(\frac{a+b}{2}\right) \lt \frac{f(a)+f(b)}{2}\text{.}\tag{3.4.1} \end{equation}
The graph of \(f\) is concave down on \(I\) if for any \(a\lt b\) in \(I\text{,}\)
\begin{equation} f\left(\frac{a+b}{2}\right) \gt \frac{f(a)+f(b)}{2}\text{.}\tag{3.4.2} \end{equation}
Geometrically, the condition in Equation (3.4.1) states that a graph is concave up if the midpoint of the secant line from \((a,f(a))\) to \((b,f(b))\) (and hence, the secant line itself) is above the graph \(y=f(x)\text{.}\) Similarly, Equation (3.4.2) states that the secant line lies below the graph.
In order for equality to hold instead of Equation (3.4.1) or Equation (3.4.2), the function would have to be of the form \(f(x)=mx+c\text{,}\) in which case the graph is a straight line. Straight lines are considered to have no concavity.
A graph of a function with concave up curvature.
The image shows a graph where the curve is shaped upwards, resembling a bowl. There is a secant line from \(x=-1\) to \(x=2\) that lies above the curve. The points on the curve are all below this secant line, implying that the slope of the function is increasing as you move from left to right.
(a) A graph that is concave up. Notice how the secant line lies above the graph.
A graph representing a function with a concave down shape.
This image illustrates a graph with a curve that opens downwards, similar to an inverted bowl, which characterizes a concave down function. There’s a secant line from \(x=-1\) to \(x=2\) that lies below the curve. The points on the curve are all above this secant line, implying that the function’s slope is decreasing as you move from left to right.
(b) A graph that is concave down. Notice how the secant line lies below the graph.
Figure 3.4.3. Illustrating the nature of concave up and concave down
Consider a function \(f\) such that \(f\) is continuous on \([a,b]\) and differentiable on \((a,b)\text{.}\) Note that \(\frac{a+b}{2}\) is the midpoint of the interval \([a,b]\text{.}\) By the The Mean Value Theorem of Differentiation, there must be a point \(c_1\) in \(\left[a,\frac{a+b}{2}\right]\) such that
\begin{equation*} \fp(c_1) = \frac{f\left(\frac{a+b}{2}\right)-f(a)}{\frac{a+b}{2}-a}=\frac{2}{b-a}\left(f\left(\frac{a+b}{2}\right)-f(a)\right)\text{.} \end{equation*}
Similarly, there must be a point \(c_2\) in \(\left[\frac{a+b}{2},b\right]\) such that
\begin{equation*} \fp(c_2) = \frac{f(b)-f\left(\frac{a+b}{2}\right)}{b-\frac{a+b}{2}} = \frac{2}{b-a}\left(f(b)-f\left(\frac{a+b}{2}\right)\right)\text{.} \end{equation*}
But then we have
\begin{align*} \fp(c_2)-\fp(c_1) \amp = \frac{2}{b-a}\left(f(b)-f\left(\frac{a+b}{2}\right)-f\left(\frac{a+b}{2}\right)+f(a)\right)\\ \amp = \frac{4}{b-a}\left(\frac{f(a)+f(b)}{2}-f\left(\frac{a+b}{2}\right)\right)\text{.} \end{align*}
Now, let us suppose that \(\fp(x)\) is an increasing function on \((a,b)\text{.}\) In that case, \(\fp(c_2)-\fp(c_1)\gt 0\text{,}\) and since \(b-a\gt 0\text{,}\) this implies that
\begin{equation*} \frac{f(a)+f(b)}{2}-f\left(\frac{a+b}{2}\right)\gt 0\text{,} \end{equation*}
which, by Definition 3.4.2 means that the graph of \(f\) is concave up.
Similarly, if \(\fp(x)\) is a decreasing function on \((a,b)\text{,}\) then the graph of \(f\) will be concave down. Using Theorem 3.3.5, we arrive at the following theorem.
The graph of a function \(f\) is concave up when \(\fp \)is increasing. That means as one looks at a concave up graph from left to right, the slopes of the tangent lines will be increasing. Consider Figure 3.4.5, where a concave up graph is shown along with some tangent lines. Notice how the tangent line on the left is steep, downward, corresponding to a lesser (large negative) value of \(\fp\text{.}\) On the right, the tangent line is steep, upward, corresponding to a greater (large positive) value of \(\fp\text{.}\)
A graph of a function with concave up curvature and tangent lines.
The image displays a graph of a concave up function \(f\) with tangent lines drawn at various points along the curve. The function is shown as a continuous curve that opens upwards, like a parabola. Tangent lines at points with x-values of \((-2, -1, 1, 2)\) are depicted, illustrating how the slope of these lines increases as we move from left to right. On the left side of the graph, the tangent lines slope downwards, indicating negative slopes, while on the right side, the tangent lines slope upwards, indicating positive slopes.
Figure 3.4.5. A function \(f\) with a concave up graph. Notice how the slopes of the tangent lines, when looking from left to right, are increasing. (The slope values pictured are \(-12, -6, 6 \) and \(12\)).
If a function is decreasing and concave up, then its rate of decrease is slowing; it is “leveling off.” You can see this in the left side of Figure 3.4.5. If the function is increasing and concave up, then the rate of increase is increasing. The function is increasing at a faster and faster rate. You can see this in the right side of Figure 3.4.5.
Now consider a function which is concave down. We essentially repeat the above paragraphs with slight variation.
The graph of a function \(f\) is concave down when \(\fp \)is decreasing. That means as one looks at a concave down graph from left to right, the slopes of the tangent lines will be decreasing. Consider Figure 3.4.6, where a concave down graph is shown along with some tangent lines. Notice how the tangent line on the left is steep, upward, corresponding to a greater (large positive) value of \(\fp\text{.}\) On the right, the tangent line is steep, downward, corresponding to a lesser (large negative) value of \(\fp\text{.}\)
A graph of a function with concave down curvature and tangent lines.
The image shows a graph of a concave down function \(f\) with tangent lines drawn at various points along the curve. The function forms a continuous curve that opens downwards. Tangent lines at points with x-values of \((-2, 1, 1, 2)\) are shown, demonstrating how the slope of these lines decreases as we move from left to right across the graph. On the left side of the graph, the tangent lines slope upwards, indicating positive slopes, while on the right side, the tangent lines slope downwards, indicating negative slopes.
Figure 3.4.6. A function \(f\) with a concave down graph. Notice how the slopes of the tangent lines, when looking from left to right, are decreasing.
If a function is increasing and concave down, then its rate of increase is slowing; it is “leveling off.” If the function is decreasing and concave down, then the rate of decrease is decreasing. The function is decreasing at a faster and faster rate.
Our definition of concave up and concave down is given in terms of when the first derivative is increasing or decreasing. We can apply the results of the previous section to find intervals on which a graph is concave up or down. That is, we recognize that \(\fp\) is increasing when \(\fpp \gt 0\text{,}\) etc.
A graph illustrating a function that is increasing and concave down.
Diagram a shows a portion of a curve where the function \(f\) is increasing as the first derivative \(\fp\gt 0\) suggests. Despite the increase, the curve is concave down, indicated by the second derivative \(\fpp\lt0\text{,}\) meaning the rate of increase is slowing down.
(a) \(\fp\gt 0\text{,}\) \(f\) increasing; \(\fpp\lt0\text{,}\) \(f\) is concave down
A graph illustrating a function that is decreasing and concave down.
Diagram b depicts a curve that is decreasing, with the first derivative \(\fp\lt0\text{,}\) and is also concave down, as shown by the second derivative \(\fpp\lt0\text{.}\) This represents a function \(f\) that is decreasing at an increasing rate.
(b) \(\fp\lt0\text{,}\) \(f\) decreasing; \(\fpp\lt0\text{,}\) \(f\) is concave down
A graph illustrating a function that is decreasing and concave up.
In diagram c, the curve represents a function \(f\) that is decreasing since \(\fp\lt0\text{,}\) but the concavity is up, which is indicated by the second derivative \(\fpp\gt 0\text{.}\) This means the function is decreasing but the rate of decrease is slowing.
(c) \(\fp\lt0\text{,}\) \(f\) decreasing; \(\fpp\gt 0\text{,}\) \(f\) is concave up
A graph illustrating a function that is increasing and concave up.
Diagram d displays a curve that is increasing as the first derivative \(\fp\gt 0\) indicates, and it is concave up as the second derivative \(\fpp\gt 0\) confirms. This represents a function \(f\) that is increasing at an increasing rate.
(d) \(\fp\gt 0\text{,}\) \(f\) increasing; \(\fpp\gt 0\text{,}\) \(f\) is concave up
Figure 3.4.8. Demonstrating the four ways that concavity interacts with increasing/decreasing, along with the relationships with the first and second derivatives
If knowing where a graph is concave up/down is important, it makes sense that the places where the graph changes from one to the other is also important. This leads us to a definition.

Definition 3.4.9. Point of Inflection.

A point of inflection is a point on the graph of \(f\) at which the concavity of \(f\) changes.
Figure 3.4.10 shows a graph of a function with inflection points labeled.
A graph depicting a function with labeled inflection points and concavity indications.
The image shows the graph of a function featuring distinct inflection points at \(x=2\) and \(x=3\text{.}\) The section of the function bounded by \(x=0\) and \(x=2\) is concave up with \(\fpp\gt 0\text{,}\) while the section between \(x=2\) and \(x=3\) is concave down with \(\fpp\lt 0\text{.}\) The section bouned by \(x=3\) and \(x=4\) is concave up with \(\fpp\gt 0\text{.}\)
Figure 3.4.10. A graph of a function with its inflection points marked. The intervals where concave up/down are also indicated.
If the concavity of \(f\) changes at a point \((c,f(c))\text{,}\) then \(\fp \)is changing from increasing to decreasing (or, decreasing to increasing) at \(x=c\text{.}\) That means that the sign of \(\fpp\)is changing from positive to negative (or, negative to positive) at \(x=c\text{.}\) A sign change may occur when \(\fpp=0\) or \(\fpp\) is undefined. This leads to the following theorem.
We have identified the concepts of concavity and points of inflection. It is now time to practice using these concepts; given a function, we should be able to find its points of inflection and identify intervals on which it is concave up or down. We do so in the following examples.

Example 3.4.12. Finding intervals of concave up/down, inflection points.

Let \(f(x)=x^3-3x+1\text{.}\) Find the inflection points of \(f\) and the intervals on which it is concave up/down.
Solution 1.
We start by finding \(\fp(x)=3x^2-3\) and \(\fpp(x)=6x\text{.}\) To find the inflection points, we use Theorem 3.4.11 and find where \(\fpp(x)=0\) or where \(\fpp \)is undefined. We find \(\fpp \)is always defined, and is \(0\) only when \(x=0\text{.}\) So the point \((0,f(0))=(0,1)\) is the only possible point of inflection.
This possible inflection point divides the real line into two intervals, \((-\infty,0)\) and \((0,\infty)\text{.}\) We use a process similar to the one used in the previous section to determine increasing/decreasing. Pick any \(c\lt 0\text{;}\) \(\fpp(c)\lt 0\) so \(f\) is concave down on \((-\infty,0)\text{.}\) Pick any \(c\gt 0\text{;}\) \(\fpp(c)\gt 0\) so \(f\) is concave up on \((0,\infty)\text{.}\) Since the concavity changes at \(x=0\text{,}\) the point \((0,1)\) is an inflection point.
The number line in Figure 3.4.13 illustrates the process of determining concavity; Figure 3.4.14 shows a graph of \(f\) and \(\fpp\text{,}\) confirming our results. Notice how \(f\) is concave down precisely when \(\fpp(x)\lt 0\) and concave up when \(\fpp(x)\gt 0\text{.}\)
A number line indicating the concavity of a function based on the second derivative.
The image illustrates a number line used to determine the concavity of a function \(f\text{.}\) The number line is divided at zero, with the left side showing \(\fpp\lt 0\text{,}\) indicating that the function is concave down in this region. Conversely, the right side of the number line where \(\fpp\gt 0\) indicates that the function is concave up.
Figure 3.4.13. A number line determining the concavity of \(f\) in Example 3.4.12
A graph showing the a function and its second derivative.
The graph shows the function \(f(x)\) and its second derivative \(\fpp\text{.}\) The function \(f(x)\) exhibits both concave up and concave down behavior within different intervals. The second derivative \(\fpp\) crosses the \(x\)-axis at points where the concavity of \(f(x)\) changes, indicating the locations of possible inflection points. Above the \(x\)-axis, where \(\fpp\) is positive, the function \(f(x)\) is concave up. Below the \(x\)-axis, where \(\fpp\) is negative, the function \(f(x)\) is concave down.
Figure 3.4.14. A graph of \(f(x)\) used in Example 3.4.12
Solution 2. Video solution

Example 3.4.15. Finding intervals of concave up/down, inflection points.

Let \(f(x)=x/(x^2-1)\text{.}\) Find the inflection points of \(f\) and the intervals on which it is concave up/down.
Solution 1.
We need to find \(\fp\)and \(\fpp\text{.}\) Using the Quotient Rule and simplifying, we find
\begin{align*} \fp(x)\amp=\frac{-(1+x^2)}{(x^2-1)^2}\amp\fpp(x)\amp= \frac{2x(x^2+3)}{(x^2-1)^3}\text{.} \end{align*}
To find the possible points of inflection, we seek to find where \(\fpp(x)=0\) and where \(\fpp\) is not defined. Solving \(\fpp(x)=0\) reduces to solving \(2x(x^2+3)=0\text{;}\) we find \(x=0\text{.}\) We find that \(\fpp \)is not defined when \(x=\pm 1\text{,}\) for then the denominator of \(\fpp \)is \(0\text{.}\) We also note that \(f\) itself is not defined at \(x=\pm1\text{,}\) having a domain of \((-\infty,-1)\cup(-1,1)\cup(1,\infty)\text{.}\) Since the domain of \(f\) is the union of three intervals, it makes sense that the concavity of \(f\) could switch across intervals. We technically cannot say that \(f\) has a point of inflection at \(x=\pm1\) as they are not part of the domain, but we must still consider these \(x\)-values to be important and will include them in our number line.
The important \(x\)-values at which concavity might switch are \(x=-1\text{,}\) \(x=0\) and \(x=1\text{,}\) which split the number line into four intervals as shown in Figure 3.4.16. We determine the concavity on each. Keep in mind that all we are concerned with is the sign of \(\fpp \)on the interval.
Interval 1: \((-\infty,-1)\)
Select a number \(c\) in this interval with a large magnitude (for instance, \(c=-100\)). The denominator of \(\fp'(x)\) will be positive. In the numerator, the \(\left(c^2+3\right)\) factor will be positive and the \(2c\) factor will be negative. Thus the numerator is negative and \(\fpp(c)\) is negative. We conclude \(f\) is concave down on \((-\infty,-1)\text{.}\)
Interval 2: \((-1,0)\)
For any number \(c\) in this interval, the factor \(2c\) in the numerator will be negative, the factor \(\left(c^2+3\right)\) in the numerator will be positive, and the factor \(\left(c^2-1\right)^3\) in the denominator will be negative. Thus \(\fpp(c)\gt 0\) and \(f\) is concave up on this interval.
Interval 3: \((0,1)\)
Any number \(c\) in this interval will be positive and “small.” Thus the numerator is positive while the denominator is negative. Thus \(\fpp(c)\lt 0\) and \(f\) is concave down on this interval.
Interval 4: \((1,\infty)\)
Choose a large value for \(c\text{.}\) It is evident that \(\fpp(c)\gt 0\text{,}\) so we conclude that \(f\) is concave up on \((1,\infty)\text{.}\)
A number line indicating intervals of concavity for a function.
The image shows a number line that is used to determine the concavity of the function \(f\text{.}\) The line is divided into four intervals by the points \(-1, 0\) and \(1\text{,}\) each of which is an inflection point.
The intervals are marked as follows:
  • For \(x\lt -1\text{,}\) \(\fpp\lt 0\text{,}\) and \(f\) is concave down.
  • For \(-1\lt x\lt 0\text{,}\) \(\fpp\gt 0\text{,}\) and \(f\) is concave up.
  • For \(0\lt x\lt 1\text{,}\) \(\fpp\lt 0\text{,}\) and \(f\) is concave down.
  • For \(x\gt 1\text{,}\) \(\fpp\gt 0\text{,}\) and \(f\) is concave up.
Figure 3.4.16. Number line for \(f\) in Example 3.4.15
We conclude that \(f\) is concave up on \((-1,0)\) and \((1,\infty)\) and concave down on \((-\infty,-1)\) and \((0,1)\text{.}\) There is only one point of inflection, \((0,0)\text{,}\) as \(f\) is not defined at \(x=\pm 1\text{.}\) Our work is confirmed by the graph of \(f\) in Figure 3.4.17. Notice how \(f\) is concave up whenever \(\fpp\)is positive, and concave down when \(\fpp\)is negative. The inflection in \(f\) occurs where \(\fpp\) changes sign.
A graph comparing a function and its second derivative.
The graph displays two curves on the same set of axes: one for the function \(f(x)\) in blue and another for its second derivative \(\fpp(x)\) in red. The function \(f(x)\) shows a vertical asymptote, where the curve approaches but never reaches the line \(x=0\text{.}\) The red curve of the second derivative \(\fpp(x)\) also approaches this vertical asymptote. Both curves demonstrate that as \(x\) gets closer to zero from either side, the values of \(f(x)\) and \(\fpp(x)\) increase or decrease without bound, indicating a point of inflection at \(x=0\) for the function \(f(x)\text{.}\)
Figure 3.4.17. A graph of \(f(x)\) and \(\fpp(x)\) in Example 3.4.15
Solution 2. Video solution
Recall that relative maxima and minima of \(f\) are found at critical points of \(f\text{;}\) that is, they are found when \(\fp(x)=0\) or when \(\fp\) is undefined. Likewise, the relative maxima and minima of \(\fp \)are found when \(\fpp(x)=0\) or when \(\fpp \)is undefined; note that these are the inflection points of \(f\text{.}\)
What does a “relative maximum of \(\fp\)mean? The derivative measures the rate of change of \(f\text{;}\) maximizing \(\fp\) means finding where \(f\) is increasing the most — where \(f\) has the steepest tangent line. A similar statement can be made for minimizing \(\fp\text{;}\) it corresponds to where \(f\) has the steepest negatively-sloped tangent line.
We utilize this concept in the next example.

Example 3.4.18. Understanding inflection points.

The sales of a certain product over a three-year span are modeled by \(S(t)= t^4-8t^2+20\text{,}\) where \(t\) is the time in years, shown in Figure 3.4.19. Over the first two years, sales are decreasing. Find the point at which sales are decreasing at their greatest rate.
A graph representing the sales model of a product over time.
The figure illustrates a graph of the function \(S(t)\text{,}\) which models the sales of a product over a three-year period. The sales are modeled by the equation \(S(t)= t^4-8t^2+20\text{,}\) where \(t\) is the time in years. The graph shows an initial decline in sales, reaching a minimum before rising again.
Figure 3.4.19. A graph of \(S(t)\) in Example 3.4.18, modeling the sale of a product over time
Solution.
We want to maximize the rate of decrease, which is to say, we want to find where \(S'\) has a minimum. To do this, we find where \(S''\) is \(0\) and \(S''\) changes from negative to positive. We find \(S'(t)=4t^3-16t\) and \(S''(t)=12t^2-16\text{.}\) Setting \(S''(t)=0\) and solving, we get \(t=\sqrt{4/3}\approx 1.16\) (we ignore the negative solution for \(t\) since it does not lie in the domain of our function \(S\)).
Since \(S''(1)=-4\lt 0\) and \(S''(2)=32\gt 0\text{,}\) we can say \(S'(\sqrt{4/3})\) is a local minimum of \(S'\text{.}\) This is both the inflection point and the point of maximum decrease. This is the point at which things first start looking up for the company. After the inflection point, sales are still decreasing, but not decreasing quite as quickly as they had been.
A graph of \(S(t)\) and \(S'(t)\) is given in Figure 3.4.20. When \(S'(t)\lt 0\text{,}\) sales are decreasing; note how at \(t\approx 1.16\text{,}\) \(S'(t)\) is minimized. That is, sales are decreasing at the fastest rate at \(t\approx 1.16\text{.}\) On the interval of \((1.16,2)\text{,}\) \(S\) is decreasing but concave up, so the decline in sales is “leveling off.”
A graph showing both the sales function and its rate of change over time.
The graph depicts two curves: the blue curve represents the sales function \(S(t)\text{,}\) and the red curve represents its rate of change, \(S'(t)\text{,}\) over a time period \(t\text{.}\) The sales function curve shows a parabolic shape, indicating a period of declining sales followed by an upturn. The rate of change curve \(S'(t)\) crosses the \(t\)-axis at its lowest point, signifying the moment when the sales rate is changing from decreasing to increasing. The point where \(S'(t)\) is most negative corresponds to the fastest rate of decrease in sales, which is the primary point of interest in this example.
Figure 3.4.20. A graph of \(S(t)\) in Example 3.4.18, along with \(S'(t)\)
Not every critical point corresponds to a relative extrema; \(f(x)=x^3\) has a critical point at \((0,0)\) but no relative maximum or minimum. Likewise, just because \(\fpp(x)=0\) we cannot conclude concavity changes at that point. We were careful before to use terminology “possible point of inflection” since we needed to check to see if the concavity changed. The canonical example of \(\fpp(x)=0\) without concavity changing is \(f(x)=x^4\text{.}\) At \(x=0\text{,}\) \(\fpp(x)=0\) but \(f\) is always concave up, as shown in Figure 3.4.21.
A graph depicting a U-shaped curve representing a function raised to the fourth power.
The graph of \(f(x) = x^4\) illustrates a U-shaped curve that is concave up across its domain. Despite the second derivative \(\fpp(x)\) equalling zero when \(x = 0\text{,}\) indicating a potential inflection point, the function remains concave up on both sides of the \(y\)-axis.
Figure 3.4.21. A graph of \(f(x) = x^4\text{.}\) Clearly \(f\) is always concave up, despite the fact that \(\fpp(x) = 0\) when \(x=0\text{.}\) In this example, the possible point of inflection \((0,0)\) is not a point of inflection.

Subsection 3.4.2 The Second Derivative Test

The first derivative of a function gave us a test to find if a critical value corresponded to a relative maximum, minimum, or neither. The second derivative gives us another way to test if a critical point is a local maximum or minimum. The following theorem officially states something that is intuitive: if a critical value occurs in a region where a function \(f\) is concave up, then that critical value must correspond to a relative minimum of \(f\text{,}\) etc. See Figure 3.4.22 for a visualization of this.
A graph depicting points of maximum and minimum on a curve with changing concavity.
The figure showcases a curve that illustrates the concepts of relative maxima and minima in relation to concavity. The curve rises upwards, dips downward and then rises upward again, forming a valley-like shape. At the peak of the first curve, where the shape is bending downwards indicating concave down, a point is marked at \((-1, 10)\) signifying a relative maximum. Similarly, at the lowest point in the valley at \((1,-10)\text{,}\) where the curve starts to bend upwards denoted as concave up, a point signifies a relative minimum.
Figure 3.4.22. Demonstrating the fact that relative maxima occur when the graph is concave down and relative minima occur when the graph is concave up
Figure 3.4.24. Video presentation of Theorem 3.4.23
The Second Derivative Test relates to the First Derivative Test in the following way. If \(\fpp(c)\gt 0\text{,}\) then the graph is concave up at a critical point \(c\) and \(\fp\) itself is growing. Since \(\fp(c)=0\) and \(\fp\) is growing at \(c\text{,}\) then it must go from negative to positive at \(c\text{.}\) This means the function goes from decreasing to increasing, indicating a local minimum at \(c\text{.}\)

Example 3.4.25. Using the Second Derivative Test.

Let \(f(x)=100/x + x\text{.}\) Find the critical points of \(f\) and use the The Second Derivative Test to label them as relative maxima or minima.
Solution 1.
We find \(\fp(x)=-100/x^2+1\) and \(\fpp(x) = 200/x^3\text{.}\) We set \(\fp(x)=0\) and solve for \(x\) to find the critical values (note that \(\fp\) is not defined at \(x=0\text{,}\) but neither is \(f\) so this is not a critical value.) We find the critical values are \(x=\pm 10\text{.}\) We now evaluate the second derivative at these critical numbers. Evaluating \(\fpp(10)=0.1\gt 0\text{,}\) so there is a local minimum at \(x=10\text{.}\) Evaluating \(\fpp(-10)=-0.1\lt 0\text{,}\) determining a relative maximum at \(x=-10\text{.}\) These results are confirmed in Figure 3.4.26.
A graph illustrating the evaluation of the second derivative at critical points.
This graph depicts a function \(f(x)\) with two marked critical points where the second derivative \(\fpp(x)\) has been evaluated. On the left, a point at \(x = -10\) is marked with \(\fpp(-10)\lt 0\text{,}\) indicating that the graph is concave down at this point, which typically corresponds to a local maximum. On the right, a point at \(x = 10\) is marked with \(\fpp(10)\gt 0\text{,}\) signifying that the graph is concave up at this point, suggesting the presence of a local minimum.
Figure 3.4.26. A graph of \(f(x)\) in Example 3.4.25. The second derivative is evaluated at each critical point. When the graph is concave up, the critical point represents a local minimum; when the graph is concave down, the critical point represents a local maximum.
Solution 2. Video solution
We have been learning how the first and second derivatives of a function relate information about the graph of that function. We have found intervals of increasing and decreasing, intervals where the graph is concave up and down, along with the locations of relative extrema and inflection points. In Chapter 1 we saw how limits explained asymptotic behavior. In the next section we combine all of this information to produce accurate sketches of functions.

Exercises 3.4.3 Exercises

Terms and Concepts

1.
Sketch a graph of a function \(f(x)\) that is concave up on \((0,1)\) and is concave down on \((1,2)\text{.}\)
2.
Sketch a graph of a function \(f(x)\) that is:
  • increasing, concave up on \((0,1)\text{,}\)
  • increasing, concave down on \((1,2)\text{,}\)
  • decreasing, concave down on \((2,3)\text{,}\) and
  • increasing, concave down on \((3,4)\text{.}\)
3.
Is is possible for a function to be increasing and concave down on \((0,\infty)\) with a horizontal asymptote of \(y=1\text{?}\) If so, give a sketch of such a function.
4.
Is is possible for a function to be increasing and concave up on \((0,\infty)\) with a horizontal asymptote of \(y=1\text{?}\) If so, give a sketch of such a function.

Problems

Exercise Group.
A function \(f(x)\) is given. Graph \(f\) and \(\fpp\) on the same axes (using technology is permitted) and verify Theorem 3.4.7.
5.
\(f(x) = -7x+3\)
6.
\(f(x) = -4x^2+3x-8\)
7.
\(f(x) = 4x^2+3x-8\)
8.
\(f(x) = x^3-3x^2+x-1\)
9.
\(f(x) = -x^3+x^2-2x+5\)
10.
\(f(x) = \sin(x)\)
11.
\(f(x) = \tan(x)\)
12.
\(f(x) = \dfrac{1}{x^2+1}\)
13.
\(f(x) = \frac{1}{x}\)
14.
\(f(x) = \frac{1}{x^2}\)
Exercise Group.
A function \(f(x)\) is given.
  1. Find the possible points of inflection of \(f\text{.}\)
  2. Find the intervals on which the graph of \(f\) is concave up.
  3. Find the intervals on which the graph of \(f\) is concave down.
15.
\(f(x)={x^{2}-4x+4}\)
16.
\(f(x)={-x^{2}+4x-1}\)
17.
\(f(x)={x^{3}-8x-7}\)
18.
\(f(x)={8x^{3}+6x^{2}+9x-5}\)
19.
\(f(x)={\frac{x^{4}}{4}+16\frac{x^{3}}{3}-72x-6}\)
20.
\(f(x)={2x^{4}-40x^{3}+296x^{2}-960x+7}\)
21.
\(f(x)={x^{4}+8x^{3}+24x^{2}+32x+16}\)
22.
\(f(x)={\sec\mathopen{}\left(x\right)}\) on \((-3\pi/2,3\pi/2)\)
23.
\(f(x)={\frac{1}{x^{2}+1}}\)
24.
\(f(x)={\frac{1}{x^{2}-7x+10}}\)
25.
\(f(x)={\sin\mathopen{}\left(x\right)+\cos\mathopen{}\left(x\right)}\) on \((-\pi,\pi)\)
26.
\(f(x)={x^{2}e^{x}}\)
27.
\(f(x)={x^{2}\ln\mathopen{}\left(x\right)}\)
28.
\(f(x)={e^{-x^{2}}}\)
Exercise Group.
A function \(f(x)\) is given. Find the critical points of \(f\) and use the Second Derivative Test, when possible, to determine the relative extrema. (Note: these are the same functions as in Exercise Group 15–28.)
29.
\(f(x)={x^{2}+14x+49}\)
30.
\(f(x)={-x^{2}-5x+3}\)
31.
\(f(x)={x^{3}-4x-4}\)
32.
\(f(x)={-x^{3}+8x^{2}-25x-3}\)
33.
\(f(x)={\frac{x^{4}}{4}+64x-9}\)
34.
\(f(x)={2x^{4}-8x^{3}-16x^{2}+96x+9}\)
35.
\(f(x)={x^{4}-12x^{3}+54x^{2}-108x+81}\)
36.
\(f(x)={\sec\mathopen{}\left(x\right)}\) on \((-3\pi/2,3\pi/2)\)
37.
\(f(x)={\frac{1}{x^{2}+18x+83}}\)
38.
\(f(x)={\frac{1}{x^{2}-49}}\)
39.
\(f(x)={\sin\mathopen{}\left(x\right)+\cos\mathopen{}\left(x\right)}\) on \((-\pi,\pi)\)
40.
\(f(x)={x^{2}e^{x}}\)
41.
\(f(x)={x^{2}\ln\mathopen{}\left(x\right)}\)
42.
\(f(x)={e^{-x^{2}}}\)
Exercise Group.
A function \(f(x)\) is given. Find the \(x\) values where \(\fp(x)\) has a relative maximum or minimum. (Note: these are the same functions as in Exercise Group 15–28.)
43.
\(f(x)={x^{2}-8x+16}\)
44.
\(f(x)={-x^{2}+6x+4}\)
45.
\(f(x)={x^{3}-9x-2}\)
46.
\(f(x)={-9x^{3}-8x^{2}-7x-1}\)
47.
\(f(x)={\frac{x^{4}}{4}+14\frac{x^{3}}{3}+7}\)
48.
\(f(x)={3x^{4}-24x^{3}+66x^{2}-72x-6}\)
49.
\(f(x)={x^{4}+4x^{3}+6x^{2}+4x+1}\)
50.
\(f(x)={\sec\mathopen{}\left(x\right)}\) on \((-3\pi/2,3\pi/2)\)
51.
\(f(x)={\frac{1}{x^{2}-2x+4}}\)
52.
\(f(x)={\frac{1}{x^{2}-13x+36}}\)
53.
\(f(x)={\sin\mathopen{}\left(x\right)+\cos\mathopen{}\left(x\right)}\) on \((-\pi,\pi)\)
54.
\(f(x)={x^{2}e^{x}}\)
55.
\(f(x)={x^{2}\ln\mathopen{}\left(x\right)}\)
56.
\(f(x)={e^{-x^{2}}}\)