We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Calculus Volume 1

Derivatives and the Shape of a Graph

Learning Objectives

  • Explain how the sign of the first derivative affects the shape of a function’s graph.
  • State the first derivative test for critical points.
  • Use concavity and inflection points to explain how the sign of the second derivative affects the shape of a function’s graph.
  • Explain the concavity test for a function over an open interval.
  • Explain the relationship between a function and its first and second derivatives.
  • State the second derivative test for local extrema.

Earlier in this chapter we stated that if a function [latex]f[/latex] has a local extremum at a point [latex]c,[/latex] then [latex]c[/latex] must be a critical point of [latex]f.[/latex] However, a function is not guaranteed to have a local extremum at a critical point. For example, [latex]f\left(x\right)={x}^{3}[/latex] has a critical point at [latex]x=0[/latex] since [latex]f\prime \left(x\right)=3{x}^{2}[/latex] is zero at [latex]x=0,[/latex] but [latex]f[/latex] does not have a local extremum at [latex]x=0.[/latex] Using the results from the previous section, we are now able to determine whether a critical point of a function actually corresponds to a local extreme value. In this section, we also see how the second derivative provides information about the shape of a graph by describing whether the graph of a function curves upward or curves downward.

The First Derivative Test

Corollary [latex]3[/latex] of the Mean Value Theorem showed that if the derivative of a function is positive over an interval [latex]I[/latex] then the function is increasing over [latex]I.[/latex] On the other hand, if the derivative of the function is negative over an interval [latex]I,[/latex] then the function is decreasing over [latex]I[/latex] as shown in the following figure.

Both functions are increasing over the interval [latex]\left(a,b\right).[/latex] At each point [latex]x,[/latex] the derivative [latex]f\prime \left(x\right)>0.[/latex] Both functions are decreasing over the interval [latex]\left(a,b\right).[/latex] At each point [latex]x,[/latex] the derivative [latex]f\prime \left(x\right)<0.[/latex]
This figure is broken into four figures labeled a, b, c, and d. Figure a shows a function increasing convexly from (a, f(a)) to (b, f(b)). At two points the derivative is taken and it is noted that at both f’ > 0. In other words, f is increasing. Figure b shows a function increasing concavely from (a, f(a)) to (b, f(b)). At two points the derivative is taken and it is noted that at both f’ > 0. In other words, f is increasing. Figure c shows a function decreasing concavely from (a, f(a)) to (b, f(b)). At two points the derivative is taken and it is noted that at both f’ < 0. In other words, f is decreasing. Figure d shows a function decreasing convexly from (a, f(a)) to (b, f(b)). At two points the derivative is taken and it is noted that at both f’ < 0. In other words, f is decreasing.

A continuous function [latex]f[/latex] has a local maximum at point [latex]c[/latex] if and only if [latex]f[/latex] switches from increasing to decreasing at point [latex]c.[/latex] Similarly, [latex]f[/latex] has a local minimum at [latex]c[/latex] if and only if [latex]f[/latex] switches from decreasing to increasing at [latex]c.[/latex] If [latex]f[/latex] is a continuous function over an interval [latex]I[/latex] containing [latex]c[/latex] and differentiable over [latex]I,[/latex] except possibly at [latex]c,[/latex] the only way [latex]f[/latex] can switch from increasing to decreasing (or vice versa) at point [latex]c[/latex] is if [latex]{f}^{\prime }[/latex] changes sign as [latex]x[/latex] increases through [latex]c.[/latex] If [latex]f[/latex] is differentiable at [latex]c,[/latex] the only way that [latex]{f}^{\prime }.[/latex] can change sign as [latex]x[/latex] increases through [latex]c[/latex] is if [latex]{f}^{\prime }\left(c\right)=0.[/latex] Therefore, for a function [latex]f[/latex] that is continuous over an interval [latex]I[/latex] containing [latex]c[/latex] and differentiable over [latex]I,[/latex] except possibly at [latex]c,[/latex] the only way [latex]f[/latex] can switch from increasing to decreasing (or vice versa) is if [latex]f\prime \left(c\right)=0[/latex] or [latex]{f}^{\prime }\left(c\right)[/latex] is undefined. Consequently, to locate local extrema for a function [latex]f,[/latex] we look for points [latex]c[/latex] in the domain of [latex]f[/latex] such that [latex]f\prime \left(c\right)=0[/latex] or [latex]{f}^{\prime }\left(c\right)[/latex] is undefined. Recall that such points are called critical points of [latex]f.[/latex]

Note that [latex]f[/latex] need not have a local extrema at a critical point. The critical points are candidates for local extrema only. In [link], we show that if a continuous function [latex]f[/latex] has a local extremum, it must occur at a critical point, but a function may not have a local extremum at a critical point. We show that if [latex]f[/latex] has a local extremum at a critical point, then the sign of [latex]{f}^{\prime }[/latex] switches as [latex]x[/latex] increases through that point.

The function [latex]f[/latex] has four critical points: [latex]a,b,c,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}d.[/latex] The function [latex]f[/latex] has local maxima at [latex]a[/latex] and [latex]d,[/latex] and a local minimum at [latex]b.[/latex] The function [latex]f[/latex] does not have a local extremum at [latex]c.[/latex] The sign of [latex]f\prime [/latex] changes at all local extrema.
A function f(x) is graphed. It starts in the second quadrant and increases to x = a, which is too sharp and hence f’(a) is undefined. In this section f’ > 0. Then, f decreases from x = a to x = b (so f’ < 0 here), before increasing at x = b. It is noted that f’(b) = 0. While increasing from x = b to x = c, f’ > 0. The function has an inversion point at c, and it is marked f’(c) = 0. The function increases some more to d (so f’ > 0), which is the global maximum. It is marked that f’(d) = 0. Then the function decreases and it is marked that f’ > 0.

Using [link], we summarize the main results regarding local extrema.

  • If a continuous function [latex]f[/latex] has a local extremum, it must occur at a critical point [latex]c.[/latex]
  • The function has a local extremum at the critical point [latex]c[/latex] if and only if the derivative [latex]{f}^{\prime }[/latex] switches sign as [latex]x[/latex] increases through [latex]c.[/latex]
  • Therefore, to test whether a function has a local extremum at a critical point [latex]c,[/latex] we must determine the sign of [latex]{f}^{\prime }\left(x\right)[/latex] to the left and right of [latex]c.[/latex]

This result is known as the first derivative test.

First Derivative Test

Suppose that [latex]f[/latex] is a continuous function over an interval [latex]I[/latex] containing a critical point [latex]c.[/latex] If [latex]f[/latex] is differentiable over [latex]I,[/latex] except possibly at point [latex]c,[/latex] then [latex]f\left(c\right)[/latex] satisfies one of the following descriptions:

  1. If [latex]{f}^{\prime }[/latex] changes sign from positive when [latex]x<c[/latex] to negative when [latex]x>c,[/latex] then [latex]f\left(c\right)[/latex] is a local maximum of [latex]f.[/latex]
  2. If [latex]{f}^{\prime }[/latex] changes sign from negative when [latex]x<c[/latex] to positive when [latex]x>c,[/latex] then [latex]f\left(c\right)[/latex] is a local minimum of [latex]f.[/latex]
  3. If [latex]f\prime [/latex] has the same sign for [latex]x<c[/latex] and [latex]x>c,[/latex] then [latex]f\left(c\right)[/latex] is neither a local maximum nor a local minimum of [latex]f.[/latex]

