Tutorials › AP Calculus › Why Absolute Extrema Occur at Candidate Points

Mean and Extreme Value Theorems · Tutorial 324 of 999

Why Absolute Extrema Occur at Candidate Points

Use the Extreme Value Theorem and a derivative argument to identify where absolute extrema can occur and build a reliable candidate test.

Intermediate 9 min read

What You'll Learn

  • State the Extreme Value Theorem and its conditions
  • Explain why a differentiable interior extremum must have derivative zero
  • Distinguish endpoints from interior critical numbers
  • Form the candidate set for absolute extrema on a closed interval
  • Apply the candidate test and compare function values
  • Recognize why omitting a nondifferentiable point can miss an extremum

Why Search for Candidates?

Finding the absolute highest or lowest value of a function on an interval can seem to require checking every input. Calculus gives a reason to narrow the search. For a continuous function on a closed interval, absolute extrema are guaranteed to exist, and any such extremum must occur at an endpoint or at an interior point where the derivative is zero or does not exist.

This result does not say that every candidate is an absolute maximum or minimum. It says that an absolute extremum cannot be overlooked if the endpoints and all interior critical numbers are checked. Comparing the function values at those candidates then identifies the absolute extrema.

The Guarantee: The Extreme Value Theorem

Theorem: If \(f\) is continuous on the closed, bounded interval \([a,b]\), then \(f\) attains both an absolute maximum and an absolute minimum on \([a,b]\). In other words, there are points \(x_{\max},x_{\min}\in[a,b]\) such that \(f(x_{\max})\geq f(x)\) and \(f(x_{\min})\leq f(x)\) for every \(x\in[a,b]\).

The theorem guarantees that the highest and lowest function values are actually reached, not merely approached. Its hypotheses matter: the function must be continuous on the whole interval, and the interval must be closed and bounded. When either condition fails, the guarantee may fail, as the earlier material on the Extreme Value Theorem illustrates.

The theorem alone does not tell us where the extrema occur. The endpoints are natural candidates, but interior points must also be considered. The derivative explains why only certain interior points need to be included.

Why an Interior Extremum Has Derivative Zero

Suppose \(f\) has an absolute maximum at an interior point \(c\), where \(a<c<b\), and suppose \(f\) is differentiable at \(c\). Because \(c\) is interior, inputs slightly to its left and right are still in the interval. Since \(f(c)\) is a maximum, nearby function values cannot be greater than \(f(c)\).

For a small positive \(h\), the difference quotient is therefore nonpositive:

$$ \frac{f(c+h)-f(c)}{h}\leq 0. $$

For a small negative \(h\), the numerator is still nonpositive, but the denominator is negative. Thus the difference quotient is nonnegative:

$$ \frac{f(c+h)-f(c)}{h}\geq 0. $$

