Tutorials › Calculus I › Comparing Candidate Values for Absolute Extrema

Critical Points and Monotonicity · Tutorial 775 of 1495

Comparing Candidate Values for Absolute Extrema

Use the complete candidate list and compare function values—not input values—to find all absolute extrema on a closed interval.

Intermediate 9 min read

What You'll Learn

  • State the hypotheses for comparing candidates on a closed interval
  • Find interior critical numbers when the function is differentiable
  • Evaluate the function at every endpoint and critical number
  • Compare candidate values to identify absolute maximum and minimum values
  • Report every input where each absolute extremum is attained
  • Recognize why omitted candidates and ties matter

Why Candidate Values Must Be Compared

An absolute maximum or minimum is a statement about the function values attained across an entire interval. Finding an interior critical number or checking an endpoint identifies a possible location, but neither step alone tells us which value is largest or smallest. The final task is to evaluate the function at every candidate and compare those results.

This comparison is especially important when several locations compete. An absolute maximum can occur at an endpoint, at an interior critical number, or at more than one point. The same is true of an absolute minimum. To give a complete answer, report both the extreme value and every input where it occurs.

Definition: Let \(f\) be defined on an interval \(I\). An absolute maximum value of \(f\) on \(I\) is a value \(f(c)\) such that \(f(x)\leq f(c)\) for every \(x\in I\). The point \(c\) is a point where the absolute maximum is attained. An absolute minimum value is defined by reversing the inequality: \(f(x)\geq f(c)\) for every \(x\in I\).

The Closed-Interval Candidate Principle

For a continuous function on a closed, bounded interval, the Extreme Value Theorem guarantees that an absolute maximum and an absolute minimum are attained. The earlier material on generating candidates for closed-interval extrema and on why the candidate list is complete gives the relevant candidate principle: when \(f\) is differentiable at every interior point of \([a,b]\), any absolute extremum occurs either at an endpoint or at an interior critical number. Here an interior critical number is an \(x\in(a,b)\) for which \(f'(x)=0\).

Theorem: Suppose \(f\) is continuous on \([a,b]\) and differentiable on \((a,b)\). Form the candidate list consisting of \(a\), \(b\), and every \(c\in(a,b)\) with \(f'(c)=0\). If this list is finite, evaluate \(f\) at every listed input. The largest candidate value is the absolute maximum value on \([a,b]\), and the smallest candidate value is the absolute minimum value. Include every input whose function value equals the corresponding extreme value.

The differentiability condition matters: it ensures that an interior extremum must be a critical number in the sense just defined. If a function is not differentiable at an interior point, that point may also need to be considered. The candidate principle stated here applies directly when the function is differentiable throughout the interval's interior.

Why does comparing the values work? The candidate principle guarantees that the actual absolute maximum and minimum are represented in the list. At the same time, each listed input belongs to \([a,b]\), so none of its function values can exceed the actual absolute maximum or fall below the actual absolute minimum. Thus the greatest listed value must equal the absolute maximum, and the least listed value must equal the absolute minimum. This reasoning also explains why a tie must be reported in full: every candidate with the greatest or least value is a point where that extremum is attained.

1
Build the candidate list.
Include both endpoints and every interior critical number covered by the hypotheses.
2
Evaluate the function.
Substitute each candidate input into \(f\), keeping the input and its function value distinct.
3
Compare all values.
The largest is the absolute maximum value; the smallest is the absolute minimum value.
4
Report all locations.
List every candidate input attaining each extreme value, including ties.

Worked Comparisons

Worked Example: A maximum and minimum each occur twice

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

First find the interior critical numbers by differentiating and solving \(f'(x)=0\):

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

Thus \(f'(x)=0\) when \(x=-1\) or \(x=1\). Both lie in \((-2,2)\). The complete candidate list is \(-2,-1,1,2\). Evaluate \(f\) at each one:

$$ \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\), attained at \(x=-1\) and \(x=2\). The least is \(-2\), attained at \(x=-2\) and \(x=1\). Therefore the absolute maximum value is \(2\), and the absolute minimum value is \(-2\). Substitution into the original formula confirms each listed value.

Worked Example: Equal endpoint values

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

The derivative and its zero are

$$ f'(x)=2x-2,\qquad 2x-2=0\ \Longrightarrow\ x=1. $$

The critical number \(1\) is interior to the interval, so the candidates are \(-1,1,3\). Evaluate the function at all three:

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

The largest value is \(3\), attained at both endpoints, \(x=-1\) and \(x=3\). The smallest value is \(-1\), attained at \(x=1\). The values can be checked directly in \(x^2-2x\): substituting \(-1,1,3\) gives \(3,-1,3\), respectively. Notice that the interval's right endpoint is not the only location of the maximum, even though it is the larger endpoint input.

Worked Example: Several interior critical numbers

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

Differentiate and factor:

$$ f'(x)=4x^3-8x=4x(x^2-2). $$

Solving \(f'(x)=0\) gives \(x=0\) or \(x^2=2\), so the interior critical numbers are \(0\), \(-\sqrt{2}\), and \(\sqrt{2}\). Include the endpoints to obtain the candidates \(-2,-\sqrt{2},0,\sqrt{2},2\). Their values are

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

The greatest value is \(1\), attained at \(x=-2,0,2\). The least value is \(-3\), attained at \(x=-\sqrt{2}\) and \(x=\sqrt{2}\). Each value follows by substitution into the original function, so the comparison includes the endpoints and all three interior critical numbers.

Common Pitfall: Comparing Inputs Instead of Values

The inputs \(x\) indicate where to evaluate the function; their numerical order does not determine the order of the function values. For example, in the second worked example, one might incorrectly argue: “The largest candidate input is \(x=3\), so the maximum occurs there.” This overlooks the candidate \(x=-1\), where \(f(-1)=3=f(3)\). The correct comparison is between the values \(3,-1,3\), not between the inputs \(-1,1,3\). It shows that the maximum is attained at both endpoints.

A related error is to report only the extreme value, without the points where it occurs, or to name only one point when several candidates tie. State the value and all its locations: for example, “the absolute maximum value is \(3\), attained at \(x=-1\) and \(x=3\).” The value is an output of the function; the points of attainment are inputs.

Takeaway: A correct comparison requires a complete candidate list, a correct function value at every candidate, and a comparison that preserves all ties. Omitting even one candidate can omit an absolute extremum or one of its locations.

Check Your Understanding

Use the closed-interval candidate method and show the candidate values in each case.

  1. For a function continuous on \([a,b]\) and differentiable on \((a,b)\), what inputs belong in the candidate list?
  2. If two candidates have the same greatest function value, how should the absolute maximum be reported?
  3. For \(g(x)=x^2\) on \([-2,1]\), find the interior critical number, evaluate all candidates, and report both absolute extrema and their locations.
  4. Why is comparing candidate inputs alone insufficient to determine absolute extrema?
  5. Which hypothesis in the stated candidate theorem ensures that interior extrema are represented among the points where the derivative is zero?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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