Chapter VI · Derivatives and integrals

Cauchy’s mean value theorem

§128 30 min

The ratio of the increments of two functions equals the ratio of their derivatives at a single common point, which is the mean value theorem for a curve given by a parameter, and why one hypothesis cannot be dropped.

Why this matters

The mean value theorem compares the change in one function with the change in xx. Often we need to compare the changes in two functions, ϕ\phi and ψ\psi, over the same interval: for example, to find the limit of ϕ(x)/ψ(x)\phi(x)/\psi(x) when both tend to 00. §128 gives Cauchy’s generalisation, which provides a single point ξ\xi at which the ratio of the derivatives equals the ratio of the increments. Hardy uses it in Chapter VII (§154) to evaluate limits of the form 0/00/0, the method usually called l’Hôpital’s rule.

The idea

Think of ψ\psi and ϕ\phi together as a curve in the plane, traced out as tt runs from aa to bb: the point (ψ(t),ϕ(t))(\psi(t), \phi(t)). The chord from the start to the end has slope

ϕ(b)−ϕ(a)ψ(b)−ψ(a),\frac{\phi(b) - \phi(a)}{\psi(b) - \psi(a)},

and the tangent at the point with parameter tt has slope ϕ′(t)/ψ′(t)\phi'(t)/\psi'(t) (by Examples XLIV, 19). Cauchy’s theorem is the mean value theorem for such a curve: somewhere the tangent is parallel to the chord.

Explore A tangent parallel to the chord of a curve

Try this. This is an ellipse traced by tt. Move the start aa and the end bb of the arc with the sliders, and watch for the point where the tangent is parallel to the chord.

Curve (f(t), g(t))=(acos⁡t, bsin⁡t)(f(t),\,g(t)) = (a\cos t,\ b\sin t), on [0.3, 2.4][0.3,\ 2.4] (values of tt)
xy
  • the curve
  • chord
  • tangent at c, parallel to the chord
Cauchy: {f(b)−f(a)} g′(c)={g(b)−g(a)} f′(c)\{f(b)-f(a)\}\,g'(c) = \{g(b)-g(a)\}\,f'(c) for some cc in (a,b)(a,b): the tangent at cc is parallel to the chord.
One point with the required tangent: c=1.35c = 1.35.
What to notice

Even though the arc can curl round, at least one point always has a tangent parallel to the chord. For the ellipse it is at the parameter halfway between aa and bb, as you can check. If the arc is long enough, there can be several such points.

Why not simply apply the mean value theorem to ϕ\phi and to ψ\psi separately and divide? Because that gives ϕ′(ξ1)/ψ′(ξ2)\phi'(\xi_1)/\psi'(\xi_2) with two different points. For ϕ=x2\phi = x^2 and ψ=x3\psi = x^3 on [0,1][0, 1]: ξ1=12\xi_1 = \tfrac12 for ϕ\phi, ξ2=1/3\xi_2 = 1/\sqrt3 for ψ\psi, and the common point that Cauchy’s theorem promises is ξ=23\xi = \tfrac23, which is neither. The whole value of the theorem is that one point serves both functions.

Precise statements

Theorem Cauchy’s mean value theorem Hardy: §128

Suppose that (i) ϕ\phi and ψ\psi are continuous on [a,b][a, b] and differentiable in (a,b)(a, b); (ii) ψ(b)≠ψ(a)\psi(b) \ne \psi(a); and (iii) ϕ′(x)\phi'(x) and ψ′(x)\psi'(x) never vanish for the same value of xx. Then there is a ξ\xi with a<ξ<ba < \xi < b such that

ϕ(b)−ϕ(a)ψ(b)−ψ(a)=ϕ′(ξ)ψ′(ξ).\frac{\phi(b) - \phi(a)}{\psi(b) - \psi(a)} = \frac{\phi'(\xi)}{\psi'(\xi)}.

