Educerie

Educerie · AP · Calculus AB and BC

AP Calculus AB and BC 5.4

Using the First Derivative Test to Determine Relative (Local) Extrema

How can the derivative, the rate of change at a point, tell you what a whole function is doing?

What you will learn

  • Understand the First Derivative Test: a sign change of f' at a critical point decides the extremum.
  • Know that no sign change means no extremum, as with a squared factor.
  • Know that the test works where f' does not exist if f is continuous there.
  • Know how to read relative extrema from the graph of f' and write the justification.

You must be able to

  1. Classify each critical point from a sign chart of f'
  2. Read relative extrema from the graph of f' by the crossing direction
  3. Explain why a touch of the axis gives no extremum
  4. Handle a cusp where f' does not exist
  5. Write the justification naming f' and its sign change

In the exam. Section I (multiple choice), Part A and Part B: "At which xx does ff have a relative maximum?", from a formula for f′f', a graph of f′f' or a table of signs. In the free-response section it is a justified part of an analysis question, and it is the most common place to lose a mark on wording.

1The First Derivative Test

Let cc be a critical point of ff, with ff continuous at cc.

- If f′f' changes from positive to negative at cc, then ff has a relative maximum at cc. - If f′f' changes from negative to positive at cc, then ff has a relative minimum at cc. - If f′f' does not change sign at cc, then ff has no relative extremum at cc.

The "change" is from just left of cc to just right of cc. The value of f′(c)f'(c) itself does not matter. It may be zero or it may not exist.

Why it works. Suppose f′f' is positive just left of cc and negative just right of it. By 5.3, ff is increasing up to cc and decreasing after cc. So every nearby value to the left is lower than f(c)f(c), and every nearby value to the right is lower too. That is the definition of a relative maximum. Reverse both directions and you have a minimum. If ff rises on both sides, f(c)f(c) is higher than the values to its left and lower than those to its right, so it is neither. Continuity at cc is needed so that the two pieces of graph join up at f(c)f(c).

The test is about relative extrema. It does not tell you whether a point is the highest or lowest on a whole interval. For that, see 5.5 and 5.7.

2The method

  1. Find f′(x)f'(x) and every critical point of ff (5.2).
  2. Put the critical points on a number line.
  3. Find the sign of f′f' in each gap by testing a point.
  4. At each critical point, compare the sign on the left and on the right.
  5. Write the conclusion and the reason.
  6. If asked for the extreme value, put x=cx = c into ff.

3Example: a touch that is not an extremum

f(x)=x4−4x3f(x) = x^{4} - 4x^{3}.

f′(x)=4x3−12x2=4x2(x−3)f'(x) = 4x^{3} - 12x^{2} = 4x^{2}(x - 3)f′(x)=0atx=0 and x=3f'(x) = 0 \quad\text{at}\quad x = 0 \text{ and } x = 3f′(−1)=4(1)(−4)=−16<0f′(1)=4(1)(−2)=−8<0f′(4)=4(16)(1)=64>0f'(-1) = 4(1)(-4) = -16 < 0 \qquad f'(1) = 4(1)(-2) = -8 < 0 \qquad f'(4) = 4(16)(1) = 64 > 0

Figure 1 shows f′f' on the left and ff on the right.

Figure 1. f(x) = x to the 4 - 4x cubed and its derivative f'(x) = 4x squared (x - 3): f' touches the axis at 0 without changing sign, so there is no extremum there; at 3 it changes from - to +, a local minimum y = f'(x) x x = 3 f' < 0 f' < 0 f' > 0 no sign change Figure 1. f(x) = x to the 4 - 4x cubed and its derivative f'(x) = 4x squared (x - 3): f' touches the axis at 0 without changing sign, so there is no extremum there; at 3 it changes from - to +, a local minimum 3 −27 y = f(x) x local min
Figure 1 · f(x) = x to the 4 - 4x cubed and its derivative f'(x) = 4x squared (x - 3): f' touches the axis at 0 without changing sign, so there is no extremum there; at 3 it changes from - to +, a local minimum
  • At x=0x = 0: f′f' is negative on both sides. The sign does not change, so there is no extremum. The graph of ff flattens for an instant and keeps falling.
  • At x=3x = 3: f′f' changes from negative to positive. ff has a relative minimum, with value f(3)=81−108=−27f(3) = 81 - 108 = -27.

