How to Determine Extrema using Candidates Test

What You Need to Know

Why this matters

The Candidates Test is your go-to, reliable method for finding absolute (global) maxima/minima of a function on a closed interval. On AP Calc, it shows up constantly in FRQs and MC because it’s systematic and hard to mess up if you follow the checklist.

Core idea (the theorem-level statement)

If ff is **continuous** on a closed interval [a,b][a,b], then by the **Extreme Value Theorem (EVT)**, ff attains an **absolute maximum** and **absolute minimum** somewhere in [a,b][a,b].

The Candidates Test tells you where to look:

  • Endpoints: x=ax=a and x=bx=b
  • Critical numbers in (a,b)(a,b): where f(x)=0f'(x)=0 or f(x)f'(x) **does not exist** (but ff does)

Then you evaluate ff at all candidates; the largest value is the absolute max and the smallest value is the absolute min.

Key definitions (you need these precise)
  • Absolute maximum on [a,b][a,b]: a point x=cx=c in [a,b][a,b] such that f(c)f(x)f(c) \ge f(x) for all x[a,b]x \in [a,b].
  • Absolute minimum on [a,b][a,b]: a point x=cx=c in [a,b][a,b] such that f(c)f(x)f(c) \le f(x) for all x[a,b]x \in [a,b].
  • Critical number: a value cc in the **domain** of ff where f(c)=0f'(c)=0 or f(c)f'(c) is undefined.

Big warning: EVT (and thus the guarantee that absolute extrema exist) requires continuity on a closed interval. If the interval is open or the function is discontinuous, absolute extrema may not exist.

When you use the Candidates Test

Use it when the problem asks for:

  • Absolute max/min on a closed interval [a,b][a,b]
  • “Find the maximum/minimum value of ff on [a,b][a,b]
  • Optimization restricted to a domain like 0x50 \le x \le 5

It’s also a great fallback when you’re unsure whether a “peak” is local or absolute.


Step-by-Step Breakdown

The Candidates Test algorithm (absolute extrema on [a,b][a,b])
  1. Check the setup

    • Make sure you’re working on a closed interval [a,b][a,b].
    • Ensure ff is **continuous** on [a,b][a,b] (common in AP problems; still check for piecewise, radicals, denominators).
  2. Compute the derivative

    • Find f(x)f'(x) (or use a given derivative/graph/table).
  3. Find interior critical numbers

    • Solve f(x)=0f'(x)=0 for x(a,b)x \in (a,b).
    • Find where f(x)f'(x) **does not exist** (corners, cusps, vertical tangents, discontinuities in ff') and keep those xx values if ff is defined there and they lie in (a,b)(a,b).
  4. List all candidates

    • Include endpoints: aa and bb.
    • Include all critical numbers in (a,b)(a,b).
  5. Evaluate ff at each candidate

    • Compute values f(a),f(b),f(c1),f(c2),f(a), f(b), f(c_1), f(c_2), \dots.
  6. Compare values

    • Biggest function value \rightarrow absolute maximum value.
    • Smallest function value \rightarrow absolute minimum value.
  7. State your answer clearly

    • Give both the x-location(s) and the value(s).
    • If multiple points tie, say so.

Decision point: If the question is about absolute extrema, you must compare function values (not just derivative signs).

Mini worked walkthrough (annotated)

Find absolute extrema of f(x)=x33xf(x)=x^3-3x on [2,2][-2,2].

  1. Closed interval [2,2][-2,2] and polynomial \Rightarrow continuous.
  2. f(x)=3x23=3(x21)f'(x)=3x^2-3=3(x^2-1).
  3. Critical numbers: f(x)=0x=±1f'(x)=0 \Rightarrow x=\pm 1 (both in (2,2)(-2,2)).
  4. Candidates: x=2,1,1,2x=-2,-1,1,2.
  5. Evaluate:
    • f(2)=8+6=2f(-2)=-8+6=-2
    • f(1)=1+3=2f(-1)=-1+3=2
    • f(1)=13=2f(1)=1-3=-2
    • f(2)=86=2f(2)=8-6=2
  6. Compare: max value 22 at x=1,2x=-1,2; min value 2-2 at x=2,1x=-2,1.

Key Formulas, Rules & Facts

Candidates Test essentials
ItemWhat to doNotes / AP-style wording
Extreme Value Theorem (EVT)If ff is continuous on [a,b][a,b], then absolute max/min exist on [a,b][a,b]Guarantees existence, not location
Candidates Test (absolute extrema)Check x=ax=a, x=bx=b, and critical numbers in (a,b)(a,b)Then compare ff-values
Critical number definitioncc is critical if f(c)=0f'(c)=0 or f(c)f'(c) DNE, with cc in the domain of ffYou must confirm f(c)f(c) exists
Fermat’s Theorem (interior local extrema)If ff has a local max/min at interior cc and ff' exists at cc, then f(c)=0f'(c)=0Explains why you solve f(x)=0f'(x)=0
What counts as “f(x)f'(x) does not exist” (common sources)
  • Corner in piecewise/absolute value: left and right derivatives differ.
  • Cusp: slopes blow up with opposite signs.
  • Vertical tangent: derivative infinite/undefined but function may be continuous.
  • Derivative discontinuity: often piecewise-defined derivatives.

