← MathScape

The Closed Interval Method

MATH161
Reference: Stewart §3.1  •  Chapter: 3  •  Section: 1

Navigation: Wiki Home > Skills > The Closed Interval Method

The Closed Interval Method

The Complete Algorithm for Finding Absolute Extrema

We now have all the pieces to systematically find absolute maximum and minimum values:

The Closed Interval Method combines these into a foolproof 3-step algorithm.

Prerequisite Map

This skill
Closed Interval Method

Quick Reference

Property Value
Section Stewart §3.1
Course MATH161
Difficulty Intermediate
Time ~20 minutes

Key Concepts

The Closed Interval Method

To find the absolute maximum and absolute minimum values of a continuous function $f$ on a closed interval $[a, b]$:

$$\boxed{ \begin{aligned} &\textbf{Step 1: } \text{Find all critical numbers of } f \text{ in } (a, b) \\ &\textbf{Step 2: } \text{Evaluate } f \text{ at critical numbers and endpoints} \\ &\textbf{Step 3: } \text{Compare: largest = abs max, smallest = abs min} \end{aligned} }$$

Why This Works

Theorem: If $f$ is continuous on $[a, b]$, then $f$ attains its absolute maximum and minimum at either:

Proof idea:

  1. By EVT, absolute extrema exist.
  2. If an absolute extremum is at an interior point $c$, it's also a local extremum at $c$.
  3. By Fermat's Theorem (extended), $c$ must be a critical number.
  4. Otherwise, the extremum is at an endpoint.

So we only need to check critical numbers and endpoints—that's our complete list of candidates.

