Skip to content
GATEiit

GATE CSE, EC, ME, CE, EE + 7 more · Calculus

Mean Value Theorems (Rolle, Lagrange and Cauchy)

Rolle's, Lagrange's and Cauchy's mean value theorems: closed/open-interval hypotheses, finding c or theta, bounding values, monotonicity and counting real roots.

Before you start

  • Limits, continuity and differentiability →

    Every mean value theorem requires continuity on [a, b] and differentiability on (a, b).

  • Derivatives of standard functions

    Solving f'(c) = slope requires fast differentiation of polynomials, exponentials, logarithms and roots.

This topic comes before: Integration and Fundamental Theorems of Integral Calculus, Maxima and Minima, Taylor and Maclaurin Series

Concept notes

1. Rolle's theorem

Rolle's theorem. Let f satisfy three conditions:

  1. f is continuous on the closed interval [a,b];
  2. f is differentiable on the open interval (a,b);
  3. f(a)=f(b).

Then f′(c)=0 for at least one c with a<c<b.

Picture: a smooth curve that leaves and returns to the same height must level off somewhere in between. There may be several such points; the theorem promises one.

Drop any condition and the promise is gone:

Function and interval Condition broken Horizontal tangent inside?
∣x−1∣ on [0,2] corner at x=1, so not differentiable No, slope is ±1
x2/3 on [−1,1] f′(x)=23x−1/3 does not exist at 0 No
tan⁡x on [0,π] not continuous at π2 No, sec⁡2x≥1
x2 on [0,1] f(0)≠f(1) No

The logic runs one way. If the conditions fail, a horizontal tangent may still exist by chance; the theorem simply says nothing.

Finding c: check the three conditions, solve f′(x)=0, and keep only the roots lying strictly between a and b.

xf(x)a = −2b = 2c₁ ≈ −1.155c₂ ≈ 1.155f′(c₁) = 0f′(c₂) = 0f(a) = f(b) = 0
Rolle's theorem for $f(x) = x^3 - 4x$ on $[-2, 2]$: equal end values, and two points inside where the tangent is horizontal.

2. Lagrange's mean value theorem

Lagrange's mean value theorem (LMVT). If f is continuous on [a,b] and differentiable on (a,b), then for at least one c∈(a,b) f′(c)=f(b)−f(a)b−a.

The right side is the average rate of change (slope of the chord joining the end points). The theorem says the instantaneous rate equals it somewhere: the tangent at c is parallel to the chord. Rolle's theorem is the case where the chord is flat.

Engineering reading. If a capacitor voltage is a smooth function of time and rises by Δv in time Δt, then at some instant dvdt=ΔvΔt, so the current i=Cdvdt equals CΔvΔt at that instant.

Increment (θ) form. Put b=a+h: f(a+h)=f(a)+h f′(a+θh),0<θ<1. For any quadratic px2+qx+r, θ=12, so c is the midpoint of the interval.

Bounds. If m≤f′(x)≤M throughout (a,b), then m(b−a)≤f(b)−f(a)≤M(b−a).

Differentiability is needed only on the open interval. For x on [0,4] the derivative fails at 0, yet LMVT holds and gives c=1.

xf(x) = √xc = 1b = 4a = 0B (4, 2)secant AB, slope 1/2 (dashed)tangent at c, slope 1/2A
Lagrange's theorem for $f(x) = \sqrt{x}$ on $[0, 4]$: the tangent at $c = 1$ runs parallel to the secant. $f$ has no derivative at $0$, but the theorem only needs one on the open interval.

3. Cauchy's mean value theorem

Cauchy's mean value theorem. Let f and g be continuous on [a,b] and differentiable on (a,b), with g′(x)≠0 in (a,b). Then for some c∈(a,b) f′(c)g′(c)=f(b)−f(a)g(b)−g(a).

Points to remember:

  • With g(x)=x it reduces to Lagrange's theorem, so it is the most general of the three.
  • The same c serves both functions. Applying LMVT separately to f and to g gives two (usually different) points, and their ratio is not Cauchy's result.
  • The condition g′≠0 also guarantees g(b)≠g(a), so the right side is defined.
  • Cauchy's theorem is the step that proves L'Hôpital's rule for 00 limits.

Finding c: compute the ratio of increments on the right, form f′(x)g′(x), equate and solve, then keep the root inside (a,b).

Comparison of the three:

Theorem Extra requirement Conclusion at some c∈(a,b)
Rolle f(a)=f(b) f′(c)=0
Lagrange none f′(c)=f(b)−f(a)b−a
Cauchy second function g with g′≠0 f′(c)g′(c)=f(b)−f(a)g(b)−g(a)

