Tutorials › AP Calculus › Absolute Extrema of Polynomial and Rational Functions

Mean and Extreme Value Theorems · Tutorial 327 of 999

Absolute Extrema of Polynomial and Rational Functions

Use a complete candidate list and exact value comparisons to find absolute extrema of polynomial and rational functions on closed intervals.

Intermediate 10 min read

What You'll Learn

  • Find critical numbers by solving a polynomial’s derivative equation or a rational function’s derivative numerator equation.
  • Check that a rational function is defined and continuous throughout the entire closed interval.
  • Evaluate the function at every critical number in the interval and at both endpoints.
  • Compare candidate values to identify absolute maxima, minima, and all locations where they occur.
  • Recognize why omitting endpoints or overlooking a denominator zero can invalidate an extrema conclusion.

From Critical Numbers to Absolute Extrema

A derivative can identify where a function has a horizontal tangent, but that information alone does not determine the greatest or least value on an interval. An absolute maximum or minimum may occur at an endpoint, or at an interior critical number. To find absolute extrema reliably, list every possible candidate, evaluate the function at each one, and compare the resulting values.

For polynomials and rational functions, this process is systematic. The key conditions are that the interval is closed and bounded, and that the function is defined and continuous throughout it. Rational functions require particular care: their denominators must not be zero anywhere in the interval.

Definition: A function \(f\) has an absolute maximum on an interval if there is a point \(x_{\max}\) in the interval such that \(f(x_{\max})\geq f(x)\) for every \(x\) in the interval. An absolute minimum is defined by \(f(x_{\min})\leq f(x)\) for every \(x\) in the interval. The points \(x_{\max}\) and \(x_{\min}\) are locations of the extrema; the function values are the maximum and minimum values.

The Candidate-Point Method

