Math Lab
Home/Class XII/Ch 5/Mean value theorems

Mean value theorems

Rolle's theorem and Lagrange's Mean Value Theorem (MVT) are existence theorems: they tell us a point with a certain property must exist, without telling us where. Despite the modest statements, they are the engine of nearly every proof in single-variable calculus , monotonicity, Taylor's theorem, L'Hôpital's rule.

Rolle's theorem

Theorem. If ff is

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

then there exists at least one c(a,b)c \in (a, b) such that f(c)=0f'(c) = 0.

Geometric meaning. If a smooth curve starts and ends at the same height, it must have a horizontal tangent somewhere in between.

Lagrange's Mean Value Theorem

Theorem. If ff is

  1. continuous on [a,b][a, b] and
  2. 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)ba.f'(c) = \frac{f(b) - f(a)}{b - a}.

Geometric meaning. The slope of the chord from (a,f(a))(a, f(a)) to (b,f(b))(b, f(b)) equals the slope of the tangent at some interior point cc.

Proof of Lagrange's MVT from Rolle

Define g(x)=f(x)L(x)g(x) = f(x) - L(x), where L(x)L(x) is the line through (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)). Then g(a)=g(b)=0g(a) = g(b) = 0, so by Rolle's theorem there is cc with g(c)=0g'(c) = 0, i.e., f(c)=L(x)=f(b)f(a)baf'(c) = L'(x) = \dfrac{f(b) - f(a)}{b - a}. \blacksquare

Why the hypotheses matter

Rolle's theorem can fail if:

  • ff is not continuous on [a,b][a, b]: take ff with a jump.
  • ff is not differentiable on (a,b)(a, b): e.g., f(x)=xf(x) = |x| on [1,1][-1, 1].
  • f(a)f(b)f(a) \neq f(b).

Similar comments for Lagrange.

Consequences

Monotonicity: If f(x)>0f'(x) > 0 on an interval, then ff is strictly increasing on it. Reason: for any a<ba < b in the interval, MVT gives f(b)f(a)=f(c)(ba)>0f(b) - f(a) = f'(c)(b - a) > 0.

Constants: If f(x)=0f'(x) = 0 on an interval, then ff is constant.

Bounded slopes: If f(x)M|f'(x)| \le M on an interval, then f(b)f(a)Mba|f(b) - f(a)| \le M|b - a| , Lipschitz condition.

Worked example

Verify Rolle's theorem for f(x)=x24x+3f(x) = x^2 - 4x + 3 on [1,3][1, 3].

f(1)=0,f(3)=0f(1) = 0, f(3) = 0. Continuous and differentiable everywhere. By Rolle, c(1,3)\exists c \in (1, 3) with f(c)=0f'(c) = 0. f(c)=2c4=0c=2f'(c) = 2c - 4 = 0 \Rightarrow c = 2. \checkmark

Verifying Lagrange's MVT

For f(x)=x3f(x) = x^3 on [1,4][1, 4]:

Slope of chord = 6413=21\dfrac{64 - 1}{3} = 21. MVT promises c(1,4)c \in (1, 4) with f(c)=21f'(c) = 21, i.e., 3c2=213 c^2 = 21, so c=72.65(1,4)c = \sqrt{7} \approx 2.65 \in (1, 4). \checkmark

Worked examples

Example 1. Verify Rolle for f(x)=sinxf(x) = \sin x on [0,π][0, \pi].

f(0)=f(π)=0f(0) = f(\pi) = 0. Continuous, differentiable. f(c)=cosc=0c=π/2(0,π)f'(c) = \cos c = 0 \Rightarrow c = \pi/2 \in (0, \pi). \checkmark

Example 2. Use MVT to show sinasinbab\sin a - \sin b \le |a - b| for all reals a,ba, b.

By MVT, sinasinb=(ab)cosc\sin a - \sin b = (a - b) \cos c for some cc between. Since cosc1|\cos c| \le 1, sinasinbab|\sin a - \sin b| \le |a - b|. \blacksquare

