Skip to content
Family Table Math

Candidates Test for Absolute Extrema

When a function is continuous on a closed interval, the Extreme Value Theorem promises an absolute maximum and an absolute minimum. The candidates test (also called the closed interval method) is how you find them: make a short list of every place they could be, evaluate the function at each one, and pick the biggest and smallest. No sign charts needed.

On a closed interval [a,b][a, b], an absolute maximum or minimum can only happen at:

  • a critical point inside the interval (where f′(x)=0f'(x) = 0 or f′(x)f'(x) doesn’t exist), or
  • an endpoint, x=ax = a or x=bx = b.

Anywhere else, the graph is going up or down, so a nearby point is higher and another is lower.

For ff continuous on [a,b][a, b]:

  1. Check the hypothesis: ff is continuous on the closed interval [a,b][a, b], so the EVT says absolute extrema exist.
  2. Find the critical points of ff and keep only those inside (a,b)(a, b).
  3. Evaluate ff at each critical point and at both endpoints. A table works well.
  4. The largest value is the absolute maximum; the smallest is the absolute minimum.

If two candidates tie for the largest value, the absolute maximum happens at both xx-values (and the same for the minimum).

The graph of f(x) = x cubed minus 3x squared plus 1 on the closed interval from -1 to 4, with the four candidates marked: (-1, -3), (0, 1), (2, -3) and (4, 17). The absolute maximum is 17 and the absolute minimum is -3, reached at both x = -1 and x = 2. −1 1 2 3 4 −4 4 8 12 16 (−1, −3) (0, 1) (2, −3) (4, 17) absolute max 17 absolute min −3 (twice)
The four candidates for f(x)=x3−3x2+1f(x) = x^3 - 3x^2 + 1 on [−1,4][-1, 4] (Example 2).

AP questions often say “find the absolute maximum value of ff on [a,b][a, b]. Justify your answer.” A complete answer shows the table of candidates and a conclusion sentence such as “The absolute maximum value of ff on [−1,4][-1, 4] is 1717, at x=4x = 4.” The table itself is the justification.

The candidates test needs a closed interval. On an open interval or the whole real line, use the first derivative test instead. A handy fact for optimization: if a continuous function has only one critical point on an interval, and it’s a relative maximum, then it’s the absolute maximum on that interval (and the same for a minimum).

Find the absolute extrema of f(x)=x2−6x+2f(x) = x^2 - 6x + 2 on [0,5][0, 5].

Solution. ff is a polynomial, so it’s continuous on [0,5][0, 5].

f′(x)=2x−6=0f'(x) = 2x - 6 = 0 gives x=3x = 3, which is in (0,5)(0, 5).

xx00 (endpoint)33 (critical point)55 (endpoint)
f(x)f(x)22−7-7−3-3

The absolute maximum is 22, at x=0x = 0. The absolute minimum is −7-7, at x=3x = 3.

Find the absolute extrema of f(x)=x3−3x2+1f(x) = x^3 - 3x^2 + 1 on [−1,4][-1, 4].

Solution. ff is continuous on [−1,4][-1, 4].

f′(x)=3x2−6x=3x(x−2)f'(x) = 3x^2 - 6x = 3x(x - 2)

Critical points: x=0x = 0 and x=2x = 2, both in (−1,4)(-1, 4).

xx−1-1002244
f(x)f(x)−1−3+1=−3-1 - 3 + 1 = -3118−12+1=−38 - 12 + 1 = -364−48+1=1764 - 48 + 1 = 17

The absolute maximum is 1717, at x=4x = 4. The absolute minimum is −3-3, at both x=−1x = -1 and x=2x = 2.

Find the absolute extrema of f(x)=x−2sin⁡xf(x) = x - 2\sin x on [0,π][0, \pi].

Solution. ff is continuous on [0,π][0, \pi]. Remember: xx is in radians.

f′(x)=1−2cos⁡x=0f'(x) = 1 - 2\cos x = 0 gives cos⁡x=12\cos x = \dfrac{1}{2}. In (0,π)(0, \pi), that’s only x=π3x = \dfrac{\pi}{3}.

xx00π3\dfrac{\pi}{3}π\pi
f(x)f(x)00π3−3≈−0.685\dfrac{\pi}{3} - \sqrt{3} \approx -0.685π≈3.142\pi \approx 3.142

The absolute maximum is π\pi, at x=πx = \pi. The absolute minimum is π3−3≈−0.685\dfrac{\pi}{3} - \sqrt{3} \approx -0.685, at x=π3x = \dfrac{\pi}{3}.