With ψ(x)=x\psi(x) = x, hypotheses (ii) and (iii) hold automatically (ψ′=1\psi' = 1), and the theorem becomes the mean value theorem. A common modern version replaces (ii) and (iii) by the single condition “ψ′(x)≠0\psi'(x) \ne 0 in (a,b)(a, b)”. This implies (ii) by Rolle’s theorem and (iii) trivially.

Proofs

Proof Cauchy’s mean value theorem
Strategy

As for the mean value theorem, build a combination of ϕ\phi and ψ\psi that vanishes at both ends, apply Rolle, and then use (iii) to show that the division at the end is legitimate.

The auxiliary function

Let χ(x)={ϕ(b)−ϕ(a)}{ψ(x)−ψ(a)}−{ψ(b)−ψ(a)}{ϕ(x)−ϕ(a)}\chi(x) = \{\phi(b) - \phi(a)\}\{\psi(x) - \psi(a)\} - \{\psi(b) - \psi(a)\}\{\phi(x) - \phi(a)\}. It is continuous on [a,b][a, b] and differentiable inside, and χ(a)=0\chi(a) = 0 and χ(b)=0\chi(b) = 0, the two products being equal at x=bx = b.

Apply Rolle

For some ξ\xi in (a,b)(a, b), χ′(ξ)=0\chi'(\xi) = 0, that is,

{ϕ(b)−ϕ(a)} ψ′(ξ)={ψ(b)−ψ(a)} ϕ′(ξ).\{\phi(b) - \phi(a)\}\,\psi'(\xi) = \{\psi(b) - \psi(a)\}\,\phi'(\xi).

This is the conclusion in cross-multiplied form, and it needs no extra hypothesis.

ψ′(ξ)≠0\psi'(\xi) \ne 0

If ψ′(ξ)=0\psi'(\xi) = 0, the left side is 00, so {ψ(b)−ψ(a)}ϕ′(ξ)=0\{\psi(b) - \psi(a)\}\phi'(\xi) = 0. By (ii) the first factor is not 00, so ϕ′(ξ)=0\phi'(\xi) = 0 as well: both derivatives vanish at ξ\xi, contrary to (iii).

Divide

Since ψ′(ξ)≠0\psi'(\xi) \ne 0 and ψ(b)−ψ(a)≠0\psi(b) - \psi(a) \ne 0, we may divide by both, which gives the theorem.

Hypothesis (iii) cannot be dropped. Hardy’s example is ϕ=x2\phi = x^2, ψ=x3\psi = x^3 on [−1,1][-1, 1]. Then ϕ(1)−ϕ(−1)=0\phi(1) - \phi(-1) = 0 and ψ(1)−ψ(−1)=2\psi(1) - \psi(-1) = 2, so the left side is 00, and we would need ϕ′(ξ)=2ξ=0\phi'(\xi) = 2\xi = 0, that is, ξ=0\xi = 0. But there ψ′(0)=0\psi'(0) = 0 too, and ϕ′(ξ)/ψ′(ξ)\phi'(\xi)/\psi'(\xi) is 0/00/0.

Explore Where the theorem breaks: a cusp

Try this. The curve is (ψ(t),ϕ(t))=(t3,t2)(\psi(t), \phi(t)) = (t^3, t^2) for tt from −1-1 to 11. Look for a tangent parallel to the horizontal chord. Then move aa away from −1-1 and watch what happens.

Curve (f(t), g(t))=(t3, t2)(f(t),\,g(t)) = (t^3,\ t^2), on [−1, 1][-1,\ 1] (values of tt)
xy
  • the curve
  • chord
  • tangent at c, parallel to the chord
Cauchy: {f(b)−f(a)} g′(c)={g(b)−g(a)} f′(c)\{f(b)-f(a)\}\,g'(c) = \{g(b)-g(a)\}\,f'(c) for some cc in (a,b)(a,b): the tangent at cc is parallel to the chord.
Hypothesis fails: f′ and g′ both vanish at t = −3.57 × 10⁻¹⁷ (the curve has no tangent direction there).
No point c in (a, b) works.
What to notice

With a=−1a = -1, b=1b = 1 the only candidate is t=0t = 0, the sharp point (cusp) of the curve, where both ψ′\psi' and ϕ′\phi' vanish. The cross-multiplied form holds there trivially (0=00 = 0), but the curve has no tangent direction at the cusp, so the ratio form says nothing. Move aa so that the interval no longer contains 00, and a genuine point cc appears.

Worked examples and exercises

Exercise One point for both functions ●○○ Hardy: §128

For ϕ=x2\phi = x^2 and ψ=x3\psi = x^3 on [a,b][a, b], with 0<a<b0 < a < b, find the ξ\xi of Cauchy’s theorem and check that it lies in (a,b)(a, b).

Hint
b2−a2b3−a3=a+ba2+ab+b2\dfrac{b^2 - a^2}{b^3 - a^3} = \dfrac{a + b}{a^2 + ab + b^2}, and ϕ′/ψ′=2/(3x)\phi'/\psi' = 2/(3x).

Solution

We need a+ba2+ab+b2=23ξ\dfrac{a + b}{a^2 + ab + b^2} = \dfrac{2}{3\xi}, so ξ=2(a2+ab+b2)3(a+b)\xi = \dfrac{2(a^2 + ab + b^2)}{3(a + b)}. Then ξ>a\xi > a is equivalent to 2b2−ab−a2>02b^2 - ab - a^2 > 0, that is, (2b+a)(b−a)>0(2b + a)(b - a) > 0, which is true. And ξ<b\xi < b is equivalent to 2a2−ab−b2<02a^2 - ab - b^2 < 0, that is, (2a+b)(a−b)<0(2a + b)(a - b) < 0, which is also true. For a=0a = 0, b=1b = 1 we get ξ=23\xi = \tfrac23, as stated in the text.

Exercise The ellipse ●●○ Hardy: §128

For the curve ψ(t)=pcos⁡t\psi(t) = p\cos t, ϕ(t)=qsin⁡t\phi(t) = q\sin t (an ellipse, p,q>0p, q > 0), show that on any interval [α,β][\alpha, \beta] with 0<β−α<π0 < \beta - \alpha < \pi the point of Cauchy’s theorem may be taken as ξ=12(α+β)\xi = \tfrac12(\alpha + \beta).

Hint
Use the sum-to-product formulas with m=12(α+β)m = \tfrac12(\alpha + \beta) and d=12(β−α)d = \tfrac12(\beta - \alpha).

Solution

ψ(β)−ψ(α)=p(cos⁡β−cos⁡α)=−2psin⁡msin⁡d\psi(\beta) - \psi(\alpha) = p(\cos\beta - \cos\alpha) = -2p\sin m\sin d and ϕ(β)−ϕ(α)=q(sin⁡β−sin⁡α)=2qcos⁡msin⁡d\phi(\beta) - \phi(\alpha) = q(\sin\beta - \sin\alpha) = 2q\cos m\sin d, with sin⁡d≠0\sin d \ne 0. In cross-multiplied form we need {ϕ(β)−ϕ(α)}ψ′(ξ)={ψ(β)−ψ(α)}ϕ′(ξ)\{\phi(\beta) - \phi(\alpha)\}\psi'(\xi) = \{\psi(\beta) - \psi(\alpha)\}\phi'(\xi), that is, 2qcos⁡msin⁡d⋅(−psin⁡ξ)=−2psin⁡msin⁡d⋅qcos⁡ξ2q\cos m\sin d\cdot(-p\sin\xi) = -2p\sin m\sin d\cdot q\cos\xi, or sin⁡ξcos⁡m=cos⁡ξsin⁡m\sin\xi\cos m = \cos\xi\sin m, or sin⁡(ξ−m)=0\sin(\xi - m) = 0. So ξ=m\xi = m works. (When sin⁡m=0\sin m = 0 we have ψ(β)=ψ(α)\psi(\beta) = \psi(\alpha), so hypothesis (ii) fails and only the cross-multiplied form is available; it still holds at ξ=m\xi = m.)

Exercise A limit of the form 0/0 ●●○ Hardy: §§128, 154

Use Cauchy’s theorem to show that 1−cos⁡xx2→12\dfrac{1 - \cos x}{x^2} \to \dfrac12 as x→0x \to 0.

Hint
Apply the theorem to ϕ(t)=1−cos⁡t\phi(t) = 1 - \cos t and ψ(t)=t2\psi(t) = t^2 on [0,x][0, x] (for x>0x > 0). Both vanish at t=0t = 0.

Solution

Let 0<x<π0 < x < \pi. On [0,x][0, x], ψ′=2t\psi' = 2t vanishes only at t=0t = 0 (an end point), so (iii) holds in the open interval, and ψ(x)≠ψ(0)\psi(x) \ne \psi(0). Cauchy’s theorem gives ξ\xi with 0<ξ<x0 < \xi < x and

1−cos⁡xx2=ϕ(x)−ϕ(0)ψ(x)−ψ(0)=sin⁡ξ2ξ.\frac{1 - \cos x}{x^2} = \frac{\phi(x) - \phi(0)}{\psi(x) - \psi(0)} = \frac{\sin\xi}{2\xi}.

As x→+0x \to +0, ξ→0\xi \to 0 and sin⁡ξ/ξ→1\sin\xi/\xi \to 1, so the quotient tends to 12\tfrac12. The function is even, so the same holds as x→−0x \to -0. Separate applications of the mean value theorem would give sin⁡ξ1/(2ξ2)\sin\xi_1/(2\xi_2), with two different points, and no conclusion.

Exercise l’Hôpital’s rule, first form ●●● Hardy: §128

Suppose ϕ(a)=ψ(a)=0\phi(a) = \psi(a) = 0, both are differentiable in (a,a+δ)(a, a + \delta) and continuous at aa, ψ′(x)≠0\psi'(x) \ne 0 in (a,a+δ)(a, a + \delta), and ϕ′(x)/ψ′(x)→l\phi'(x)/\psi'(x) \to l as x→a+0x \to a + 0. Prove that ϕ(x)/ψ(x)→l\phi(x)/\psi(x) \to l as x→a+0x \to a + 0.

Hint
Apply Cauchy’s theorem on [a,x][a, x] for a<x<a+δa < x < a + \delta. Why is ψ(x)≠0\psi(x) \ne 0?

Solution

For a<x<a+δa < x < a + \delta, ψ(x)≠ψ(a)=0\psi(x) \ne \psi(a) = 0: otherwise Rolle’s theorem would give a zero of ψ′\psi' in (a,x)(a, x). Since ψ′≠0\psi' \ne 0, hypothesis (iii) holds. Cauchy’s theorem on [a,x][a, x] gives ξx\xi_x with a<ξx<xa < \xi_x < x and ϕ(x)/ψ(x)=ϕ′(ξx)/ψ′(ξx)\phi(x)/\psi(x) = \phi'(\xi_x)/\psi'(\xi_x). As x→a+0x \to a + 0, ξx→a+0\xi_x \to a + 0, so the right side tends to ll. Hence ϕ(x)/ψ(x)→l\phi(x)/\psi(x) \to l. Hardy develops this in Chapter VII.

Check yourself

Check yourself Enter a number

For ϕ=x2\phi = x^2, ψ=x3\psi = x^3 on [0,1][0, 1], what is the ξ\xi of Cauchy’s mean value theorem?

Why

{ϕ(1)−ϕ(0)}/{ψ(1)−ψ(0)}=1\{\phi(1) - \phi(0)\}/\{\psi(1) - \psi(0)\} = 1, and ϕ′(ξ)/ψ′(ξ)=2ξ/(3ξ2)=2/(3ξ)\phi'(\xi)/\psi'(\xi) = 2\xi/(3\xi^2) = 2/(3\xi). So ξ=23\xi = \tfrac23.

Check yourself True or false?

Cauchy’s theorem follows by applying the ordinary mean value theorem to ϕ\phi and to ψ\psi and dividing.

Why

False. That gives ϕ′(ξ1)/ψ′(ξ2)\phi'(\xi_1)/\psi'(\xi_2) with two possibly different points: 12\tfrac12 and 1/31/\sqrt3 in the example above. Cauchy’s theorem needs a single point, which is why its proof applies Rolle to a combination of ϕ\phi and ψ\psi.

Check yourself Choose one

For ϕ=x2\phi = x^2, ψ=x3\psi = x^3 on [−1,1][-1, 1], which hypothesis of Cauchy’s theorem fails?

Why

Both functions are polynomials, and ψ(1)−ψ(−1)=2≠0\psi(1) - \psi(-1) = 2 \ne 0. But ϕ′(0)=ψ′(0)=0\phi'(0) = \psi'(0) = 0, and 00 is the only point where the cross-multiplied equation holds; there the ratio ϕ′/ψ′\phi'/\psi' is undefined.

Check yourself True or false?

If ψ\psi is continuous on [a,b][a, b] and ψ′(x)≠0\psi'(x) \ne 0 for all xx in (a,b)(a, b), then ψ(b)≠ψ(a)\psi(b) \ne \psi(a).

Why

True, by Rolle’s theorem: if ψ(b)=ψ(a)\psi(b) = \psi(a), then ψ′\psi' would vanish somewhere in (a,b)(a, b). This is why the modern form of the theorem needs only the single hypothesis ψ′≠0\psi' \ne 0.

Hardy’s language

Summary

Summary
  • Cauchy: under (i)–(iii), ϕ(b)−ϕ(a)ψ(b)−ψ(a)=ϕ′(ξ)ψ′(ξ)\dfrac{\phi(b) - \phi(a)}{\psi(b) - \psi(a)} = \dfrac{\phi'(\xi)}{\psi'(\xi)} for one ξ\xi in (a,b)(a, b).
  • Geometrically: on the curve (ψ(t),ϕ(t))(\psi(t), \phi(t)) some tangent is parallel to the chord.
  • Proof: Rolle applied to {ϕ(b)−ϕ(a)}{ψ(x)−ψ(a)}−{ψ(b)−ψ(a)}{ϕ(x)−ϕ(a)}\{\phi(b) - \phi(a)\}\{\psi(x) - \psi(a)\} - \{\psi(b) - \psi(a)\}\{\phi(x) - \phi(a)\}.
  • Two separate mean value theorems give two different points; Cauchy gives one, which is what limits of the form 0/00/0 need.
  • Hypothesis (iii) is essential: at a cusp, where ϕ′=ψ′=0\phi' = \psi' = 0, the ratio is meaningless.