How to Determine Extrema using Candidates Test

What You Need to Know

What this is (and why AP loves it)

The Candidates Test (often called the Closed Interval Method) is your go-to process for finding absolute maximum and absolute minimum values of a function on a closed interval [a,b][a,b].

AP Calculus AB loves this because it’s:

  • Algorithmic (clear steps)
  • Based on big theorems (especially the Extreme Value Theorem)
  • Full of common traps (endpoints, undefined derivative, domain issues)
Core idea (the rule you’re using)

If ff is **continuous** on a **closed interval** [a,b][a,b], then:

  • ff **must** attain an **absolute maximum** and **absolute minimum** somewhere on [a,b][a,b].
  • Those absolute extrema can only occur at:
    1. Endpoints: x=ax=a or x=bx=b
    2. Critical numbers in (a,b)(a,b) where:
    • f(x)=0f'(x)=0, or
    • f(x)f'(x) **does not exist** (but f(x)f(x) is defined)

That list (endpoints + critical numbers) gives you the candidates.

When to use it

Use the Candidates Test when a problem asks for:

  • Absolute max/min on an interval (especially a closed interval [a,b][a,b])
  • “Find the maximum value” / “minimum value” on a given domain
  • Optimization problems after you create an objective function and an interval

Critical reminder: The guarantee (that absolute extrema exist) relies on continuity on [a,b][a,b]. You can still try the method when discontinuous, but you must check whether an absolute extremum actually exists.


Step-by-Step Breakdown

The Candidates Test algorithm
  1. Confirm the interval and domain

    • Identify the interval: usually [a,b][a,b].
    • Ensure ff is defined on the entire interval.
    • If the problem implies “absolute extrema,” check continuity (or be cautious if not continuous).
  2. Compute the derivative

    • Find f(x)f'(x).
  3. Find critical numbers in the open interval (a,b)(a,b)

    • Solve f(x)=0f'(x)=0.
    • Also find where f(x)f'(x) does not exist.
    • Keep only points where ff is defined and x(a,b)x \in (a,b).
  4. Create the candidate list

    • Candidates = {endpoints a,ba,b} ∪ {critical numbers in (a,b)(a,b)}.
  5. Evaluate ff at every candidate

    • Compute f(a)f(a), f(b)f(b), and f(c)f(c) for each critical number cc.
  6. Compare values and conclude

    • Largest value = absolute maximum value.
    • Smallest value = absolute minimum value.
    • State both the value and the location (where it occurs).
Mini worked walkthrough (template)

Suppose you’re asked: “Find absolute extrema of f(x)f(x) on [a,b][a,b].”

  • Step 1: Domain/continuity check on [a,b][a,b].
  • Step 2: Compute f(x)f'(x).
  • Step 3: Solve f(x)=0f'(x)=0 and include derivative-undefined points.
  • Step 4: Candidates = endpoints + interior critical numbers.
  • Step 5: Evaluate ff at candidates.
  • Step 6: Compare values → pick biggest/smallest.

Decision point: If the interval is open like (a,b)(a,b), you **do not** automatically include endpoints. Instead, you may need to analyze limits as xa+x \to a^+ and xbx \to b^- to see if extrema exist.


Key Formulas, Rules & Facts

Must-know facts (high yield)
  • Absolute maximum/minimum: compares to all values in the interval.
  • Local maximum/minimum: compares only to nearby values.
  • Critical number cc (interior point): f(c)=0f'(c)=0 or f(c)f'(c) DNE, with f(c)f(c) defined.
Theorems you’re implicitly using
Fact / TheoremWhat it saysWhy it matters here
Extreme Value Theorem (EVT)If ff is continuous on [a,b][a,b], then ff attains an absolute max and min on [a,b][a,b]Guarantees your candidates test will actually find real absolute extrema
Fermat’s Theorem (necessary condition)If ff has a local extremum at an interior point cc and is differentiable there, then f(c)=0f'(c)=0Explains why you solve f(x)=0f'(x)=0 to find possible extrema
Candidates Test summary table
ItemWhat to computeKeep it if…Notes
Endpointsf(a),f(b)f(a), f(b)always (for [a,b][a,b])Endpoints can hold absolute extrema even if not critical
Stationary pointsSolve f(x)=0f'(x)=0x(a,b)x \in (a,b) and f(x)f(x) definedThese are flat/level tangent candidates
Nondifferentiable pointsWhere f(x)f'(x) DNEx(a,b)x \in (a,b) and f(x)f(x) definedCusps/corners/vertical tangents can be extrema
Important edge-case rules
  • If ff is **not continuous** on [a,b][a,b], absolute extrema might not exist, even if you find critical points.
  • If ff is continuous on [a,b][a,b] but f(x)f'(x) is undefined at some interior point, that point is still a valid candidate.
  • If a derivative-undefined point is also where ff is undefined (like a vertical asymptote), it is **not** a candidate because f(c)f(c) doesn’t exist.

