AP Calculus AB · Analytical applications of differentiation
Extreme values
1Absolute and relative extrema
- An absolute (global) maximum of $f$ on an interval is the largest value $f$ takes there; the absolute minimum is the smallest.
- A relative (local) maximum at $c$ means $f(c)$ is larger than all nearby values; a relative minimum means smaller than all nearby values.
Maximum and minimum values together are called extrema. The extreme value is the $y$-value; the location is the $x$-value. Questions ask for one or the other, so read carefully.
Check yourself
What is the difference between an absolute and a relative maximum?
Show the answer
An absolute maximum is the largest value on the whole interval; a relative maximum is largest only among nearby values
A function can have several relative maxima.
2The Extreme Value Theorem
The Extreme Value Theorem (EVT): if $f$ is continuous on a closed interval $[a, b]$, then $f$ has both an absolute maximum and an absolute minimum on $[a, b]$.
Both conditions matter:
- On an open interval, $f(x) = x$ on $(0, 1)$ has no maximum or minimum (it gets close to 1 but never reaches it).
- A discontinuous function can "jump" past a would-be maximum.
Check yourself
Which function is guaranteed an absolute maximum by the EVT?
Show the answer
f(x) = x² on [−1, 3]
Continuous on a closed interval.
3Critical points
A critical point of $f$ is a number $c$ in the domain where $f'(c) = 0$ or $f'(c)$ does not exist.
Fermat's theorem: if $f$ has a relative extremum at $c$ and $f'(c)$ exists, then $f'(c) = 0$. So relative extrema can only occur at critical points.
But not every critical point is an extremum: $f(x) = x^3$ has $f'(0) = 0$, yet $0$ is neither a maximum nor a minimum.
critical points of $f(x) = x^{2/3}(x - 5)$
- Expand: $f(x) = x^{5/3} - 5x^{2/3}$.
- $f'(x) = \frac{5}{3}x^{2/3} - \frac{10}{3}x^{-1/3} = \frac{5(x - 2)}{3x^{1/3}}$.
- $f'(x) = 0$ at $x = 2$; $f'$ is undefined at $x = 0$ (and $0$ is in the domain).
- Critical points: $x = 0$ and $x = 2$.
Check yourself
f′(c) = 0 guarantees that:
Show the answer
c is a critical point
x³ at 0 shows it may be neither.
4The candidates test
To find absolute extrema of a continuous $f$ on $[a, b]$ (also called the closed interval method):
- Find the critical points in $(a, b)$.
- Evaluate $f$ at each critical point and at both endpoints.
- The largest value is the absolute maximum; the smallest is the absolute minimum.
$f(x) = x^3 - 3x^2 + 1$ on $[-1, 4]$
- $f'(x) = 3x^2 - 6x = 3x(x - 2)$, so critical points $x = 0$ and $x = 2$.
- $f(-1) = -3$, $f(0) = 1$, $f(2) = -3$, $f(4) = 17$.
- Absolute maximum $17$ at $x = 4$. Absolute minimum $-3$ at $x = -1$ and $x = 2$.
Absolute extrema on [−1, 4] come from comparing endpoints and critical points
Check yourself
On a closed interval, where can absolute extrema occur?
Show the answer
At critical points or at endpoints
Check all candidates.
5Extrema from a graph of f′
AP questions often give the graph of $f'$ and ask about $f$.
- $f$ has a relative maximum where $f'$ changes from positive to negative.
- $f$ has a relative minimum where $f'$ changes from negative to positive.
- If $f'$ touches zero without changing sign, there is no extremum.
This is the first derivative test, covered fully in the next lesson.
Check yourself
The graph of f′ crosses the x-axis from below to above at x = 3. At x = 3, f has:
Show the answer
A relative minimum
f′ goes from negative to positive.
6Going deeper: the candidates test, and justifying local and absolute extrema
Extreme value theorem: a function continuous on a closed interval [a, b] attains an absolute maximum and an absolute minimum on it.
Critical points: interior points where f′(x) = 0 or f′(x) is undefined. Extrema can occur only at critical points or endpoints.
The candidates test (closed-interval method) for absolute extrema
- Find the critical points in (a, b).
- Evaluate f at each critical point and at both endpoints.
- The largest value is the absolute maximum; the smallest the absolute minimum.
$f(x) = x^3 - 3x + 1$ on [0, 3].
- $f'(x) = 3x^2 - 3 = 0$: x = ±1; only x = 1 is in the interval.
- f(0) = 1; f(1) = −1; f(3) = 19.
- Absolute minimum −1 at x = 1; absolute maximum 19 at x = 3.
A table of candidates and their values is itself the justification.
Worked example (derivative undefined): $f(x) = x^{2/3}$ on [−1, 8].
- $f'(x) = \frac{2}{3}x^{-1/3}$: never zero; undefined at x = 0.
- f(−1) = 1; f(0) = 0; f(8) = 4.
- Minimum 0 at x = 0 (a cusp); maximum 4 at x = 8.
Local extrema: the first derivative test: at a critical point c,
- f′ changes from positive to negative: local maximum;
- from negative to positive: local minimum;
- no sign change: neither.
Justification wording: "f has a local minimum at x = 1 because f′ changes from negative to positive there."
The second derivative test: if f′(c) = 0, then
- f″(c) > 0: local minimum;
- f″(c) < 0: local maximum;
- f″(c) = 0: inconclusive (use the first derivative test).
for $f(x) = x^3 - 3x + 1$: f″(x) = 6x.
- f″(1) = 6 > 0: local minimum at x = 1.
- f″(−1) = −6 < 0: local maximum at x = −1.
Reading a graph of f′ (a very common question)
- f has a critical point where the graph of f′ crosses or touches the x-axis.
- Local maximum of f: f′ crosses from above to below.
- Local minimum: from below to above.
- Touching without crossing: no extremum.
the graph of f′ is positive on (0, 2), negative on (2, 5), positive on (5, 7).
- Local maximum at x = 2; local minimum at x = 5.
- Absolute maximum on [0, 7]: compare f(2) and f(7), using areas under f′ to compare if needed.
Absolute extremum on an open interval or the whole line: if there is only one critical point and it is a local minimum (f′ negative before, positive after, throughout the interval), it is the absolute minimum.
Value against location: "the maximum is 19" (the value); "it occurs at x = 3" (the location). Answer what is asked.
Common mistakes
- Forgetting the endpoints.
- Calling every critical point an extremum.
- Missing critical points where f′ is undefined.
- Justifying a local extremum with "f′ = 0" alone.
- Concluding "no extremum" when f″(c) = 0.
- Giving the x-value when the maximum value is asked.
Check yourself
To find the absolute maximum of a continuous function on a closed interval, you should compare the function's values at:
Show the answer
The critical points in the interval and both endpoints
Absolute extrema on a closed interval occur at critical points or endpoints.
7For top marks
- List all candidates in a table: endpoints and critical points with their $f$-values.
- Justify each conclusion: "the absolute maximum is 17, which occurs at $x = 4$, because it is the largest value among the candidates."
- Remember critical points where $f'$ is undefined (corners, cusps, vertical tangents).
- For relative extrema, justify with a sign change of $f'$, not just $f' = 0$.
"$f'$ changes from positive to negative at $x = 2$, so $f$ has a relative maximum at $x = 2$."
Check yourself
Which is a critical point of f(x) = |x − 1|?
Show the answer
x = 1, where f′ does not exist
A corner is a critical point.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera