Home

Tutoring

Subjects

Live Classes

Study Coach

Essay Review

On-Demand Courses

Colleges

Games

Opening subject page...

Loading your content

  1. AP Calculus BC
  2. Using the Candidates Test to Determine Absolute (Global) Extrema

AP CALCULUS BC • ANALYTICAL APPLICATIONS OF DIFFERENTIATION

Using the Candidates Test to Determine Absolute (Global) Extrema

A systematic method for finding the largest and smallest values a continuous function attains on a closed interval.

SECTION 1

Historical Context & Motivation

Optimization—the quest to find maximum or minimum values of quantities—has been a driving force in mathematics for centuries. Long before calculus was formalized, ancient Greek geometers like Euclid and Apollonius investigated problems of maximizing areas and minimizing distances, but they lacked a general analytical framework. The development of differential calculus in the seventeenth century by Newton and Leibniz finally provided the tools needed to address optimization rigorously, yet it took further theoretical refinement to guarantee that solutions actually exist. The Candidates Test (sometimes called the Closed Interval Method) emerged from this tradition as a direct, elegant procedure for locating absolute (global) extrema of continuous functions on closed intervals, relying on the foundational Extreme Value Theorem.

1665–1676
Birth of Calculus
Newton and Leibniz independently develop the foundations of differential and integral calculus, introducing the concept of the derivative and enabling systematic study of rates of change and tangent lines.
1748
Euler's Analytical Methods
Leonhard Euler publishes Introductio in Analysin Infinitorum, advancing the function concept and analytical techniques that underpin optimization in calculus. His work formalized how derivatives identify candidate points for extreme values.
1817–1821
Bolzano and Cauchy Rigorize Continuity
Bernard Bolzano and Augustin-Louis Cauchy independently develop rigorous definitions of continuity and limits, laying the groundwork for the Extreme Value Theorem which guarantees that a continuous function on a closed interval attains its maximum and minimum.
1861
Weierstrass Proves the Extreme Value Theorem
Karl Weierstrass provides a fully rigorous proof that every continuous function on a closed, bounded interval [a, b] must achieve both an absolute maximum and an absolute minimum. This theorem is the theoretical backbone of the Candidates Test.

With the Extreme Value Theorem established, a natural question arose: given that a continuous function on [a, b] must attain a global maximum and minimum, how do we find them efficiently? The Candidates Test answers precisely this question by narrowing the search to a finite, manageable set of candidate points—the critical numbers and the endpoints of the interval.

SECTION 2

Core Principles & Definitions

The Candidates Test rests on a small but powerful chain of ideas. Before applying the method, it is essential to understand each component precisely, since a missing hypothesis—such as a function that is not continuous or an interval that is not closed—would invalidate the entire procedure. The following foundational concepts form the logical scaffolding of the test.

1

Extreme Value Theorem (EVT)

If f is continuous on a closed interval [a, b], then f attains both an absolute maximum and an absolute minimum on [a, b]. This existence guarantee is the prerequisite for the Candidates Test.
2

Critical Numbers

A number c in the domain of f is a critical number if f′(c) = 0 or if f′(c) does not exist. Absolute extrema can occur at these interior points where the derivative vanishes or fails to be defined.
3

Endpoint Evaluation

Unlike local extrema, absolute extrema may occur at the endpoints x = a and x = b even when the derivative does not change sign there. Endpoints must always be included in the candidate list.
4

Comparison of Function Values

After evaluating f at every candidate point (critical numbers and endpoints), the largest value is the absolute maximum and the smallest is the absolute minimum. No further derivative tests are needed.
✦ KEY TAKEAWAY
Think of the Candidates Test like judging a talent competition with a fixed roster. The Extreme Value Theorem guarantees that a winner (maximum) and a last-place finisher (minimum) must exist among the contestants. The critical numbers and endpoints are the only contestants eligible to appear on stage. Your job is simply to evaluate each performer's score (function value) and compare. The highest score wins, the lowest score loses—no complicated tie-breaking rules or second-derivative investigations required.
SECTION 3

Visual Explanation

The following diagram illustrates a continuous function on the closed interval [a, b] with three critical numbers labeled c₁, c₂, and c₃. Observe that the absolute maximum and absolute minimum must occur at one of the candidate points—the endpoints or the critical numbers. By evaluating f at each of these five points and comparing the resulting values, we can identify the global extrema without needing to examine any other points on the curve.

Candidates Test: Identifying Global Extrema on [a, b]xyaf(a)c₁f(c₁)c₂f(c₂)c₃f(c₃)bf(b)abs maxabs minEndpointsCritical numbers (f′=0)Abs MaxAbs Min
A continuous function on [a, b] with three critical numbers c₁, c₂, and c₃. The dashed horizontal lines mark the absolute maximum at c₃ and the absolute minimum at c₂. All five candidate points (two endpoints and three critical numbers) are evaluated and compared.

Notice that the absolute maximum in this example occurs at an interior critical number c₃ where f′(c₃) = 0, while the absolute minimum occurs at another interior critical number c₂. Neither extremum occurs at an endpoint—this is perfectly valid. In other functions, the absolute extrema might both occur at endpoints, or one at an endpoint and one at a critical number. The power of the Candidates Test is that it does not require you to predict where the extrema fall; you simply evaluate all candidates and let the largest and smallest values reveal themselves.

SECTION 4

Mathematical Framework

The Candidates Test can be expressed as a precise algorithmic procedure. Given a function f that is continuous on [a, b], the method proceeds in three stages: finding all critical numbers, evaluating the function at every candidate, and comparing values. The theoretical justification comes from combining the Extreme Value Theorem (which guarantees existence) with the fact that any interior absolute extremum must also be a local extremum, which in turn must occur at a critical number by Fermat's Theorem.

FERMAT'S THEOREM (INTERIOR EXTREMA)
If f has a local extremum at c and f′(c) exists, then f′(c) = 0.
This theorem tells us that interior extrema can only occur where the derivative is zero or where the derivative does not exist—precisely the critical numbers.
EXTREME VALUE THEOREM
If f is continuous on [a, b], then there exist c, d ∈ [a, b] such that f(c) ≤ f(x) ≤ f(d) for all x ∈ [a, b].
Here f(c) is the absolute minimum and f(d) is the absolute maximum. Both c and d must lie in the closed interval [a, b], including the possibility that c or d equals a or b.

The Candidates Test Algorithm

  1. Step 1 — Find all critical numbers. Compute f′(x) and solve f′(x) = 0; also identify any x-values in (a, b) where f′(x) does not exist. Discard any critical numbers that lie outside the open interval (a, b).
  2. Step 2 — Evaluate f at each candidate. Compute f(a), f(b), and f(c) for every critical number c found in Step 1.
  3. Step 3 — Compare. The largest of all evaluated values is the absolute maximum of f on [a, b], and the smallest is the absolute minimum.
CANDIDATES SET
Candidates = {a, b} ∪ {c ∈ (a, b) : f′(c) = 0 or f′(c) DNE}
The absolute maximum is max{f(x) : x ∈ Candidates} and the absolute minimum is min{f(x) : x ∈ Candidates}.
⚠ Common Pitfall
Students often forget to check for points where f′(x) does not exist. Functions involving absolute values, cube roots, or piecewise definitions can have critical numbers where the derivative is undefined even though the function itself is continuous. For instance, f(x) = |x − 2| is continuous everywhere but has a critical number at x = 2 where f′(2) does not exist.
SECTION 5

Step-by-Step Decision Flowchart

The following flowchart summarizes the decision process of the Candidates Test, from verifying the hypotheses through to stating the final answer. Each node represents a checkpoint or computation step. Before beginning the test, you must confirm the two prerequisites: (1) f is continuous on [a, b], and (2) the interval is closed and bounded. If either condition fails, the Extreme Value Theorem does not apply, and the Candidates Test cannot guarantee an answer.

Candidates Test FlowchartIs f continuous on [a, b]?YesStep 1: Compute f′(x)Step 2: Solve f′(x) = 0 and find where f′(x) DNE in (a, b)Step 3: List candidates = {a, b, c₁, c₂, …, cₙ}Step 4: Evaluate f at every candidate pointStep 5: Compare all valuesLargest value =Absolute MaximumSmallest value =Absolute MinimumNo → Test does not apply
Decision flowchart for the Candidates Test. The procedure begins by verifying continuity on a closed interval, then moves through derivative computation, critical number identification, function evaluation, and comparison. The two output boxes at the bottom identify the absolute maximum and minimum.
Types of candidate points in the Candidates Test
Candidate TypeHow to IdentifyWhy It's a Candidate
Endpoint x = aGiven by the intervalBoundary of domain; not subject to Fermat's Theorem
Endpoint x = bGiven by the intervalBoundary of domain; not subject to Fermat's Theorem
Stationary pointSolve f′(x) = 0 in (a, b)Horizontal tangent; derivative changes sign or has zero slope
Singular pointFind where f′(x) DNE in (a, b), but f(x) existsCusp, corner, or vertical tangent; derivative undefined but function value exists
SECTION 6

