AP® CALCULUS AB & BC · UNIT 5

Candidates Test for Absolute Extrema

Find absolute maxima and minima on a closed interval. Check continuity, list endpoints and interior critical numbers, and compare their function values.

Topic 5.5 study notes5 worked examples · 9 practice questionsUpdated 10 November 2026
Calculus notebook with limit and integral symbols, a compass and pencil on an olive and cream study desk

1. Define absolute extrema and check EVT

Absolute and global mean the same thing. On a specified interval I, an absolute extremum is the largest or smallest function value attained anywhere in I. A local extremum compares values only near its input.

Absolute maximum

f(c)≥f(x) for every x∈I, where c∈I.

Absolute minimum

f(d)≤f(x) for every x∈I, where d∈I.

Report the value and the input where it is attained. More than one input can attain the same extreme value.

Check the Extreme Value Theorem. If f is continuous on the finite closed interval [a,b], it attains both an absolute maximum and an absolute minimum there. Check continuity from within the interval at both endpoints as well as continuity throughout the interior.

The theorem guarantees that both values are attained. The Candidates Test finds their values and locations.

2. Apply the Candidates Test

  1. Verify the hypotheses

    Check that the stated interval includes both finite endpoints and that the function is continuous throughout it.

  2. Find interior critical numbers

    Solve for zeros of the first derivative and find any interior input where the derivative fails while the function is defined.

  3. Evaluate every candidate

    Substitute each interior critical number and both endpoints into the original function. Record the input and output in a table.

  4. Compare all outputs

    The largest output gives the absolute maximum, and the smallest gives the absolute minimum. List every location tied for either value.

An attained extremum at an interior point where f is differentiable must have f′(c)=0, by Fermat’s theorem. At an interior point where f′ fails to exist, the function can still attain an extremum. The endpoints are automatic candidates.

For the comparison, use the outputs of f at the candidates. The derivative locates interior candidates.

3. Read the candidate values from graphs

Both graphs show continuous functions on finite closed intervals. Filled circles mark included endpoints. Filled squares mark interior critical numbers.

A tie between two candidates

0 1 2 3 4 5 Input x 1 5 10 15 21 Function value Min Interior peak Min Max
For the cubic in Example 1, the absolute minimum is 1 at x=0 and x=3. The interior peak at x=1 has height 5, and the right endpoint at x=5 gives the absolute maximum of 21.

A minimum at a cusp

1 2 3 4 Input x 0.0 0.5 1.0 1.5 Function value Cusp min Max
For the function in Example 2, the cusp (2,0) gives the absolute minimum. Comparing the endpoints shows that x=4 gives the absolute maximum.

Graph walkthrough

1 · Read the candidate inputs

On the cubic, check both ends, 0 and 5, plus the interior stationary inputs 1 and 3.

2 · Compare the heights

The highest filled marker has height 21. The guide at height 1 connects the two lowest candidates, so both locations belong in the answer.

4. Five worked examples

Worked example 1

Compare a cubic’s endpoints and stationary points

Find the absolute extrema of f(x)=x3−6x2+9x+1 on [0,5].

1 · Check continuity and find the interior candidates

The polynomial is continuous on [0,5]. Differentiate and factor to find the stationary inputs.

f′(x)=3x2−12x+9
f′(x)=3(x−1)(x−3)

Both 1 and 3 lie inside the interval.

2 · Evaluate the function at all four inputs

Candidates for the cubic on the closed interval
InputCandidatef(x)
0Left endpoint1Abs. min
1Interior5
3Interior1Abs. min
5Right endpoint21Abs. max

For example, at x=5 the substitution gives 125−150+45+1, which equals 21.

3 · Report both locations of the tied minimum

The absolute maximum is 21 at x=5. The absolute minimum is 1 at both x=0 and x=3.

Worked example 2

Include a cusp where the derivative is undefined

Find the absolute extrema of f(x)=(x−2)23 on [1,4]. Use the real cube root and square it.

1 · Check the function at the cusp

The function is continuous throughout the interval. For x≠2,

f′(x)=23x−23.

The derivative has no zeros. At x=2, the difference quotient for nonzero h is 1h3. It tends to −∞ from the left and +∞ from the right. The function is defined there, so 2 is an interior critical number.

2 · Compare the cusp and the endpoints

Candidates for the cusp on the closed interval
InputCandidatef(x)
1Left endpoint1
2Interior cusp0Abs. min
4Right endpoint223Abs. max

3 · State the extrema

The absolute minimum is 0 at x=2. The absolute maximum is 223, about 1.587, at x=4.

Worked example 3

Check an interval with only endpoint candidates

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

1 · Check for interior critical numbers