Examples & Applications

Example 1: Standard polynomial on a closed interval

Find absolute extrema of f(x)=x33x2+1f(x)=x^3-3x^2+1 on [0,3][0,3].

  1. Derivative: f(x)=3x26x=3x(x2)f'(x)=3x^2-6x=3x(x-2)
  2. Critical numbers: f(x)=0x=0,2f'(x)=0 \Rightarrow x=0,2
    • Only interior critical numbers matter for this step: x=2x=2 is in (0,3)(0,3). (Endpoint x=0x=0 will be included anyway.)
  3. Candidates: x=0,2,3x=0,2,3
  4. Evaluate:
    • f(0)=1f(0)=1
    • f(2)=812+1=3f(2)=8-12+1=-3
    • f(3)=2727+1=1f(3)=27-27+1=1
  5. Compare values:
    • Absolute minimum value is 3-3 at x=2x=2.
    • Absolute maximum value is 11 at x=0x=0 and x=3x=3.

AP-style conclusion: “The absolute minimum value is 3-3 at x=2x=2. The absolute maximum value is 11 at x=0x=0 and x=3x=3.”


Example 2: Derivative undefined but function defined (corner/cusp)

Find absolute extrema of f(x)=x1f(x)=|x-1| on [1,3][-1,3].

  1. f(x)f'(x) does not exist at x=1x=1 (cusp), but f(1)=0f(1)=0 exists.
  2. Candidates: endpoints and cusp point: x=1,1,3x=-1,1,3
  3. Evaluate:
    • f(1)=2=2f(-1)=|-2|=2
    • f(1)=0=0f(1)=|0|=0
    • f(3)=2=2f(3)=|2|=2
  4. Conclusions:
    • Absolute minimum value is 00 at x=1x=1.
    • Absolute maximum value is 22 at x=1x=-1 and x=3x=3.

Key takeaway: Extrema can happen where f(x)f'(x) DNE (corners/cusps), so you must include them.


Example 3: Rational function—watch the domain and interval

Find absolute extrema of f(x)=xx2+1f(x)=\dfrac{x}{x^2+1} on [2,2][-2,2].

  1. Domain: x2+1>0x^2+1>0 always, so ff is continuous on [2,2][-2,2].
  2. Derivative (quotient rule):
    f(x)=(x2+1)1x(2x)(x2+1)2=1x2(x2+1)2f'(x)=\dfrac{(x^2+1)\cdot 1 - x\cdot (2x)}{(x^2+1)^2}=\dfrac{1-x^2}{(x^2+1)^2}
  3. Critical numbers: f(x)=01x2=0x=±1f'(x)=0 \Rightarrow 1-x^2=0 \Rightarrow x=\pm 1
  4. Candidates: x=2,1,1,2x=-2,-1,1,2
  5. Evaluate:
    • f(2)=25=0.4f(-2)=\dfrac{-2}{5}=-0.4
    • f(1)=12=0.5f(-1)=\dfrac{-1}{2}=-0.5
    • f(1)=12=0.5f(1)=\dfrac{1}{2}=0.5
    • f(2)=25=0.4f(2)=\dfrac{2}{5}=0.4
  6. Conclusions:
    • Absolute minimum value is 12-\dfrac{1}{2} at x=1x=-1.
    • Absolute maximum value is 12\dfrac{1}{2} at x=1x=1.

Key takeaway: When continuous on [a,b][a,b], evaluating candidates is enough—no need for sign charts unless asked.


Example 4: Discontinuous on a closed interval (no guarantee!)

Consider f(x)=1x1f(x)=\dfrac{1}{x-1} on [0,2][0,2]. “Find the absolute extrema.”

  • Problem: ff is **not defined** at x=1x=1, so it’s not continuous on [0,2][0,2].
  • As x1x \to 1^-, f(x)f(x) \to -\infty, and as x1+x \to 1^+, f(x)+f(x) \to +\infty.
  • Even though you can compute endpoint values:
    • f(0)=1f(0)=-1
    • f(2)=1f(2)=1
  • There is no absolute minimum (it goes to -\infty) and **no absolute maximum** (it goes to ++\infty).