We can summarize the first derivative test as a strategy for locating local extrema.

Problem-Solving Strategy: Using the First Derivative Test

Consider a function [latex]f[/latex] that is continuous over an interval [latex]I.[/latex]

  1. Find all critical points of [latex]f[/latex] and divide the interval [latex]I[/latex] into smaller intervals using the critical points as endpoints.
  2. Analyze the sign of [latex]f\prime [/latex] in each of the subintervals. If [latex]f\prime [/latex] is continuous over a given subinterval (which is typically the case), then the sign of [latex]f\prime [/latex] in that subinterval does not change and, therefore, can be determined by choosing an arbitrary test point [latex]x[/latex] in that subinterval and by evaluating the sign of [latex]f\prime [/latex] at that test point. Use the sign analysis to determine whether [latex]f[/latex] is increasing or decreasing over that interval.
  3. Use [link] and the results of step [latex]2[/latex] to determine whether [latex]f[/latex] has a local maximum, a local minimum, or neither at each of the critical points.

Now let’s look at how to use this strategy to locate all local extrema for particular functions.

Using the First Derivative Test to Find Local Extrema

Use the first derivative test to find the location of all local extrema for [latex]f\left(x\right)={x}^{3}-3{x}^{2}-9x-1.[/latex] Use a graphing utility to confirm your results.

Step 1. The derivative is [latex]{f}^{\prime }\left(x\right)=3{x}^{2}-6x-9.[/latex] To find the critical points, we need to find where [latex]{f}^{\prime }\left(x\right)=0.[/latex] Factoring the polynomial, we conclude that the critical points must satisfy

[latex]3\left({x}^{2}-2x-3\right)=3\left(x-3\right)\left(x+1\right)=0.[/latex]

Therefore, the critical points are [latex]x=3,-1.[/latex] Now divide the interval [latex]\left(\text{−}\infty ,\infty \right)[/latex] into the smaller intervals [latex]\left(\text{−}\infty ,-1\right),\left(-1,3\right)\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\left(3,\infty \right).[/latex]

Step 2. Since [latex]f\prime [/latex] is a continuous function, to determine the sign of [latex]{f}^{\prime }\left(x\right)[/latex] over each subinterval, it suffices to choose a point over each of the intervals [latex]\left(\text{−}\infty ,-1\right),\left(-1,3\right)\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\left(3,\infty \right)[/latex] and determine the sign of [latex]{f}^{\prime }[/latex] at each of these points. For example, let’s choose [latex]x=-2,x=0,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=4[/latex] as test points.

IntervalTest PointSign of [latex]{f}^{\prime }\left(x\right)=3\left(x-3\right)\left(x+1\right)[/latex] at Test PointConclusion
[latex]\left(\text{−}\infty ,-1\right)[/latex][latex]x=-2[/latex][latex]\left(\text{+}\right)\left(\text{−}\right)\left(\text{−}\right)=+[/latex][latex]f[/latex] is increasing.
[latex]\left(-1,3\right)[/latex][latex]x=0[/latex][latex]\left(\text{+}\right)\left(\text{−}\right)\left(\text{+}\right)=\text{−}[/latex][latex]f[/latex] is decreasing.
[latex]\left(3,\infty \right)[/latex][latex]x=4[/latex][latex]\left(\text{+}\right)\left(\text{+}\right)\left(\text{+}\right)=+[/latex][latex]f[/latex] is increasing.

Step 3. Since [latex]{f}^{\prime }[/latex] switches sign from positive to negative as [latex]x[/latex] increases through [latex]1,f[/latex] has a local maximum at [latex]x=-1.[/latex] Since [latex]{f}^{\prime }[/latex] switches sign from negative to positive as [latex]x[/latex] increases through [latex]3,f[/latex] has a local minimum at [latex]x=3.[/latex] These analytical results agree with the following graph.

The function [latex]f[/latex] has a maximum at [latex]x=-1[/latex] and a minimum at [latex]x=3[/latex]
The function f(x) = x3 – 3x2 – 9x – 1 is graphed. It has a maximum at x = −1 and a minimum at x = 3. The function is increasing before x = −1, decreasing until x = 3, and then increasing after that.

Use the first derivative test to locate all local extrema for [latex]f\left(x\right)=\text{−}{x}^{3}+\frac{3}{2}{x}^{2}+18x.[/latex]

[latex]f[/latex] has a local minimum at [latex]-2[/latex] and a local maximum at [latex]3.[/latex]

Hint

Find all critical points of [latex]f[/latex] and determine the signs of [latex]{f}^{\prime }\left(x\right)[/latex] over particular intervals determined by the critical points.

Using the First Derivative Test

Use the first derivative test to find the location of all local extrema for [latex]f\left(x\right)=5{x}^{1\text{/}3}-{x}^{5\text{/}3}.[/latex] Use a graphing utility to confirm your results.

Step 1. The derivative is

[latex]{f}^{\prime }\left(x\right)=\frac{5}{3}{x}^{-2\text{/}3}-\frac{5}{3}{x}^{2\text{/}3}=\frac{5}{3{x}^{2\text{/}3}}-\frac{5{x}^{2\text{/}3}}{3}=\frac{5-5{x}^{4\text{/}3}}{3{x}^{2\text{/}3}}=\frac{5\left(1-{x}^{4\text{/}3}\right)}{3{x}^{2\text{/}3}}.[/latex]

The derivative [latex]{f}^{\prime }\left(x\right)=0[/latex] when [latex]1-{x}^{4\text{/}3}=0.[/latex] Therefore, [latex]{f}^{\prime }\left(x\right)=0[/latex] at [latex]x=\text{±}1.[/latex] The derivative [latex]{f}^{\prime }\left(x\right)[/latex] is undefined at [latex]x=0.[/latex] Therefore, we have three critical points: [latex]x=0,[/latex] [latex]x=1,[/latex] and [latex]x=-1.[/latex] Consequently, divide the interval [latex]\left(\text{−}\infty ,\infty \right)[/latex] into the smaller intervals [latex]\left(\text{−}\infty ,-1\right),\left(-1,0\right),\left(0,1\right),[/latex] and [latex]\left(1,\infty \right).[/latex]

Step 2: Since [latex]{f}^{\prime }[/latex] is continuous over each subinterval, it suffices to choose a test point [latex]x[/latex] in each of the intervals from step [latex]1[/latex] and determine the sign of [latex]{f}^{\prime }[/latex] at each of these points. The points [latex]x=-2,x=-\frac{1}{2},x=\frac{1}{2},\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}x=2[/latex] are test points for these intervals.