The Algorithm Visualized

                    f(x)
                     │
    endpoint         │      ★ critical number
    f(a) = ?    ───▶ │     (f'(c) = 0)
                     │    /\
                     │   /  \
                     │  /    \
                     │ /      \_____ endpoint
                     │/              f(b) = ?
                     └────────────────────────── x
                     a    c                    b

Candidates: {f(a), f(c), f(b)}
Compare all values → identify max and min

Common Mistakes to Avoid

Mistake Why It's Wrong Correct Approach
Forgetting to check endpoints Absolute extrema can occur at endpoints Always evaluate $f(a)$ and $f(b)$
Including critical numbers outside $[a,b]$ Only interior critical numbers matter Only use critical numbers in $(a, b)$
Stopping after finding $f'(x) = 0$ Must compare values, not just find critical points Evaluate and compare all candidates
Claiming the method works for open intervals EVT requires closed intervals Only applies to $[a, b]$, not $(a, b)$

Worked Example

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

Step 1: Find critical numbers in $(-2, 2)$. $$f'(x) = 3x^2 - 3 = 3(x^2 - 1) = 3(x-1)(x+1)$$ $$f'(x) = 0 \Rightarrow x = 1 \text{ or } x = -1$$

Both are in $(-2, 2)$. ✓

Step 2: Evaluate $f$ at critical numbers and endpoints.

$x$ Type $f(x) = x^3 - 3x + 1$
$-2$ endpoint $(-2)^3 - 3(-2) + 1 = -8 + 6 + 1 = -1$
$-1$ critical $(-1)^3 - 3(-1) + 1 = -1 + 3 + 1 = 3$
$1$ critical $(1)^3 - 3(1) + 1 = 1 - 3 + 1 = -1$
$2$ endpoint $(2)^3 - 3(2) + 1 = 8 - 6 + 1 = 3$

Step 3: Compare.

Answer:

Practice Problems

Level 1 Polynomial on a Closed Interval

Find the absolute maximum and minimum values of $f(x) = x^2 - 4x + 5$ on $[0, 3]$.

Thought Process
  1. This is a parabola opening upward with vertex at $x = -b/(2a) = 4/2 = 2$
  2. Find $f'(x)$, set equal to zero
  3. Check if the critical number is in the interval $(0, 3)$
  4. Evaluate at critical number and both endpoints
  5. Compare
Show Answer

Step 1: Find critical numbers. $$f'(x) = 2x - 4 = 0 \Rightarrow x = 2$$

Since $2 \in (0, 3)$, it's a valid critical number.

Step 2: Evaluate.

$x$ $f(x) = x^2 - 4x + 5$
$0$ $0 - 0 + 5 = 5$
$2$ $4 - 8 + 5 = 1$
$3$ $9 - 12 + 5 = 2$

Step 3: Compare.

  • Absolute maximum: $f(0) = 5$ at $x = 0$
  • Absolute minimum: $f(2) = 1$ at $x = 2$
Level 2 Cubic with Multiple Critical Numbers

Find the absolute maximum and minimum values of $f(x) = 2x^3 - 9x^2 + 12x - 3$ on $[0, 3]$.

Thought Process
  1. Differentiate: $f'(x) = 6x^2 - 18x + 12$
  2. Factor: $f'(x) = 6(x^2 - 3x + 2) = 6(x-1)(x-2)$
  3. Critical numbers: $x = 1$ and $x = 2$, both in $(0, 3)$
  4. Evaluate at $x = 0, 1, 2, 3$
  5. Compare
Show Answer

Step 1: Find critical numbers. $$f'(x) = 6x^2 - 18x + 12 = 6(x^2 - 3x + 2) = 6(x-1)(x-2)$$ $$f'(x) = 0 \Rightarrow x = 1 \text{ or } x = 2$$

Both are in $(0, 3)$.

Step 2: Evaluate.

$x$ $f(x) = 2x^3 - 9x^2 + 12x - 3$
$0$ $0 - 0 + 0 - 3 = -3$
$1$ $2 - 9 + 12 - 3 = 2$
$2$ $16 - 36 + 24 - 3 = 1$
$3$ $54 - 81 + 36 - 3 = 6$

Step 3: Compare.

  • Absolute maximum: $f(3) = 6$ at $x = 3$
  • Absolute minimum: $f(0) = -3$ at $x = 0$

Note: The critical numbers $x = 1$ and $x = 2$ give local extrema (local max at 1, local min at 2), but the absolute extrema are at the endpoints.

Level 3 Function with Non-Differentiable Point

Find the absolute maximum and minimum values of $f(x) = x^{2/3}(x - 4)$ on $[-1, 8]$.

Thought Process
  1. First expand: $f(x) = x^{5/3} - 4x^{2/3}$
  2. Differentiate: $f'(x) = \frac{5}{3}x^{2/3} - \frac{8}{3}x^{-1/3}$
  3. Factor out: $f'(x) = \frac{1}{3}x^{-1/3}(5x - 8)$
  4. Critical numbers: $f'(x) = 0$ when $5x - 8 = 0$ (i.e., $x = 8/5$)
  5. Evaluate at $x = -1, 0, 8/5, 8$
Show Answer

Step 1: Find critical numbers.

$$f(x) = x^{5/3} - 4x^{2/3}$$ $$f'(x) = \frac{5}{3}x^{2/3} - \frac{8}{3}x^{-1/3} = \frac{5x - 8}{3x^{1/3}}$$

Critical numbers:

  • $f'(x) = 0$: $5x - 8 = 0 \Rightarrow x = \frac{8}{5} = 1.6$ ✓ (in interval)
  • $f'(x)$ DNE: $x = 0$ ✓ (in interval, and $f(0) = 0$ exists)

Step 2: Evaluate.

$x$ $f(x) = x^{2/3}(x-4)$
$-1$ $(-1)^{2/3}(-1-4) = 1 \cdot (-5) = -5$
$0$ $0^{2/3}(0-4) = 0$
$\frac{8}{5}$ $\left(\frac{8}{5}\right)^{2/3}\left(\frac{8}{5}-4\right) = \left(\frac{8}{5}\right)^{2/3}\left(-\frac{12}{5}\right) \approx -3.24$
$8$ $8^{2/3}(8-4) = 4 \cdot 4 = 16$

For $x = 8/5$: $\left(\frac{8}{5}\right)^{2/3} = \frac{8^{2/3}}{5^{2/3}} = \frac{4}{5^{2/3}} \approx 1.37$, so $f(8/5) \approx 1.37 \cdot (-2.4) \approx -3.29$

Step 3: Compare.

  • Absolute maximum: $f(8) = 16$ at $x = 8$
  • Absolute minimum: $f(-1) = -5$ at $x = -1$
Level 4 Trigonometric Function

Find the absolute maximum and minimum values of $f(x) = x - 2\sin x$ on $[0, 2\pi]$.

Thought Process
  1. $f'(x) = 1 - 2\cos x$
  2. $f'(x) = 0$ when $\cos x = 1/2$
  3. In $[0, 2\pi]$: $\cos x = 1/2$ at $x = \pi/3$ and $x = 5\pi/3$
  4. Evaluate at $x = 0, \pi/3, 5\pi/3, 2\pi$
  5. Recall: $\sin(\pi/3) = \sqrt{3}/2$ and $\sin(5\pi/3) = -\sqrt{3}/2$
Show Answer

Step 1: Find critical numbers. $$f'(x) = 1 - 2\cos x = 0 \Rightarrow \cos x = \frac{1}{2}$$

In $[0, 2\pi]$: $x = \frac{\pi}{3}$ and $x = \frac{5\pi}{3}$

Step 2: Evaluate.

$x$ $f(x) = x - 2\sin x$
$0$ $0 - 2(0) = 0$
$\frac{\pi}{3}$ $\frac{\pi}{3} - 2 \cdot \frac{\sqrt{3}}{2} = \frac{\pi}{3} - \sqrt{3} \approx -0.685$
$\frac{5\pi}{3}$ $\frac{5\pi}{3} - 2 \cdot \left(-\frac{\sqrt{3}}{2}\right) = \frac{5\pi}{3} + \sqrt{3} \approx 6.968$
$2\pi$ $2\pi - 2(0) = 2\pi \approx 6.283$

Step 3: Compare.

  • Absolute maximum: $f\left(\frac{5\pi}{3}\right) = \frac{5\pi}{3} + \sqrt{3}$ at $x = \frac{5\pi}{3}$
  • Absolute minimum: $f\left(\frac{\pi}{3}\right) = \frac{\pi}{3} - \sqrt{3}$ at $x = \frac{\pi}{3}$
Level 5 Applied Optimization Preview

A rectangular box with no top is to be made from a square piece of cardboard by cutting equal squares from each corner and folding up the sides. If the cardboard is 12 inches on each side, what size square should be cut from each corner to maximize the volume of the box?

Set up the problem, identify the constraint, apply the Closed Interval Method, and verify your answer makes physical sense.

Thought Process
  1. Draw a picture: Square cardboard with corners cut out. After folding, the box has:
  1. Write the volume function:
  1. Determine the domain: Physical constraints require $x > 0$ and $12 - 2x > 0$, so $0 < x < 6$. For the closed interval method, use $[0, 6]$.
  1. Apply the method:
Show Answer

Setup:

Let $x$ = side length of squares cut from each corner (in inches).

After cutting and folding:

  • Box height: $x$
  • Box base: $(12 - 2x) \times (12 - 2x)$
  • Volume: $V(x) = x(12 - 2x)^2$

Domain: We need $x > 0$ (positive cuts) and $12 - 2x > 0$ (base exists), so $0 < x < 6$.

For the Closed Interval Method, we use $[0, 6]$ (note: $V(0) = V(6) = 0$, so endpoints give boxes with zero volume).

Step 1: Find critical numbers.

Expand: $V(x) = x(144 - 48x + 4x^2) = 4x^3 - 48x^2 + 144x$

$$V'(x) = 12x^2 - 96x + 144 = 12(x^2 - 8x + 12) = 12(x-2)(x-6)$$

$$V'(x) = 0 \Rightarrow x = 2 \text{ or } x = 6$$

Only $x = 2$ is in the interior $(0, 6)$.

Step 2: Evaluate.

$x$ $V(x) = x(12-2x)^2$
$0$ $0 \cdot 144 = 0$
$2$ $2 \cdot 64 = 128$
$6$ $6 \cdot 0 = 0$

Step 3: Compare.

Maximum volume is 128 cubic inches when $x = 2$ inches.

Verification:

  • At $x = 2$: box is $2 \times 8 \times 8$, volume = $2 \times 64 = 128$ ✓
  • Physical sense: Not too shallow (would waste cardboard), not too deep (would make base too small). $x = 2$ is 1/6 of the cardboard side, which is reasonable.

Mastery Checklist

Mental Model

The Talent Show Analogy:

Finding the absolute max/min on $[a, b]$ is like judging a talent show with a limited contestant pool.

The contestants:

The judging:

  1. Round up all contestants (find critical numbers, note endpoints)
  2. Score each one (evaluate $f$ at each point)
  3. Compare scores (the highest wins "max," the lowest wins "min")

You don't need to check every interior point—only the critical numbers have a chance at winning.


Connections

Looking back:

Looking ahead:


Previous Up Next
Critical Numbers Section Index Mean Value Theorem

Last updated: 2026-01-22