Home

Tutoring

Subjects

Live Classes

Study Coach

Essay Review

On-Demand Courses

Colleges

Games

Opening subject page...

Loading your content

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

AP CALCULUS AB • ANALYTICAL APPLICATIONS OF DIFFERENTIATION

Using the Candidates Test to Determine Absolute (Global) Extrema

A systematic method for finding the highest and lowest values a function attains on a closed interval.

SECTION 1

Historical Context & Motivation

The search for maximum and minimum values of functions is one of the oldest motivations in all of calculus. Long before formal derivative notation existed, mathematicians grappled with optimization problems—finding the shortest path, the largest enclosed area, or the most efficient design. The Candidates Test (sometimes called the Closed Interval Method) represents the elegant culmination of centuries of mathematical development, providing a guaranteed procedure for locating absolute (global) extrema on a closed interval. Its theoretical foundation rests on two cornerstones: the Extreme Value Theorem and Fermat's Theorem on interior extrema.

1629
Fermat's Method of Adequality
Pierre de Fermat developed an early technique for finding maxima and minima by comparing function values at nearby points—a precursor to setting the derivative equal to zero.
1684
Leibniz Publishes Differential Calculus
Gottfried Wilhelm Leibniz formalized the notation and rules for differentiation, giving mathematicians a systematic tool for identifying where rates of change vanish.
1821
Cauchy Formalizes Continuity and Limits
Augustin-Louis Cauchy rigorously defined 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 provided a rigorous proof that every continuous function on a closed, bounded interval [a, b] must attain both an absolute maximum and an absolute minimum—the theoretical guarantee that makes the Candidates Test work.

These developments converge in a single practical question: given that we know a continuous function on [a, b] must achieve its absolute maximum and minimum somewhere, how do we actually find them? The Candidates Test answers this question by reducing an infinite search—checking every point in an interval—to a finite list of candidate points where those extreme values can occur.

SECTION 2

Core Principles & Definitions

Before applying the Candidates Test, you must clearly understand the distinction between local and global extrema, the role of critical numbers, and the prerequisites that make the method valid. The test applies exclusively to functions that are continuous on a closed interval [a, b]. If either condition fails—if the function has a discontinuity or the interval is open—the Extreme Value Theorem no longer guarantees that absolute extrema exist, and the Candidates Test may not yield correct results.

1

Absolute (Global) Extrema

The absolute maximum of f on [a, b] is the largest value f(c) such that f(c) ≥ f(x) for all x in [a, b]. The absolute minimum is the smallest such value. These are guaranteed to exist by the Extreme Value Theorem.
2

Critical Numbers

A number c in the interior of [a, b] is a critical number of f if f′(c) = 0 or f′(c) does not exist. By Fermat's Theorem, any interior point where f attains a local extremum must be a critical number.
3

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 theoretical backbone of the Candidates Test.
4

Endpoints as Candidates

Even if f′ exists and is nonzero at an endpoint, the endpoint can still be an absolute extremum. The boundary of the interval constrains the domain, so endpoints must always be checked.
✦ KEY TAKEAWAY
Think of the Candidates Test like finding the tallest and shortest person in a fenced yard. Because the fence (the closed interval) keeps everyone inside, you know the tallest and shortest people must be somewhere in the yard. Rather than measuring everyone, you narrow your search: check the people standing at the gates (endpoints) and anyone standing at a hilltop or valley floor inside (critical numbers). The tallest among these candidates is your absolute max; the shortest is your absolute min.
SECTION 3

Visual Explanation

The following diagram illustrates the Candidates Test applied to a continuous function on the closed interval [a, b]. Notice how the absolute maximum and minimum occur either at endpoints or at interior critical numbers. The function may have several local extrema, but only the largest and smallest function values among all candidates qualify as the global extrema.