A critical number is an interior number \(c\) in the domain of \(f\) where \(f'(c)=0\) or \(f'(c)\) does not exist. For polynomials and rational functions, the derivative exists at every point where the function itself is defined. Thus, for these functions, interior critical numbers are found by solving \(f'(x)=0\) and retaining only solutions that lie in the interval and in the function’s domain.

On a closed interval \([a,b]\), include both endpoints \(a\) and \(b\) in the candidate list, whether or not the derivative is zero there. The candidate list consists of the endpoints together with all critical numbers strictly between them.

Theorem: If \(f\) is continuous on a closed, bounded interval \([a,b]\), then it attains both an absolute maximum and an absolute minimum on that interval. If \(f\) is also differentiable at every interior point, each absolute extremum occurs either at an endpoint or at an interior point where \(f'(x)=0\).

A polynomial is continuous and differentiable everywhere. A rational function \(f(x)=\frac{P(x)}{Q(x)}\), where \(P\) and \(Q\) are polynomials, is continuous and differentiable wherever \(Q(x)\neq 0\). Therefore, the theorem applies to a rational function on \([a,b]\) only when its denominator is nonzero throughout that interval.

1
Check the interval and domain.
Confirm that the interval is closed and bounded and that the function is defined and continuous at every point in it. For a rational function, check its denominator throughout the interval.
2
Find interior critical numbers.
Differentiate, solve \(f'(x)=0\), and keep only solutions strictly inside the interval and in the function’s domain.
3
Evaluate all candidates.
Find the function values at every retained critical number and at both endpoints.
4
Compare the values.
The largest candidate value is the absolute maximum; the smallest is the absolute minimum. Report every candidate location attaining either value.

Why the Candidate List Works

The Extreme Value Theorem guarantees that a continuous function on a closed, bounded interval actually attains its greatest and least values. It remains to explain why an interior location of an extremum must appear on the critical-number list.

Suppose \(c\) is an interior location of an absolute maximum and \(f\) is differentiable at \(c\). For sufficiently small positive \(h\), the point \(c+h\) is in the interval, and \(f(c+h)\leq f(c)\). Hence \(\frac{f(c+h)-f(c)}{h}\leq 0\). For sufficiently small negative \(h\), the numerator is still nonpositive but the denominator is negative, so \(\frac{f(c+h)-f(c)}{h}\geq 0\). If the derivative exists, the two-sided limit of these difference quotients must satisfy both inequalities. It follows that \(f'(c)=0\). At an interior minimum the inequalities reverse, and the same reasoning again gives \(f'(c)=0\). So an interior extremum of a differentiable function must be a critical number; the only other candidates are the endpoints.

Worked Examples

Worked Example: A Polynomial with Interior Critical Numbers

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 entire closed interval. Differentiate:

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

Set the derivative equal to zero:

$$ 3(x-1)(x+1)=0 \quad\Longrightarrow\quad x=1\ \text{or}\ x=-1. $$

Both critical numbers lie in \([-2,2]\). The complete candidate list is \(-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 largest value is \(2\), attained at \(x=-1\) and \(x=2\). The smallest value is \(-2\), attained at \(x=-2\) and \(x=1\). As a check, substituting each reported location into \(x^3-3x\) gives the stated value; the derivative equation also confirms that the two interior locations are critical numbers.

Worked Example: A Rational Function with One Critical Number

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

The denominator \(x^2+1\) is positive for every real \(x\), so the function is defined and continuous on the entire interval. Apply the quotient rule:

$$ f'(x) = \frac{(x^2+1)(1)-(x+1)(2x)}{(x^2+1)^2} = \frac{x^2+1-2x^2-2x}{(x^2+1)^2} = \frac{1-2x-x^2}{(x^2+1)^2}. $$

The denominator of \(f'(x)\) is positive, so \(f'(x)=0\) precisely when \(1-2x-x^2=0\):

$$ x^2+2x-1=0 \quad\Longrightarrow\quad x=-1\pm\sqrt{2}. $$

The value \(-1-\sqrt{2}\) is less than \(-1\), so it is outside the interval. The value \(c=-1+\sqrt{2}\) is inside \([-1,2]\). Evaluate at the endpoints and at \(c\):

$$ f(-1)=\frac{0}{2}=0, \qquad f(2)=\frac{3}{5}. $$

At \(c=\sqrt{2}-1\), the numerator is \(c+1=\sqrt{2}\), and

$$ c^2+1=(\sqrt{2}-1)^2+1 =3-2\sqrt{2}+1 =4-2\sqrt{2}. $$

Therefore,

$$ f(c) = \frac{\sqrt{2}}{4-2\sqrt{2}} = \frac{1}{2(\sqrt{2}-1)} = \frac{\sqrt{2}+1}{2}. $$

The candidates give \(0\), \(\frac{3}{5}\), and \(\frac{\sqrt{2}+1}{2}\). Since \(\frac{\sqrt{2}+1}{2}>\frac{3}{5}>0\), the absolute maximum is \(\frac{\sqrt{2}+1}{2}\) at \(x=-1+\sqrt{2}\), and the absolute minimum is \(0\) at \(x=-1\). Substituting \(c\) into the original function gives the same value calculated above, and the derivative numerator vanishes at \(c\), checking both calculations.

Worked Example: Comparing a Rational Critical Value with Both Endpoints

Find the absolute extrema of \(g(x)=\frac{x^2+1}{x+2}\) on \([-1,1]\).

The denominator \(x+2\) is positive on this interval: its smallest value is \(1\), at \(x=-1\). Thus \(g\) is continuous there. Differentiate using the quotient rule:

$$ g'(x) = \frac{(2x)(x+2)-(x^2+1)(1)}{(x+2)^2} = \frac{2x^2+4x-x^2-1}{(x+2)^2} = \frac{x^2+4x-1}{(x+2)^2}. $$

Since the denominator is nonzero, critical numbers satisfy \(x^2+4x-1=0\):

$$ x=\frac{-4\pm\sqrt{16+4}}{2} =-2\pm\sqrt{5}. $$

Only \(c=-2+\sqrt{5}\) lies in \([-1,1]\). The endpoint values are

$$ g(-1)=\frac{2}{1}=2, \qquad g(1)=\frac{2}{3}. $$

To evaluate at \(c\), use \(c^2+4c-1=0\), so \(c^2=1-4c\). Then \(c^2+1=2-4c\), and

$$ g(c) = \frac{2-4c}{c+2} = \frac{2-4(-2+\sqrt{5})}{\sqrt{5}} = \frac{10-4\sqrt{5}}{\sqrt{5}} = 2\sqrt{5}-4. $$

This critical value is positive because \(\sqrt{5}>2\). It is less than \(\frac{2}{3}\), since \(2\sqrt{5}-4<\frac{2}{3}\) is equivalent to \(\sqrt{5}<\frac{7}{3}\), which follows by squaring the positive quantities: \(5<\frac{49}{9}\). Thus the absolute maximum is \(2\) at \(x=-1\), and the absolute minimum is \(2\sqrt{5}-4\) at \(x=-2+\sqrt{5}\). Substitution into the original formula verifies the endpoint values, and the critical-number equation verifies the interior location.

Common Mistakes and Domain Checks

A frequent error is to find critical numbers but omit one or both endpoints. For example, for \(p(x)=x^2\) on \([-2,1]\), the only interior critical number is \(x=0\), and \(p(0)=0\). If the endpoints are ignored, one might incorrectly report \(0\) as the maximum as well as the minimum. But \(p(-2)=4\) and \(p(1)=1\), so the actual maximum is \(4\), attained at \(-2\), and the minimum is \(0\), attained at \(0\).

Another important error is applying the method when a rational function is not defined throughout the interval. Consider \(r(x)=\frac{1}{x-1}\) on the proposed interval \([0,2]\). A mistaken endpoint-only calculation gives \(r(0)=-1\) and \(r(2)=1\), and might claim these are the minimum and maximum. But \(r\) is undefined at \(x=1\), so it is not continuous on the whole interval and the Extreme Value Theorem does not apply. In fact, \(r(x)\) decreases without bound as \(x\) approaches \(1\) from the left, and increases without bound as \(x\) approaches \(1\) from the right. It has neither an absolute minimum nor an absolute maximum on its domain within \([0,2]\).

Takeaway: The candidate-point procedure guarantees absolute extrema only after its hypotheses are checked. For a rational function on \([a,b]\), verify that its denominator is nonzero at every point of the interval before differentiating and comparing values.

Check Your Understanding

For each question, make a complete candidate list before deciding which values are absolute extrema.

  1. Find the absolute maximum and minimum of \(f(x)=x^2-4x\) on \([0,5]\).
  2. For \(h(x)=\frac{x}{x^2+1}\) on \([0,2]\), find the critical number and compare its value with both endpoint values.
  3. Why must a rational function’s denominator be nonzero throughout the closed interval for this method to apply?
  4. Can an absolute maximum occur at an endpoint even when the derivative is nonzero there? Explain briefly.
  5. For \(q(x)=\frac{1}{x+1}\) on \([-2,0]\), explain why the candidate-point theorem cannot be used on the stated interval.

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