AP Calculus AB · Topic 5.5 · Reading guide, about 4 min

Closed-interval method for absolute extremes

Learn the closed-interval (candidates) method to find absolute maximum and minimum values, including endpoints and corners.

In one minute

The closed-interval method is the reliable recipe for finding the largest and smallest values of a continuous function on [a,b][a, b]. List the candidates, evaluate the function at each, and compare. There is no sign chart, no guessing, and almost no way to go wrong if you remember the endpoints.

The method rests on the Extreme Value Theorem (5.2): a continuous function on a closed interval is guaranteed to have an absolute maximum and minimum, and they must occur at critical points or endpoints. The exam asks for the location, the value, or both, and you must read which one.

Key terms

Candidates test
Another name for the closed-interval method: evaluate the function at every critical point and both endpoints, then compare.
Closed-interval method
Find critical points in [a,b][a, b], compute ff at them and at aa and bb, and take the largest and smallest values.
Absolute maximum value
The largest output f(c)f(c). The input x=cx=c is its location, and f(c)f(c) is its value.
Absolute minimum value
The smallest output f(c)f(c) on the interval, with location x=cx=c.
Candidate
An input that might give an absolute extremum: a critical point inside the interval, or an endpoint.
Location versus value
"Where" asks for the input x. "What is the maximum" asks for the output f(x). Give what is asked, or both.
Continuity requirement
The method is valid only if ff is continuous on the whole closed interval [a,b][a, b].

The recipe

Step 1: confirm ff is continuous on [a,b][a, b]. Step 2: find all critical points in the open interval (a,b)(a, b), where f′(x)=0f'(x)=0 or f′(x)f'(x) is undefined; discard any critical point outside the interval. Step 3: build a list of candidates: those critical points plus aa and bb. Step 4: evaluate ff at each candidate. Step 5: the largest output is the absolute maximum, the smallest is the absolute minimum. State locations and values clearly.

Ties are allowed. If the same minimum value appears at two inputs, the function has its absolute minimum at both. Also note that a critical point can lose to an endpoint, and a critical point with f′=0f'=0 that is not an extremum simply does not win.

Candidate table layout
Candidate xTypef(x)Verdict
Left endpointEndpointComputeCompare with the rest
Each critical point insideCriticalComputeCompare with the rest
Right endpointEndpointComputeCompare with the rest
Largest and smallest outputsAnyPick themAbsolute maximum and minimum

A fully worked example

Find the absolute maximum and minimum of f(x)=2x3−9x2+12xf(x)=2x^3-9x^2+12x on [0,3][0, 3]. Step 1: ff is a polynomial, so it is continuous on [0,3][0, 3]. Step 2: f′(x)=6x2−18x+12=6(x2−3x+2)=6(x−1)(x−2)f'(x)=6x^2-18x+12=6(x^2-3x+2)=6(x-1)(x-2), which is zero at x=1x=1 and x=2x=2; both lie in (0,3)(0, 3). Step 3: the candidates are x=0,1,2,3x=0, 1, 2, 3. Step 4: f(0)=0f(0)=0. f(1)=2−9+12=5f(1)=2-9+12=5. f(2)=16−36+24=4f(2)=16-36+24=4. f(3)=54−81+36=9f(3)=54-81+36=9.

Step 5: the largest value is 99, at x=3x=3, and the smallest is 00, at x=0x=0. So the absolute maximum value is 9, occurring at the endpoint x=3x=3, and the absolute minimum value is 0, occurring at the endpoint x=0x=0. Notice that the interior critical points give a local maximum of 5 at x=1x=1 and a local minimum of 4 at x=2x=2, and both are beaten by the endpoints. An answer that only considered critical points would have missed both absolute extremes.

A critical point where the derivative does not exist

Find the absolute extremes of g(x)=x2/3g(x)=x^{2/3} on [−1,8][-1, 8]. The function is continuous everywhere. The derivative g′(x)=23x−1/3g'(x)=\dfrac{2}{3}x^{-1/3} is never zero, but it does not exist at x=0x=0, which is in the interval, so x=0x=0 is a critical point. Candidates: g(−1)=(−1)2/3=1g(-1)=(-1)^{2/3}=1, g(0)=0g(0)=0, and g(8)=82/3=4g(8)=8^{2/3}=4. The absolute maximum is 4 at x=8x=8 and the absolute minimum is 0 at x=0x=0. Skipping the undefined derivative would have missed the minimum.

When the method does not apply

If the interval is open, such as (a,b)(a, b), or the function has a break inside [a,b][a, b], a maximum or minimum may not exist, so the method may give a false answer. In that case use the first derivative test (5.4) to study behavior, and examine limits near the ends. When there is only one critical point on an interval, 5.7 and 5.11 show how sign information can settle absolute extremes without endpoints.

How it connects

  • Back to 5.2: the Extreme Value Theorem is the guarantee that makes this recipe valid.
  • Back to 5.4: local extrema from sign changes are only candidates for the absolute extremum, which this method compares directly.
  • Forward to 5.7: the second derivative test can classify a single critical point on an interval.
  • Forward to 5.11: optimization problems use this method to justify the best answer for a physical situation.

Common mistakes

  • Forgetting the endpoints. On a closed interval the absolute extremum is often at an end, as in the worked example above.
  • Including critical points outside the interval. If x=5x=5 is critical but the interval is [0,3][0, 3], it is not a candidate.
  • Reporting a location when asked for a value. "Maximum at x=3x=3" and "maximum value is 9" are different answers.
  • Calling the largest critical-point value the absolute maximum without comparing endpoints. Always compare against both ends.

How it shows up on the exam

  • Find the absolute maximum and minimum of a function on a closed interval, with locations and values.
  • Use a table of values of ff and a list of critical points, or a graph, to select the largest and smallest output.
  • Justify an absolute extremum in writing by citing continuity on a closed interval and listing the candidate values.

Check yourself

  1. Why must you check the endpoints even when f′f' is never zero on the interval?
  2. For f(x)=x3−3xf(x)=x^3-3x on [−2,2][-2, 2], which inputs are candidates, and why?
  3. How can a function have a local maximum that is not its absolute maximum on a closed interval?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.