Candidates Test: Identifying Absolute Extrema on [a, b]xyaf(a)local maxc₁local minc₂ABSOLUTE MAXc₃bf(b)= Absolute Max (largest f-value)= Endpoint= Critical Number (f′ = 0)
A continuous function on [a, b] with three interior critical numbers c₁, c₂, and c₃. The Candidates Test evaluates f at each critical number and at both endpoints, then compares all values. Here, the absolute maximum occurs at c₃ (an interior critical number) and the absolute minimum would be the smallest among f(a), f(c₁), f(c₂), f(c₃), and f(b).

In the diagram above, observe that the absolute maximum does not occur at an endpoint—it happens at the interior critical number c₃. This illustrates a crucial lesson: you cannot assume endpoints are always the answer, nor can you assume the largest local maximum is automatically the global maximum without also checking endpoints. The Candidates Test eliminates guesswork by requiring you to evaluate f at every candidate and then compare.

SECTION 4

Mathematical Framework

The Candidates Test rests on two theorems working in concert. The Extreme Value Theorem guarantees existence, and Fermat's Theorem constrains location. Together they reduce an infinite problem to a finite one. Below is the formal statement of each theorem and the algorithm that results from their combination.

EXTREME VALUE THEOREM
If f is continuous on [a, b], then ∃ c, d ∈ [a, b] such that f(c) ≤ f(x) ≤ f(d) for all x ∈ [a, b].
f(c) is the absolute minimum and f(d) is the absolute maximum. Continuity on a closed interval is essential; the theorem fails on open intervals or for discontinuous functions.
FERMAT'S THEOREM
If f has a local extremum at an interior point c and f′(c) exists, then f′(c) = 0.
The contrapositive is equally important: if f′(c) ≠ 0, then f cannot have a local extremum at c. However, the converse is false—f′(c) = 0 does not guarantee a local extremum (consider f(x) = x³ at x = 0).

The Candidates Test Algorithm

  1. Step 1: Verify that f is continuous on the closed interval [a, b].
  2. Step 2: Find all critical numbers of f in the open interval (a, b). These are values c where f′(c) = 0 or f′(c) does not exist.
  3. Step 3: Evaluate f at each critical number and at both endpoints a and b.
  4. Step 4: Compare all function values. The largest is the absolute maximum; the smallest is the absolute minimum.
CRITICAL NUMBER CONDITION
c is a critical number of f ⟺ f′(c) = 0 or f′(c) does not exist
Only critical numbers in the open interval (a, b) are considered. Critical numbers outside the interval are irrelevant to the analysis on [a, b].
⚠ Common Pitfall
Students often forget to check endpoints or mistakenly exclude critical numbers where f′ does not exist (such as cusps or corners). Remember: a function can be continuous at a point where it is not differentiable, and such points are valid critical numbers. For example, f(x) = |x| is continuous at x = 0 but f′(0) does not exist, making x = 0 a critical number.
SECTION 5

Decision Flowchart & Classification of Extrema

A systematic flowchart can help you determine the correct approach when asked to find absolute extrema. The decision depends on two factors: whether the domain is a closed interval and whether the function is continuous on that interval. When both conditions are satisfied, the Candidates Test is the appropriate tool. When either fails, alternative methods—such as limit analysis or the First/Second Derivative Tests on open intervals—are required.

Decision Flowchart: Finding Absolute ExtremaFind absolute extrema of fIs the domain a closed interval [a, b]?NOYESCandidates Test does NOT apply.Use limits at boundaries/infinity.Is f continuous on [a, b]?NOYESEVT not guaranteed.Analyze discontinuities separately.Apply Candidates Test(EVT guarantees extrema exist)Steps:1.Find all critical numbers c in (a, b)2.Evaluate f(a), f(c₁), f(c₂), ..., f(b)3.Largest value = absolute max4.Smallest value = absolute min
A decision flowchart for determining whether the Candidates Test applies. The green path leads to application of the test when both conditions—closed interval and continuity—are met. The red paths indicate situations requiring alternative analysis.
Types of critical numbers encountered in the Candidates Test
Type of Critical NumberConditionExample
Stationary Pointf′(c) = 0f(x) = x² − 4x: f′(x) = 2x − 4 = 0 at x = 2
Corner / Cuspf′(c) does not exist (DNE)f(x) = |x − 3|: f′(3) DNE (corner at x = 3)
Vertical Tangentf′(c) DNE (infinite slope)f(x) = x^(1/3): f′(0) DNE (vertical tangent)
SECTION 6