IntervalTest PointSign of [latex]{f}^{\prime }\left(x\right)=\frac{5\left(1-{x}^{4\text{/}3}\right)}{3{x}^{2\text{/}3}}[/latex] at Test PointConclusion
[latex]\left(\text{−}\infty ,-1\right)[/latex][latex]x=-2[/latex][latex]\frac{\left(\text{+}\right)\left(\text{−}\right)}{+}=\text{−}[/latex][latex]f[/latex] is decreasing.
[latex]\left(-1,0\right)[/latex][latex]x=-\frac{1}{2}[/latex][latex]\frac{\left(\text{+}\right)\left(\text{+}\right)}{+}=+[/latex][latex]f[/latex] is increasing.
[latex]\left(0,1\right)[/latex][latex]x=\frac{1}{2}[/latex][latex]\frac{\left(\text{+}\right)\left(\text{+}\right)}{+}=+[/latex][latex]f[/latex] is increasing.
[latex]\left(1,\infty \right)[/latex][latex]x=2[/latex][latex]\frac{\left(\text{+}\right)\left(\text{−}\right)}{+}=\text{−}[/latex][latex]f[/latex] is decreasing.

Step 3: Since [latex]f[/latex] is decreasing over the interval [latex]\left(\text{−}\infty ,-1\right)[/latex] and increasing over the interval [latex]\left(-1,0\right),[/latex] [latex]f[/latex] has a local minimum at [latex]x=-1.[/latex] Since [latex]f[/latex] is increasing over the interval [latex]\left(-1,0\right)[/latex] and the interval [latex]\left(0,1\right),[/latex] [latex]f[/latex] does not have a local extremum at [latex]x=0.[/latex] Since [latex]f[/latex] is increasing over the interval [latex]\left(0,1\right)[/latex] and decreasing over the interval [latex]\left(1,\infty \right),f[/latex] has a local maximum at [latex]x=1.[/latex] The analytical results agree with the following graph.

The function f has a local minimum at [latex]x=-1[/latex] and a local maximum at [latex]x=1.[/latex]
The function f(x) = 5x1/3 – x5/3 is graphed. It decreases to its local minimum at x = −1, increases to x = 1, and then decreases after that.

Use the first derivative test to find all local extrema for [latex]f\left(x\right)=\sqrt[3]{x-1}.[/latex]

[latex]f[/latex] has no local extrema because [latex]{f}^{\prime }[/latex] does not change sign at [latex]x=1.[/latex]

Hint

The only critical point of [latex]f[/latex] is [latex]x=1.[/latex]

Concavity and Points of Inflection

We now know how to determine where a function is increasing or decreasing. However, there is another issue to consider regarding the shape of the graph of a function. If the graph curves, does it curve upward or curve downward? This notion is called the concavity of the function.

[link](a) shows a function [latex]f[/latex] with a graph that curves upward. As [latex]x[/latex] increases, the slope of the tangent line increases. Thus, since the derivative increases as [latex]x[/latex] increases, [latex]{f}^{\prime }[/latex] is an increasing function. We say this function [latex]f[/latex] is concave up. [link](b) shows a function [latex]f[/latex] that curves downward. As [latex]x[/latex] increases, the slope of the tangent line decreases. Since the derivative decreases as [latex]x[/latex] increases, [latex]{f}^{\prime }[/latex] is a decreasing function. We say this function [latex]f[/latex] is concave down.

Definition

Let [latex]f[/latex] be a function that is differentiable over an open interval [latex]I.[/latex] If [latex]{f}^{\prime }[/latex] is increasing over [latex]I,[/latex] we say [latex]f[/latex] is concave up over [latex]I.[/latex] If [latex]{f}^{\prime }[/latex] is decreasing over [latex]I,[/latex] we say [latex]f[/latex] is concave down over [latex]I.[/latex]

(a), (c) Since [latex]f\prime [/latex] is increasing over the interval [latex]\left(a,b\right),[/latex] we say [latex]f[/latex] is concave up over [latex]\left(a,b\right).[/latex] (b), (d) Since [latex]f\prime [/latex] is decreasing over the interval [latex]\left(a,b\right),[/latex] we say [latex]f[/latex] is concave down over [latex]\left(a,b\right).[/latex]
This figure is broken into four figures labeled a, b, c, and d. Figure a shows a function increasing convexly from (a, f(a)) to (b, f(b)). At two points the derivative is taken and both are increasing, but the one taken further to the right is increasing more. It is noted that f’ is increasing and f is concave up. Figure b shows a function increasing concavely from (a, f(a)) to (b, f(b)). At two points the derivative is taken and both are increasing, but the one taken further to the right is increasing less. It is noted that f’ is decreasing and f is concave down. Figure c shows a function decreasing concavely from (a, f(a)) to (b, f(b)). At two points the derivative is taken and both are decreasing, but the one taken further to the right is decreasing less. It is noted that f’ is increasing and f is concave up. Figure d shows a function decreasing convexly from (a, f(a)) to (b, f(b)). At two points the derivative is taken and both are decreasing, but the one taken further to the right is decreasing more. It is noted that f’ is decreasing and f is concave down.

In general, without having the graph of a function [latex]f,[/latex] how can we determine its concavity? By definition, a function [latex]f[/latex] is concave up if [latex]{f}^{\prime }[/latex] is increasing. From Corollary [latex]3,[/latex] we know that if [latex]{f}^{\prime }[/latex] is a differentiable function, then [latex]{f}^{\prime }[/latex] is increasing if its derivative [latex]f\text{″}\left(x\right)>0.[/latex] Therefore, a function [latex]f[/latex] that is twice differentiable is concave up when [latex]f\text{″}\left(x\right)>0.[/latex] Similarly, a function [latex]f[/latex] is concave down if [latex]{f}^{\prime }[/latex] is decreasing. We know that a differentiable function [latex]{f}^{\prime }[/latex] is decreasing if its derivative [latex]f\text{″}\left(x\right)<0.[/latex] Therefore, a twice-differentiable function [latex]f[/latex] is concave down when [latex]f\text{″}\left(x\right)<0.[/latex] Applying this logic is known as the concavity test.

Test for Concavity

Let [latex]f[/latex] be a function that is twice differentiable over an interval [latex]I.[/latex]

  1. If [latex]f\text{″}\left(x\right)>0[/latex] for all [latex]x\in I,[/latex] then [latex]f[/latex] is concave up over [latex]I.[/latex]
  2. If [latex]f\text{″}\left(x\right)<0[/latex] for all [latex]x\in I,[/latex] then [latex]f[/latex] is concave down over [latex]I.[/latex]

We conclude that we can determine the concavity of a function [latex]f[/latex] by looking at the second derivative of [latex]f.[/latex] In addition, we observe that a function [latex]f[/latex] can switch concavity ([link]). However, a continuous function can switch concavity only at a point [latex]x[/latex] if [latex]f\text{″}\left(x\right)=0[/latex] or [latex]f\text{″}\left(x\right)[/latex] is undefined. Consequently, to determine the intervals where a function [latex]f[/latex] is concave up and concave down, we look for those values of [latex]x[/latex] where [latex]f\text{″}\left(x\right)=0[/latex] or [latex]f\text{″}\left(x\right)[/latex] is undefined. When we have determined these points, we divide the domain of [latex]f[/latex] into smaller intervals and determine the sign of [latex]f\text{″}[/latex] over each of these smaller intervals. If [latex]f\text{″}[/latex] changes sign as we pass through a point [latex]x,[/latex] then [latex]f[/latex] changes concavity. It is important to remember that a function [latex]f[/latex] may not change concavity at a point [latex]x[/latex] even if [latex]f\text{″}\left(x\right)=0[/latex] or [latex]f\text{″}\left(x\right)[/latex] is undefined. If, however, [latex]f[/latex] does change concavity at a point [latex]a[/latex] and [latex]f[/latex] is continuous at [latex]a,[/latex] we say the point [latex]\left(a,f\left(a\right)\right)[/latex] is an inflection point of [latex]f.[/latex]

