Free AP Calculus AB Analytical Applications of Differentiation

AP Calculus AB · Analytical Applications of Differentiation · free lesson

The Candidates Test for Absolute Extrema

The idea, then worked examples solved step by step, then practice questions whose numbers change every time you try them.

The idea

The highest and lowest values on an interval

A relative maximum is higher than the points near it. An absolute maximum of ff on an interval is higher than (or equal to) every value of ff on that interval; an absolute minimum is lower than or equal to every value. Together they are the absolute extrema (also called global extrema).

The Extreme Value Theorem says when they are sure to exist: if ff is continuous on a closed interval [a,b][a, b], then ff has an absolute maximum and an absolute minimum on [a,b][a, b]. This topic is about finding them.

Where to look: the candidates

Suppose the absolute maximum happens at a point cc inside the interval. Then it is also a relative maximum, so cc is a critical point. The only other places it can happen are the two ends. So the absolute extrema can only be at a short list of candidates: the endpoints aa and bb, and the critical points between them.

Rule.

The Candidates Test (also called the closed interval method). To find the absolute extrema of a continuous function ff on [a,b][a, b]:

  1. Find the critical points of ff in a<x<ba < x < b: where f′(x)=0f'(x) = 0 or f′(x)f'(x) does not exist.
  2. Work out ff at each critical point and at both endpoints aa and bb.
  3. The largest of these values is the absolute maximum; the smallest is the absolute minimum.

No sign chart is needed: the values are simply compared. Take f(x)=2x3−3x2−12x+4f(x) = 2x^3 - 3x^2 - 12x + 4 on [−2,4][-2, 4].

Step 1. Differentiate and find where f′=0f' = 0:

f′(x)=6x2−6x−12=6(x+1)(x−2)\begin{aligned} f'(x) &= 6x^{2} - 6x - 12 = 6(x + 1)(x - 2) \end{aligned}

So the critical points are x=−1x = -1 and x=2x = 2, both inside [−2,4][-2, 4]. (f′f' exists everywhere, so there are no others.)

Step 2. Work out ff at the candidates, the two critical points and the two endpoints:

Candidate xx−2-2 (endpoint)−1-1 (critical point)22 (critical point)44 (endpoint)
f(x)f(x)001111−16-163636

Step 3. Compare. The largest value is 3636, at x=4x = 4; the smallest is −16-16, at x=2x = 2. So on [−2,4][-2, 4] the absolute maximum of ff is f(4)=36f(4) = 36 and the absolute minimum is f(2)=−16f(2) = -16.

Notice: the relative maximum at x=−1x = -1 is not the absolute maximum. The curve climbs higher at the right end. Watch the graph draw itself, with the four candidates marked:

The interval decides

The same function on a different interval can have its absolute extrema somewhere else. Drag the right end bb of the interval [−2,b][-2, b]. While bb is small, the hilltop at x=−1x = -1 is the highest point. Once bb passes a certain value, the right end climbs above it and becomes the absolute maximum. A critical point outside the interval (for example x=2x = 2 when b<2b < 2) is not a candidate at all.

Points where f' does not exist

Step 1 asks for both kinds of critical point. For f(x)=x2/3f(x) = x^{2/3} on [−1,8][-1, 8], f′(x)=23x1/3f'(x) = \frac{2}{3x^{1/3}} is never 0, but it does not exist at x=0x = 0. The candidates are −1-1, 00 and 88:

f(−1)=1f(-1) = 1, f(0)=0f(0) = 0, f(8)=4f(8) = 4. The absolute minimum is f(0)=0f(0) = 0, at the cusp, and the absolute maximum is f(8)=4f(8) = 4. Looking only for f′=0f' = 0 would have missed the minimum.

Only one critical point

When ff is continuous on an interval (closed or not) and has only one critical point cc there, the first derivative test settles it: if f′f' changes from positive to negative at cc, then ff rises up to cc and falls all the way after it, so f(c)f(c) is the absolute maximum on the interval. A change from negative to positive gives the absolute minimum. This is how the AP exam often wants an absolute extremum on an open interval justified.

Note.

On the AP exam the usual slips are: giving the xx-value when the maximum value was asked (or the other way round); leaving out the endpoints; leaving out a critical point where f′f' does not exist; keeping a critical point that lies outside the interval; and putting the candidates into f′f' instead of ff. A free-response answer lists every candidate with its value of ff, then states the conclusion: "the absolute maximum value of ff on [a,b][a, b] is f(c)=…f(c) = \ldots".

Worked examples

Worked examples

Each example is one kind of question the AP exam asks about absolute extrema. The method is the Candidates Test: list the endpoints and the critical points inside the interval, work out ff at each, and compare. Every number in the working is found by the engine.

Example.

1. A polynomial, with a critical point outside the interval. Find the absolute maximum and minimum values of f(x)=x4−8x2+3f(x) = x^4 - 8x^2 + 3 on [−1,3][-1, 3].

Critical points. f′f' exists everywhere, and

f′(x)=4x3−16x=4x(x+2)(x−2)\begin{aligned} f'(x) &= 4x^{3} - 16x = 4x(x + 2)(x - 2) \end{aligned}

So f′(x)=0f'(x) = 0 at x=−2x = -2, x=0x = 0 and x=2x = 2. But −2-2 is not in [−1,3][-1, 3], so it is not a candidate. The candidates are the endpoints −1-1 and 33 and the critical points 00 and 22.

Candidate xx−1-1 (endpoint)002233 (endpoint)
f(x)f(x)−4-433−13-131212

The absolute maximum value is f(3)=12f(3) = 12, at the right endpoint. The absolute minimum value is f(2)=−13f(2) = -13.

Check: the gray part of the curve, outside the interval, does not count, even though it also dips to −13-13 at x=−2x = -2.

Example.

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

f′(x)=1−2sin⁡(x)\begin{aligned} f'(x) &= 1 - 2\sin(x) \end{aligned}

f′(x)=0f'(x) = 0 when sin⁡x=12\sin x = \frac{1}{2}; on [0,π][0, \pi] that is x=π6x = \frac{\pi}{6} and x=5π6x = \frac{5\pi}{6}. Using cos⁡π6=32\cos \frac{\pi}{6} = \frac{\sqrt{3}}{2} and cos⁡5π6=−32\cos \frac{5\pi}{6} = -\frac{\sqrt{3}}{2}:

Candidate xx00π6\frac{\pi}{6}5π6\frac{5\pi}{6}π\pi
f(x)f(x) exactly22π6+3\frac{\pi}{6} + \sqrt{3}5π6−3\frac{5\pi}{6} - \sqrt{3}π−2\pi - 2
f(x)f(x) as a decimal2.0002.0002.2562.2560.8860.8861.1421.142

The absolute maximum is f(π6)=π6+3≈2.256f\left({\frac{\pi}{6}}\right) = \frac{\pi}{6} + \sqrt{3} \approx {2.256} and the absolute minimum is f(5π6)=5π6−3≈0.886f\left({\frac{5\pi}{6}}\right) = \frac{5\pi}{6} - \sqrt{3} \approx {0.886}. On a no-calculator question the answer is left exact; the decimals only help to compare. (To compare without them: 3≈1.73\sqrt{3} \approx 1.73 and π≈3.14\pi \approx 3.14.)

Example.

3. A critical point where f' does not exist. Find the absolute extrema of f(x)=3x2/3−2xf(x) = 3x^{2/3} - 2x on [−1,8][-1, 8].

f′(x)=2x−1/3−2=2(1−x1/3)x1/3\begin{aligned} f'(x) &= 2x^{-1/3} - 2 = \frac{2(1 - x^{1/3})}{x^{1/3}} \end{aligned}

f′(x)=0f'(x) = 0 when x1/3=1x^{1/3} = 1, that is x=1x = 1; and f′(x)f'(x) does not exist at x=0x = 0, where f(0)f(0) is defined. Both are inside [−1,8][-1, 8].

Candidate xx−1-1 (endpoint)00 (f′f' does not exist)11 (f′=0f' = 0)88 (endpoint)
f(x)f(x)550011−4-4

The absolute maximum value is f(−1)=5f(-1) = 5 and the absolute minimum value is f(8)=−4f(8) = -4, both at endpoints. The two critical points give a relative minimum (the cusp at 0) and a relative maximum (at 1), but neither is absolute.

Example.

4. From a table. The function ff is differentiable on [0,6][0, 6], and its only critical points are x=1x = 1, x=3x = 3 and x=5x = 5. Some values of ff and f′f' are in the table. What are the absolute maximum and minimum values of ff on [0,6][0, 6]?

xx0011335566
f(x)f(x)2277−1-16633
f′(x)f'(x)55000000−4-4

ff is differentiable, so it is continuous on the closed interval [0,6][0, 6]: the Extreme Value Theorem says the absolute extrema exist. The candidates are the endpoints 0 and 6 and the three critical points, and the table gives ff at all five. The largest value of ff in the table is 77 and the smallest is −1-1.

So the absolute maximum value is f(1)=7f(1) = 7 and the absolute minimum value is f(3)=−1f(3) = -1. The row of f′f' only says which xx are critical points; its numbers (such as f′(0)=5f'(0) = {5}) are slopes, not values of ff, and are never compared.

Example.

5. A tank, with a calculator. The amount of water in a storage tank is A(t)=2000+300sin⁡(t3)−2t2A(t) = 2000 + 300\sin\left(\frac{t}{3}\right) - 2t^2 gallons, tt hours after noon, for 0≤t≤120 \le t \le 12. At what time is the amount of water greatest, and how much water is in the tank then? Justify your answer.

The candidates are the endpoints and the times where A′(t)=0A'(t) = 0. Differentiate:

A′(t)=100cos⁡(13t)−4t\begin{aligned} A'(t) &= 100\cos(\frac{1}{3}t) - 4t \end{aligned}

On the calculator, graph A′A' on 0≤t≤120 \le t \le 12 and find its zero: A′(t)=0A'(t) = 0 only at t≈4.205t \approx {4.205}. Now compare the values of AA:

Candidate tt004.2054.2051212
A(t)A(t), gallons200020002260.3552260.3551484.9591484.959

The amount of water is greatest at t≈4.205t \approx {4.205} hours after noon, when the tank holds about 2260.3552260.355 gallons.

The justification is the comparison: the value at the one critical point is larger than the values at both ends. (Since A′A' changes from positive to negative at that point and nowhere else, the single-critical-point reasoning gives the same answer.)

Example.

6. An open interval, one critical point. Show that f(x)=x+9xf(x) = x + \frac{9}{x} has an absolute minimum on the interval x>0x > 0, and find it.

There are no endpoints here, so the Candidates Test does not apply. Use the one critical point instead.

f′(x)=1−9x2\begin{aligned} f'(x) &= 1 - \frac{9}{x^{2}} \end{aligned}

For x>0x > 0, f′(x)=0f'(x) = 0 only at x=3x = 3 (x=−3x = -3 is outside the interval). Test values: f′(1)=−8f'(1) = {-8} and f′(4)=716f'(4) = {\frac{7}{16}}. So f′f' is negative on 0<x<30 < x < 3 and positive on x>3x > 3: ff falls all the way to x=3x = 3 and rises all the way after it.

Because x=3x = 3 is the only critical point on x>0x > 0 and f′f' changes from negative to positive there, f(3)=6f(3) = 6 is the absolute minimum of ff on x>0x > 0. (ff has no absolute maximum there: it grows without bound near 0 and for large xx.)

Practice

Answer AP-style questions on the candidates test for absolute extrema. Each answer is checked, with the full solution, and every try brings new numbers. Practice needs a free account: it keeps your progress.

Practise the candidates test for absolute extrema with new numbers