• Practice
  • About 24 min
  • 5 practice questions

Rolle's theorem, Lagrange's mean value theorem and series expansions

State and apply Rolle's theorem and Lagrange's mean value theorem, use them to count roots and bound values, and expand functions in Taylor and Maclaurin series.

If something looks wrong, please tell us.

By the end of this lesson you can

  • State the intermediate value theorem, Rolle's theorem and Lagrange's mean value theorem with their conditions.
  • Find the value c promised by each theorem, and explain why a theorem does not apply to a given function.
  • Use the theorems to count roots, bound the values of a function and prove inequalities.
  • Expand a function as a Taylor series about x = a and as a Maclaurin series about x = 0.

Sections 7.3 and 7.4 of the Tamil Nadu textbook guarantee that certain points exist without telling us how to compute them first. The mean value theorems link the average rate of change over an interval to the instantaneous rate at some interior point, and they are the reason the derivative tests in Lesson 4 work. Series expansions then use all the higher derivatives at one point to rebuild the function near that point.

The intermediate value theorem

If f is continuous on [a, b] and k is any number between f(a) and f(b) inclusive, then f(x) = k for at least one x in [a, b]. In particular, if f(a) and f(b) have opposite signs, the equation f(x) = 0 has a root between a and b.

Rolle's theorem