Reminder: A point where ff is not defined is not a critical number (because critical numbers must be in the domain).

Local vs absolute (don’t mix them)
  • Local extrema: compare nearby values; can happen at critical numbers.
  • Absolute extrema on [a,b][a,b]: compare against every point in interval.
  • A local max might not be the absolute max if an endpoint is higher.
Graph/table version of Candidates Test

If you’re given a graph of ff' or a table:

  • Candidates still come from:
    • endpoints
    • where f(x)=0f'(x)=0 (x-intercepts of ff')
    • where ff' is undefined
  • To compare absolute extrema you still need function values:
    • from a table of ff
    • by integrating: f(x)=f(x0)+x0xf(t)dtf(x)=f(x_0)+\int_{x_0}^{x} f'(t)\,dt if ff' is given and an initial value is provided

Examples & Applications

Example 1: Absolute extrema on a closed interval (classic)

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

  • f(x)=2x4f'(x)=2x-4
  • Critical number: 2x4=0x=22x-4=0 \Rightarrow x=2 (in interval)
  • Candidates: x=0,2,5x=0,2,5
  • Evaluate:
    • f(0)=1f(0)=1
    • f(2)=48+1=3f(2)=4-8+1=-3
    • f(5)=2520+1=6f(5)=25-20+1=6
  • Absolute min value 3-3 at x=2x=2; absolute max value 66 at x=5x=5.

Exam angle: Quadratic has a vertex, but the endpoint can still win for max.

Example 2: Derivative undefined at a corner (must include!)

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

  • ff is continuous on [1,3][-1,3].
  • ff' is undefined at x=1x=1 (corner), so x=1x=1 is a critical number.
  • Candidates: x=1,1,3x=-1,1,3
  • Evaluate:
    • f(1)=2+2=4f(-1)=|-2|+2=4
    • f(1)=0+2=2f(1)=|0|+2=2
    • f(3)=2+2=4f(3)=|2|+2=4
  • Absolute min value 22 at x=1x=1; absolute max value 44 at x=1,3x=-1,3.

Exam angle: If you only solve f(x)=0f'(x)=0 you miss the corner completely.

Example 3: Restricted domain + interior critical point

Find absolute extrema of f(x)=x(4x)f(x)=\sqrt{x}(4-x) on [0,4][0,4].

  • Endpoints matter because of the closed interval and because radicals often peak inside.
  • Differentiate (product rule + power rule):
    • f(x)=4x1/2x3/2f(x)=4x^{1/2}-x^{3/2}
    • f(x)=2x1/232x1/2f'(x)=2x^{-1/2}-\frac{3}{2}x^{1/2}
  • Solve f(x)=0f'(x)=0 for x(0,4)x \in (0,4):
    • 2x1/2=32x1/22x^{-1/2}=\frac{3}{2}x^{1/2}
    • Multiply by 2x1/22x^{1/2}: 4=3x4=3x
    • x=43x=\frac{4}{3}
  • Candidates: x=0,43,4x=0,\frac{4}{3},4
  • Evaluate:
    • f(0)=0f(0)=0
    • f(4)=0f(4)=0
    • f(43)=43(443)=2383=1633f\left(\frac{4}{3}\right)=\sqrt{\frac{4}{3}}\left(4-\frac{4}{3}\right)=\frac{2}{\sqrt{3}}\cdot\frac{8}{3}=\frac{16}{3\sqrt{3}}
  • Absolute max is 1633\frac{16}{3\sqrt{3}} at x=43x=\frac{4}{3}; absolute min is 00 at x=0x=0 and x=4x=4.

Exam angle: Don’t ignore endpoints just because they “look boring.”

Example 4: Given ff' and an initial value (BC-flavored)