The line is continuous. Its derivative f′(x)=2 is defined and positive everywhere, so the two endpoints are the candidates.

2 · Evaluate both endpoints

Candidates for the line
InputCandidatef(x)
−1Left endpoint1Abs. min
2Right endpoint7Abs. max

3 · Compare the two outputs

The absolute minimum is f(−1)=1. The absolute maximum is f(2)=7.

Worked example 4

Evaluate exact fractions for a rational function

Find the absolute extrema of f(x)=xx2+1 on [−2,2].

1 · Check the denominator and find derivative zeros

The original denominator is positive for every real input. The quotient rule gives

f′(x)=1−x2(x2+1)2.

The derivative is defined everywhere. Its numerator vanishes at x=−1 and x=1, both in the interior.

2 · Use the original rational function in the table

Candidates for the rational function
InputCandidatef(x)
−2Left endpoint−25
−1Interior−12Abs. min
1Interior12Abs. max
2Right endpoint25

3 · Name the extreme values and their inputs

The absolute minimum is −12 at x=−1. The absolute maximum is 12 at x=1.

Worked example 5

Track ties on a trigonometric interval

Find the absolute extrema of f(x)=2sinx+cos(2x) on [0,π]. The angle measure is in radians.

1 · Solve the derivative equation inside the interval

The function is continuous. Use the double-angle identity for sine when factoring the derivative.

f′(x)=2cosx−2sin(2x)
f′(x)=2cosx(1−2sinx)

Inside the interval, cosx=0 at π2, and sinx=12 at π6 and 5π6.

2 · Compare the five outputs

Candidates for the trigonometric function
InputCandidatef(x)
0Left endpoint1Abs. min
π6Interior32Abs. max
π2Interior1Abs. min
5π6Interior32Abs. max
πRight endpoint1Abs. min

At each peak, the sine term contributes 1 and the cosine term contributes 12.

3 · Report all five locations

The absolute maximum is 32 at x=π6 and x=5π6. The absolute minimum is 1 at x=0, x=π2, and x=π.

Two highest points and three lowest points

0 π 6 π 2 5 6 π π Input x in radians 1.00 1.25 1.50 Function value Max Min Max
On [0,π], the two interior peaks share height 32. The midpoint and both endpoints share height 1.

5. Handle endpoint, tie, and domain cases

Stationary input at an endpoint
Record that input once as an endpoint. The interior list only uses inputs in (a,b).
Critical number outside the interval
Keep the candidate list within the stated domain. An interior root from a wider domain can fall outside the interval in the question.
No interior critical numbers
Compare the two endpoints, as in the linear example.
Constant function
Every input attains the same value. That value is both the absolute maximum and the absolute minimum.
Open interval, unbounded interval, or discontinuity
Check which values the function actually attains. Use the domain, one-sided limits, and comparisons to decide whether extrema exist when the Extreme Value Theorem hypotheses fail.
Choose the test for the question
QuestionWhat to check
Are both absolute extrema guaranteed?Extreme Value Theorem. Verify continuity on the finite closed interval.
Where do the absolute extrema occur?Candidates Test. Compare values at both endpoints and all interior critical numbers under the theorem’s conditions.
Is an interior point a local turn?First Derivative Test. Check continuity and the signs of f′ on both sides of the input.

6. Nine practice questions

Try each question before opening its notebook solution.

Practice 1. Filter a cubic’s critical numbers

Find the absolute extrema of f(x)=x3−3x+2 on [0,2].

Show solution 1

Notebook solution

1 · Keep the critical number inside the interval

f′(x)=3(x−1)(x+1)

Only 1 lies inside the interval. Include the endpoints 0 and 2.

2 · Compare the three outputs

The values are f(0)=2, f(1)=0, and f(2)=4. The absolute maximum is 4 at x=2, and the absolute minimum is 0 at x=1.

Practice 2. Compare a parabola’s vertex and endpoints

Find the absolute extrema of f(x)=x2−4x+5 on [−1,3].

Show solution 2

Notebook solution

1 · Find the vertex input

f′(x)=2x−4

The interior critical number is 2.

2 · Compare the endpoint and vertex values

The values are f(−1)=10, f(2)=1, and f(3)=2. The absolute maximum is 10 at x=−1, and the absolute minimum is 1 at x=2.

Practice 3. Compare exact reciprocal values

Find the absolute extrema of f(x)=1x on [1,4].

Show solution 3

Notebook solution

1 · Check the interval lies inside the domain

The function is continuous there and the derivative f′(x)=−1x2 is defined and negative throughout the interior. The endpoints are the only candidates.

2 · Evaluate the two endpoints

The absolute maximum is f(1)=1 and the absolute minimum is f(4)=14.