Definition

If [latex]f[/latex] is continuous at [latex]a[/latex] and [latex]f[/latex] changes concavity at [latex]a,[/latex] the point [latex]\left(a,f\left(a\right)\right)[/latex] is an inflection point of [latex]f.[/latex]

Since [latex]f\text{″}\left(x\right)>0[/latex] for [latex]x<a,[/latex] the function [latex]f[/latex] is concave up over the interval [latex]\left(\text{−}\infty ,a\right).[/latex] Since [latex]f\text{″}\left(x\right)<0[/latex] for [latex]x>a,[/latex] the function [latex]f[/latex] is concave down over the interval [latex]\left(a,\infty \right).[/latex] The point [latex]\left(a,f\left(a\right)\right)[/latex] is an inflection point of [latex]f.[/latex]
A sinusoidal function is shown that has been shifted into the first quadrant. The function starts decreasing, so f’ < 0 and f’’ > 0. The function reaches the local minimum and starts increasing, so f’ > 0 and f’’ > 0. It is noted that the slope is increasing for these two intervals. The function then reaches an inflection point (a, f(a)) and from here the slop is decreasing even though the function continues to increase, so f’ > 0 and f’’ < 0. The function reaches the maximum and then starts decreasing, so f’ < 0 and f’’ < 0.
Testing for Concavity

For the function [latex]f\left(x\right)={x}^{3}-6{x}^{2}+9x+30,[/latex] determine all intervals where [latex]f[/latex] is concave up and all intervals where [latex]f[/latex] is concave down. List all inflection points for [latex]f.[/latex] Use a graphing utility to confirm your results.

To determine concavity, we need to find the second derivative [latex]f\text{″}\left(x\right).[/latex] The first derivative is [latex]f\prime \left(x\right)=3{x}^{2}-12x+9,[/latex] so the second derivative is [latex]f\text{″}\left(x\right)=6x-12.[/latex] If the function changes concavity, it occurs either when [latex]f\text{″}\left(x\right)=0[/latex] or [latex]f\text{″}\left(x\right)[/latex] is undefined. Since [latex]f\text{″}[/latex] is defined for all real numbers [latex]x,[/latex] we need only find where [latex]f\text{″}\left(x\right)=0.[/latex] Solving the equation [latex]6x-12=0,[/latex] we see that [latex]x=2[/latex] is the only place where [latex]f[/latex] could change concavity. We now test points over the intervals [latex]\left(\text{−}\infty ,2\right)[/latex] and [latex]\left(2,\infty \right)[/latex] to determine the concavity of [latex]f.[/latex] The points [latex]x=0[/latex] and [latex]x=3[/latex] are test points for these intervals.

IntervalTest PointSign of [latex]f\text{″}\left(x\right)=6x-12[/latex] at Test PointConclusion
[latex]\left(\text{−}\infty ,2\right)[/latex][latex]x=0[/latex][latex]-[/latex][latex]f[/latex] is concave down
[latex]\left(2,\infty \right)[/latex][latex]x=3[/latex][latex]+[/latex][latex]f[/latex] is concave up.

We conclude that [latex]f[/latex] is concave down over the interval [latex]\left(\text{−}\infty ,2\right)[/latex] and concave up over the interval [latex]\left(2,\infty \right).[/latex] Since [latex]f[/latex] changes concavity at [latex]x=2,[/latex] the point [latex]\left(2,f\left(2\right)\right)=\left(2,32\right)[/latex] is an inflection point. [link] confirms the analytical results.

The given function has a point of inflection at [latex]\left(2,32\right)[/latex] where the graph changes concavity.
The function f(x) = x3 – 6x2 + 9x + 30 is graphed. The inflection point (2, 32) is marked, and it is roughly equidistant from the two local extrema.

For [latex]f\left(x\right)=\text{−}{x}^{3}+\frac{3}{2}{x}^{2}+18x,[/latex] find all intervals where [latex]f[/latex] is concave up and all intervals where [latex]f[/latex] is concave down.

[latex]f[/latex] is concave up over the interval [latex]\left(\text{−}\infty ,\frac{1}{2}\right)[/latex] and concave down over the interval [latex]\left(\frac{1}{2},\infty \right)[/latex]

Hint

Find where [latex]f\text{″}\left(x\right)=0.[/latex]

We now summarize, in [link], the information that the first and second derivatives of a function [latex]f[/latex] provide about the graph of [latex]f,[/latex] and illustrate this information in [link].

What Derivatives Tell Us about Graphs
Sign of [latex]f\prime [/latex]Sign of [latex]f\text{″}[/latex]Is [latex]f[/latex] increasing or decreasing?Concavity
PositivePositiveIncreasingConcave up
PositiveNegativeIncreasingConcave down
NegativePositiveDecreasingConcave up
NegativeNegativeDecreasingConcave down
Consider a twice-differentiable function [latex]f[/latex] over an open interval [latex]I.[/latex] If [latex]f\prime \left(x\right)>0[/latex] for all [latex]x\in I,[/latex] the function is increasing over [latex]I.[/latex] If [latex]f\prime \left(x\right)<0[/latex] for all [latex]x\in I,[/latex] the function is decreasing over [latex]I.[/latex] If [latex]f\text{″}\left(x\right)>0[/latex] for all [latex]x\in I,[/latex] the function is concave up. If [latex]f\text{″}\left(x\right)<0[/latex] for all [latex]x\in I,[/latex] the function is concave down on [latex]I.[/latex]
A function is graphed in the first quadrant. It is broken up into four sections, with the breaks coming at the local minimum, inflection point, and local maximum, respectively. The first section is decreasing and concave up; here, f’ < 0 and f’’ > 0. The second section is increasing and concave up; here, f’ > 0 and f’’ > 0. The third section is increasing and concave down; here, f’ > 0 and f’’ < 0. The fourth section is increasing and concave down; here, f’ < 0 and f’’ < 0.

The Second Derivative Test

The first derivative test provides an analytical tool for finding local extrema, but the second derivative can also be used to locate extreme values. Using the second derivative can sometimes be a simpler method than using the first derivative.