Worked Example

Let us apply the Candidates Test to find the absolute maximum and absolute minimum of f(x) = 2x³ − 3x² − 12x + 1 on the interval [−2, 3]. This polynomial is continuous everywhere, so the hypotheses of the Extreme Value Theorem are satisfied on any closed interval.

Find the absolute extrema of f(x) = 2x³ − 3x² − 12x + 1 on [−2, 3]

Step 1 — Differentiate f

Compute the derivative: f′(x) = 6x² − 6x − 12. Since f is a polynomial, f′(x) exists for all x, so the only critical numbers come from f′(x) = 0.
f′(x) = 6x² − 6x − 12

Step 2 — Find critical numbers in (−2, 3)

Set f′(x) = 0: 6x² − 6x − 12 = 0. Divide through by 6: x² − x − 2 = 0. Factor: (x − 2)(x + 1) = 0, giving x = 2 and x = −1. Both values lie in the open interval (−2, 3), so both are valid critical numbers.
Critical numbers: x = −1 and x = 2

Step 3 — Evaluate f at all candidates

The candidate set is {−2, −1, 2, 3}. Evaluate: f(−2) = 2(−8) − 3(4) − 12(−2) + 1 = −16 − 12 + 24 + 1 = −3. f(−1) = 2(−1) − 3(1) − 12(−1) + 1 = −2 − 3 + 12 + 1 = 8. f(2) = 2(8) − 3(4) − 12(2) + 1 = 16 − 12 − 24 + 1 = −19. f(3) = 2(27) − 3(9) − 12(3) + 1 = 54 − 27 − 36 + 1 = −8.
f(−2) = −3, f(−1) = 8, f(2) = −19, f(3) = −8

Step 4 — Compare and conclude

Comparing all four values: the largest is 8 and the smallest is −19. Therefore the absolute maximum of f on [−2, 3] is 8, occurring at x = −1, and the absolute minimum is −19, occurring at x = 2.
Absolute max = 8 at x = −1; Absolute min = −19 at x = 2
💡 AP Exam Tip
On free-response questions, always state the candidate set explicitly and show each function evaluation. Justifying your answer by citing the Extreme Value Theorem and showing comparisons earns full credit, whereas simply stating the maximum or minimum value without supporting work may not.
SECTION 7

Candidates Test vs. Other Extrema Methods

Calculus provides several tools for identifying extrema, and students sometimes conflate the Candidates Test with derivative tests for local extrema. It is important to understand when each method is appropriate and what conclusions each one supports. The Candidates Test is specifically designed for absolute (global) extrema on closed intervals, while the First and Second Derivative Tests address local (relative) extrema at individual critical numbers.

Comparison of extrema-finding methods in calculus
FeatureCandidates TestFirst Derivative TestSecond Derivative Test
PurposeFind absolute max and min on [a, b]Classify critical numbers as local max, local min, or neitherClassify critical numbers where f′(c) = 0 and f″(c) ≠ 0
Requires closed interval?Yes—essentialNo—works on any intervalNo—works at any interior critical number
Uses endpoints?Yes—always evaluates f(a) and f(b)No—focuses on sign changes of f′No—uses f″(c) only
Conclusion typeGlobal (absolute) extremaLocal (relative) extrema onlyLocal (relative) extrema only
LimitationsOnly applies on closed intervals with continuous functionsRequires analyzing sign of f′ on intervals around each critical numberInconclusive when f″(c) = 0; requires f″ to exist
✦ KEY TAKEAWAY
Think of the Candidates Test as a census of all possible winners, while the First and Second Derivative Tests are more like background checks on individual contestants. The Candidates Test is the right tool when the question asks for the absolute (global) extreme values on a specified closed interval, which is precisely what many AP exam problems request. If the interval is not closed, or if the function is not continuous, you must use other reasoning—often involving limits at endpoints or infinity—to investigate absolute extrema.
SECTION 8