Let f be (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. Geometrically, a smooth curve that starts and ends at the same height has a horizontal tangent somewhere in between.

Worked example 1: finding c

(i) f(x) = x² − 5x + 4 on [1, 4]. Working: a polynomial is continuous and differentiable everywhere; f(1) = 1 − 5 + 4 = 0 and f(4) = 16 − 20 + 4 = 0. So f′(c) = 2c − 5 = 0 gives c = 5/2, which lies in (1, 4). (ii) f(x) = sin x + cos x on [0, π/2]. Working: f(0) = 0 + 1 = 1 and f(π/2) = 1 + 0 = 1. f′(c) = cos c − sin c = 0 gives tan c = 1, so c = π/4, inside (0, π/2).

All three conditions matter. f(x) = |x − 2| on [0, 4] has f(0) = f(4) = 2 but no horizontal tangent, because it is not differentiable at x = 2. f(x) = x on [0, 1] is smooth but f(0) ≠ f(1). A function with a jump inside the interval fails the continuity condition.

Worked example 2: exactly one root

Show, without solving, that x³ + 3x − 5 = 0 has exactly one real root in (1, 2). Working: let f(x) = x³ + 3x − 5. Since f(1) = −1 < 0 and f(2) = 8 + 6 − 5 = 9 > 0, the intermediate value theorem gives at least one root in (1, 2). If there were two roots α < β, then f(α) = f(β) = 0 and Rolle's theorem would give some c with f′(c) = 0. But f′(x) = 3x² + 3 ≥ 3 > 0 for every x. So there is exactly one root. The same idea proves that between two real zeros of a polynomial there is always a zero of its derivative.

Lagrange's mean value theorem

Drop the condition f(a) = f(b). If f is continuous on [a, b] and differentiable on (a, b), then for at least one c in (a, b) the formula below holds. Geometrically, some tangent is parallel to the chord (secant) joining the end points; physically, at some instant the instantaneous rate equals the average rate. When f(a) = f(b) the theorem reduces to Rolle's theorem, which is why the textbook calls it a rotated Rolle's theorem.

f′(c) = [f(b) − f(a)] / (b − a) for some c in (a, b).

— Lagrange's mean value theorem

The two mean value theorems

  • Rolle's theorem
    • Continuous on [a, b]
    • Differentiable on (a, b)
    • Needs f(a) = f(b)
    • Conclusion: f′(c) = 0
    • Tangent parallel to the x-axis
  • Lagrange's theorem
    • Continuous on [a, b]
    • Differentiable on (a, b)
    • No condition on f(a), f(b)
    • Conclusion: f′(c) = [f(b) − f(a)]/(b − a)
    • Tangent parallel to the chord

Worked example 3: finding c for Lagrange's theorem

(i) f(x) = x³ on [0, 3]. Working: [f(3) − f(0)]/(3 − 0) = 27/3 = 9, and f′(c) = 3c² = 9 gives c² = 3, so c = √3 (−√3 is outside the interval). (ii) f(x) = √x on [4, 9]. Working: [3 − 2]/(9 − 4) = 1/5, and f′(c) = 1/(2√c) = 1/5 gives √c = 5/2, so c = 25/4 = 6.25, which lies in (4, 9).

Worked example 4: using the theorem

(i) A bus covers 150 km in 2 hours. Its average speed is 75 km/h, so by the theorem the speedometer read exactly 75 km/h at some instant; if the limit was 70 km/h, the bus exceeded it. (ii) Suppose f′(x) ≤ 4 for all x and f(1) = 3. Then [f(5) − f(1)]/(5 − 1) = f′(c) ≤ 4, so f(5) ≤ 3 + 4 × 4 = 19; this is the largest possible value. (iii) For any real a, b: cos a − cos b = −sin c · (a − b) for some c between them, and |sin c| ≤ 1, so |cos a − cos b| ≤ |a − b|.

Three consequences are used again and again: if f′(x) > 0 on (a, b) then f is strictly increasing there (and if f′(x) < 0, strictly decreasing); if f′(x) = 0 on (a, b) then f is constant; and if f′(x) = g′(x) for all x then f(x) = g(x) + C for a constant C.

Taylor and Maclaurin series

If f can be differentiated as many times as we like at x = a, it can be written near a as a power series in (x − a). Assuming f(x) = A₀ + A₁(x − a) + A₂(x − a)² + ..., putting x = a gives A₀ = f(a); differentiating once and putting x = a gives A₁ = f′(a); differentiating k times gives A_k = f⁽ᵏ⁾(a)/k!. So:

Taylor: f(x) = f(a) + f′(a)(x − a) + f″(a)(x − a)²/2! + ... + f⁽ⁿ⁾(a)(x − a)ⁿ/n! + ... Maclaurin (a = 0): f(x) = f(0) + f′(0)x + f″(0)x²/2! + ...

— Series expansions

Worked example 5: a Maclaurin series

Expand √(1 + x) up to the x³ term. Working: f(x) = (1 + x)^(1/2), f(0) = 1. f′(x) = ½(1 + x)^(−1/2), f′(0) = 1/2. f″(x) = −¼(1 + x)^(−3/2), f″(0) = −1/4. f‴(x) = (3/8)(1 + x)^(−5/2), f‴(0) = 3/8. So √(1 + x) = 1 + (1/2)x + (−1/4)x²/2 + (3/8)x³/6 + ... = 1 + x/2 − x²/8 + x³/16 − .... Check with x = 0.1: the four terms give 1.0488..., and √1.1 = 1.0488...

Worked example 6: a Taylor series about x = 1

Expand f(x) = x³ in powers of (x − 1). Working: f(1) = 1; f′(x) = 3x², f′(1) = 3; f″(x) = 6x, f″(1) = 6; f‴(x) = 6; higher derivatives are 0. So x³ = 1 + 3(x − 1) + 6(x − 1)²/2! + 6(x − 1)³/3! = 1 + 3(x − 1) + 3(x − 1)² + (x − 1)³. Check at x = 2: 1 + 3 + 3 + 1 = 8 = 2³. A polynomial's series stops, because its derivatives eventually vanish.

Standard Maclaurin series worth knowing
FunctionSeriesValid for
eˣ1 + x + x²/2! + x³/3! + ...all x
sin xx − x³/3! + x⁵/5! − ...all x
cos x1 − x²/2! + x⁴/4! − ...all x
log(1 + x)x − x²/2 + x³/3 − x⁴/4 + ...−1 < x ≤ 1
tan xx + x³/3 + 2x⁵/15 + ...−π/2 < x < π/2

Key takeaways: check all the conditions before quoting a theorem; Rolle gives f′(c) = 0, Lagrange gives f′(c) = [f(b) − f(a)]/(b − a), and c must lie strictly inside the interval; Rolle plus the intermediate value theorem counts roots; the coefficient of (x − a)ⁿ in a Taylor series is f⁽ⁿ⁾(a)/n!.

Check your understanding

  1. 1. For f(x) = x² − 4x on [0, 4], the value of c given by Rolle's theorem is

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

    Answer: B. f(0) = 0 = f(4). f′(c) = 2c − 4 = 0 gives c = 2, which lies in (0, 4).

  2. 2. Why does Rolle's theorem not apply to f(x) = |x| on [−1, 1]?

    1. f(−1) ≠ f(1)
    2. f is not continuous on [−1, 1]
    3. f is not differentiable at x = 0
    4. The interval is not closed
    Show answer

    Answer: C. f(−1) = f(1) = 1 and |x| is continuous, but it has a corner at x = 0, so it is not differentiable on (−1, 1).

  3. 3. The value of c from Lagrange's mean value theorem for f(x) = x² on [1, 5] is

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

    Answer: A. [f(5) − f(1)]/(5 − 1) = (25 − 1)/4 = 6, and f′(c) = 2c = 6 gives c = 3, the midpoint. For any quadratic the c is the midpoint of the interval.

  4. 4. If f′(x) ≥ 2 for all x and f(0) = 1, the least possible value of f(3) is

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

    Answer: D. By the mean value theorem f(3) − f(0) = 3f′(c) ≥ 3 × 2 = 6, so f(3) ≥ 1 + 6 = 7.

  5. 5. In the Maclaurin series of eˣ, the coefficient of x⁴ is

    1. 1/4
    2. 1/12
    3. 1/24
    4. 1/120
    Show answer

    Answer: C. Every derivative of eˣ is eˣ, which is 1 at x = 0. So the coefficient is f⁽⁴⁾(0)/4! = 1/24.

Privacy · Terms · Refunds · Delivery