Tutorials › AP Calculus › Testing All Candidates for Absolute Extrema

Justification and Candidate Tests · Tutorial 911 of 999

Testing All Candidates for Absolute Extrema

Use the closed-interval candidate test to find and justify a function’s absolute maximum and minimum.

Intermediate 9 min read

What You'll Learn

  • Identify interior critical numbers and include both endpoints as candidates.
  • Explain why continuity guarantees absolute extrema and why interior extrema must be critical.
  • Evaluate and compare function values at every candidate.
  • Handle a continuous function whose derivative is undefined at an interior point.
  • Recognize ties and candidates that are not absolute extrema.
  • Avoid the common error of omitting endpoint values.

Why Compare Every Candidate?

A derivative can help locate possible extrema, but it does not by itself tell you the absolute maximum or minimum on an interval. An interior critical number may correspond to a local extremum, a stationary point that is not an extremum, or an extremum that is not absolute. Endpoints also matter: an absolute extremum can occur there even though no derivative test applies.

For a continuous function on a closed interval, the reliable method is to identify all interior critical numbers, evaluate the function at those numbers and at both endpoints, and compare the resulting values. The conclusion depends on checking the complete candidate set, not just finding a point where the derivative is zero.

Core procedure: On a closed interval \([a,b]\), evaluate \(f\) at \(a\), \(b\), and every interior critical number. The greatest of these values is the absolute maximum value; the least is the absolute minimum value.

Definitions and the Closed-Interval Test

An absolute maximum value of \(f\) on \([a,b]\) is a value \(f(c)\) such that \(f(c)\geq f(x)\) for every \(x\in[a,b]\). An absolute minimum value is a value \(f(c)\) such that \(f(c)\leq f(x)\) for every \(x\in[a,b]\). A point where one of these values occurs is an absolute maximum point or absolute minimum point, respectively. There can be more than one such point.

For this test, an interior critical number is a number \(c\in(a,b)\) where \(f'(c)=0\) or \(f'(c)\) does not exist. The function must be defined at \(c\) for \(c\) to be a candidate. Some conventions call endpoints critical numbers too; the test lists endpoints separately so they cannot be overlooked.

Theorem: If \(f\) is continuous on the closed interval \([a,b]\), then \(f\) has an absolute maximum and an absolute minimum on \([a,b]\). Each occurs either at an endpoint or at an interior critical number. Therefore, comparing the function values at all these candidates determines the absolute maximum and minimum.

The continuity condition matters. The Extreme Value Theorem guarantees that the extrema exist under this condition; it does not say where they occur. The candidate conclusion also uses the fact that a differentiable function at an interior local maximum or minimum has derivative zero. If the derivative does not exist at an interior extremum, that point is included by the critical-number test instead.

Why the Candidate Test Works

Here is the justification behind the method. Suppose \(f\) is continuous on \([a,b]\). By the Extreme Value Theorem, there is at least one point \(c_{\max}\in[a,b]\) where \(f\) reaches its absolute maximum, and at least one point \(c_{\min}\in[a,b]\) where it reaches its absolute minimum.

