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

Study Guides > Calculus Volume 1

The First Derivative Test

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.
  • Find local extrema using the first derivative test.

Earlier in this chapter we stated that if a function ff has a local extremum at a point cc, then cc must be a critical point of ff. However, a function is not guaranteed to have a local extremum at a critical point. For example, f(x)=x3f(x)=x^3 has a critical point at x=0x=0 since f(x)=3x2f^{\prime}(x)=3x^2 is zero at x=0x=0, but ff does not have a local extremum at x=0x=0. 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 3 of the Mean Value Theorem showed that if the derivative of a function is positive over an interval II then the function is increasing over II. On the other hand, if the derivative of the function is negative over an interval II, then the function is decreasing over II as shown in the following figure.

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. Figure 1. Both functions are increasing over the interval (a,b)(a,b). At each point xx, the derivative f(x)>0f^{\prime}(x)>0. Both functions are decreasing over the interval (a,b)(a,b). At each point xx, the derivative f(x)<0f^{\prime}(x)<0.

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

Note that ff need not have a local extrema at a critical point. The critical points are candidates for local extrema only. In (Figure), we show that if a continuous function ff 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 ff has a local extremum at a critical point, then the sign of ff^{\prime} switches as xx increases through that point.
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. Figure 2. The function ff has four critical points: a,b,ca,b,c, and dd. The function ff has local maxima at aa and dd, and a local minimum at bb. The function ff does not have a local extremum at cc. The sign of ff^{\prime} changes at all local extrema.

Using (Figure), we summarize the main results regarding local extrema.

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

This result is known as the first derivative test.

First Derivative Test

Suppose that ff is a continuous function over an interval II containing a critical point cc. If ff is differentiable over II, except possibly at point cc, then f(c)f(c) satisfies one of the following descriptions:

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

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 ff that is continuous over an interval II.

  1. Find all critical points of ff and divide the interval II into smaller intervals using the critical points as endpoints.
  2. Analyze the sign of ff^{\prime} in each of the subintervals. If ff^{\prime} is continuous over a given subinterval (which is typically the case), then the sign of ff^{\prime} in that subinterval does not change and, therefore, can be determined by choosing an arbitrary test point xx in that subinterval and by evaluating the sign of ff^{\prime} at that test point. Use the sign analysis to determine whether ff is increasing or decreasing over that interval.
  3. Use (Figure) and the results of step 2 to determine whether ff 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 f(x)=x33x29x1f(x)=x^3-3x^2-9x-1. Use a graphing utility to confirm your results.

Answer:

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

3(x22x3)=3(x3)(x+1)=03(x^2-2x-3)=3(x-3)(x+1)=0.

Therefore, the critical points are x=3,1x=3,-1. Now divide the interval (,)(−\infty ,\infty) into the smaller intervals (,1),(1,3)(−\infty ,-1), \, (-1,3), and (3,)(3,\infty).

Step 2. Since ff^{\prime} is a continuous function, to determine the sign of f(x)f^{\prime}(x) over each subinterval, it suffices to choose a point over each of the intervals (,1),(1,3)(−\infty ,-1), \, (-1,3), and (3,)(3,\infty) and determine the sign of ff^{\prime} at each of these points. For example, let’s choose x=2,x=0x=-2, \, x=0, and x=4x=4 as test points.

Interval Test Point Sign of f(x)=3(x3)(x+1)f^{\prime}(x)=3(x-3)(x+1) at Test Point Conclusion
(,1)(−\infty ,-1) x=2x=-2 (+)()()=+(+)(−)(−)=+ ff is increasing.
(1,3)(-1,3) x=0x=0 (+)()(+)=(+)(−)(+)=− ff is decreasing.
(3,)(3,\infty) x=4x=4 (+)(+)(+)=+(+)(+)(+)=+ ff is increasing.

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

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. Figure 3. The function ff has a maximum at x=1x=-1 and a minimum at x=3x=3

Use the first derivative test to locate all local extrema for f(x)=x3+32x2+18xf(x)=−x^3+\frac{3}{2}x^2+18x.

Answer:

ff has a local minimum at -2 and a local maximum at 3.

Hint

Find all critical points of ff and determine the signs of f(x)f^{\prime}(x) 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 f(x)=5x1/3x5/3f(x)=5x^{1/3}-x^{5/3}. Use a graphing utility to confirm your results.

Answer:

Step 1. The derivative is

