Search Knowledge

© 2026 LIBREUNI PROJECT

Calculus & Analysis / Overview

Mean Value Theorem: The Guarantee of Speed

Mean Value Theorem: The Guarantee of Speed

The Mean Value Theorem (MVT) is often viewed as a “theoretical” result used by mathematicians for proofs. However, it has a very intuitive and practical meaning: if you travel 100 miles in one hour, there must have been at least one instant where your speedometer read exactly 100 mph.

Rolle’s Theorem: The Foundation

Rolle’s Theorem is a special case of the MVT. It states that if a continuous and differentiable function f(x)f(x) starts and ends at the same value (f(a)=f(b)f(a) = f(b)), there must be at least one point cc in between where the derivative is zero (f(c)=0f'(c) = 0).

Think of it like this: if you throw a ball up and it comes back to your hand, there was a moment at the very top of its path where its vertical velocity was exactly zero.

The General Mean Value Theorem

The MVT generalizes Rolle’s Theorem to functions that don’t end where they start. It states that for a differentiable function f(x)f(x) on [a,b][a, b], there exists a point c(a,b)c \in (a, b) such that: f(c)=f(b)f(a)baf'(c) = \frac{f(b) - f(a)}{b - a}

In plain English: The instantaneous rate of change (f(c)f'(c)) must equal the average rate of change over the interval at some point.

Why do we care?

The MVT is the bridge between local behavior (the derivative at a point) and global behavior (the function values at the endpoints).

  • It allows us to bound the error in numerical approximations.
  • It proves that if f(x)=0f'(x) = 0 everywhere, f(x)f(x) must be a constant.
  • It is the primary tool used to prove the Fundamental Theorem of Calculus.
python
1import numpy as np
2import matplotlib.pyplot as plt
3 
4# Interval [a, b]
5a, b = 0, 2
6 
7# Function f(x) = x^2
8def f(x): return x**2
9def df(x): return 2*x
10 
11# Average rate of change (Secant slope)
12avg_rate = (f(b) - f(a)) / (b - a)
13 
14# Find 'c' where f'(c) == avg_rate => 2c = 2 => c = 1
15c = 1
16 
17x = np.linspace(-0.5, 2.5, 100)
18plt.plot(x, f(x), label='f(x) = x^2')
19plt.plot([a, b], [f(a), f(b)], '--', color='red', label='Average Rate (Secant)')
20plt.scatter([c], [f(c)], color='green', zorder=5)
21 
22# Tangent at c
23tangent_x = np.linspace(0.5, 1.5, 50)
24tangent_y = f(c) + df(c)*(tangent_x - c)
25plt.plot(tangent_x, tangent_y, color='green', label='Instantaneous Rate (Tangent)')
26 
27plt.title("Mean Value Theorem: Parallel Slopes")
28plt.legend()
29plt.grid(True)
30plt.show()
31 
32print(f"Average Rate over [{a}, {b}]: {avg_rate}")
33print(f"Instantaneous Rate at c={c}: {df(c)}")
34 

Taylor’s Theorem: MVT on Steroids

If the MVT tells us how to approximate a function with a line, Taylor’s Theorem tells us how to approximate it with a polynomial of any degree. f(x)=f(a)+f(a)(xa)+f(a)2!(xa)2++Rn(x)f(x) = f(a) + f'(a)(x-a) + \frac{f''(a)}{2!}(x-a)^2 + \dots + R_n(x) The “remainder” Rn(x)R_n(x) is defined using a generalization of the Mean Value Theorem. This allows engineers to know exactly how many terms they need to keep in a computer simulation to ensure the error remains below a certain threshold.

Exercises

If a driver passes two toll booths 60 miles apart in 45 minutes, can they be fined for speeding in a 65 mph zone?

What condition must be met for the Mean Value Theorem to apply to a function on [a, b]?

How is Rolle's Theorem related to the Mean Value Theorem?

Previous Module Limits and Continuity