Dove's LibraryDove's Library

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

Understanding the First Derivative Test

The first derivative test uses the sign of f′(x)f'(x) around a critical point to figure out whether it’s a local max or a local min.
For a minimum: f′(x)f'(x) goes negative →\rightarrow 0 →\rightarrow positive
5.4 - Using the First Derivative Test to Determine Relative (Local) Extrema
For a maximum: f′(x)f'(x) goes positive →\rightarrow 0 →\rightarrow negative
5.4 - Using the First Derivative Test to Determine Relative (Local) Extrema

Formal Justification Statements

Let cc and dd be critical numbers.
Minimum: There is a minimum value at x=cx = c because f′(x)f'(x) changes sign from negative to positive.
Maximum: There is a maximum value at x=dx = d because f′(x)f'(x) changes sign from positive to negative.
Neither: There is no maximum or minimum at a critical point where f′(x)f'(x) does not change sign.
For example, f(x)=x3−6x2+12xf(x) = x^3 - 6x^2 + 12x has f′(x)=3x2−12x+12=3(x−2)2f'(x) = 3x^2 - 12x + 12 = 3(x - 2)^2. So x=2x = 2 is a critical point, but f′(x)>0f'(x) > 0 on both sides of it. The function keeps increasing through x=2x = 2, so there’s no relative extremum there.

The Procedure

  1. Find f′(x)f'(x)
  1. Find all critical points (where f′(x)=0f'(x) = 0 or f′(x)f'(x) doesn’t exist)
  1. Make a sign chart with intervals between the critical points
  1. Test the sign of f′(x)f'(x) in each interval
  1. Look at the sign changes to classify each critical point
  1. Write justification statements

Example 1

Given g(x)=(x2−9)2/3g(x) = (x^2 - 9)^{2/3}.
Step 1: Find the derivative. Chain rule:
g′(x)=23(x2−9)−1/3⋅2x=4x3(x2−9)1/3g'(x) = \frac{2}{3}(x^2 - 9)^{-1/3} \cdot 2x = \frac{4x}{3(x^2 - 9)^{1/3}}
Step 2: Find critical points.
g′(x)=0g'(x) = 0 when the numerator is zero: 4x=0⇒x=04x = 0 \Rightarrow x = 0
g′(x)g'(x) is undefined when the denominator is zero: x2−9=0⇒x=±3x^2 - 9 = 0 \Rightarrow x = \pm 3
Critical points: x=−3,0,3x = -3, 0, 3
Step 3: Sign chart.
Interval
(−∞,−3)(-\infty, -3)
x=−3x = -3
(−3,0)(-3, 0)
x=0x = 0
(0,3)(0, 3)
x=3x = 3
(3,∞)(3, \infty)
Sign of g′(x)g'(x)
(−)(-)
Undef
(+)(+)
00
(−)(-)
Undef
(+)(+)
Step 4: Test points.
  • x=−4x = -4: 4(−4)3(7)1/3<0\frac{4(-4)}{3(7)^{1/3}} < 0
  • x=−1x = -1: 4(−1)3(−8)1/3=−43(−2)>0\frac{4(-1)}{3(-8)^{1/3}} = \frac{-4}{3(-2)} > 0
  • x=1x = 1: 4(1)3(−8)1/3=43(−2)<0\frac{4(1)}{3(-8)^{1/3}} = \frac{4}{3(-2)} < 0
  • x=4x = 4: 4(4)3(7)1/3>0\frac{4(4)}{3(7)^{1/3}} > 0
Step 5: Classify.
Minimum at x=−3x = -3 and x=3x = 3 because g′(x)g'(x) changes sign from negative to positive.
Maximum at x=0x = 0 because g′(x)g'(x) changes sign from positive to negative.
5.4 - Using the First Derivative Test to Determine Relative (Local) Extrema

Example 2: Domain Restrictions

Given h(x)=x2x−4h(x) = \dfrac{x^2}{x - 4}, where x≠4x \neq 4.
Find the derivative with the quotient rule:
h′(x)=2x(x−4)−x2(1)(x−4)2=x2−8x(x−4)2=x(x−8)(x−4)2h'(x) = \frac{2x(x-4) - x^2(1)}{(x-4)^2} = \frac{x^2 - 8x}{(x-4)^2} = \frac{x(x - 8)}{(x-4)^2}
Potential critical points:
From h′(x)=0h'(x) = 0: x(x−8)=0⇒x=0x(x - 8) = 0 \Rightarrow x = 0 or x=8x = 8
From h′(x)h'(x) undefined: x=4x = 4
Check the domain. x=4x = 4 is not in the domain of h(x)h(x), it’s a vertical asymptote. So x=4x = 4 is NOT a critical point and cannot be a max or min. You still put it in the sign chart though, since the behavior can change there.
Sign testing. Since (x−4)2(x-4)^2 is always positive, you only need to look at the numerator x(x−8)x(x - 8):
  • x<0x < 0: (−)(−)=(+)(-)(-) = (+)
  • 0<x<80 < x < 8: (+)(−)=(−)(+)(-) = (-)
  • x>8x > 8: (+)(+)=(+)(+)(+) = (+)
Sign chart:
Interval
(−∞,0)(-\infty, 0)
x=0x = 0
(0,4)(0, 4)
x=4x = 4
(4,8)(4, 8)
x=8x = 8
(8,∞)(8, \infty)
Sign of h′(x)h'(x)
(+)(+)
00
(−)(-)
Undef (not a CP)
(−)(-)
00
(+)(+)
Classification:
Maximum at x=0x = 0 because h′(x)h'(x) changes sign from positive to negative.
Minimum at x=8x = 8 because h′(x)h'(x) changes sign from negative to positive.
Again, x=4x = 4 creates a vertical asymptote but it’s not a critical point since it’s not in the domain.

Maximum/Minimum VALUE vs. LOCATION

This distinction matters a lot on exams.
“Where is the maximum?” asks for the x-coordinate: x=cx = c
“What is the maximum value?” asks for the y-coordinate: f(c)f(c)
So if ff has a maximum at x=3x = 3:
  • Location of the maximum: x=3x = 3
  • Maximum value: f(3)f(3), which you get by plugging 3 into the original function
Both of these often show up as multiple choice options, so read the question.

Key Takeaways

  • The first derivative test looks at sign changes of f′(x)f'(x) at critical points
  • Minimum: f′(x)f'(x) changes from (−)(-) to (+)(+)
  • Maximum: f′(x)f'(x) changes from (+)(+) to (−)(-)
  • Justification is required: say “f′(x)f'(x) changes sign from ___ to ___”
  • The sign chart organizes your info but is not justification by itself
  • Points not in the domain cannot be critical points or extrema
  • Still include domain restrictions in your sign chart to get the intervals right
  • “Where” asks for the xx-value, “what value” asks for the yy-value

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.