Skip to main content

Thomas’ Calculus · Chapter 04 · Section 4.2

By Muhammad Abdullah Athar · SymPy Verified

The Mean Value Theorem

❦

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.2: The Mean Value Theorem

The Mean Value Theorem (MVT) is often called the fundamental theorem of differential calculus. It connects the global average behavior of a function over an interval to its local instantaneous derivative at an interior point.


1. Rolle's Theorem

If ff is continuous on [a,b][a, b], differentiable on (a,b)(a, b), and f(a)=f(b)f(a) = f(b), then:

∃c∈(a,b)such thatf′(c)=0\exists c \in (a, b) \quad \text{such that} \quad f'(c) = 0

2. The Mean Value Theorem (MVT)

If ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b), then there exists at least one c∈(a,b)c \in (a, b) such that:

f′(c)=f(b)−f(a)b−af'(c) = \frac{f(b) - f(a)}{b - a}

Important Corollaries:

  1. Zero Derivative   ⟹  \implies Constant Function: If f′(x)=0f'(x) = 0 for all x∈(a,b)x \in (a, b), then f(x)=Cf(x) = C.
  2. Equal Derivatives   ⟹  \implies Constant Difference: If f′(x)=g′(x)f'(x) = g'(x) for all xx, then f(x)=g(x)+Cf(x) = g(x) + C.

Part Two

Key Ideas to Remember

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

Theorem #1Sec 4.2

Rolle's Theorem

f(a)=f(b)  ⟹  ∃c∈(a,b) s.t. f′(c)=0f(a) = f(b) \implies \exists c \in (a, b) \text{ s.t. } f'(c) = 0

Suppose f is continuous on [a, b] and differentiable on (a, b). If f(a) = f(b), then there exists at least one point c in (a, b) where f'(c) = 0.

Conditions: f continuous on [a, b]; f differentiable on (a, b); f(a) = f(b)

In plain words: If a smooth curve starts and ends at the same horizontal level, it must have at least one horizontal tangent in between.

Remember — Matching endpoints on a smooth curve guarantee a horizontal tangent.

Theorem #2Sec 4.2

The Mean Value Theorem (MVT)

f′(c)=f(b)−f(a)b−af'(c) = \frac{f(b) - f(a)}{b - a}

If f is continuous on [a, b] and differentiable on (a, b), then there exists at least one point c in (a, b) where the instantaneous rate of change f'(c) equals the average rate of change [f(b) - f(a)] / (b - a).

Conditions: f continuous on [a, b]; f differentiable on (a, b)

In plain words: Geometrically, there is at least one tangent line parallel to the secant line joining endpoints (a, f(a)) and (b, f(b)).

Remember — Instantaneous slope must equal average slope at some interior point.

Part Three

Worked Examples

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

Example 01(Section 4.2, Exercise 1)

Warm-up

Problem. Verify the hypotheses of Rolle's Theorem for f(x) = x^3 - 4x on [-2, 2], and find all numbers c that satisfy the conclusion.

Step-by-Step Derivation (2 steps)

1

Check Hypotheses

f is continuous on [−2,2],  f is differentiable on (−2,2);f(−2)=−8+8=0,  f(2)=8−8=0f \text{ is continuous on } [-2, 2], \; f \text{ is differentiable on } (-2, 2); \quad f(-2) = -8 + 8 = 0, \; f(2) = 8 - 8 = 0

Polynomials are everywhere continuous and differentiable, and f(-2) = f(2) = 0.

Why this works: All 3 hypotheses of Rolle's Theorem are satisfied.
2

Solve f'(c) = 0

f′(x)=3x2−4=0  ⟹  x2=43  ⟹  c=±23f'(x) = 3x^2 - 4 = 0 \implies x^2 = \frac{4}{3} \implies c = \pm \frac{2}{\sqrt{3}}

Differentiate and set to zero.

Why this works: Both points lie strictly within (-2, 2).

Answer: c=±23=±233≈±1.155c = \pm \frac{2}{\sqrt{3}} = \pm \frac{2\sqrt{3}}{3} \approx \pm 1.155

✓ Verified by SymPy CAS

Example 02(Section 4.2, Exercise 2)

Warm-up

Problem. Verify MVT for f(x) = x^2 + 2x - 1 on [0, 2] and find the value of c.

Step-by-Step Derivation (2 steps)

1

Calculate Average Rate of Change

f(0)=−1,f(2)=4+4−1=7  ⟹  f(2)−f(0)2−0=7−(−1)2=82=4f(0) = -1, \quad f(2) = 4 + 4 - 1 = 7 \implies \frac{f(2) - f(0)}{2 - 0} = \frac{7 - (-1)}{2} = \frac{8}{2} = 4

