Course scope. This topic is shared by Calculus AB and Calculus BC. Everything here is examinable for both.
Where relative extrema can be
In Topic 5.2 you met two ideas.
- f has a relative (local) maximum at x = c if f(c) ≥ f(x) for every x in some open interval around c. A relative minimum is the same with ≤.
- A critical point of f is a value c in the domain of f where f′(c) = 0 or f′(c) does not exist.
Every relative extremum of f happens at a critical point. But not every critical point is a relative extremum. So you need a test that sorts critical points into three groups: maximum, minimum, or neither. The First Derivative Test does this using the sign chart you built in Topic 5.3.
The First Derivative Test
First Derivative Test. Let c be a critical point of f, and let f be continuous at c.
- If f′ changes from positive to negative at c, then f has a relative maximum at c.
- If f′ changes from negative to positive at c, then f has a relative minimum at c.
- If f′ has the same sign on both sides of c, then f has neither at c.
“Changes from positive to negative at c” means: f′(x) > 0 for x in some interval just to the left of c, and f′(x) < 0 for x in some interval just to the right.
Why it works. If f′ > 0 just left of c, Topic 5.3 says f is increasing there, so f climbs up to f(c). If f′ < 0 just right of c, f is decreasing there, so f falls away from f(c). Because f is continuous at c, f(c) is the highest value nearby. That is a relative maximum. The minimum case is the mirror image.
The method
- Find f′(x) and factor it.
- Find the critical points: values of x in the domain of f where f′(x) = 0 or f′(x) does not exist.
- Build a sign chart for f′, including any point where f is undefined (as in Topic 5.3).
- Read each critical point: + to − is a maximum, − to + is a minimum, no change is neither.
- If asked for the value, substitute c into f (not into f′).
- Justify with the change of sign of f′.
Worked example 1: a critical point that is not an extremum
Question. Let f(x) = x⁴ − 4x³ + 10. Find the x-values of all relative extrema of f, classify each one, and find the value of each relative extremum. Justify your answers.
- Differentiate. f′(x) = 4x³ − 12x².
- Factor. f′(x) = 4x²(x − 3).
- Critical points. f′(x) = 0 when x = 0 or x = 3. f′ is a polynomial, so it exists everywhere.
- Sign chart. The factor 4x² is positive except at x = 0, so the sign of f′ is the sign of (x − 3) everywhere except x = 0.
| Interval | Test value | f′(test value) | Sign of f′ |
|---|---|---|---|
| (−∞, 0) | x = −1 | 4(1)(−4) = −16 | − |
| (0, 3) | x = 1 | 4(1)(−2) = −8 | − |
| (3, ∞) | x = 4 | 4(16)(1) = 64 | + |
- Classify.
- At x = 0, f′ is negative on both sides. f′ does not change sign, so f has neither a relative maximum nor a relative minimum at x = 0.
- At x = 3, f′ changes from negative to positive, so f has a relative minimum at x = 3.
- Value. f(3) = 81 − 108 + 10 = −17.
Answer. f has a relative minimum at x = 3, because f′ changes from negative to positive there. The relative minimum value is −17. There is no relative maximum. At x = 0, f has neither, because f′ < 0 on both sides of x = 0.
Interpretation. At x = 0 the graph of f flattens for an instant (f′(0) = 0) while still going down, like the right-hand sketch in Figure 1 turned upside down. Finding f′(c) = 0 tells you where to look. It does not tell you what you will find.
Worked example 2: a critical point where f′ does not exist
Question. Let h(x) = 3x^(2/3) − 2x, defined for all real x. Find and classify all relative extrema of h. Justify your answers.
- Differentiate. h′(x) = 3 · (2/3)x^(−1/3) − 2 = 2x^(−1/3) − 2.
- Rewrite as one fraction. h′(x) = 2/x^(1/3) − 2 = 2(1 − x^(1/3)) / x^(1/3).
- Critical points.
- h′(x) = 0 when 1 − x^(1/3) = 0, so x^(1/3) = 1 and x = 1.
- h′(x) does not exist at x = 0 (the denominator is 0). But h(0) = 0 is defined, so x = 0 is also a critical point.
- Sign chart.
| Interval | Test value | x^(1/3) | 1 − x^(1/3) | h′(test value) | Sign |
|---|---|---|---|---|---|
| (−∞, 0) | x = −1 | −1 | 2 | 2(2)/(−1) = −4 | − |
| (0, 1) | x = 1/8 | 1/2 | 1/2 | 2(1/2)/(1/2) = 2 | + |
| (1, ∞) | x = 8 | 2 | −1 | 2(−1)/2 = −1 | − |
- Check continuity. h is built from x^(2/3) and x, which are continuous everywhere, so the test applies at both points.
- Classify and find values.
- At x = 0, h′ changes from negative to positive: relative minimum, value h(0) = 0.
- At x = 1, h′ changes from positive to negative: relative maximum, value h(1) = 3 − 2 = 1.
Answer. h has a relative minimum at x = 0 (value 0) and a relative maximum at x = 1 (value 1). In each case the reason is the change of sign of h′ stated above.
Interpretation. At x = 0 the graph of h has a sharp point (a cusp). There is no tangent slope there, yet it is a minimum. If you only solve h′(x) = 0, you miss it.
Check. h(−1) = 3 + 2 = 5, h(1/8) = 3(1/4) − 1/4 = 1/2 and h(8) = 12 − 16 = −4. So h falls to 0, rises to 1, then falls again, which matches the sign chart.
Reading extrema from a graph of f′
When you are given the graph of f′ (not f), look only at where it crosses the x-axis.
| What the graph of f′ does at x = c | Conclusion about f at c |
|---|---|
| Crosses from above the axis to below | Relative maximum |
| Crosses from below the axis to above | Relative minimum |
| Touches the axis and turns back (same side) | Neither |
| Has a peak or a valley but does not meet the axis | Not an extremum of f (f′(c) ≠ 0) |
The last row is a common trap. A peak on the graph of f′ is where f′ is largest. That is about the steepness of f, and it connects to concavity and points of inflection in Topics 5.6 and 5.9, not to maxima of f.
When the test does not apply
The test needs f to be defined and continuous at c.
Consider k(x) = 1/x². Then k′(x) = −2/x³. Test values: k′(−1) = 2 > 0 and k′(1) = −2 < 0. So k′ changes from positive to negative at x = 0. But k(0) does not exist, so x = 0 is not a critical point, and k has no relative maximum there: the graph shoots up on both sides without a top. A change of sign in f′ only means something at a point where f exists and is continuous. Practice Question 6 shows a jump discontinuity where the same thing goes wrong.
Endpoints. The test looks at both sides of c, so it is used at interior points. For a function on a closed interval, endpoint values are compared in Topic 5.5.
Writing a justification
Use the language of the question, name the function, and give the sign change as the reason.
- Good: “f has a relative maximum at x = −3 because f′ changes from positive to negative at x = −3.”
- Good: “g has neither a relative maximum nor a relative minimum at x = 2 because g′ is negative on both sides of x = 2.”
- Not enough: “f has a relative maximum at x = −3 because f′(−3) = 0.” Many critical points with f′ = 0 are not extrema.
- Not enough: “f′ goes from + to −.” State at which x-value and what that means for f.
- Wrong: “f has a maximum because f′ has a maximum.” That is about f′, not f.
Common misconceptions
- “f′(c) = 0, so there is a maximum or minimum at c.” You must check for a change of sign.
- Forgetting critical points where f′ does not exist. Cusps and corners can be extrema (Worked example 2).
- Mixing up location and value. “The relative maximum is at x = 1” is a location. “The relative maximum value is 1” is f(1).
- Substituting into f′ to find the value. The value of a relative extremum is f(c). f′(c) is usually 0.
- Reading the wrong graph. On a graph of f′, a peak is not a maximum of f. Look for crossings of the x-axis.
- Ignoring continuity. At a jump or a gap in the domain, a sign change of f′ proves nothing.
- Using “it”. Write “f has…” or “f′ changes…”, never “it changes sign”.
Where this leads
The First Derivative Test finds relative extrema. In Topic 5.5, Using the Candidates Test to Determine Absolute (Global) Extrema, you will compare the values of f at critical points and endpoints to find the largest and smallest values on a closed interval. Later, Topic 5.7 gives a second way to classify critical points using f′′. Look back at Topic 5.3 if sign charts still feel slow. Students in either course can return to the Calculus AB roadmap or the Calculus BC roadmap.
Try the practice questions now, then use the revision notes and the checklist to consolidate.
Quick questions
Is this page for Calculus AB or Calculus BC?
Both. Topic 5.4 is common content, so the same page serves AB and BC students.
Does the test work at the endpoints of a closed interval?
The First Derivative Test is about points inside an interval, with f′ checked on both sides. Endpoints are handled with the Candidates Test in Topic 5.5, when you look for absolute extrema.
Do I need to give the x-value or the y-value?
Read the question. "Where does f have a relative maximum?" asks for the x-value. "What is the relative maximum value?" asks for f(c), the y-value.