• Advanced
  • About 17 min
  • 5 practice questions

Rolle's theorem and the mean value theorem

State the conditions of Rolle's theorem and Lagrange's mean value theorem, find the value c they give, recognise when they do not apply, and use the mean value theorem to prove inequalities and bounds.

If something looks wrong, please tell us.

Rolle's theorem and Lagrange's mean value theorem say that somewhere between two points the derivative must take a particular value. In short questions they ask for that value c; in harder ones they explain why a function fails a condition, or turn into a tool for proving inequalities and bounding errors. Both rest on the monotonicity ideas of the earlier courses.

Rolle's theorem

If f is (1) continuous on the closed interval [a, b], (2) differentiable on the open interval (a, b), and (3) f(a) = f(b), then there is at least one c in (a, b) with f′(c) = 0. In pictures: a smooth curve that starts and ends at the same height has a horizontal tangent somewhere in between.

Worked example 1. f(x) = x² − 5x + 4 on [1, 4]. f(1) = 0 = f(4), and a polynomial is continuous and differentiable everywhere. f′(c) = 2c − 5 = 0 gives c = 5/2, which lies in (1, 4).

Worked example 2. f(x) = sin x + cos x on [0, π/2]. f(0) = 1 = f(π/2). f′(c) = cos c − sin c = 0 gives tan c = 1, so c = π/4.

When the theorem does not apply

All three conditions are needed. f(x) = |x| on [−1, 1] has f(−1) = f(1) = 1, but its slope is −1 or +1 and never 0: it fails because |x| is not differentiable at x = 0. f(x) = tan x on [0, π] has f(0) = f(π) = 0, but f′(x) = sec²x ≥ 1 is never 0: it fails because tan x is not continuous at π/2. Before using either theorem, check the conditions; questions often test exactly this.

Lagrange's mean value theorem

If f is continuous on [a, b] and differentiable on (a, b), there is a c in (a, b) with f′(c) = (f(b) − f(a))/(b − a). The right side is the slope of the chord joining the end points, so somewhere the tangent is parallel to the chord. Rolle's theorem is the special case f(a) = f(b).

Rolle: continuous on [a, b], differentiable on (a, b), f(a) = f(b) ⇒ f′(c) = 0 for some c in (a, b). Lagrange (MVT): continuous and differentiable as before ⇒ f′(c) = (f(b) − f(a))/(b − a). For a quadratic, c is always the midpoint (a + b)/2.

Worked example 3. f(x) = ln x on [1, e]. The chord slope is (1 − 0)/(e − 1) and f′(c) = 1/c, so c = e − 1 ≈ 1.718, which lies in (1, e).

Worked example 4 (speed method). For any quadratic f(x) = px² + qx + r, the chord slope over [a, b] works out to p(a + b) + q, and f′(c) = 2pc + q, so c = (a + b)/2 every time. For f(x) = 2x² − 3x + 1 on [1, 5], c = 3 at once. Check: (f(5) − f(1))/4 = (36 − 0)/4 = 9 and f′(3) = 12 − 3 = 9.

Using the MVT for inequalities and bounds

Worked example 5. For 0 < a < b, the MVT for ln x gives ln b − ln a = (b − a)/c for some c between a and b. Since a < c < b, 1/b < 1/c < 1/a, so (b − a)/b < ln(b/a) < (b − a)/a. With a = 1 and b = 2 this says 1/2 < ln 2 < 1, and indeed ln 2 ≈ 0.693.

More generally, if |f′(x)| ≤ M throughout an interval, then |f(b) − f(a)| ≤ M|b − a| for any a and b in it. Since |cos x| ≤ 1, for example, |sin b − sin a| ≤ |b − a| for all a and b.

Key takeaways: check continuity on the closed interval and differentiability inside before quoting either theorem. Rolle gives f′(c) = 0 when the end values are equal; the MVT gives f′(c) equal to the chord slope. For quadratics c is the midpoint. Bounds on f′ give bounds on how much f can change.

Check your understanding

  1. 1. What value of c does Rolle's theorem give for f(x) = x² − 6x + 8 on [2, 4]?

    1. 2
    2. 4
    3. 3
    4. 6
    Show answer

    Answer: C. f(2) = 4 − 12 + 8 = 0 = f(4). f′(c) = 2c − 6 = 0 gives c = 3, which lies in (2, 4). The end points 2 and 4 are not allowed, since c must be strictly inside.

  2. 2. What value of c does the mean value theorem give for f(x) = x³ on [0, 3]?

    1. 3/2
    2. 3
    3. √3
    4. 1
    Show answer

    Answer: C. The chord slope is (27 − 0)/(3 − 0) = 9. f′(c) = 3c² = 9 gives c² = 3, so c = √3 (the root −√3 is outside the interval). Note that c is not the midpoint 3/2: the midpoint shortcut is only for quadratics.

  3. 3. Rolle's theorem cannot be applied on [−1, 1] to which of these functions?

    1. f(x) = |x|
    2. f(x) = x²
    3. f(x) = x⁴ − x²
    4. f(x) = cos x
    Show answer

    Answer: A. All four have equal values at x = −1 and x = 1. x², x⁴ − x² and cos x are differentiable everywhere, so the theorem applies to them. |x| is not differentiable at 0, and indeed its slope is never 0.

  4. 4. What value of c does the mean value theorem give for f(x) = eˣ on [0, 1]?

    1. 1/2
    2. ln(e − 1)
    3. e − 1
    4. ln 2
    Show answer

    Answer: B. The chord slope is (e − 1)/(1 − 0) = e − 1. f′(c) = e^c = e − 1, so c = ln(e − 1) ≈ 0.541, which lies in (0, 1).

  5. 5. A function f is differentiable for every x, with f(1) = 3 and f′(x) ≤ 2 for all x. What is the largest possible value of f(4)?

    1. 9
    2. 11
    3. 6
    4. 5
    Show answer

    Answer: A. By the MVT, f(4) − f(1) = 3·f′(c) for some c in (1, 4), and f′(c) ≤ 2, so f(4) − 3 ≤ 6 and f(4) ≤ 9. The value 9 is reached by f(x) = 2x + 1.

Privacy · Terms · Refunds · Delivery