Compute the secant slope across [0, 2].

Why this works: MVT target slope.
2

Equate f'(c) to Average Rate

f′(x)=2x+2  ⟹  2c+2=4  ⟹  2c=2  ⟹  c=1f'(x) = 2x + 2 \implies 2c + 2 = 4 \implies 2c = 2 \implies c = 1

Set derivative equal to secant slope 4.

Why this works: c = 1 is the unique interior point in (0, 2).

Answer: c=1c = 1

✓ Verified by SymPy CAS

Example 03(Section 4.2, Exercise 3)

Core practice

Problem. Find the value of c guaranteed by the Mean Value Theorem for f(x) = sqrt(x) on [1, 9].

Step-by-Step Derivation (2 steps)

1

Compute Average Rate of Change on [1, 9]

f(9)−f(1)9−1=3−18=28=14\frac{f(9) - f(1)}{9 - 1} = \frac{3 - 1}{8} = \frac{2}{8} = \frac{1}{4}

Evaluate secant slope.

Why this works: Secant line slope.
2

Solve f'(c) = 1/4

f′(x)=12x  ⟹  12c=14  ⟹  2c=4  ⟹  c=2  ⟹  c=4f'(x) = \frac{1}{2\sqrt{x}} \implies \frac{1}{2\sqrt{c}} = \frac{1}{4} \implies 2\sqrt{c} = 4 \implies \sqrt{c} = 2 \implies c = 4

Set derivative equal to 1/4 and solve for c.

Why this works: c = 4 lies strictly in (1, 9).

Answer: c=4c = 4

✓ Verified by SymPy CAS

Example 04(Section 4.2, Exercise 4)

Core practice

Problem. Prove that the equation x^3 + 3x + 1 = 0 has exactly one real solution.

Step-by-Step Derivation (3 steps)

1

Prove Existence of at Least One Root (IVT)

f(−1)=−1−3+1=−3<0,f(0)=1>0  ⟹  ∃r∈(−1,0) s.t. f(r)=0f(-1) = -1 - 3 + 1 = -3 < 0, \quad f(0) = 1 > 0 \implies \exists r \in (-1, 0) \text{ s.t. } f(r) = 0

Apply Intermediate Value Theorem on [-1, 0].

Why this works: Guarantees at least one real root.
2

Assume Two Roots and Apply Rolle's Theorem

Suppose f(a)=f(b)=0 with a<b  ⟹  ∃c∈(a,b) s.t. f′(c)=0\text{Suppose } f(a) = f(b) = 0 \text{ with } a < b \implies \exists c \in (a, b) \text{ s.t. } f'(c) = 0

If two roots existed, Rolle's Theorem would require f'(c) = 0.

Why this works: Proof by contradiction.
3

Demonstrate Contradiction with Derivative

f′(x)=3x2+3≥3>0∀x∈Rf'(x) = 3x^2 + 3 \ge 3 > 0 \quad \forall x \in \mathbb{R}

f'(x) is strictly positive everywhere; it can never equal 0.

Why this works: Contradiction implies f can have at most one real root.

Answer: The equation has exactly one real root (at least one by IVT, at most one by Rolle’s Theorem)\text{The equation has exactly one real root (at least one by IVT, at most one by Rolle's Theorem)}

✓ Verified by SymPy CAS

Example 05(Section 4.2, Exercise 5)

Challenge

Problem. Prove that |sin b - sin a| <= |b - a| for all real numbers a and b.

Step-by-Step Derivation (2 steps)

1

Apply MVT to f(x) = sin(x) on [a, b]

sin⁡b−sin⁡ab−a=f′(c)=cos⁡cfor some c∈(a,b)\frac{\sin b - \sin a}{b - a} = f'(c) = \cos c \quad \text{for some } c \in (a, b)

Since sine is continuous and differentiable everywhere, MVT applies.

Why this works: MVT formulation.
2

Take Absolute Values and Bound Cosine

∣sin⁡b−sin⁡a∣=∣cos⁡c∣⋅∣b−a∣≤1⋅∣b−a∣=∣b−a∣|\sin b - \sin a| = |\cos c| \cdot |b - a| \le 1 \cdot |b - a| = |b - a|

Because |cos(c)| <= 1 for all real c, the result follows immediately.

Why this works: Trigonometric bound |cos(x)| <= 1.

Answer: ∣sin⁡b−sin⁡a∣≤∣b−a∣|\sin b - \sin a| \le |b - a|

✓ Verified by SymPy CAS