We know that if a continuous function has a local extrema, it must occur at a critical point. However, a function need not have a local extrema at a critical point. Here we examine how the second derivative test can be used to determine whether a function has a local extremum at a critical point. Let [latex]f[/latex] be a twice-differentiable function such that [latex]{f}^{\prime }\left(a\right)=0[/latex] and [latex]f\text{″}[/latex] is continuous over an open interval [latex]I[/latex] containing [latex]a.[/latex] Suppose [latex]f\text{″}\left(a\right)<0.[/latex] Since [latex]f\text{″}[/latex] is continuous over [latex]I,[/latex] [latex]f\text{″}\left(x\right)<0[/latex] for all [latex]x\in I[/latex] ([link]). Then, by Corollary [latex]3,[/latex] [latex]{f}^{\prime }[/latex] is a decreasing function over [latex]I.[/latex] Since [latex]{f}^{\prime }\left(a\right)=0,[/latex] we conclude that for all [latex]x\in I,{f}^{\prime }\left(x\right)>0[/latex] if [latex]x<a[/latex] and [latex]{f}^{\prime }\left(x\right)<0[/latex] if [latex]x>a.[/latex] Therefore, by the first derivative test, [latex]f[/latex] has a local maximum at [latex]x=a.[/latex] On the other hand, suppose there exists a point [latex]b[/latex] such that [latex]{f}^{\prime }\left(b\right)=0[/latex] but [latex]f\text{″}\left(b\right)>0.[/latex] Since [latex]f\text{″}[/latex] is continuous over an open interval [latex]I[/latex] containing [latex]b,[/latex] then [latex]f\text{″}\left(x\right)>0[/latex] for all [latex]x\in I[/latex] ([link]). Then, by Corollary [latex]3,{f}^{\prime }[/latex] is an increasing function over [latex]I.[/latex] Since [latex]{f}^{\prime }\left(b\right)=0,[/latex] we conclude that for all [latex]x\in I,[/latex] [latex]{f}^{\prime }\left(x\right)<0[/latex] if [latex]x<b[/latex] and [latex]{f}^{\prime }\left(x\right)>0[/latex] if [latex]x>b.[/latex] Therefore, by the first derivative test, [latex]f[/latex] has a local minimum at [latex]x=b.[/latex]

Consider a twice-differentiable function [latex]f[/latex] such that [latex]f\text{″}[/latex] is continuous. Since [latex]f\prime \left(a\right)=0[/latex] and [latex]f\text{″}\left(a\right)<0,[/latex] there is an interval [latex]I[/latex] containing [latex]a[/latex] such that for all [latex]x[/latex] in [latex]I,[/latex] [latex]f[/latex] is increasing if [latex]x<a[/latex] and [latex]f[/latex] is decreasing if [latex]x>a.[/latex] As a result, [latex]f[/latex] has a local maximum at [latex]x=a.[/latex] Since [latex]f\prime \left(b\right)=0[/latex] and [latex]f\text{″}\left(b\right)>0,[/latex] there is an interval [latex]I[/latex] containing [latex]b[/latex] such that for all [latex]x[/latex] in [latex]I,[/latex] [latex]f[/latex] is decreasing if [latex]x<b[/latex] and [latex]f[/latex] is increasing if [latex]x>b.[/latex] As a result, [latex]f[/latex] has a local minimum at [latex]x=b.[/latex]
A function f(x) is graphed in the first quadrant with a and b marked on the x-axis. The function is vaguely sinusoidal, increasing first to x = a, then decreasing to x = b, and increasing again. At (a, f(a)), the tangent is marked, and it is noted that f’(a) = 0 and f’’(a) < 0. At (b, f(b)), the tangent is marked, and it is noted f’(b) = 0 and f’’(b) > 0.
Second Derivative Test

Suppose [latex]{f}^{\prime }\left(c\right)=0,f\text{″}[/latex] is continuous over an interval containing [latex]c.[/latex]

  1. If [latex]f\text{″}\left(c\right)>0,[/latex] then [latex]f[/latex] has a local minimum at [latex]c.[/latex]
  2. If [latex]f\text{″}\left(c\right)<0,[/latex] then [latex]f[/latex] has a local maximum at [latex]c.[/latex]
  3. If [latex]f\text{″}\left(c\right)=0,[/latex] then the test is inconclusive.

Note that for case iii. when [latex]f\text{″}\left(c\right)=0,[/latex] then [latex]f[/latex] may have a local maximum, local minimum, or neither at [latex]c.[/latex] For example, the functions [latex]f\left(x\right)={x}^{3},[/latex] [latex]f\left(x\right)={x}^{4},[/latex] and [latex]f\left(x\right)=\text{−}{x}^{4}[/latex] all have critical points at [latex]x=0.[/latex] In each case, the second derivative is zero at [latex]x=0.[/latex] However, the function [latex]f\left(x\right)={x}^{4}[/latex] has a local minimum at [latex]x=0[/latex] whereas the function [latex]f\left(x\right)=\text{−}{x}^{4}[/latex] has a local maximum at [latex]x,[/latex] and the function [latex]f\left(x\right)={x}^{3}[/latex] does not have a local extremum at [latex]x=0.[/latex]

Let’s now look at how to use the second derivative test to determine whether [latex]f[/latex] has a local maximum or local minimum at a critical point [latex]c[/latex] where [latex]{f}^{\prime }\left(c\right)=0.[/latex]

Using the Second Derivative Test

Use the second derivative to find the location of all local extrema for [latex]f\left(x\right)={x}^{5}-5{x}^{3}.[/latex]

To apply the second derivative test, we first need to find critical points [latex]c[/latex] where [latex]{f}^{\prime }\left(c\right)=0.[/latex] The derivative is [latex]{f}^{\prime }\left(x\right)=5{x}^{4}-15{x}^{2}.[/latex] Therefore, [latex]{f}^{\prime }\left(x\right)=5{x}^{4}-15{x}^{2}=5{x}^{2}\left({x}^{2}-3\right)=0[/latex] when [latex]x=0,\text{±}\sqrt{3}.[/latex]

To determine whether [latex]f[/latex] has a local extrema at any of these points, we need to evaluate the sign of [latex]f\text{″}[/latex] at these points. The second derivative is

[latex]f\text{″}\left(x\right)=20{x}^{3}-30x=10x\left(2{x}^{2}-3\right).[/latex]

In the following table, we evaluate the second derivative at each of the critical points and use the second derivative test to determine whether [latex]f[/latex] has a local maximum or local minimum at any of these points.

[latex]x[/latex][latex]f\text{″}\left(x\right)[/latex]Conclusion
[latex]\text{−}\sqrt{3}[/latex][latex]-30\sqrt{3}[/latex]Local maximum
[latex]0[/latex][latex]0[/latex]Second derivative test is inconclusive
[latex]\sqrt{3}[/latex][latex]30\sqrt{3}[/latex]Local minimum

By the second derivative test, we conclude that [latex]f[/latex] has a local maximum at [latex]x=\text{−}\sqrt{3}[/latex] and [latex]f[/latex] has a local minimum at [latex]x=\sqrt{3}.[/latex] The second derivative test is inconclusive at [latex]x=0.[/latex] To determine whether [latex]f[/latex] has a local extrema at [latex]x=0,[/latex] we apply the first derivative test. To evaluate the sign of [latex]{f}^{\prime }\left(x\right)=5{x}^{2}\left({x}^{2}-3\right)[/latex] for [latex]x\in \left(\text{−}\sqrt{3},0\right)[/latex] and [latex]x\in \left(0,\sqrt{3}\right),[/latex] let [latex]x=-1[/latex] and [latex]x=1[/latex] be the two test points. Since [latex]{f}^{\prime }\left(-1\right)<0[/latex] and [latex]{f}^{\prime }\left(1\right)<0,[/latex] we conclude that [latex]f[/latex] is decreasing on both intervals and, therefore, [latex]f[/latex] does not have a local extrema at [latex]x=0[/latex] as shown in the following graph.

