Introduction

The mean value theorems link the average rate of change of a function over an interval to its instantaneous rate at some interior point. They are the bridge between "the derivative is positive" and "the function increases", and they give quick error bounds. The working tasks are finding the point cc promised by Rolle's or Lagrange's theorem, checking whether a theorem applies to a given function, and drawing a consequence such as the number of real roots or a numerical bound.

Prerequisites

Core concepts

Rolle's theorem

Let ff be

  1. continuous on [a,b][a, b],
  2. differentiable on (a,b)(a, b), and
  3. such that f(a)=f(b)f(a) = f(b).

Then there is at least one c∈(a,b)c \in (a, b) with f′(c)=0f'(c) = 0: somewhere the tangent is horizontal.

Why. By the extreme value theorem ff attains a maximum and a minimum on [a,b][a, b]. If both occur at the endpoints, ff is constant and every cc works. Otherwise one occurs at an interior point, where Fermat's theorem gives f′(c)=0f'(c) = 0.

Lagrange's mean value theorem

If ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b), there is c∈(a,b)c \in (a, b) with

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

Geometrically, some tangent is parallel to the chord joining (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)). Rolle's theorem is the special case f(a)=f(b)f(a) = f(b). Proof: apply Rolle to ff minus the chord.

Equivalent forms. f(b)=f(a)+(b−a)f′(c)f(b) = f(a) + (b - a)f'(c), and with b=a+hb = a + h: f(a+h)=f(a)+hf′(a+θh)f(a + h) = f(a) + hf'(a + \theta h) for some 0<θ<10 < \theta < 1.

Rolle's theorem and Lagrange's mean value theorem, side by side
Figure 1. Left: f(x)=x2−4x+3f(x) = x^2 - 4x + 3 has f(1)=f(3)=0f(1) = f(3) = 0, and Rolle's point is c=2c = 2, where the tangent is horizontal. Right: for f(x)=xf(x) = \sqrt{x} on [0,4][0, 4] the chord has slope 1/21/2, and the tangent at c=1c = 1 is parallel to it.

Cauchy's mean value theorem

If ff and gg are continuous on [a,b][a, b], differentiable on (a,b)(a, b), and g′(x)≠0g'(x) \ne 0 on (a,b)(a, b), there is c∈(a,b)c \in (a, b) with

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

With g(x)=xg(x) = x this is Lagrange's theorem. Cauchy's version is the step used to prove l'Hôpital's rule.

Hypotheses matter

Closed versus open. Continuity is needed on the closed interval [a,b][a, b], differentiability only on the open interval (a,b)(a, b). x\sqrt{x} on [0,4][0, 4] qualifies even though f′(0)f'(0) does not exist.

If a hypothesis fails, the conclusion may fail:

  • ∣x∣|x| on [−1,1][-1, 1]: f(−1)=f(1)f(-1) = f(1) but f′f' is never 0 (not differentiable at 0).
  • f(x)=xf(x) = x for 0≤x<10 \le x < 1 and f(1)=0f(1) = 0: f(0)=f(1)f(0) = f(1) but f′=1f' = 1 everywhere inside (discontinuous at 1).
  • The theorems give existence only. Failure of a hypothesis does not forbid such a cc; it just stops the guarantee.

Consequences

  • f′=0f' = 0 on an interval   ⟹  \implies ff is constant there.
  • f′=g′f' = g' on an interval   ⟹  \implies f−gf - g is constant.
  • f′>0f' > 0 on an interval   ⟹  \implies ff strictly increasing; f′<0f' < 0 strictly decreasing.
  • If m≤f′(x)≤Mm \le f'(x) \le M on (a,b)(a, b), then m(b−a)≤f(b)−f(a)≤M(b−a)m(b - a) \le f(b) - f(a) \le M(b - a).
  • Between two roots of ff lies a root of f′f'. So if f′f' has no real roots, ff has at most one; in general, ff has at most one more real root than f′f'.