Example 4: A critical point where f′ is undefined

Section titled “Example 4: A critical point where f′ is undefined”

Find the absolute extrema of f(x)=x2/3(x−5)f(x) = x^{2/3}(x - 5) on [−1,4][-1, 4].

Solution. ff is continuous everywhere (cube roots are defined for negative numbers too). From critical points and extrema, f′(x)=5(x−2)3x1/3f'(x) = \dfrac{5(x - 2)}{3x^{1/3}}, so the critical points are x=0x = 0 (undefined) and x=2x = 2 (zero). Both are in (−1,4)(-1, 4).

xx−1-1002244
f(x)f(x)(1)(−6)=−6(1)(-6) = -600−343≈−4.762-3\sqrt[3]{4} \approx -4.762−163≈−2.520-\sqrt[3]{16} \approx -2.520

For x=−1x = -1: (−1)2/3=(−13)2=1(-1)^{2/3} = \left(\sqrt[3]{-1}\right)^2 = 1. For x=4x = 4: 42/3(−1)=−1634^{2/3}(-1) = -\sqrt[3]{16}.

The absolute maximum is 00, at x=0x = 0 (the cusp). The absolute minimum is −6-6, at x=−1x = -1.

Forgetting the endpoints. In Example 1, the absolute maximum is at an endpoint. If you only check critical points, you’ll miss it.

Including critical points outside the interval. For f(x)=x4−8x2f(x) = x^4 - 8x^2 on [−1,3][-1, 3], the critical point x=−2x = -2 isn’t in the interval, so it isn’t a candidate.

Missing critical points where f′ is undefined. In Example 4, the absolute maximum is at x=0x = 0, where f′f' doesn’t exist. Always check the denominator of f′f'.

Answering with the wrong thing. “Absolute maximum value” means the yy-value (1717). “Where” or “at what xx” means the xx-value (x=4x = 4). Give both when you’re not sure.

Using the test on an interval where f isn’t continuous. For f(x)=1x−2f(x) = \dfrac{1}{x - 2} on [0,3][0, 3], the function blows up at x=2x = 2 and has no absolute maximum or minimum. Check continuity first.

Arithmetic slips with negatives. Write out each substitution, especially powers of negative numbers. (−1)3=−1(-1)^3 = -1, but (−1)2=1(-1)^2 = 1.

1. (Warm-up) Find the absolute extrema of f(x)=x2−4x+1f(x) = x^2 - 4x + 1 on [0,5][0, 5].

Solution

f′(x)=2x−4=0f'(x) = 2x - 4 = 0 gives x=2x = 2.

xx002255
f(x)f(x)11−3-366

Absolute maximum 66 at x=5x = 5; absolute minimum −3-3 at x=2x = 2.

2. (Warm-up) Find the absolute extrema of f(x)=3x−5f(x) = 3x - 5 on [1,4][1, 4].

Solution

f′(x)=3f'(x) = 3, which is never 00, so there are no critical points. Only the endpoints are candidates: f(1)=−2f(1) = -2 and f(4)=7f(4) = 7.

Absolute maximum 77 at x=4x = 4; absolute minimum −2-2 at x=1x = 1.

3. (Core) Find the absolute extrema of f(x)=2x3+3x2−12xf(x) = 2x^3 + 3x^2 - 12x on [−3,2][-3, 2].

Solutionf′(x)=6x2+6x−12=6(x+2)(x−1)f'(x) = 6x^2 + 6x - 12 = 6(x + 2)(x - 1)

Critical points: x=−2x = -2 and x=1x = 1, both in (−3,2)(-3, 2).

xx−3-3−2-21122
f(x)f(x)−54+27+36=9-54 + 27 + 36 = 9−16+12+24=20-16 + 12 + 24 = 202+3−12=−72 + 3 - 12 = -716+12−24=416 + 12 - 24 = 4

Absolute maximum 2020 at x=−2x = -2; absolute minimum −7-7 at x=1x = 1.

4. (Core) Find the absolute extrema of f(x)=xe−xf(x) = xe^{-x} on [0,3][0, 3]. Give decimals to three places.

Solution

f′(x)=(1−x)e−x=0f'(x) = (1 - x)e^{-x} = 0 gives x=1x = 1.

xx001133
f(x)f(x)00e−1≈0.368e^{-1} \approx 0.3683e−3≈0.1493e^{-3} \approx 0.149

Absolute maximum 1e≈0.368\dfrac{1}{e} \approx 0.368 at x=1x = 1; absolute minimum 00 at x=0x = 0.