The function [latex]f[/latex] has a local maximum at [latex]x=\text{−}\sqrt{3}[/latex] and a local minimum at [latex]x=\sqrt{3}[/latex]
The function f(x) = x5 – 5x3 is graphed. The function increases to (negative square root of 3, 10), then decreases to an inflection point at 0, continues decreasing to (square root of 3, −10), and then increases.

Consider the function [latex]f\left(x\right)={x}^{3}-\left(\frac{3}{2}\right){x}^{2}-18x.[/latex] The points [latex]c=3,-2[/latex] satisfy [latex]{f}^{\prime }\left(c\right)=0.[/latex] Use the second derivative test to determine whether [latex]f[/latex] has a local maximum or local minimum at those points.

[latex]f[/latex] has a local maximum at [latex]-2[/latex] and a local minimum at [latex]3.[/latex]

Hint

[latex]f\text{″}\left(x\right)=6x-3[/latex]

We have now developed the tools we need to determine where a function is increasing and decreasing, as well as acquired an understanding of the basic shape of the graph. In the next section we discuss what happens to a function as [latex]x\to \text{±}\infty .[/latex] At that point, we have enough tools to provide accurate graphs of a large variety of functions.

Key Concepts

  • If [latex]c[/latex] is a critical point of [latex]f[/latex] and [latex]{f}^{\prime }\left(x\right)>0[/latex] for [latex]x<c[/latex] and [latex]{f}^{\prime }\left(x\right)<0[/latex] for [latex]x>c,[/latex] then [latex]f[/latex] has a local maximum at [latex]c.[/latex]
  • If [latex]c[/latex] is a critical point of [latex]f[/latex] and [latex]{f}^{\prime }\left(x\right)<0[/latex] for [latex]x<c[/latex] and [latex]{f}^{\prime }\left(x\right)>0[/latex] for [latex]x>c,[/latex] then [latex]f[/latex] has a local minimum at [latex]c.[/latex]
  • If [latex]f\text{″}\left(x\right)>0[/latex] over an interval [latex]I,[/latex] then [latex]f[/latex] is concave up over [latex]I.[/latex]
  • If [latex]f\text{″}\left(x\right)<0[/latex] over an interval [latex]I,[/latex] then [latex]f[/latex] is concave down over [latex]I.[/latex]
  • If [latex]{f}^{\prime }\left(c\right)=0[/latex] and [latex]f\text{″}\left(c\right)>0,[/latex] then [latex]f[/latex] has a local minimum at [latex]c.[/latex]
  • If [latex]{f}^{\prime }\left(c\right)=0[/latex] and [latex]f\text{″}\left(c\right)<0,[/latex] then [latex]f[/latex] has a local maximum at [latex]c.[/latex]
  • If [latex]{f}^{\prime }\left(c\right)=0[/latex] and [latex]f\text{″}\left(c\right)=0,[/latex] then evaluate [latex]{f}^{\prime }\left(x\right)[/latex] at a test point [latex]x[/latex] to the left of [latex]c[/latex] and a test point [latex]x[/latex] to the right of [latex]c,[/latex] to determine whether [latex]f[/latex] has a local extremum at [latex]c.[/latex]

If [latex]c[/latex] is a critical point of [latex]f\left(x\right),[/latex] when is there no local maximum or minimum at [latex]c?[/latex] Explain.

For the function [latex]y={x}^{3},[/latex] is [latex]x=0[/latex] both an inflection point and a local maximum/minimum?

It is not a local maximum/minimum because [latex]{f}^{\prime }[/latex] does not change sign

For the function [latex]y={x}^{3},[/latex] is [latex]x=0[/latex] an inflection point?

Is it possible for a point [latex]c[/latex] to be both an inflection point and a local extrema of a twice differentiable function?

No

Why do you need continuity for the first derivative test? Come up with an example.

Explain whether a concave-down function has to cross [latex]y=0[/latex] for some value of [latex]x.[/latex]

False; for example, [latex]y=\sqrt{x}.[/latex]

Explain whether a polynomial of degree [latex]2[/latex] can have an inflection point.

For the following exercises, analyze the graphs of [latex]{f}^{\prime },[/latex] then list all intervals where [latex]f[/latex] is increasing or decreasing.

The function f’(x) is graphed. The function starts negative and crosses the x axis at (−2, 0). Then it continues increasing a little before decreasing and crossing the x axis at (−1, 0). It achieves a local minimum at (1, −6) before increasing and crossing the x axis at (2, 0).

Increasing for [latex]-2<x<-1[/latex] and [latex]x>2;[/latex] decreasing for [latex]x<-2[/latex] and [latex]-1<x<2[/latex]

The function f’(x) is graphed. The function starts negative and crosses the x axis at (−2, 0). Then it continues increasing a little before decreasing and touching the x axis at (−1, 0). It then increases a little before decreasing and crossing the x axis at the origin. The function then decreases to a local minimum before increasing, crossing the x-axis at (1, 0), and continuing to increase.
The function f’(x) is graphed. The function starts negative and touches the x axis at the origin. Then it decreases a little before increasing to cross the x axis at (1, 0) and continuing to increase.

Decreasing for [latex]x<1,[/latex] increasing for [latex]x>1[/latex]

The function f’(x) is graphed. The function starts positive and decreases to touch the x axis at (−1, 0). Then it increases to (0, 4.5) before decreasing to touch the x axis at (1, 0). Then the function increases.
The function f’(x) is graphed. The function starts at (−2, 0), decreases to (−1.5, −1.5), increases to (−1, 0), and continues increasing before decreasing to the origin. Then the other side is symmetric: that is, the function increases and then decreases to pass through (1, 0). It continues decreasing to (1.5, −1.5), and then increase to (2, 0).

Decreasing for [latex]-2<x<-1[/latex] and [latex]1<x<2;[/latex] increasing for [latex]-1<x<1[/latex] and [latex]x<-2[/latex] and [latex]x>2[/latex]

For the following exercises, analyze the graphs of [latex]{f}^{\prime },[/latex] then list all intervals where

  1. [latex]f[/latex] is increasing and decreasing and
  2. the minima and maxima are located.
The function f’(x) is graphed. The function starts at (−2, 0), decreases for a little and then increases to (−1, 0), continues increasing before decreasing to the origin, at which point it increases.
The function f’(x) is graphed. The function starts at (−2, 0), increases and then decreases to (−1, 0), decreases and then increases to an inflection point at the origin. Then the function increases and decreases to cross (1, 0). It continues decreasing and then increases to (2, 0).

a. Increasing over [latex]-2<x<-1,0<x<1,x>2,[/latex] decreasing over [latex]x<-2,[/latex] [latex]-1<x<0,1<x<2;[/latex] b. maxima at [latex]x=-1[/latex] and [latex]x=1,[/latex] minima at [latex]x=-2[/latex] and [latex]x=0[/latex] and [latex]x=2[/latex]

The function f’(x) is graphed from x = −2 to x = 2. It starts near zero at x = −2, but then increases rapidly and remains positive for the entire length of the graph.
The function f’(x) is graphed. The function starts negative and crosses the x axis at the origin, which is an inflection point. Then it continues increasing.