Taylor's theorem with remainder

The mean value theorem is the first case of Taylor's theorem: if ff has n+1n + 1 derivatives on an interval around aa, then

f(x)=∑k=0nf(k)(a)k!(x−a)k+f(n+1)(ξ)(n+1)!(x−a)n+1f(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x - a)^k + \frac{f^{(n+1)}(\xi)}{(n+1)!}(x - a)^{n+1}

for some ξ\xi between aa and xx (Lagrange form of the remainder). With n=0n = 0 this is exactly Lagrange's theorem.

Worked examples

Example 1: Rolle's point

f(x)=x2−4x+3f(x) = x^2 - 4x + 3 on [1,3][1, 3]: a polynomial, so continuous and differentiable; f(1)=0=f(3)f(1) = 0 = f(3). f′(c)=2c−4=0f'(c) = 2c - 4 = 0 gives c=2∈(1,3)c = 2 \in (1, 3).

Example 2: Lagrange's point and θ\theta

f(x)=xf(x) = \sqrt{x} on [0,4][0, 4]: chord slope (2−0)/4=1/2(2 - 0)/4 = 1/2; f′(c)=1/(2c)=1/2f'(c) = 1/(2\sqrt{c}) = 1/2 gives c=1c = 1.

For f(x)=x2f(x) = x^2 on any [a,a+h][a, a + h]: (a+h)2−a2=h⋅2(a+θh)(a + h)^2 - a^2 = h \cdot 2(a + \theta h) gives θ=1/2\theta = 1/2, so cc is always the midpoint.

Example 3: a cubic

f(x)=x3−xf(x) = x^3 - x on [0,2][0, 2]: chord slope (6−0)/2=3(6 - 0)/2 = 3; 3c2−1=33c^2 - 1 = 3 gives c=2/3≈1.155c = 2/\sqrt{3} \approx 1.155 (the negative root lies outside the interval).

Example 4: Cauchy's point

f(x)=x2f(x) = x^2, g(x)=x3g(x) = x^3 on [1,2][1, 2]: (4−1)/(8−1)=3/7(4 - 1)/(8 - 1) = 3/7 must equal 2c/(3c2)=2/(3c)2c/(3c^2) = 2/(3c), so c=14/9≈1.556∈(1,2)c = 14/9 \approx 1.556 \in (1, 2).

Example 5: a numerical bound

Estimate 101\sqrt{101}. By Lagrange, 101−10=1/(2c)\sqrt{101} - 10 = 1/(2\sqrt{c}) with 100<c<101100 < c < 101, so

12101<101−10<120.\frac{1}{2\sqrt{101}} < \sqrt{101} - 10 < \frac{1}{20}.

Since 101<10.05\sqrt{101} < 10.05, the left side exceeds 1/20.1≈0.049751/20.1 \approx 0.04975, giving 10.0497<101<10.0510.0497 < \sqrt{101} < 10.05 (true value 10.0498810.04988).

Example 6: counting real roots

f(x)=x3+x−1f(x) = x^3 + x - 1: f′(x)=3x2+1>0f'(x) = 3x^2 + 1 > 0, so ff is strictly increasing and has at most one real root. f(0)=−1<0<1=f(1)f(0) = -1 < 0 < 1 = f(1), so by the intermediate value theorem it has exactly one, in (0,1)(0, 1).

Example 7: an identity from f′=0f' = 0

For x>0x > 0, h(x)=arctan⁡x+arctan⁡(1/x)h(x) = \arctan x + \arctan(1/x) has h′(x)=11+x2−1x2⋅11+1/x2=0h'(x) = \frac{1}{1 + x^2} - \frac{1}{x^2} \cdot \frac{1}{1 + 1/x^2} = 0. So hh is constant, and h(1)=π/4+π/4=π/2h(1) = \pi/4 + \pi/4 = \pi/2.