Example 3. Show f(x)=x33x+2f(x) = x^3 - 3x + 2 has at most one root in (1,1)(-1, 1).

Compute f(x)=3x23=3(x21)f'(x) = 3x^2 - 3 = 3(x^2 - 1). For x(1,1)x \in (-1, 1), f(x)<0f'(x) < 0, so ff is strictly decreasing. A strictly monotonic function has at most one zero.

Example 4. Apply Rolle to f(x)=logxf(x) = \log x on [1,e2][1, e^2].

f(1)=0,f(e2)=2f(1) = 0, f(e^2) = 2. So f(a)f(b)f(a) \neq f(b) , Rolle doesn't apply. But Lagrange does: 1c=20e21\dfrac{1}{c} = \dfrac{2 - 0}{e^2 - 1}, so c=e212c = \dfrac{e^2 - 1}{2}.

Example 5. Show that the equation x5+5x7=0x^5 + 5x - 7 = 0 has exactly one real root.

f(x)=x5+5x7f(x) = x^5 + 5x - 7. f(x)=5x4+55>0f'(x) = 5x^4 + 5 \ge 5 > 0, so ff is strictly increasing. Strictly monotonic continuous function on R\mathbb{R} has exactly one root (since f(±)=±f(\pm\infty) = \pm\infty).

Example 6. Find a point cc on the curve y=x2y = x^2 over [1,3][1, 3] where the tangent is parallel to the secant.

Slope of secant: (91)/(31)=4(9 - 1)/(3 - 1) = 4. MVT: 2c=42c = 4, so c=2c = 2. \checkmark

Try it yourself

  1. Verify Rolle for f(x)=x21f(x) = x^2 - 1 on [1,1][-1, 1].
  2. Apply Lagrange to f(x)=exf(x) = e^x on [0,1][0, 1] and find cc.
  3. Apply Lagrange to f(x)=tanxf(x) = \tan x on [0,π/4][0, \pi/4] and find cc.
  4. Show Rolle fails for f(x)=xf(x) = |x| on [1,1][-1, 1].
  5. Use MVT to prove cosacosbab|\cos a - \cos b| \le |a - b|.
  6. Show f(x)=x3+xf(x) = x^3 + x is strictly increasing on R\mathbb{R}.
  7. If f(x)=0f'(x) = 0 on (a,b)(a, b), prove ff is constant there.
  8. Use Rolle to show that between any two roots of sinx\sin x there is a root of cosx\cos x.
  9. Verify Rolle for f(x)=(x1)(x2)(x3)f(x) = (x - 1)(x - 2)(x - 3) on [1,3][1, 3].
  10. Apply MVT to f(x)=lnxf(x) = \ln x on [1,2][1, 2] to estimate ln2\ln 2.
  11. Show the equation x4+4x+c=0x^4 + 4x + c = 0 has at most two real roots.
  12. If f(0)=3f(0) = -3 and f(x)5f'(x) \le 5 for all xx, what is the largest possible value of f(2)f(2)?
  13. Verify Rolle for f(x)=cosx1f(x) = \cos x - 1 on [0,2π][0, 2\pi].
  14. Show that between any two zeros of a polynomial, the derivative has a zero (Rolle plus algebra).

Pitfalls / Tricks

  • Always check all the hypotheses (continuity, differentiability, end-value match) before applying Rolle.
  • MVT gives existence, not uniqueness. There may be many valid cc.
  • The most common application is to estimate or bound function differences using ff'.
  • Rolle is a special case of MVT (when f(a)=f(b)f(a) = f(b), the slope of the chord is 00).
  • For inequalities like sinasinbab|\sin a - \sin b| \le |a - b|, MVT plus f1|f'| \le 1 gives a one-line proof.

This concludes Chapter 5. The application of these tools to monotonicity, optimisation, and graph-sketching is the subject of Chapter 6.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Mean value theorems
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6