a. Increasing over [latex]x>0,[/latex] decreasing over [latex]x<0;[/latex] b. Minimum at [latex]x=0[/latex]

The function f’(x) is graphed. The function starts negative and crosses the x axis at (−1, 0). Then it continues increasing a little before decreasing and touching the x axis at the origin. It increases again and then decreases to (1, 0). Then it increases.

For the following exercises, analyze the graphs of [latex]{f}^{\prime },[/latex] then list all inflection points and intervals [latex]f[/latex] that are concave up and concave down.

The function f’(x) is graphed. The function is linear and starts negative. It crosses the x axis at the origin.

Concave up on all [latex]x,[/latex] no inflection points

The function f’(x) is graphed. It is an upward-facing parabola with 0 as its local minimum.
The function f’(x) is graphed. The function resembles the graph of x3: that is, it starts negative and crosses the x axis at the origin. Then it continues increasing.

Concave up on all [latex]x,[/latex] no inflection points

The function f’(x) is graphed. The function starts negative and crosses the x axis at (−0.5, 0). Then it continues increasing to (0, 1.5) before decreasing and touching the x axis at (1, 0). It then increases.
The function f’(x) is graphed. The function starts negative and crosses the x axis at (−1, 0). Then it continues increasing to a local maximum at (0, 1), at which point it decreases and touches the x axis at (1, 0). It then increases.

Concave up for [latex]x<0[/latex] and [latex]x>1,[/latex] concave down for [latex]0<x<1,[/latex] inflection points at [latex]x=0[/latex] and [latex]x=1[/latex]

For the following exercises, draw a graph that satisfies the given specifications for the domain [latex]x=\left[-3,3\right].[/latex] The function does not have to be continuous or differentiable.

[latex]f\left(x\right)>0,{f}^{\prime }\left(x\right)>0[/latex] over [latex]x>1,-3<x<0,{f}^{\prime }\left(x\right)=0[/latex] over [latex]0<x<1[/latex]

[latex]{f}^{\prime }\left(x\right)>0[/latex] over [latex]x>2,-3<x<-1,{f}^{\prime }\left(x\right)<0[/latex] over [latex]-1<x<2,f\text{″}\left(x\right)<0[/latex] for all [latex]x[/latex]

Answers will vary

[latex]f\text{″}\left(x\right)<0[/latex] over [latex]-1<x<1,f\text{″}\left(x\right)>0,-3<x<-1,1<x<3,[/latex] local maximum at [latex]x=0,[/latex] local minima at [latex]x=\text{±}2[/latex]

There is a local maximum at [latex]x=2,[/latex] local minimum at [latex]x=1,[/latex] and the graph is neither concave up nor concave down.

Answers will vary

There are local maxima at [latex]x=\text{±}1,[/latex] the function is concave up for all [latex]x,[/latex] and the function remains positive for all [latex]x.[/latex]

For the following exercises, determine

  1. intervals where [latex]f[/latex] is increasing or decreasing and
  2. local minima and maxima of [latex]f.[/latex]

[latex]f\left(x\right)=\text{sin}\phantom{\rule{0.1em}{0ex}}x+{\text{sin}}^{3}x[/latex] over [latex]\text{−}\pi <x<\pi [/latex]

a. Increasing over [latex]-\frac{\pi }{2}<x<\frac{\pi }{2},[/latex] decreasing over [latex]x<-\frac{\pi }{2},x>\frac{\pi }{2}[/latex] b. Local maximum at [latex]x=\frac{\pi }{2};[/latex] local minimum at [latex]x=-\frac{\pi }{2}[/latex]

[latex]f\left(x\right)={x}^{2}+\text{cos}\phantom{\rule{0.1em}{0ex}}x[/latex]

For the following exercises, determine a. intervals where [latex]f[/latex] is concave up or concave down, and b. the inflection points of [latex]f.[/latex]

[latex]f\left(x\right)={x}^{3}-4{x}^{2}+x+2[/latex]

a. Concave up for [latex]x>\frac{4}{3},[/latex] concave down for [latex]x<\frac{4}{3}[/latex] b. Inflection point at [latex]x=\frac{4}{3}[/latex]

For the following exercises, determine

  1. intervals where [latex]f[/latex] is increasing or decreasing,
  2. local minima and maxima of [latex]f,[/latex]
  3. intervals where [latex]f[/latex] is concave up and concave down, and
  4. the inflection points of [latex]f.[/latex]

[latex]f\left(x\right)={x}^{2}-6x[/latex]

[latex]f\left(x\right)={x}^{3}-6{x}^{2}[/latex]

a. Increasing over [latex]x<0[/latex] and [latex]x>4,[/latex] decreasing over [latex]0<x<4[/latex] b. Maximum at [latex]x=0,[/latex] minimum at [latex]x=4[/latex] c. Concave up for [latex]x>2,[/latex] concave down for [latex]x<2[/latex] d. Infection point at [latex]x=2[/latex]

[latex]f\left(x\right)={x}^{4}-6{x}^{3}[/latex]

[latex]f\left(x\right)={x}^{11}-6{x}^{10}[/latex]

a. Increasing over [latex]x<0[/latex] and [latex]x>\frac{60}{11},[/latex] decreasing over [latex]0<x<\frac{60}{11}[/latex] b. Minimum at [latex]x=\frac{60}{11}[/latex] c. Concave down for [latex]x<\frac{54}{11},[/latex] concave up for [latex]x>\frac{54}{11}[/latex] d. Inflection point at [latex]x=\frac{54}{11}[/latex]

[latex]f\left(x\right)=x+{x}^{2}-{x}^{3}[/latex]

[latex]f\left(x\right)={x}^{2}+x+1[/latex]

a. Increasing over [latex]x>-\frac{1}{2},[/latex] decreasing over [latex]x<-\frac{1}{2}[/latex] b. Minimum at [latex]x=-\frac{1}{2}[/latex] c. Concave up for all [latex]x[/latex] d. No inflection points

[latex]f\left(x\right)={x}^{3}+{x}^{4}[/latex]

For the following exercises, determine

  1. intervals where [latex]f[/latex] is increasing or decreasing,
  2. local minima and maxima of [latex]f,[/latex]
  3. intervals where [latex]f[/latex] is concave up and concave down, and
  4. the inflection points of [latex]f.[/latex] Sketch the curve, then use a calculator to compare your answer. If you cannot determine the exact answer analytically, use a calculator.

[T][latex]f\left(x\right)=\text{sin}\left(\pi x\right)-\text{cos}\left(\pi x\right)[/latex] over [latex]x=\left[-1,1\right][/latex]

a. Increases over [latex]-\frac{1}{4}<x<\frac{3}{4},[/latex] decreases over [latex]x>\frac{3}{4}[/latex] and [latex]x<-\frac{1}{4}[/latex] b. Minimum at [latex]x=-\frac{1}{4},[/latex] maximum at [latex]x=\frac{3}{4}[/latex] c. Concave up for [latex]-\frac{3}{4}<x<\frac{1}{4},[/latex] concave down for [latex]x<-\frac{3}{4}[/latex] and [latex]x>\frac{1}{4}[/latex] d. Inflection points at [latex]x=-\frac{3}{4},x=\frac{1}{4}[/latex]