Suppose f(x)=x(x2)f'(x)=x(x-2) and f(0)=1f(0)=1. Find where ff has absolute extrema on [0,3][0,3].

  • Critical numbers from f(x)=0f'(x)=0: x=0,2x=0,2, plus endpoints 0,30,3.
  • Candidates: x=0,2,3x=0,2,3.
  • Need function values. Use accumulation:
    • f(x)=f(0)+0xf(t)dt=1+0xt(t2)dtf(x)=f(0)+\int_{0}^{x} f'(t)\,dt =1+\int_{0}^{x} t(t-2)\,dt
    • Integrand: t(t2)=t22tt(t-2)=t^2-2t
    • Antiderivative: t33t2\frac{t^3}{3}-t^2
  • Evaluate:
    • f(0)=1f(0)=1
    • f(2)=1+[t33t2]02=1+(834)=143=13f(2)=1+\left[\frac{t^3}{3}-t^2\right]_{0}^{2}=1+\left(\frac{8}{3}-4\right)=1-\frac{4}{3}=-\frac{1}{3}
    • f(3)=1+[t33t2]03=1+(99)=1f(3)=1+\left[\frac{t^3}{3}-t^2\right]_{0}^{3}=1+(9-9)=1
  • Absolute min value 13-\frac{1}{3} at x=2x=2; absolute max value 11 at x=0x=0 and x=3x=3.

Exam angle: When ff' is given, you often must integrate to compare candidate values.


Common Mistakes & Traps

  1. Forgetting endpoints

    • Wrong: Only checking where f(x)=0f'(x)=0.
    • Why wrong: Absolute extrema on [a,b][a,b] can occur at aa or bb.
    • Fix: Always write “Candidates: endpoints + critical numbers.”
  2. Using points where ff is not defined

    • Wrong: Treating a discontinuity (like a vertical asymptote) as a candidate.
    • Why wrong: Critical numbers must be in the domain of ff.
    • Fix: Check domain first; if f(c)f(c) doesn’t exist, cc cannot be an extremum.
  3. Not checking where f(x)f'(x) does not exist

    • Wrong: Solving f(x)=0f'(x)=0 and stopping.
    • Why wrong: Corners/cusps/vertical tangents can produce extrema with undefined derivative.
    • Fix: After differentiating, ask: “Where is ff' undefined inside (a,b)(a,b)?”
  4. Finding critical numbers outside the interval and still using them

    • Wrong: Solving f(x)=0f'(x)=0 and evaluating all solutions.
    • Why wrong: The test is for extrema on [a,b][a,b]; only candidates in [a,b][a,b] matter.
    • Fix: Filter critical numbers to (a,b)(a,b) (and include endpoints separately).
  5. Mixing up x-values and y-values in the final answer

    • Wrong: Saying “absolute max is x=5x=5” when they asked for the maximum value.
    • Why wrong: Problems sometimes ask for the value f(x)f(x), sometimes the point, sometimes both.
    • Fix: State both: “Absolute max value is f(5)=6f(5)=6 at x=5x=5.”
  6. Assuming a critical point guarantees an absolute extremum

    • Wrong: Seeing f(c)=0f'(c)=0 and declaring max/min.
    • Why wrong: f(c)=0f'(c)=0 is only a candidate; it could be a local min/max or neither.
    • Fix: Compare ff at all candidates (or use first/second derivative tests for local behavior, then still compare values for absolute).
  7. Using derivative sign (increasing/decreasing) but never computing values

    • Wrong: Concluding absolute max where ff' changes from ++ to -.
    • Why wrong: That gives a local max; an endpoint might be larger.
    • Fix: For absolute extrema on [a,b][a,b], you must compare actual ff-values.
  8. Applying EVT when continuity fails

    • Wrong: Assuming absolute max/min exist on [a,b][a,b] without checking continuity.
    • Why wrong: Discontinuities can prevent extrema from existing (even on a closed interval).
    • Fix: Quick continuity scan: holes, jumps, asymptotes, piecewise mismatches.

Memory Aids & Quick Tricks

Trick / mnemonicWhat it helps you rememberWhen to use it
“E.C.C.” = Endpoints, Critical, CompareThe whole Candidates Test workflowAny absolute-extrema-on-[a,b][a,b] problem
“Critical = Zero or DNE (but defined!)”Critical numbers are f(c)=0f'(c)=0 or f(c)f'(c) DNE, with f(c)f(c) existingRational functions, absolute value, piecewise, radicals
“Closed + Continuous ⇒ extrema exist”EVT conditionsBefore you promise a max/min exists
“Local from signs, absolute from values”First derivative sign tells local behavior; absolute needs comparisonsWhen tempted to stop after a sign chart

Quick Review Checklist

  • [ ] Are you on a closed interval [a,b][a,b]?
  • [ ] Is ff **continuous** on [a,b][a,b] (EVT applicable)?
  • [ ] Did you compute or use f(x)f'(x) correctly?
  • [ ] Did you find all critical numbers in (a,b)(a,b) where f(x)=0f'(x)=0?
  • [ ] Did you include points in (a,b)(a,b) where f(x)f'(x) **does not exist** (but ff does)?
  • [ ] Did you include both endpoints aa and bb?
  • [ ] Did you evaluate ff at every candidate?
  • [ ] Did you choose the largest value for absolute max and smallest for absolute min?
  • [ ] Did you report answers with clear x-location(s) and function value(s)?

You’ve got this—run E.C.C. carefully and the problem basically grades itself.