5. (Core) Find the absolute extrema of f(x)=x+2cos⁡xf(x) = x + 2\cos x on [0,π][0, \pi] (radians).

Solution

f′(x)=1−2sin⁡x=0f'(x) = 1 - 2\sin x = 0 gives sin⁡x=12\sin x = \dfrac{1}{2}: x=π6x = \dfrac{\pi}{6} or x=5π6x = \dfrac{5\pi}{6}, both in (0,π)(0, \pi).

xx00π6\dfrac{\pi}{6}5π6\dfrac{5\pi}{6}π\pi
f(x)f(x)22π6+3≈2.256\dfrac{\pi}{6} + \sqrt{3} \approx 2.2565π6−3≈0.886\dfrac{5\pi}{6} - \sqrt{3} \approx 0.886π−2≈1.142\pi - 2 \approx 1.142

Absolute maximum π6+3≈2.256\dfrac{\pi}{6} + \sqrt{3} \approx 2.256 at x=π6x = \dfrac{\pi}{6}; absolute minimum 5π6−3≈0.886\dfrac{5\pi}{6} - \sqrt{3} \approx 0.886 at x=5π6x = \dfrac{5\pi}{6}.

6. (Core) Find the absolute extrema of f(x)=(x2−4)2/3f(x) = (x^2 - 4)^{2/3} on [−1,3][-1, 3]. Give decimals to three places.

Solution

f′(x)=4x3x2−43f'(x) = \dfrac{4x}{3\sqrt[3]{x^2 - 4}}. Critical points: x=0x = 0 (where f′=0f' = 0) and x=±2x = \pm 2 (where f′f' is undefined). Only 00 and 22 are in (−1,3)(-1, 3).

xx−1-1002233
f(x)f(x)(−3)2/3=93≈2.080(-3)^{2/3} = \sqrt[3]{9} \approx 2.08042/3=163≈2.5204^{2/3} = \sqrt[3]{16} \approx 2.5200052/3=253≈2.9245^{2/3} = \sqrt[3]{25} \approx 2.924

Absolute maximum 253≈2.924\sqrt[3]{25} \approx 2.924 at x=3x = 3; absolute minimum 00 at x=2x = 2.

7. (Core) Find the absolute extrema of f(x)=ln⁡xxf(x) = \dfrac{\ln x}{x} on [1,e2][1, e^2].

Solutionf′(x)=x⋅1x−ln⁡x⋅1x2=1−ln⁡xx2f'(x) = \frac{x \cdot \frac{1}{x} - \ln x \cdot 1}{x^2} = \frac{1 - \ln x}{x^2}

f′(x)=0f'(x) = 0 when ln⁡x=1\ln x = 1, so x=ex = e, which is in (1,e2)(1, e^2).

xx11eee2e^2
f(x)f(x)001e≈0.368\dfrac{1}{e} \approx 0.3682e2≈0.271\dfrac{2}{e^2} \approx 0.271

Absolute maximum 1e\dfrac{1}{e} at x=ex = e; absolute minimum 00 at x=1x = 1.

8. (Challenge) Find the absolute extrema of f(x)=x4−8x2f(x) = x^4 - 8x^2 on [−1,3][-1, 3].

Solutionf′(x)=4x3−16x=4x(x−2)(x+2)f'(x) = 4x^3 - 16x = 4x(x - 2)(x + 2)

Critical points: x=−2x = -2, 00, 22. Only 00 and 22 are in (−1,3)(-1, 3).

xx−1-1002233
f(x)f(x)1−8=−71 - 8 = -70016−32=−1616 - 32 = -1681−72=981 - 72 = 9

Absolute maximum 99 at x=3x = 3; absolute minimum −16-16 at x=2x = 2.

9. (Challenge) A drone flies straight up and down. Its vertical velocity is v(t)=t3−9t2+24tv(t) = t^3 - 9t^2 + 24t m/s for 0≤t≤50 \le t \le 5 seconds. Find its greatest and least velocity during this time, and when they happen.

Solution

vv is a polynomial, so it’s continuous on [0,5][0, 5].

v′(t)=3t2−18t+24=3(t−2)(t−4)v'(t) = 3t^2 - 18t + 24 = 3(t - 2)(t - 4)

Critical points: t=2t = 2 and t=4t = 4.

tt (s)00224455
v(t)v(t) (m/s)008−36+48=208 - 36 + 48 = 2064−144+96=1664 - 144 + 96 = 16125−225+120=20125 - 225 + 120 = 20

The greatest velocity is 2020 m/s, at both t=2t = 2 s and t=5t = 5 s. The least velocity is 00 m/s, at t=0t = 0.