Skip to main content
United StatesCalculusSyllabus dot point

How do you find the absolute maximum and minimum of a function on a closed interval?

Topic 5.5 Using the Candidates Test to Determine Absolute (Global) Extrema: find absolute extrema by comparing values at critical points and endpoints.

A focused answer to AP Calculus AB Topic 5.5, using the candidates test to find absolute extrema on a closed interval by comparing function values at critical points and endpoints, with worked tabulated examples.

Generated by Claude Opus 4.88 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. The procedure
  3. A worked candidates test
  4. Why endpoints are candidates
  5. Reporting the answer correctly
  6. Why no derivative test is needed
  7. Presenting the work clearly

What this topic is asking

The College Board (Topic 5.5) gives the candidates test: to find the absolute (global) maximum and minimum of a continuous function on a closed interval, evaluate the function at every critical point and at both endpoints, then pick the largest and smallest values. It is the practical procedure that the Extreme Value Theorem makes possible.

The procedure

A worked candidates test

Why endpoints are candidates

On a closed interval the endpoints are genuine candidates for the absolute extremes even though they are not critical points, because the function cannot go past them. A function can be strictly increasing on [a,b][a, b] with no interior critical point at all, in which case the absolute minimum is f(a)f(a) and the absolute maximum is f(b)f(b). Forgetting the endpoints is the single most common error on these problems. The candidates test guards against it by building the endpoints into the list every time.

Reporting the answer correctly

The exam distinguishes the value of the extremum (a yy-value) from the location (an xx-value). The candidates test compares yy-values to find the extremes, but you should report both: "the absolute maximum value is 44, attained at x=1x = 1 and x=4x = 4." When a question asks only for the value, give the yy-value; when it asks where the extremum occurs, give the xx-value. Reading the question carefully here avoids losing a point by answering with the wrong quantity. The candidates test itself is short, so the marks reward correct critical points (including any where f′f' is undefined), correct evaluation, and a clearly stated comparison.

Why no derivative test is needed

It can feel like a shortcut to skip classifying the critical points, but the candidates test is complete on a closed interval precisely because the Extreme Value Theorem guarantees the absolute extremes exist and a theorem guarantees they occur only at critical points or endpoints. So the global maximum and minimum are certainly among the finite list of candidate values, and the largest and smallest of those values are the answers. There is no possibility of a larger value hiding elsewhere, because elsewhere is neither a critical point nor an endpoint. This is why you compare values directly rather than running a First or Second Derivative Test: classification is unnecessary when the EVT has already promised the extremes lie in your list.

Presenting the work clearly

A clean candidates-test solution lists the candidates, shows the function value at each (often in a small table), and states the comparison. Writing f(candidate)f(\text{candidate}) for every entry makes the arithmetic checkable and the conclusion obvious, and it earns the evaluation and comparison marks even if one value is computed slightly wrong. The habit of laying out all candidates, including both endpoints, in one place is what prevents the dominant error of overlooking an endpoint. Finish with an explicit sentence naming the absolute maximum and minimum values and where they occur, so the grader sees the conclusion drawn from the comparison.

Exam-style practice questions

Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AP 2021 (style)1 marksSection I (multiple choice, no calculator). The absolute maximum of f(x)=x3−3xf(x) = x^3 - 3x on [0,2][0, 2] is (A) −2-2 (B) 00 (C) 22 (D) 88
Show worked answer →

The correct answer is (C), 22.

f′(x)=3x2−3=0f'(x) = 3x^2 - 3 = 0 at x=1x = 1 (in [0,2][0,2]). Candidates: f(0)=0f(0) = 0, f(1)=−2f(1) = -2, f(2)=2f(2) = 2. The largest value is 22 at x=2x = 2.

AP 2023 (style)4 marksSection II (free response, no calculator). Let f(x)=x+4xf(x) = x + \frac{4}{x} on [1,4][1, 4]. (a) Find the critical points of ff in the interval. (b) Use the candidates test to find the absolute maximum and minimum values.
Show worked answer →

A 4-point candidates-test question.

(a) (2 points) f′(x)=1−4x2=0f'(x) = 1 - \frac{4}{x^2} = 0 gives x2=4x^2 = 4, x=2x = 2 (taking the value in [1,4][1,4]; x=−2x = -2 is outside).
(b) (2 points) Candidates: f(1)=1+4=5f(1) = 1 + 4 = 5, f(2)=2+2=4f(2) = 2 + 2 = 4, f(4)=4+1=5f(4) = 4 + 1 = 5. Absolute minimum value 44 at x=2x = 2; absolute maximum value 55 at x=1x = 1 and x=4x = 4.

Related dot points

Sources & how we know this