Worked Example

Let us apply the Candidates Test to find the absolute maximum and absolute minimum of f(x) = 2x³ − 3x² − 12x + 5 on the closed interval [−2, 4]. This polynomial is continuous everywhere, so the Extreme Value Theorem guarantees that absolute extrema exist on this interval.

Candidates Test for f(x) = 2x³ − 3x² − 12x + 5 on [−2, 4]

Step 1 — Verify Continuity

The function f(x) = 2x³ − 3x² − 12x + 5 is a polynomial, so it is continuous on all of ℝ, and in particular on [−2, 4]. The Candidates Test applies.

Step 2 — Find the Derivative

Differentiate using the power rule: f′(x) = 6x² − 6x − 12. Factor out the common factor of 6: f′(x) = 6(x² − x − 2) = 6(x − 2)(x + 1).
f′(x) = 6(x − 2)(x + 1)

Step 3 — Find Critical Numbers in (−2, 4)

Set f′(x) = 0: 6(x − 2)(x + 1) = 0 gives x = 2 and x = −1. Both values lie in the open interval (−2, 4), so both are critical numbers. Since f′ exists everywhere (polynomial), there are no critical numbers where f′ does not exist.
Critical numbers: x = −1 and x = 2

Step 4 — Evaluate f at All Candidates

The candidate list is {−2, −1, 2, 4}. Compute each: f(−2) = 2(−8) − 3(4) − 12(−2) + 5 = −16 − 12 + 24 + 5 = 1. Then f(−1) = 2(−1) − 3(1) − 12(−1) + 5 = −2 − 3 + 12 + 5 = 12. Next f(2) = 2(8) − 3(4) − 12(2) + 5 = 16 − 12 − 24 + 5 = −15. Finally f(4) = 2(64) − 3(16) − 12(4) + 5 = 128 − 48 − 48 + 5 = 37.
f(−2) = 1, f(−1) = 12, f(2) = −15, f(4) = 37

Step 5 — Compare and Conclude

Comparing all candidate values: the largest is 37 and the smallest is −15. Therefore, the absolute maximum of f on [−2, 4] is 37, occurring at x = 4 (a right endpoint), and the absolute minimum is −15, occurring at x = 2 (an interior critical number).
Absolute maximum: f(4) = 37; Absolute minimum: f(2) = −15
💡 Exam Tip
On the AP exam, always organize your candidate values in a table format to clearly show the comparison. Graders can quickly verify your work, and you are less likely to make arithmetic errors. State your final answer explicitly: "The absolute maximum value is ___ at x = ___, and the absolute minimum value is ___ at x = ___." Do not simply list the function values without a conclusion.
SECTION 7

Candidates Test vs. Other Extremum Methods

The Candidates Test is one of several methods for analyzing extrema. Understanding when to use each method is essential for the AP exam. The key differentiator is the type of domain and whether you need to identify local or global extrema. The Candidates Test is uniquely designed for global extrema on closed intervals, whereas the First and Second Derivative Tests classify local extrema.

Comparison of extremum-finding methods in AP Calculus AB
MethodDomain RequirementWhat It FindsLimitations
Candidates TestClosed interval [a, b]; f continuousAbsolute (global) max and minCannot be used on open intervals or for functions with discontinuities
First Derivative TestAny interval; f continuous near cLocal max or min at a single critical numberDoes not directly determine global extrema; requires sign analysis
Second Derivative TestAny interval; f″(c) must existLocal max or min at a single critical numberInconclusive when f″(c) = 0; does not find global extrema
✦ KEY TAKEAWAY
The Candidates Test is like running a tournament where every competitor (critical number and endpoint) enters and the one with the best score wins—you compare all values directly. The First and Second Derivative Tests are more like scouting reports: they tell you whether a particular competitor is a local champion, but they don't tell you who wins the global title. When the AP exam asks for absolute extrema on a closed interval, the Candidates Test is almost always the most efficient and expected approach.
SECTION 8