Exam insight: If discontinuity/vertical asymptote occurs inside the interval, be ready to say “no absolute max/min” and justify with limiting behavior.


Common Mistakes & Traps

  1. Forgetting endpoints

    • What happens: You solve f(x)=0f'(x)=0 and pick the biggest/smallest from those points only.
    • Why wrong: Absolute extrema on [a,b][a,b] often occur at aa or bb.
    • Fix: Always include x=ax=a and x=bx=b as candidates for a closed interval.
  2. Including points not in the interval

    • What happens: You find critical numbers, then evaluate all of them even if they’re outside [a,b][a,b].
    • Why wrong: Extrema are only being asked on that interval.
    • Fix: After solving, filter: keep only cc with c(a,b)c \in (a,b).
  3. Treating “derivative undefined” as automatic disqualification

    • What happens: You ignore cusps/corners/vertical tangents.
    • Why wrong: Absolute extrema can occur where f(c)f'(c) DNE as long as f(c)f(c) exists.
    • Fix: Check points where f(x)f'(x) DNE and test them as candidates.
  4. Calling every critical point an extremum without comparing values

    • What happens: You find f(c)=0f'(c)=0 and declare “max” or “min.”
    • Why wrong: Critical points can be neither (example: inflection point with horizontal tangent).
    • Fix: For absolute extrema, you must evaluate ff at all candidates and compare.
  5. Missing domain restrictions (especially rational, root, log functions)

    • What happens: You include candidates where ff isn’t defined.
    • Why wrong: If f(c)f(c) doesn’t exist, it can’t be an extremum value.
    • Fix: Domain-check first; only keep candidates where f(c)f(c) is defined.
  6. Assuming absolute extrema exist on an open interval (a,b)(a,b)

    • What happens: You use the same endpoint-including method.
    • Why wrong: Endpoints aren’t included; extrema might not occur (e.g., maximum approached but never reached).
    • Fix: For open intervals, you usually need critical points and boundary-limit analysis.
  7. Rounding too early and choosing the wrong “largest” value

    • What happens: You approximate values and comparisons get sloppy.
    • Why wrong: Two candidate values can be close.
    • Fix: Keep exact values (fractions/radicals) until the final comparison when possible.
  8. Not stating both location and value

    • What happens: You write “absolute max at x=2x=2” but don’t give the max value.
    • Why wrong: AP often wants the point (where) and the value.
    • Fix: Write: “Absolute maximum value is f(2)=f(2)=\dots at x=2x=2.”

Memory Aids & Quick Tricks

Trick / MnemonicWhat it helps you rememberWhen to use it
E + C + E = Endpoints + Critical + EvaluateThe entire Candidates Test in one lineAny absolute extrema on [a,b][a,b] problem
“Critical means: 00 or DNE”Critical numbers come from f(x)=0f'(x)=0 or f(x)f'(x) DNEWhen building your candidate list
EVT check: “Closed + Continuous ⇒ Extrema exist”You’re allowed to expect an absolute max/minBefore you start comparing candidates
Candidate list first, labels lastDon’t try to name “max/min” until after comparing all ff-valuesPrevents false declarations

Quick efficiency tip: If the problem only asks for the absolute maximum value, you still must check all candidates—an interior critical point could beat an endpoint.


Quick Review Checklist

  • [ ] Interval is identified (usually [a,b][a,b]) and domain makes sense on it.
  • [ ] If needed, you note EVT: ff continuous on [a,b][a,b] ⇒ absolute max/min exist.
  • [ ] Compute f(x)f'(x).
  • [ ] Solve f(x)=0f'(x)=0 for interior points in (a,b)(a,b).
  • [ ] Find where f(x)f'(x) DNE (but f(x)f(x) exists) in (a,b)(a,b).
  • [ ] Candidates = endpoints + interior critical numbers.
  • [ ] Evaluate ff at every candidate.
  • [ ] Largest value ⇒ absolute max; smallest value ⇒ absolute min.
  • [ ] State both the value and where it occurs.

You’ve got this—if you always check endpoints and compare candidate values carefully, these problems become automatic.