Connections to Advanced Theory

The Candidates Test provides a complete solution for finding absolute extrema of continuous functions on closed intervals, but many real-world optimization problems do not fit neatly into this framework. In multivariable calculus, the analogous procedure uses Lagrange multipliers and examines boundary curves of closed, bounded regions in ℝ². In applied optimization within single-variable calculus, you often encounter problems on open or unbounded domains where the Extreme Value Theorem does not directly apply, requiring additional arguments—such as behavior as x → ±∞ or the sole critical point test—to verify that a local extremum is actually global.

When the Candidates Test applies and alternatives when it does not
ScenarioCandidates Test Applicable?Alternative Approach
f continuous on [a, b]Yes — ideal caseN/A
f continuous on (a, b) — open intervalNoEvaluate limits as x → a⁺ and x → b⁻; compare with critical values
f on (−∞, ∞) — unbounded domainNoAnalyze end behavior via limits; use sole critical point theorem if applicable
f has a discontinuity in [a, b]NoAnalyze one-sided limits at discontinuities; split into subintervals if possible
f(x, y) continuous on closed, bounded region in ℝ²Generalized version appliesLagrange multipliers for boundary; set ∇f = 0 for interior

For the AP Calculus BC exam, applied optimization problems frequently require you to first set up the function and interval from context, then apply the Candidates Test (or, for open domains, justify global extrema through other means). Recognizing when the Candidates Test applies—and when it does not—is itself a testable skill. In later courses such as real analysis, you will encounter the full proof of the Extreme Value Theorem using the completeness property of the real numbers, providing a deeper appreciation for why the closed-interval hypothesis is non-negotiable.

SECTION 9

Practice Problems

PROBLEM 1 — CONCEPTUAL
Which of the following is a necessary hypothesis for the Candidates Test to guarantee the existence of absolute extrema of f on an interval I?
PROBLEM 2 — BASIC CALCULATION
Find the absolute maximum value of f(x) = x³ − 6x² + 9x + 2 on [0, 4].
PROBLEM 3 — INTERMEDIATE
Let g(x) = x²ᐟ³(x − 5) on the interval [−1, 8]. What is the absolute minimum value of g on [−1, 8]?
PROBLEM 4 — APPLIED
A manufacturing company determines that the cost (in thousands of dollars) of producing x units of a product on a given day is modeled by C(x) = x³ − 12x² + 48x + 10 for 1 ≤ x ≤ 8, where x is measured in hundreds of units. (a) Find all critical numbers of C on the interval (1, 8). (b) Use the Candidates Test to find the absolute minimum cost and the production level at which it occurs. (c) Find the absolute maximum cost on [1, 8] and explain its practical significance. (d) Justify why the Candidates Test is valid for this problem.
PROBLEM 5 — CRITICAL THINKING
Consider f(x) = sin(x) + cos(x) on the interval [0, 2π]. (a) Find all critical numbers of f in (0, 2π). (b) Use the Candidates Test to determine the absolute maximum and absolute minimum values of f on [0, 2π]. (c) Express the absolute maximum value in exact simplified form and identify all x-values where each extremum occurs.
SUMMARY

Summary

The Candidates Test is a systematic method for finding the absolute (global) maximum and absolute (global) minimum of a continuous function on a closed interval [a, b]. Its validity rests on the Extreme Value Theorem, which guarantees that such extrema exist. The procedure has three steps: (1) find all critical numbers in the open interval (a, b) by solving f′(x) = 0 and identifying where f′(x) does not exist; (2) evaluate f at each critical number and at both endpoints; and (3) compare all values to identify the largest and smallest.

This method is distinct from the First Derivative Test and Second Derivative Test, which classify local (relative) extrema at individual critical numbers. The Candidates Test is the go-to strategy whenever an AP problem asks for absolute extrema on a closed interval, and it requires no sign charts or second derivatives—just careful evaluation and comparison. Remember: if the interval is not closed, or if f is not continuous, the Extreme Value Theorem does not apply, and you must use alternative reasoning to determine whether absolute extrema exist and where they occur.

Varsity Tutors • AP Calculus BC • Using the Candidates Test to Determine Absolute (Global) Extrema