Consider either extremum point \(c\). If \(c=a\) or \(c=b\), it is an endpoint candidate. Otherwise, \(c\) is in the interior. An absolute maximum or minimum is also a local maximum or minimum: nearby points in the interval cannot have a more extreme value. If \(f\) is differentiable at \(c\), Fermat’s theorem says \(f'(c)=0\). If it is not differentiable there, \(c\) is still a critical number by definition. Thus each absolute extremum occurs among the listed candidates. Since every candidate is itself in \([a,b]\), comparing their function values identifies the greatest and least values on the interval.

1
Check the hypotheses.
Confirm that \(f\) is continuous on the entire closed interval \([a,b]\).
2
Find interior critical numbers.
Within \((a,b)\), find where \(f'(x)=0\) and where \(f'(x)\) does not exist while \(f(x)\) is defined.
3
Make the complete candidate list.
Include the critical numbers and both endpoints, \(a\) and \(b\).
4
Evaluate and compare.
Compute \(f(x)\) at every candidate. State the greatest and least values and all points where they occur.

Worked Examples

Worked Example: A Polynomial with Several Candidates

Find the absolute maximum and minimum of \(f(x)=x^3-3x\) on \([-2,2]\).

The function is a polynomial, so it is continuous on the closed interval. Differentiate to find interior critical numbers:

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

Setting \(f'(x)=0\) gives \(x=1\) or \(x=-1\). Both lie in \((-2,2)\), and the derivative exists everywhere. The candidate list is therefore \(-2,-1,1,2\). Evaluate the function at each:

$$ \begin{aligned} f(-2)&=(-2)^3-3(-2)=-8+6=-2,\\ f(-1)&=(-1)^3-3(-1)=-1+3=2,\\ f(1)&=1^3-3(1)=1-3=-2,\\ f(2)&=2^3-3(2)=8-6=2. \end{aligned} $$

The greatest candidate value is \(2\), occurring at \(x=-1\) and \(x=2\). The least is \(-2\), occurring at \(x=-2\) and \(x=1\). Thus the absolute maximum value is \(2\), and the absolute minimum value is \(-2\).

Check: the candidate list contains both endpoints and every interior solution of \(f'(x)=0\). Substituting each point into the original function gives the values shown, and direct comparison confirms the stated extrema.

Worked Example: A Critical Number Where the Derivative Is Undefined

Find the absolute maximum and minimum of \(f(x)=x^{2/3}\) on \([-1,2]\), interpreting \(x^{2/3}\) as \((\sqrt[3]{x})^2\).

This function is continuous on \([-1,2]\), including at \(x=0\). For \(x\ne0\), its derivative is

$$ f'(x)=\frac{2}{3}x^{-1/3}=\frac{2}{3\sqrt[3]{x}}. $$

This derivative is never zero where it is defined, and it does not exist at \(x=0\). Since \(f(0)=0\), zero is an interior critical number. The complete candidate list is \(-1,0,2\). Evaluate:

$$ \begin{aligned} f(-1)&=(-1)^{2/3}=(\sqrt[3]{-1})^2=(-1)^2=1,\\ f(0)&=0^{2/3}=0,\\ f(2)&=2^{2/3}. \end{aligned} $$

Since \(2^{2/3}>1\) (raising both positive quantities to the power \(3/2\), or cubing them, preserves their order), the greatest value is \(2^{2/3}\). The least is \(0\). Therefore, the absolute maximum occurs at \(x=2\), and the absolute minimum occurs at \(x=0\).

Check: \(f'(x)\) is undefined at zero, but the function itself is defined and continuous there, so zero belongs in the comparison. The endpoint and critical-number values are \(1\), \(0\), and \(2^{2/3}\), consistent with the conclusions.

Worked Example: Tied Absolute Extrema

Find the absolute maximum and minimum of \(f(x)=(x^2-1)^2\) on \([-2,2]\).

The function is a polynomial expression, hence continuous on the interval. Differentiate and factor:

$$ f'(x)=2(x^2-1)(2x)=4x(x^2-1)=4x(x-1)(x+1). $$

The interior critical numbers are \(x=-1,0,1\). Including the endpoints gives the candidates \(-2,-1,0,1,2\). Their function values are

$$ \begin{aligned} f(-2)&=((-2)^2-1)^2=(4-1)^2=9,\\ f(-1)&=((-1)^2-1)^2=(1-1)^2=0,\\ f(0)&=(0^2-1)^2=(-1)^2=1,\\ f(1)&=(1^2-1)^2=(1-1)^2=0,\\ f(2)&=(2^2-1)^2=(4-1)^2=9. \end{aligned} $$

The greatest value is \(9\), occurring at both endpoints \(x=-2\) and \(x=2\). The least value is \(0\), occurring at \(x=-1\) and \(x=1\). The absolute maximum and minimum are therefore each attained at two points.

Check: substituting the endpoints gives \(9\) at each, and substituting the three interior critical numbers gives \(0,1,0\). These are all the candidates, so the comparison is complete.

Why a Candidate Is Not Automatically an Absolute Extremum

Being on the candidate list means that a point must be checked; it does not mean the point must be an absolute maximum or minimum. The function \((x^2-1)^2\) illustrates this: \(x=0\) is critical, but its value \(1\) is neither the greatest nor the least candidate value. The derivative identifies possible locations; the value comparison makes the global decision.

The method also allows ties. If two or more candidates give the same greatest value, all corresponding points are absolute maximum points. The same is true for the least value. Report every point at which the extreme value occurs, not just the first one found.

A Common Mistake: Omitting the Endpoints

Consider \(f(x)=x^2\) on \([-2,1]\). A common incorrect approach is to find only the stationary point and conclude that its value determines the absolute extrema. Since \(f'(x)=2x\), the only interior critical number is \(x=0\), with \(f(0)=0\). If we compare no other values, we might incorrectly report \(0\) as both the maximum and minimum.

The correction is to include the endpoints:

$$ f(-2)=(-2)^2=4,\qquad f(0)=0^2=0,\qquad f(1)=1^2=1. $$

Now the greatest value is \(4\), at \(x=-2\), and the least is \(0\), at \(x=0\). The error was not in differentiating; it was in leaving out valid candidates.

Takeaway: A complete absolute-extrema justification states the continuity condition, lists both endpoints and every interior critical number, evaluates the function at each, and compares all the resulting values.

Using the Test Carefully

In many AP problems, the candidate list is finite, so a table of candidates and function values makes the comparison clear. If there are infinitely many critical numbers, do not claim that a finite table has tested them all. The theorem still locates an absolute extremum among the endpoints and critical numbers, but additional analysis may be needed to compare an infinite set of candidate values.

For a finite candidate list, a clear written justification can be organized as claim, evidence, and conclusion: claim that the greatest or least value occurs at a specified point; provide the full list and computed values as evidence; then state the conclusion after comparing them. This makes it possible to verify that no endpoint or interior critical number was missed.

Check Your Understanding

For each question, identify the candidates before drawing a conclusion about the absolute extrema.

  1. What continuity condition allows you to use the closed-interval candidate test?
  2. What makes an interior point a critical number for this test?
  3. For \(f(x)=x^2-4x\) on \([0,5]\), what points must be evaluated to find the absolute extrema?
  4. Can a critical number fail to be an absolute maximum or minimum? Explain using a function-value comparison.
  5. If two candidates share the greatest function value, how should the absolute maximum be reported?

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