The factor x2x^{2} is why x=0x = 0 fails. A squared factor is never negative, so it cannot change the sign of f′f'.

4Example: a critical point where f′f' does not exist

f(x)=x2/3(x−5)f(x) = x^{2/3}(x - 5).

f′(x)=23x−1/3(x−5)+x2/3=x−1/3(23(x−5)+x)=5(x−2)3x3f'(x) = \tfrac{2}{3}x^{-1/3}(x - 5) + x^{2/3} = x^{-1/3}\left(\tfrac{2}{3}(x - 5) + x\right) = \frac{5(x - 2)}{3\sqrt[3]{x}}

The critical points are x=2x = 2, where f′=0f' = 0, and x=0x = 0, where f′f' does not exist. ff is defined and continuous at 0. Test the three gaps.

Gap5(x−2)5(x - 2)3x33\sqrt[3]{x}f′f'
x<0x < 0−-−-++
0<x<20 < x < 2−-++−-
x>2x > 2++++++
  • At x=0x = 0: f′f' changes from ++ to −-. Relative maximum, with f(0)=0f(0) = 0. The graph has a sharp point (a cusp) pointing up.
  • At x=2x = 2: f′f' changes from −- to ++. Relative minimum, with f(2)=22/3(−3)≈−4.762f(2) = 2^{2/3}(-3) \approx -4.762.

The test works at x=0x = 0 even though f′(0)f'(0) does not exist. All it needs is that ff is continuous there.

5Reading a graph of f′f'

You may be given the graph of f′f' and asked about ff. Look only at where the graph meets the xx-axis.

The graph of f′f'ff has
crosses the axis from above to belowa relative maximum
crosses the axis from below to abovea relative minimum
touches the axis and turns backno extremum

The left panel of Figure 1 is an example. The graph touches the axis at 0 and does not cross it, so there is no extremum. It crosses upward at 3, so there is a relative minimum.

A graph of f′f' with a hole or a jump at a point where ff is defined is a critical point where f′f' does not exist. Test the sign on each side as before.

From a table. A table that gives the sign of f′f' on each side of a critical point is read the same way.

6A factored f′f' shortcut

If f′f' is given in factored form, each factor's power shows what happens at its root.

  • Odd power (x−ax - a, (x−a)3(x - a)^{3}): f′f' changes sign at aa. It is a relative extremum.
  • Even power ((x−a)2(x - a)^{2}, (x−a)4(x - a)^{4}): f′f' does not change sign at aa. Not an extremum.

Example. f′(x)=(x+3)(x−1)2(x−4)f'(x) = (x + 3)(x - 1)^{2}(x - 4). For x<−3x < -3 the factors have signs (−)(+)(−)(-)(+)(-), so f′>0f' > 0. It becomes negative at −3-3, stays negative through 1, and turns positive at 4.

  • x=−3x = -3: ++ to −-. Relative maximum.
  • x=1x = 1: even power, no change. Not an extremum.
  • x=4x = 4: −- to ++. Relative minimum.

7Writing the justification

Name the function, the sign change and the conclusion.

"f′(x)f'(x) changes from negative to positive at x=3x = 3, so ff has a relative minimum at x=3x = 3."

The most common mistakes in the wording are these.

  • Not naming f′f'. "The function changes from negative to positive" does not say which function.
  • A global statement for a local point. "f′(x)>0f'(x) > 0 on both sides" or "f′f' is positive for all xx" does not describe a sign change at one point. Talk about just before and just after cc.
  • Using f′(c)=0f'(c) = 0 as the reason. That makes cc a critical point. It does not say whether it is a maximum, a minimum or neither.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.