Calculus & Analysis

Mean Value Theorem

Visualizing how secant lines relate to tangent lines for continuous and differentiable functions.

By Riano · Published · Updated · Report a correction

Mean Value Theorem

Concept Overview

The Mean Value Theorem (MVT) connects the average rate of change of a function across an interval [a, b] to its instantaneous derivative at an interior point c ∈ (a, b). Geometrically, if a curve is continuous on the closed interval [a, b] and differentiable on the open interval (a, b), there is at least one interior point c where the tangent line is parallel to the secant line joining (a, f(a)) and (b, f(b)).

Mathematical Definition

Let f : [a, b] → ℝ be continuous on [a, b] and differentiable on (a, b) with a < b. Then there exists at least one point c ∈ (a, b) such that:

f′(c) = [f(b) − f(a)] / (b − a)

Worked Example: Cubic Secant and Multiple Interior Tangents

Consider the default cubic polynomial f(x) = x3 − 3x on two intervals to compare a unique interior tangent with multiple interior tangents:

  1. Derivative: Differentiating f(x) = x3 − 3x gives f′(x) = 3x2 − 3.
  2. Symmetric interval [−2, 2]: At the endpoints, f(−2) = (−2)3 − 3(−2) = −2 and f(2) = 23 − 3(2) = 2. The secant slope is m = (2 − (−2)) / (2 − (−2)) = 4 / 4 = 1.000.
  3. Solve f′(c) = m: Setting 3c2 − 3 = 1 gives 3c2 = 4, so c = ±2 / √3 &approx; ±1.155. Both c1 = −1.155 and c2 = 1.155 lie strictly inside (−2, 2), demonstrating that the theorem guarantees existence but not uniqueness.
  4. Rolle's Theorem special case on [−√3, √3] &approx; [−1.73, 1.73]: Since f(−√3) = f(√3) = 0, the secant slope is m = 0, and solving 3c2 − 3 = 0 yields the stationary points c1 = −1.000 and c2 = 1.000.

Interactive Experiment: What to Enter and Observe

Open the Mean Value Theorem module to verify the secant slope and interior tangent points across smooth curves:

  1. Select f(x) = x³ - 3x on [-2.5, 2.5] in the Function f(x) dropdown.
  2. Set the Point a slider to -2.00 and the Point b slider to 2.00. Verify that Secant Slope (m) reads 1.000 and two green tangent points appear at Point c1 = -1.155 and Point c2 = 1.155.
  3. Move Point a to 0.00 while keeping Point b at 2.00. Because f(0) = 0 and f(2) = 2, the secant slope remains 1.000, but now only the positive root Point c = 1.155 lies inside (0, 2).
  4. Switch Function f(x) to f(x) = √x on [0.0, 9.0] and set Point a = 1.00, Point b = 9.00. Check that Secant Slope (m) is (3 − 1) / (9 − 1) = 0.250 and the unique matching tangent occurs at Point c = 4.000 where f′(4) = 1 / (2√4) = 0.25.

Assumptions & Counterexamples

Both continuity on the closed interval [a, b] and differentiability on the open interval (a, b) are essential. For example, f(x) = |x| on [−1, 1] has secant slope (1 − 1) / 2 = 0, yet its derivative is −1 for x < 0, +1 for x > 0, and undefined at the corner x = 0, so no interior point has slope 0. Similarly, a step discontinuity on [a, b] breaks the theorem even if the curve is differentiable everywhere else. In this module, interior points c are located by sampling 1,000 subintervals and applying bisection to g(x) = f′(x) − m, so displayed coordinates are numerical approximations rounded to three decimal places.

References

For the formal proof reducing the Mean Value Theorem to Rolle's Theorem via h(x) = f(x) − m(x − a) and a discussion of its hypotheses, see:

Experience it interactively

Adjust parameters, observe in real time, and build deep intuition with Riano’s interactive Mean Value Theorem module.

Try Mean Value Theorem on Riano →

More in Calculus & Analysis