Example 8: Taylor remainder bound

Approximate e0.1e^{0.1} by 1+0.1+0.01/2=1.1051 + 0.1 + 0.01/2 = 1.105. The remainder is eξ(0.1)3/3!e^{\xi}(0.1)^3/3! with 0<ξ<0.10 < \xi < 0.1, so the error is at most e0.1⋅0.001/6<0.000185e^{0.1} \cdot 0.001/6 < 0.000185. The actual error is about 0.0001710.000171.

Example 9: which functions satisfy Rolle's hypotheses on [−1,1][-1, 1]?

  • x2+1x^2 + 1: continuous, differentiable, f(−1)=f(1)=2f(-1) = f(1) = 2. Yes, with c=0c = 0.
  • x2/3x^{2/3}: f(−1)=f(1)=1f(-1) = f(1) = 1 and continuous, but f′(0)f'(0) does not exist. No guarantee (and indeed f′(x)=23x−1/3f'(x) = \frac{2}{3}x^{-1/3} is never 0).
  • ∣x∣|x|: same failure at 0.
  • x3x^3: differentiable, but f(−1)=−1≠1=f(1)f(-1) = -1 \ne 1 = f(1). Rolle does not apply; Lagrange does, with 3c2=13c^2 = 1, c=±1/3c = \pm 1/\sqrt{3} (two valid points).

Example 10: an inequality

For any real a<ba < b, Lagrange gives sin⁡b−sin⁡a=(b−a)cos⁡c\sin b - \sin a = (b - a)\cos c, and ∣cos⁡c∣≤1|\cos c| \le 1, so ∣sin⁡b−sin⁡a∣≤∣b−a∣|\sin b - \sin a| \le |b - a|. The same argument with f(x)=ln⁡xf(x) = \ln x on [1,1+x][1, 1 + x] gives x1+x<ln⁡(1+x)<x\frac{x}{1 + x} < \ln(1 + x) < x for x>0x > 0, because f′(c)=1/cf'(c) = 1/c lies between 1/(1+x)1/(1 + x) and 1.

Important properties and observations

  • Rolle and Lagrange guarantee at least one cc; there may be several (sin⁡x\sin x on [0,2π][0, 2\pi] has two Rolle points, π/2\pi/2 and 3π/23\pi/2).
  • For a quadratic px2+qx+rpx^2 + qx + r, Lagrange's cc is always the midpoint (a+b)/2(a + b)/2.
  • The point cc must be strictly inside (a,b)(a, b); discard roots outside it.
  • The mean value theorem is what makes the first derivative test in Maxima and Minima valid.
  • The intermediate value theorem (about values of ff) and the mean value theorem (about values of f′f') are different; root-counting questions use both.
  • Even when f′f' is not continuous, a derivative has the intermediate value property (Darboux's theorem), so a derivative cannot have a jump discontinuity.

GATE examination perspective

  • Find cc for Rolle, Lagrange or Cauchy on a polynomial, root or exponential function.
  • Check hypotheses: which of several functions satisfies Rolle's theorem on a given interval (watch for ∣x∣|x|, x2/3x^{2/3} and piecewise definitions).
  • θ\theta form questions: f(a+h)=f(a)+hf′(a+θh)f(a + h) = f(a) + hf'(a + \theta h).
  • Consequences: number of real roots, monotonicity, inequalities such as ∣sin⁡a−sin⁡b∣≤∣a−b∣|\sin a - \sin b| \le |a - b|.
  • Trap: reporting a root cc that lies outside (a,b)(a, b).

Summary

Sources

  1. G. Strang, Calculus, 3rd ed., Wellesley-Cambridge Press, 2017: Section 3.8 (The Mean Value Theorem and l'Hôpital's Rule) and Section 10.4 (The Taylor Series for e^x, sin x, and cos x). Free edition on MIT OpenCourseWare, (consulted 2026-11-11).

Next steps