Practice 4. Report ties for both absolute extrema

Find the absolute extrema of f(x)=x4−2x2 on [−2,2].

Show solution 4

Notebook solution

1 · Find the three interior critical numbers

f′(x)=4x(x−1)(x+1)

The interior candidates are −1, 0, and 1.

2 · Compare both pairs of equal values

The endpoints have value 8. The function has value −1 at x=−1 and x=1, and f(0)=0. The absolute maximum is 8 at x=±2, and the absolute minimum is −1 at x=±1.

Practice 5. Keep the square-root endpoints

Find the absolute extrema of f(x)=x4−x2 on [−2,2].

Show solution 5

Notebook solution

1 · Differentiate only in the interior

The function is continuous on the full interval. The product rule gives

f′(x)=4−2x24−x2.

The derivative vanishes at x=±2. The endpoints remain candidates because they belong to the interval.

2 · Evaluate the four candidates

Both endpoints give 0. At x=2 the value is 2, and at x=−2 the value is −2. These are the absolute maximum and minimum, respectively.

Practice 6. Compare the values on one full period

Find the absolute extrema of f(x)=sinx+cosx on [0,2π].

Show solution 6

Notebook solution

1 · Solve for the interior stationary inputs

f′(x)=cosx−sinx

In the interval, the derivative vanishes at π4 and 5π4.

2 · Include the endpoints in the comparison

Both endpoints have value 1. The absolute maximum is 2 at x=π4. The absolute minimum is −2 at x=5π4.

Practice 7. Explain why endpoints belong in the list

Why do we evaluate the function at both endpoints in the Candidates Test?

Show solution 7

Notebook solution

1 · Use an increasing line

On [−1,2], the line f(x)=2x+3 increases throughout and has no interior critical numbers. Its smallest value occurs at the left endpoint and its largest at the right endpoint. The two-sided interior derivative condition applies only in the interior.

Practice 8. Check what a closed interval guarantees

Can a function on a closed interval have an absolute maximum but no absolute minimum?

Show solution 8

Notebook solution

1 · Separate the domain condition from continuity

Yes, if continuity fails. Consider the following function on [0,1].

g(x)={1x=0x0<x≤1

2 · Compare attained values

The maximum is 1 at 0 and 1. Positive inputs can be arbitrarily close to zero, giving arbitrarily small positive outputs. Every attained value is positive, so there is no smallest one. If the function were continuous on the full closed interval, the Extreme Value Theorem would guarantee both extrema.

Practice 9. Use the sign of the derivative throughout the interior

Suppose f is continuous on [a,b] and f′(x)>0 throughout (a,b). Where are the absolute extrema?

Show solution 9

Notebook solution

1 · Connect the derivative sign to increase

The Mean Value Theorem shows that f is strictly increasing on [a,b]. The absolute minimum is f(a) at x=a, and the absolute maximum is f(b) at x=b.

7. Write an AP-style comparison

Show how you found the interior critical numbers, list the endpoint values, and compare all candidate outputs in the same answer. If the prompt asks for locations, give the inputs. If it asks for extreme values, give the outputs and indicate where they occur.

AP response model

1 · Identify the complete candidate list

For the rational example, f is continuous on [−2,2] and f′ vanishes only at −1 and 1. Compare those inputs with −2 and 2.

2 · Write the comparison and the conclusion

−12<−25<25<12

The smallest of the four function values is −12 at −1. The largest is 12 at 1.

  • Check for undefined derivatives. A cusp can be an interior candidate when the function is defined there.
  • Substitute into the original function. Compare the values of f to find the extrema.
  • Keep ties and use the given interval. Include every input with the same extreme output.
  • Show the setup when a calculator is allowed. State the equation you solved and the candidate values you compared.

8. Frequently asked questions

What are the candidates for absolute extrema?

For a continuous function on a finite closed interval, compare both endpoints and every interior input where the derivative is zero or undefined.

Can a cusp be the absolute minimum?

Yes. If the function is defined and continuous there, include the cusp in the comparison. Example 2 has its smallest value at a cusp.

Do I need a sign chart for the Candidates Test?

The test compares the original function values at the candidates. A sign chart is useful when the question asks how the function changes between those inputs.

What if several inputs have the same maximum value?

Report the maximum value once and list every input where it is attained. The same applies to a tied minimum.

What is the difference between EVT and the Candidates Test?

EVT guarantees that absolute extrema are attained under its hypotheses. The Candidates Test locates them by comparing the candidate values.

9. Continue studying calculus

Topic 5.2 gives the existence guarantee and defines critical numbers. Topic 5.4 classifies local extrema using signs of the first derivative. Later topics use comparisons of candidate values in curve analysis and optimization.