Differentiability means that these difference quotients approach the same limit as \(h\) approaches zero from either side. The limit must be both nonpositive and nonnegative, so it must be zero. Therefore \(f'(c)=0\). For an interior absolute minimum, the inequalities reverse: the quotient is nonnegative for positive \(h\) and nonpositive for negative \(h\). Its two-sided limit is again zero.

Result: If \(f\) is differentiable at an interior point \(c\) where \(f\) has a local maximum or local minimum, then \(f'(c)=0\). An absolute extremum at an interior point is also a local extremum, so this result applies to interior absolute extrema whenever \(f\) is differentiable there.

This argument is sometimes called Fermat’s theorem. It is a necessary condition, not a guarantee: a point where \(f'(c)=0\) need not be an extremum. For instance, a graph can flatten at a point and continue increasing through it.

Why Include Points Where the Derivative Does Not Exist?

The derivative argument applies only when the function is differentiable at the interior extremum. A continuous function can have a corner, cusp, or other nondifferentiable point and still attain an interior maximum or minimum there. Such a point cannot be ruled out by setting the derivative equal to zero.

A critical number of \(f\) is an interior number \(c\) in the domain of \(f\) such that either \(f'(c)=0\) or \(f'(c)\) does not exist. For the candidate test on \([a,b]\), we consider critical numbers in the open interval \((a,b)\). The endpoints are included separately whether or not a derivative exists there.

Definition: For a function defined on \([a,b]\), its candidate points for absolute extrema are \(a\), \(b\), and every interior critical number \(c\in(a,b)\). An interior point is critical if \(f'(c)=0\) or \(f'(c)\) does not exist.

The Candidate Test

The Extreme Value Theorem supplies an absolute maximum and minimum. The derivative argument shows that if either occurs in the interior at a differentiable point, that point has derivative zero. If it occurs at an interior point where the derivative does not exist, the point is critical by definition. The only remaining locations are the endpoints. Together, these facts give the candidate test.

Theorem: Suppose \(f\) is continuous on \([a,b]\). Every point where \(f\) attains its absolute maximum or absolute minimum on \([a,b]\) is either an endpoint \(a\) or \(b\), or an interior critical number of \(f\). To find the absolute extrema, evaluate \(f\) at the endpoints and all interior critical numbers, then compare the resulting values.

The test is a way to reduce the search, not a claim that every candidate is an extremum. A critical number might produce neither the greatest nor the least value. Also, the candidate set is not necessarily finite. If there are infinitely many critical numbers, the theorem still identifies where extrema must occur, but comparing a short finite list is not enough; further analysis may be needed.

1
Check the setting.
Confirm that \(f\) is continuous on the closed interval \([a,b]\), so the Extreme Value Theorem guarantees absolute extrema.
2
Identify interior critical numbers.
Find interior inputs where \(f'(x)=0\) or where \(f'(x)\) does not exist.
3
Evaluate every candidate.
Calculate \(f(a)\), \(f(b)\), and the function value at each interior critical number.
4
Compare the values.
The greatest candidate value is the absolute maximum value, and the least candidate value is the absolute minimum value. Report the input locations as well.

Worked Examples

Worked Example: A Differentiable Function with One Interior Critical Number

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

The function is a polynomial, so it is continuous on \([0,5]\). The Extreme Value Theorem guarantees an absolute maximum and minimum. Differentiate:

$$ f'(x)=2x-4. $$

Set the derivative equal to zero to find the differentiable interior critical number:

$$ 2x-4=0,\qquad 2x=4,\qquad x=2. $$

The candidate points are \(0\), \(2\), and \(5\). Evaluate the function at each:

$$ f(0)=0^2-4(0)+1=1, $$ $$ f(2)=2^2-4(2)+1=4-8+1=-3, $$ $$ f(5)=5^2-4(5)+1=25-20+1=6. $$

Among \(1\), \(-3\), and \(6\), the least value is \(-3\) and the greatest is \(6\). Therefore the absolute minimum is \(-3\) at \(x=2\), and the absolute maximum is \(6\) at \(x=5\).

Check: The three candidate values are exactly \(f(0)=1\), \(f(2)=-3\), and \(f(5)=6\). Their ordering confirms the stated minimum and maximum.

Worked Example: A Corner Can Be an Absolute Minimum

Find the absolute extrema of \(g(x)=|x-1|\) on \([0,3]\).

The absolute value function is continuous on the whole interval, so both absolute extrema exist. For \(x<1\), \(g(x)=1-x\), while for \(x>1\), \(g(x)=x-1\). The derivative is \(-1\) to the left of \(1\) and \(1\) to the right. At \(x=1\), the one-sided slopes differ, so \(g'(1)\) does not exist. Thus \(x=1\) is an interior critical number.

The candidate points are \(0\), \(1\), and \(3\). Their values are:

$$ g(0)=|0-1|=1,\qquad g(1)=|1-1|=0,\qquad g(3)=|3-1|=2. $$

The least value is \(0\), attained at \(x=1\), and the greatest value is \(2\), attained at \(x=3\). The interior minimum occurs where the derivative does not exist, which is why checking only solutions to \(g'(x)=0\) would be incomplete.

Check: Substitution into the original absolute-value formula gives \(1\), \(0\), and \(2\) at the three candidates, matching the comparison.

Worked Example: The Same Absolute Value Can Occur at Multiple Locations

Find the absolute extrema of \(h(x)=x^3-3x\) on \([-2,2]\).

A polynomial is continuous on this closed interval. Its derivative is:

$$ h'(x)=3x^2-3=3(x-1)(x+1). $$

Setting \(h'(x)=0\) gives \(x=1\) or \(x=-1\). Both are interior points, so the candidate list is \(-2,-1,1,2\). Evaluate each one:

$$ h(-2)=(-2)^3-3(-2)=-8+6=-2, $$ $$ h(-1)=(-1)^3-3(-1)=-1+3=2, $$ $$ h(1)=1^3-3(1)=1-3=-2, $$ $$ h(2)=2^3-3(2)=8-6=2. $$

The greatest value is \(2\), attained at both \(x=-1\) and \(x=2\). The least value is \(-2\), attained at both \(x=-2\) and \(x=1\). An absolute extremum need not have a unique input location.

Check: Direct substitution into \(h(x)=x^3-3x\) at each candidate gives the four values listed, including the ties for both extrema.

Common Pitfall: Looking Only for \(f'(x)=0\)

A frequent error is to assume every interior extremum must occur where the derivative equals zero. That conclusion ignores points where the function is not differentiable. Consider \(g(x)=|x-1|\) on \([0,3]\). A mistaken approach says, “The derivative is \(-1\) to the left and \(1\) to the right, so it is never zero; therefore there are no interior candidates.” This leaves out \(x=1\), where the derivative does not exist. But \(g(1)=0\), less than both endpoint values \(g(0)=1\) and \(g(3)=2\), so \(x=1\) is the absolute minimum.

The correction is to include both types of interior critical number: points where the derivative is zero and points where it does not exist. Another mistake is to omit endpoints because the derivative test concerns interior points. For example, on \([1,3]\), \(f(x)=x^2\) has \(f'(x)=2x\), which is never zero in the interval. Yet its absolute minimum is \(f(1)=1\), and its absolute maximum is \(f(3)=9\). Both extrema occur at endpoints.

Why the Candidate Test Matters

The test turns a global question—how does the function compare across an entire interval?—into a structured search. Continuity on a closed interval ensures that extrema exist, while the derivative condition restricts where interior extrema can occur. These are two distinct roles: the Extreme Value Theorem provides existence; the candidate result narrows the possible locations.

On the AP exam, make the assumptions and the candidates visible in your reasoning. State that continuity applies on the closed interval, include both endpoints, include interior critical numbers whether the derivative is zero or undefined, and compare function values. Finding a critical number alone does not establish an absolute extremum; the comparison is essential.

Check Your Understanding

Answer each question using the candidate test and its conditions.

  1. What two hypotheses about \(f\) and its interval are required by the Extreme Value Theorem?
  2. Why must a differentiable interior absolute maximum have derivative zero?
  3. For the candidate test, which points must be checked besides the interval endpoints?
  4. Can an interior absolute minimum occur where \(f'(x)\) does not exist? Explain.
  5. If a function has an absolute extremum at an endpoint, must its derivative there be zero? Why or why not?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon