Skip to main content

Thomas’ Calculus · Chapter 04 · Section 4.1

By Muhammad Abdullah Athar · SymPy Verified

Extreme Values of Functions on Closed Intervals

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 4.1: Extreme Values of Functions on Closed Intervals

Optimization begins with locating points where a function achieves its greatest or least values.


1. Absolute vs Local Extrema

  • Absolute Maximum: f(c)≥f(x)f(c) \ge f(x) for all xx in the domain.
  • Absolute Minimum: f(c)≤f(x)f(c) \le f(x) for all xx in the domain.
  • Local Maximum / Minimum: Extremum holds within an open neighborhood around cc.

2. Fermat's Theorem on Local Extrema

If ff has a local maximum or minimum at an interior point cc, and if f′(c)f'(c) exists, then:

f′(c)=0f'(c) = 0

Therefore, local extrema can occur only at:

  1. Critical Points: Points where f′(c)=0f'(c) = 0 or f′(c)f'(c) does not exist.
  2. Endpoints: Boundary points of the domain.

Part Two

Key Ideas to Remember

3 essential statements for this section, each with a plain-words explanation.

Theorem #1Sec 4.1

The Extreme Value Theorem (EVT)

f∈C[a,b]  ⟹  ∃c,d∈[a,b] s.t. f(c)≤f(x)≤f(d)  ∀x∈[a,b]f \in C[a, b] \implies \exists c, d \in [a, b] \text{ s.t. } f(c) \le f(x) \le f(d) \; \forall x \in [a, b]

If f is continuous on a closed, bounded interval [a, b], then f attains both an absolute maximum value M and an absolute minimum value m at least once in [a, b].

Conditions: f must be continuous on [a, b]; The interval [a, b] must be both closed and bounded

In plain words: If the interval is open (e.g. (0, 1)) or f is discontinuous, the function may fail to attain extreme values.

Remember — Continuous functions on closed bounded intervals always attain maximum and minimum values.

Definition #2Sec 4.1

Critical Point of a Function

x0∈Domain(f)where f′(x0)=0or f′(x0) is undefinedx_0 \in \text{Domain}(f) \quad \text{where } f'(x_0) = 0 \quad \text{or } f'(x_0) \text{ is undefined}

An interior point c of the domain of f is a critical point if either f'(c) = 0 or f'(c) does not exist.

Conditions: c must belong to the interior of domain of f

In plain words: Fermat's Theorem states that local extrema can occur ONLY at critical points or boundary endpoints.

Remember — Candidates for local extrema are points where f' is zero or undefined.

Rule #3Sec 4.1

The Closed Interval Method

Absolute Extrema=max⁡/min⁡{f(ci),f(a),f(b)}\text{Absolute Extrema} = \max / \min \{ f(c_i), f(a), f(b) \}

To find absolute extrema of a continuous function on [a, b]: (1) Find all critical points in (a, b), (2) Evaluate f at all critical points, (3) Evaluate f at endpoints a and b, (4) The largest value is the absolute max; the smallest is the absolute min.

Conditions: Interval [a, b] is closed and bounded; f is continuous on [a, b]

In plain words: Guaranteed to locate global extrema without needing second derivative tests.

Remember — Evaluate f only at interior critical points and boundary endpoints.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 4.1, Exercise 1)

Warm-up

Problem. Find the absolute maximum and minimum values of f(x) = 2x^3 - 3x^2 - 12x + 1 on the closed interval [-2, 3].

Step-by-Step Derivation (4 steps)

1

Find Critical Points in (-2, 3)

f′(x)=6x2−6x−12=6(x2−x−2)=6(x−2)(x+1)=0  ⟹  x=2,  x=−1f'(x) = 6x^2 - 6x - 12 = 6(x^2 - x - 2) = 6(x - 2)(x + 1) = 0 \implies x = 2, \; x = -1

Differentiate f(x) and set f'(x) = 0.

Why this works: Both x = 2 and x = -1 lie inside (-2, 3).
2

Evaluate f at Critical Points

f(−1)=2(−1)−3(1)−12(−1)+1=−2−3+12+1=8;f(2)=2(8)−3(4)−12(2)+1=16−12−24+1=−19f(-1) = 2(-1) - 3(1) - 12(-1) + 1 = -2 - 3 + 12 + 1 = 8; \quad f(2) = 2(8) - 3(4) - 12(2) + 1 = 16 - 12 - 24 + 1 = -19

Calculate values at interior critical points.

Why this works: Critical point candidates.
3

Evaluate f at Endpoints

f(−2)=2(−8)−3(4)−12(−2)+1=−16−12+24+1=−3;f(3)=2(27)−3(9)−12(3)+1=54−27−36+1=−8f(-2) = 2(-8) - 3(4) - 12(-2) + 1 = -16 - 12 + 24 + 1 = -3; \quad f(3) = 2(27) - 3(9) - 12(3) + 1 = 54 - 27 - 36 + 1 = -8

Evaluate at boundaries x = -2 and x = 3.

Why this works: Endpoint candidates.
4

Compare All Candidate Values

max⁡{−3,8,−19,−8}=8,min⁡{−3,8,−19,−8}=−19\max\{-3, 8, -19, -8\} = 8, \quad \min\{-3, 8, -19, -8\} = -19

The largest value is 8; the smallest value is -19.

Why this works: Closed Interval Method conclusion.

Answer: Absolute Maximum: 8 at x=−1;Absolute Minimum: −19 at x=2\text{Absolute Maximum: } 8 \text{ at } x = -1; \quad \text{Absolute Minimum: } -19 \text{ at } x = 2

✓ Verified by SymPy CAS

Example 02(Section 4.1, Exercise 2)

Core practice

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

Step-by-Step Derivation (3 steps)

1

Differentiate f(x) via Product Rule

f(x)=5x2/3−2x5/3  ⟹  f′(x)=103x−1/3−103x2/3=103x1/3(1−x)f(x) = 5x^{2/3} - 2x^{5/3} \implies f'(x) = \frac{10}{3}x^{-1/3} - \frac{10}{3}x^{2/3} = \frac{10}{3x^{1/3}}(1 - x)

Expand and differentiate.

Why this works: Locating critical points.
2

Identify Critical Points

f′(x)=0  ⟹  1−x=0  ⟹  x=1;f′(x) undefined at x=0f'(x) = 0 \implies 1 - x = 0 \implies x = 1; \quad f'(x) \text{ undefined at } x = 0

x = 1 makes numerator zero; x = 0 makes denominator zero.

Why this works: Both x = 1 and x = 0 are critical points in (-1, 2).
3

Evaluate f at All Candidates

f(−1)=(−1)2/3(5+2)=7,  f(0)=0,  f(1)=1(5−2)=3,  f(2)=22/3(5−4)=43≈1.59f(-1) = (-1)^{2/3}(5 + 2) = 7, \; f(0) = 0, \; f(1) = 1(5 - 2) = 3, \; f(2) = 2^{2/3}(5 - 4) = \sqrt[3]{4} \approx 1.59

Evaluate f at endpoints and critical points. The maximum value is 7 at x = -1, and minimum is 0 at x = 0.

Why this works: Extreme value theorem guarantees maximum and minimum occur at critical points or endpoints.

Answer: Absolute Maximum: 7 at x=−1;Absolute Minimum: 0 at x=0\text{Absolute Maximum: } 7 \text{ at } x = -1; \quad \text{Absolute Minimum: } 0 \text{ at } x = 0

✓ Verified by SymPy CAS

Example 03(Section 4.1, Exercise 3)

Core practice

Problem. Find the absolute extrema of f(x) = x - 2*sin(x) on [0, 2*pi].

Step-by-Step Derivation (3 steps)

1

Find Critical Points in (0, 2*pi)

f′(x)=1−2cos⁡x=0  ⟹  cos⁡x=12  ⟹  x=π3,  5π3f'(x) = 1 - 2\cos x = 0 \implies \cos x = \frac{1}{2} \implies x = \frac{\pi}{3}, \; \frac{5\pi}{3}

Solve f'(x) = 0 for angles in [0, 2*pi].

Why this works: Critical points.
2

Evaluate f at Critical Points

f(π/3)=π3−2sin⁡(π/3)=π3−3≈−0.684;f(5π/3)=5π3−2(−32)=5π3+3≈6.968f(\pi/3) = \frac{\pi}{3} - 2\sin(\pi/3) = \frac{\pi}{3} - \sqrt{3} \approx -0.684; \quad f(5\pi/3) = \frac{5\pi}{3} - 2\left(-\frac{\sqrt{3}}{2}\right) = \frac{5\pi}{3} + \sqrt{3} \approx 6.968

Calculate values at pi/3 and 5*pi/3.

Why this works: Interior candidate values.
3

Evaluate f at Endpoints

f(0)=0−2sin⁡(0)=0;f(2π)=2π−2sin⁡(2π)=2π≈6.283f(0) = 0 - 2\sin(0) = 0; \quad f(2\pi) = 2\pi - 2\sin(2\pi) = 2\pi \approx 6.283

Endpoint evaluations.

Why this works: Endpoint candidate values.

Answer: Absolute Maximum: 2π≈6.28 at x=2π;Absolute Minimum: π3−3≈−0.684 at x=π3\text{Absolute Maximum: } 2\pi \approx 6.28 \text{ at } x = 2\pi; \quad \text{Absolute Minimum: } \frac{\pi}{3} - \sqrt{3} \approx -0.684 \text{ at } x = \frac{\pi}{3}

✓ Verified by SymPy CAS

Example 04(Section 4.1, Exercise 4)

Warm-up

Problem. Find the absolute extrema of f(x) = x / (x^2 + 1) on [0, 3].

Step-by-Step Derivation (3 steps)

1

Compute Derivative via Quotient Rule

f′(x)=1(x2+1)−x(2x)(x2+1)2=1−x2(x2+1)2f'(x) = \frac{1(x^2 + 1) - x(2x)}{(x^2 + 1)^2} = \frac{1 - x^2}{(x^2 + 1)^2}

Differentiate f(x).

Why this works: Quotient rule.
2

Find Critical Points in (0, 3)

1−x2=0  ⟹  x=1(x=−1 is outside [0,3])1 - x^2 = 0 \implies x = 1 \quad (x = -1 \text{ is outside } [0, 3])

Only x = 1 belongs to the interval [0, 3].

Why this works: Domain restriction.
3

Evaluate f at Candidates

f(0)=0;f(1)=11+1=12;f(3)=332+1=310=0.3f(0) = 0; \quad f(1) = \frac{1}{1 + 1} = \frac{1}{2}; \quad f(3) = \frac{3}{3^2 + 1} = \frac{3}{10} = 0.3

Compare 0, 0.5, and 0.3.

Why this works: Global maximum is 1/2; global minimum is 0.

Answer: Absolute Maximum: 12 at x=1;Absolute Minimum: 0 at x=0\text{Absolute Maximum: } \frac{1}{2} \text{ at } x = 1; \quad \text{Absolute Minimum: } 0 \text{ at } x = 0

✓ Verified by SymPy CAS

Example 05(Section 4.1, Exercise 5)

Core practice

Problem. Find the absolute extrema of f(x) = |x^2 - 4| on [-3, 3].

Step-by-Step Derivation (3 steps)

1

Locate Points of Non-Differentiability

x2−4=0  ⟹  x=±2  ⟹  f′(x) does not exist at x=±2x^2 - 4 = 0 \implies x = \pm 2 \implies f'(x) \text{ does not exist at } x = \pm 2

The corners of the absolute value occur where the interior is zero.

Why this works: Points where f' DNE are critical points.
2

Locate Zero-Slope Critical Points

For x∈(−2,2),  f(x)=4−x2  ⟹  f′(x)=−2x=0  ⟹  x=0\text{For } x \in (-2, 2), \; f(x) = 4 - x^2 \implies f'(x) = -2x = 0 \implies x = 0

Differentiate the inverted parabola branch.

Why this works: Interior zero-slope point.
3

Evaluate All Candidates

f(±3)=∣9−4∣=5;f(±2)=0;f(0)=∣0−4∣=4f(\pm 3) = |9 - 4| = 5; \quad f(\pm 2) = 0; \quad f(0) = |0 - 4| = 4

Compare candidate values: min is 0, max is 5.

Why this works: Closed interval method.

Answer: Absolute Maximum: 5 at x=±3;Absolute Minimum: 0 at x=±2\text{Absolute Maximum: } 5 \text{ at } x = \pm 3; \quad \text{Absolute Minimum: } 0 \text{ at } x = \pm 2

✓ Verified by SymPy CAS