[T][latex]f\left(x\right)=x+\text{sin}\left(2x\right)[/latex] over [latex]x=\left[-\frac{\pi }{2},\frac{\pi }{2}\right][/latex]

[T][latex]f\left(x\right)=\text{sin}\phantom{\rule{0.1em}{0ex}}x+\text{tan}\phantom{\rule{0.1em}{0ex}}x[/latex] over [latex]\left(-\frac{\pi }{2},\frac{\pi }{2}\right)[/latex]

a. Increasing for all [latex]x[/latex] b. No local minimum or maximum c. Concave up for [latex]x>0,[/latex] concave down for [latex]x<0[/latex] d. Inflection point at [latex]x=0[/latex]

[T][latex]f\left(x\right)={\left(x-2\right)}^{2}{\left(x-4\right)}^{2}[/latex]

[T][latex]f\left(x\right)=\frac{1}{1-x},x\ne 1[/latex]

a. Increasing for all [latex]x[/latex] where defined b. No local minima or maxima c. Concave up for [latex]x<1;[/latex] concave down for [latex]x>1[/latex] d. No inflection points in domain

[T][latex]f\left(x\right)=\frac{\text{sin}\phantom{\rule{0.1em}{0ex}}x}{x}[/latex] over [latex]x=\left[-2\pi ,2\pi \right][/latex] [latex]\left[2\pi ,0\right)\cup \left(0,2\pi \right][/latex]

[latex]f\left(x\right)=\text{sin}\left(x\right){e}^{x}[/latex] over [latex]x=\left[\text{−}\pi ,\pi \right][/latex]

a. Increasing over [latex]-\frac{\pi }{4}<x<\frac{3\pi }{4},[/latex] decreasing over [latex]x>\frac{3\pi }{4},x<-\frac{\pi }{4}[/latex] b. Minimum at [latex]x=-\frac{\pi }{4},[/latex] maximum at [latex]x=\frac{3\pi }{4}[/latex] c. Concave up for [latex]-\frac{\pi }{2}<x<\frac{\pi }{2},[/latex] concave down for [latex]x<-\frac{\pi }{2},x>\frac{\pi }{2}[/latex] d. Infection points at [latex]x=\text{±}\frac{\pi }{2}[/latex]

[latex]f\left(x\right)=\text{ln}\phantom{\rule{0.1em}{0ex}}x\sqrt{x},x>0[/latex]

[latex]f\left(x\right)=\frac{1}{4}\sqrt{x}+\frac{1}{x},x>0[/latex]

a. Increasing over [latex]x>4,[/latex] decreasing over [latex]0<x<4[/latex] b. Minimum at [latex]x=4[/latex] c. Concave up for [latex]0<x<8\sqrt[3]{2},[/latex] concave down for [latex]x>8\sqrt[3]{2}[/latex] d. Inflection point at [latex]x=8\sqrt[3]{2}[/latex]

[latex]f\left(x\right)=\frac{{e}^{x}}{x},x\ne 0[/latex]

For the following exercises, interpret the sentences in terms of [latex]f,{f}^{\prime },\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}f\text{″}.[/latex]

The population is growing more slowly. Here [latex]f[/latex] is the population.

[latex]f>0,{f}^{\prime }>0,f\text{″}<0[/latex]

A bike accelerates faster, but a car goes faster. Here [latex]f=[/latex] Bike’s position minus Car’s position.

The airplane lands smoothly. Here [latex]f[/latex] is the plane’s altitude.

[latex]f>0,{f}^{\prime }<0,f\text{″}<0[/latex]

Stock prices are at their peak. Here [latex]f[/latex] is the stock price.

The economy is picking up speed. Here [latex]f[/latex] is a measure of the economy, such as GDP.

[latex]f>0,{f}^{\prime }>0,f\text{″}>0[/latex]

For the following exercises, consider a third-degree polynomial [latex]f\left(x\right),[/latex] which has the properties [latex]{f}^{\prime }\left(1\right)=0,{f}^{\prime }\left(3\right)=0.[/latex] Determine whether the following statements are true or false. Justify your answer.

[latex]f\left(x\right)=0[/latex] for some [latex]1\le x\le 3[/latex]

[latex]f\text{″}\left(x\right)=0[/latex] for some [latex]1\le x\le 3[/latex]

True, by the Mean Value Theorem

There is no absolute maximum at [latex]x=3[/latex]

If [latex]f\left(x\right)[/latex] has three roots, then it has [latex]1[/latex] inflection point.

True, examine derivative

If [latex]f\left(x\right)[/latex] has one inflection point, then it has three real roots.

Glossary

concave down
if [latex]f[/latex] is differentiable over an interval [latex]I[/latex] and [latex]{f}^{\prime }[/latex] is decreasing over [latex]I,[/latex] then [latex]f[/latex] is concave down over [latex]I[/latex]
concave up
if [latex]f[/latex] is differentiable over an interval [latex]I[/latex] and [latex]{f}^{\prime }[/latex] is increasing over [latex]I,[/latex] then [latex]f[/latex] is concave up over [latex]I[/latex]
concavity
the upward or downward curve of the graph of a function
concavity test
suppose [latex]f[/latex] is twice differentiable over an interval [latex]I;[/latex] if [latex]f\text{″}>0[/latex] over [latex]I,[/latex] then [latex]f[/latex] is concave up over [latex]I;[/latex] if [latex]f\text{″}<0[/latex] over [latex]I,[/latex] then [latex]f[/latex] is concave down over [latex]I[/latex]
first derivative test
let [latex]f[/latex] be a continuous function over an interval [latex]I[/latex] containing a critical point [latex]c[/latex] such that [latex]f[/latex] is differentiable over [latex]I[/latex] except possibly at [latex]c;[/latex] if [latex]{f}^{\prime }[/latex] changes sign from positive to negative as [latex]x[/latex] increases through [latex]c,[/latex] then [latex]f[/latex] has a local maximum at [latex]c;[/latex] if [latex]{f}^{\prime }[/latex] changes sign from negative to positive as [latex]x[/latex] increases through [latex]c,[/latex] then [latex]f[/latex] has a local minimum at [latex]c;[/latex] if [latex]{f}^{\prime }[/latex] does not change sign as [latex]x[/latex] increases through [latex]c,[/latex] then [latex]f[/latex] does not have a local extremum at [latex]c[/latex]
inflection point
if [latex]f[/latex] is continuous at [latex]c[/latex] and [latex]f[/latex] changes concavity at [latex]c,[/latex] the point [latex]\left(c,f\left(c\right)\right)[/latex] is an inflection point of [latex]f[/latex]
second derivative test
suppose [latex]{f}^{\prime }\left(c\right)=0[/latex] and [latex]f\text{″}[/latex] is continuous over an interval containing [latex]c;[/latex] if [latex]f\text{″}\left(c\right)>0,[/latex] then [latex]f[/latex] has a local minimum at [latex]c;[/latex] if [latex]f\text{″}\left(c\right)<0,[/latex] then [latex]f[/latex] has a local maximum at [latex]c;[/latex] if [latex]f\text{″}\left(c\right)=0,[/latex] then the test is inconclusive