f(x)=53x2/353x2/3=53x2/35x2/33=55x4/33x2/3=5(1x4/3)3x2/3f^{\prime}(x)=\frac{5}{3}x^{-2/3}-\frac{5}{3}x^{2/3}=\frac{5}{3x^{2/3}}-\frac{5x^{2/3}}{3}=\frac{5-5x^{4/3}}{3x^{2/3}}=\frac{5(1-x^{4/3})}{3x^{2/3}}.
The derivative f(x)=0f^{\prime}(x)=0 when 1x4/3=01-x^{4/3}=0. Therefore, f(x)=0f^{\prime}(x)=0 at x=±1x=\pm 1. The derivative f(x)f^{\prime}(x) is undefined at x=0x=0. Therefore, we have three critical points: x=0x=0, x=1x=1, and x=1x=-1. Consequently, divide the interval (,)(−\infty ,\infty) into the smaller intervals (,1),(1,0),(0,1)(−\infty ,-1), \, (-1,0), \, (0,1), and (1,)(1,\infty ).

Step 2: Since ff^{\prime} is continuous over each subinterval, it suffices to choose a test point xx in each of the intervals from step 1 and determine the sign of ff^{\prime} at each of these points. The points x=2,x=12,x=12x=-2, \, x=-\frac{1}{2}, \, x=\frac{1}{2}, and x=2x=2 are test points for these intervals.

Interval Test Point Sign of f(x)=5(1x4/3)3x2/3f^{\prime}(x)=\frac{5(1-x^{4/3})}{3x^{2/3}} at Test Point Conclusion
(,1)(−\infty ,-1) x=2x=-2 (+)()+=\frac{(+)(−)}{+}=− ff is decreasing.
(1,0)(-1,0) x=12x=-\frac{1}{2} (+)(+)+=+\frac{(+)(+)}{+}=+ ff is increasing.
(0,1)(0,1) x=12x=\frac{1}{2} (+)(+)+=+\frac{(+)(+)}{+}=+ ff is increasing.
(1,)(1,\infty ) x=2x=2 (+)()+=\frac{(+)(−)}{+}=− ff is decreasing.

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

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. Figure 4. The function f has a local minimum at x=1x=-1 and a local maximum at x=1x=1.

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

Answer:

ff has no local extrema because ff^{\prime} does not change sign at x=1x=1.

Hint

The only critical point of ff is x=1x=1.

Key Concepts

  • If cc is a critical point of ff and f(x)>0f^{\prime}(x)>0 for x<cx<c and f(x)<0f^{\prime}(x)<0 for x>cx>c, then ff has a local maximum at cc.
  • If cc is a critical point of ff and f(x)<0f^{\prime}(x)<0 for x<cx<c and f(x)>0f^{\prime}(x)>0 for x>cx>c, then ff has a local minimum at cc.

1. If cc is a critical point of f(x)f(x), when is there no local maximum or minimum at cc? Explain.

For the following exercises, analyze the graphs of ff^{\prime}, then list all intervals where ff is increasing or decreasing.

2. 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).

Answer:

Increasing for 2<x<1-2<x<-1 and x>2x>2; decreasing for x<2x<-2 and 1<x<2-1<x<2

3. 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.
4. 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.

Answer:

Decreasing for x<1x<1; increasing for x>1x>1

5. 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.
6. 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).

Answer:

Decreasing for 2<x<1-2<x<-1 and 1<x<21<x<2; increasing for 1<x<1-1<x<1 and x<2x<-2 and x>2x>2

For the following exercises, analyze the graphs of ff^{\prime}, then list

  1. all intervals where ff is increasing and decreasing and
  2. where the minima and maxima are located.
7. 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.
8. 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).

Answer:

a. Increasing over 2<x<1,0<x<1,x>2-2<x<-1, \, 0<x<1, \, x>2; decreasing over x<21<x<0,1<x<2x<-2 \, -1<x<0, \, 1<x<2; b. maxima at x=1x=-1 and x=1x=1, minima at x=2x=-2 and x=0x=0 and x=2x=2

9. 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.
10. 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.

Answer:

a. Increasing over x>0x>0, decreasing over x<0x<0; b. Minimum at x=0x=0

11. 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, determine

  1. intervals where ff is increasing or decreasing (in interval notation) and
  2. local minima and maxima (as a coordinate).

12. f(x)=x23x+3f(x)=-x^2-3x+3

Answer:

a. Increasing: (,32)\left(\infty,-\frac{3}{2}\right), decreasing: (32,)\left(-\frac{3}{2},\infty\right) b. Local maximum at x=32x=-\frac{3}{2}; no local minimum.

13. f(x)=6xx3f(x)=6x-x^3

14. f(x)=3x24x3f(x)=3x^2-4x^3

Answer:

a. Increasing: (0,12)\left(0,\frac{1}{2}\right), decreasing: (,0)(12,)\left(-\infty,0\right)\cup\left(\frac{1}{2},\infty\right) b. Local maximum at (12,14)\left(\frac{1}{2},\frac{1}{4}\right); local minimum at (0,0)(0,0).

15. g(t)=t44t3+4t2g(t)=t^4-4t^3+4t^2

16. f(t)=t48t2+16f(t)=t^4-8t^2+16

Answer:

a. Increasing: (2,0)(2,)\left(-2,0\right)\cup\left(2,\infty\right), decreasing: (,2)(0,2)\left(-\infty,-2\right)\cup\left(0,2\right) b. Local maximum at (0,16)(0,16); local minimums at (2,0)(-2,0) and (2,0)(2,0).

17. h(x)=4xx2+3h(x)=4\sqrt{x}-x^2+3

18. h(x)=x6x1h(x)=x-6\sqrt{x-1}

Answer:

a. Increasing: (10,)\left(10,\infty\right), decreasing: (1,10)\left(1,10\right) b. No local maximum; local minimum at (10,8)(10,-8).

19. g(x)=x25xg(x)=x^{2}\sqrt{5-x}

20. g(x)=x8x2g(x)=x\sqrt{8-x^{2}}

Answer:

a. Increasing: (2,2)\left(-2,2\right), decreasing: (22,2)(2,22)\left(-2\sqrt{2},-2\right)\cup\left(2,2\sqrt{2}\right) b. local maximum at (2,4)\left(2,4\right); local minimum at (2,4)\left(-2,-4\right).

21. f(θ)=θ2+cosθf(\theta)=\theta^2 + \cos \theta

22. f(θ)=sinθ+sin3θf(\theta)= \sin \theta+ \sin^3 \theta over the interval (π,π)\left(-\pi,\pi\right)

Answer:

a. Increasing: (π2,π2)\left(-\frac{\pi }{2},\frac{\pi }{2}\right), decreasing: (π,π2)(π2,π)\left(-\pi,-\frac{\pi}{2}\right)\cup\left(\frac{\pi}{2},\pi\right) b. Local maximum at (π2,2)\left(\frac{\pi }{2},2\right); local minimum at (π2,2)\left(-\frac{\pi }{2},-2\right)

23. f(x)=x33x2+1f(x)=\frac{x^3}{3x^2+1}

24. f(x)=x23x2f(x)=\frac{x^2-3}{x-2}

Answer:

a. Increasing: (,1)\left(-\infty,1\right), decreasing: (1,2)(2,3)(1,2)\cup(2,3) b. local maximum at (1,2)(1,2); local minimum at (3,6)(3,6).

25. h(x)=x23(x+5)h(x)=x^{\frac{2}{3}}(x+5)

26. h(x)=x13(x+8)h(x)=x^{\frac{1}{3}}(x+8)

Answer:

a. Increasing: (2,0)(0,)\left(-2,0\right)\cup\left(0,\infty\right), decreasing: (,2)\left(-\infty,-2\right) b. no local maximum; local minimum at (2,623)\left(-2,-6 \sqrt[3]{2}\right).

27. f(x)=exf(x)=e^{\sqrt{x}}

28. f(x)=e2x+exf(x)=e^{2x}+e^{-x}

Answer:

a. Increasing: (ln(2)3,)\left(-\frac{\ln(2)}{3},\infty\right), decreasing: (,ln(2)3)\left(-\infty,-\frac{\ln(2)}{3}\right) b. no local maximum; local minimum at (ln(2)3,3232)\left(-\frac{\ln(2)}{3}, \frac{3\sqrt[3]{2}}{2}\right).

29. f(t)=t2lntf(t)=t^{2}\ln t

30. f(t)=8tlntf(t)=8t \ln t

Answer:

a. Increasing: (1e,)\left(\frac{1}{e},\infty\right), decreasing: (0,1e)\left(0,\frac{1}{e}\right) b. no local maximum; local minimum at (1e,8e)\left(\frac{1}{e}, -\frac{8}{e}\right).

Glossary

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

Licenses & Attributions