All three share the base conditions (continuous on the closed interval, differentiable on the open one), and none of them tells you how many such c exist.

The integral form of the mean value theorem is treated in Theorems of integral calculus.

4. What the theorems are used for

In GATE the theorems mostly work behind the scenes, turning information about f′ into information about f.

1. Zero slope means constant. If f′(x)=0 at every point of an interval, f is constant there. Hence two functions with the same derivative differ by a constant.

2. Sign of f′ gives monotonicity. f′>0 on an interval makes f strictly increasing; f′<0 makes it strictly decreasing. (By LMVT, f(x2)−f(x1)=(x2−x1)f′(c) has the sign of f′.)

3. Inequalities. If ∣f′(x)∣≤M, then ∣f(x2)−f(x1)∣≤M∣x2−x1∣. Since ∣cos⁡x∣≤1, this gives ∣sin⁡x2−sin⁡x1∣≤∣x2−x1∣ for all real numbers.

4. Counting real roots.

  • Between two roots of f there is a root of f′ (Rolle). So if f′ never vanishes on an interval, f has at most one root there.
  • A sign change of a continuous f gives at least one root. Together: exactly one.
  • If f has k distinct real roots, f′ has at least k−1, f′′ at least k−2, and so on.
  • Applied twice: if f(x1)=f(x2)=f(x3) with x1<x2<x3 and f is twice differentiable, then f′′ vanishes somewhere in (x1,x3).

Example of root counting. p(x)=x3+x−5 has p′(x)=3x2+1>0, so p is strictly increasing and can cross zero only once; p(1)<0<p(2), so it has exactly one real root, between 1 and 2.

5. Estimates in circuits. If an inductor current changes by Δi in Δt and stays smooth, the voltage Ldidt must equal LΔiΔt at some instant, so the peak voltage is at least that value.

Formulas to remember

Rolle's theorem
f(a)=f(b)  ⇒  f′(c)=0 for some c∈(a,b)
Lagrange's mean value theorem
f′(c)=f(b)−f(a)b−a,a<c<b
Increment formθ=12 for every quadratic
f(a+h)=f(a)+h f′(a+θh),0<θ<1
Cauchy's mean value theorem
f′(c)g′(c)=f(b)−f(a)g(b)−g(a),g′≠0 on (a,b)
Bound from LMVTWhen m≤f′(x)≤M on (a,b)
m(b−a)≤f(b)−f(a)≤M(b−a)
Lipschitz-type inequalityWhen ∣f′(x)∣≤M between x1 and x2
∣f(x2)−f(x1)∣≤M ∣x2−x1∣

Common mistakes

  • Writing down c without first checking continuity on the closed interval and differentiability on the open interval.
  • Keeping a root of f'(x) = value that lies outside (a, b) or sits exactly at an end point.
  • Expecting a single c; the theorems only guarantee at least one, and there can be several.
  • Getting Cauchy's c by applying Lagrange's theorem to f and g separately; one common point is needed.
  • Treating x^(2/3) or |x − a| as differentiable everywhere; a cusp or corner inside the interval kills Rolle's and Lagrange's conclusions.
  • Concluding that no horizontal tangent exists just because Rolle's conditions fail; the theorem is silent, not negative, in that case.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Rolle's theorem with two values of c

numerical

Verify Rolle's theorem for f(x)=x3−4x on [−2,2] and find every admissible c.

  1. Step 1: Check the three conditions.

    Try it on paper first.

Example 2: Lagrange's theorem on a cubic

numerical

Find the value of c given by Lagrange's mean value theorem for f(x)=x3 on [0,3].

  1. Step 1: Compute the secant slope.

    Try it on paper first.

Example 3: Capacitor current from the mean value theorem

numerical

The voltage across a 2 μF capacitor changes smoothly (differentiably) from 1 V at t=0 to 6 V at t=1 ms. Show that at some instant in between the capacitor current is exactly 10 mA.

  1. Step 1: Which theorem applies to v(t)?

    Try it on paper first.

Example 4: Why Rolle fails for |x|

conceptual

f(x)=∣x∣ on [−1,1] has f(−1)=f(1)=1. Is there c∈(−1,1) with f′(c)=0? Does this contradict Rolle's theorem?

  1. Step 1: Compute f' wherever it exists.

    Try it on paper first.

Previous year questions

1 official GATE Engineering Mathematics question mapped to this topic across published papers, newest first.

Topic test

9 questions: up to 1 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE Engineering Mathematics (CSE, EC, ME, CE, EE + 7 more) syllabus; being checked by a reviewer. Updated 2026-11-30. Spotted a mistake? Use Report an issue on any question, or contact us.