Connections to Optimization & Beyond

The Candidates Test is your gateway to the broader topic of optimization, which appears in both free-response and multiple-choice sections of the AP Calculus AB exam. In applied optimization problems, you typically model a real-world quantity as a function, identify the feasible domain (which is often a closed interval determined by physical constraints), and then apply the Candidates Test to find the optimal value. The method also connects to more advanced topics in multivariable calculus, where the analogous procedure involves Lagrange multipliers and boundary analysis on compact sets.

How the Candidates Test generalizes in more advanced coursework
AP Calculus AB (This Course)AP Calculus BC / Multivariable
Candidates Test on closed interval [a, b]Evaluate f on boundary of a region + interior critical points
Critical numbers where f′(c) = 0 or f′(c) DNECritical points where ∇f = 0 or ∇f DNE
Extreme Value Theorem (continuous, closed interval)Extreme Value Theorem generalized (continuous, compact set)
Applied optimization with single-variable modelsLagrange multipliers for constrained optimization

On the AP Calculus AB exam, you should expect to encounter the Candidates Test both directly ("find the absolute maximum of f on [a, b]") and embedded within applied optimization problems where you first construct the function and determine its domain. The most common free-response optimization questions ask you to maximize or minimize a quantity such as area, volume, cost, or distance, and the final step almost always involves comparing candidate values. Mastering this procedure now provides a strong foundation for constrained optimization in higher mathematics.

SECTION 9

Practice Problems

PROBLEM 1 — CONCEPTUAL
A student claims that because f′(c) = 0 at some point c in (a, b), the function f must have an absolute extremum at x = c on the interval [a, b]. Which of the following best explains why this reasoning is flawed?
PROBLEM 2 — BASIC CALCULATION
Find the absolute maximum and absolute minimum values of f(x) = x² − 6x + 10 on the interval [0, 5].
PROBLEM 3 — INTERMEDIATE
Let g(x) = x²ᐟ³(x − 5) on the interval [−1, 8]. What is the absolute minimum value of g on this interval?
PROBLEM 4 — APPLIED
A manufacturer determines that the profit (in thousands of dollars) from producing x hundred units of a product is modeled by P(x) = −2x³ + 15x² − 36x + 28 for 1 ≤ x ≤ 5. Using the Candidates Test, determine the production level that maximizes profit and state the maximum profit. (a) Find all critical numbers of P in (1, 5). (b) Evaluate P at each candidate. (c) State the absolute maximum profit and the production level at which it occurs. (d) Interpret your answer in context.
PROBLEM 5 — CRITICAL THINKING
Let f be a continuous function on [0, 6] with f(0) = 3 and f(6) = 3. Suppose f has exactly two critical numbers in (0, 6): x = 2 where f(2) = 7, and x = 4 where f(4) = 1. (a) Use the Candidates Test to determine the absolute maximum and absolute minimum of f on [0, 6]. (b) Is it possible that f has a local minimum at x = 2? Justify your answer. (c) Explain why the Candidates Test works even though we do not know an explicit formula for f.
SUMMARY

Summary

The Candidates Test provides a guaranteed method for finding absolute (global) extrema of a continuous function on a closed interval [a, b]. The procedure has four steps: verify continuity on [a, b], find all critical numbers in (a, b) where f′(c) = 0 or f′(c) does not exist, evaluate f at each critical number and at both endpoints, and compare all values. The largest is the absolute maximum; the smallest is the absolute minimum.

This method is grounded in the Extreme Value Theorem (which guarantees existence) and Fermat's Theorem (which constrains location). Unlike the First and Second Derivative Tests, which classify local extrema, the Candidates Test directly identifies global extrema—making it the preferred approach whenever the AP exam asks for absolute maximum or minimum values on a closed interval. Remember: always check endpoints, always check every type of critical number (stationary points, corners, cusps), and always state your conclusion clearly.

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