Proof of L'Hôpital's rule

To prove L'Hôpital's rule, we first prove Cauchy's mean value theorem that generalizes the mean value theorem provided earlier.



See also: Mean Value Theorem

Theorem (Cauchy's Mean Value Theorem)

Let f(x) and g(x) be functions that are continuous on [a,b] and differentiable on (a,b). Suppose that g(x)0 for all x(a,b).  Then, there exists a c(a,b) such that

f(c)g(c)=f(b)f(a)g(b)g(a).

Proof. Note that the function g(x) satisfies the conditions of the mean value theorem. Thus, there exists a d(a,b) such that

g(d)=g(b)g(a)ba.

Since g(d)0 by assumption, it follows that g(b)g(a)0. Now let us define

h(x)=f(x)f(b)f(a)g(b)g(a)g(x).

Then h(x) is continuous on [a,b] and differentiable on (a,b). Moreover,

h(a)=f(a)g(b)f(b)g(a)g(b)g(a)=h(b).

Therefore, by Rolle's theorem (Theorem 10.6), there exists a c(a,b) such that h(c)=0. Then

h(c)=f(c)f(b)f(a)g(b)g(a)g(c)=0

so that, since g(c)0,

f(c)g(c)=f(b)f(a)g(b)g(a).

Theorem L'Hôpital's rule (1)

Let f(x) and g(x) be differentiable functions on (a,b). Assume that the following conditions are satisfied.

  1. limxa+0f(x)=limxa+0g(x)=0.
  2. For all x(a,b), g(x)0.
  3. The right limit limxa+0f(x)g(x) exists.
Then, the right limit limxa+0f(x)g(x) exists and
limxa+0f(x)g(x)=limxa+0f(x)g(x).
Furthermore, Condition 1 may be replaced with
limxa+0f(x)=limxa+0g(x)=±.
Proof. For convenience we set f(a)=g(a)=0 so that f(x) and g(x) are defined on [a,b). Assume conditions 1, 2, and 3 hold.

By condition 1, f(x) and g(x) are continuous on [a,b). For any x(a,b), f(x) and g(x) are continuous on [a,x] and differentiable on (a,x). By condition 2, for all t(a,x), g(t)0. Thus, by Cauchy's mean value theorem, there exists a cx(a,x) such that
f(cx)g(cx)=f(x)f(a)g(x)g(a)=f(x)g(x).
cxa+0 as xa+0 and, by condition 3, limxa+0f(cx)g(cx) exists. Therefore limxa+0f(x)g(x) also exists and
limxa+0f(x)g(x)=limxa+0f(cx)g(cx)=limxa+0f(x)g(x).

Next, consider the case when
  • (1') limxa+0f(x)=limxa+0g(x)=±
holds instead of condition 1 above.
Let us define the constant L by
L=limxa+0f(x)g(x).
By the definition of the right limit, for any ε>0, there exists a δ1>0 such that a<x<a+δ1 implies |f(x)g(x)L|<ε
Since limxa+0g(x)=±, there exists δ2>0 such that a<x<a+δ2 implies |g(x)|>1.
Let δ=min{δ1,δ2} and d=a+δ. By Cauchy's mean value theorem, for all x(a,d),  there exists a cx(x,d) such that
f(cx)g(cx)=f(d)f(x)g(d)g(x)=f(x)g(x)f(d)g(x)1g(d)g(x).
By rearranging this equation, we have
(eq:rx)f(cx)g(cx)=f(x)g(x)r(x)
where
r(x)=f(d)g(x)f(cx)g(cx)g(d)g(x).
Here, f(d) and g(d) are finite constants, and limxa+0f(x)g(x) converges to a finite value (by condition 3). Hence, by condition 1' (limxa+0g(x)=±), limxa+0r(x)=0. In other words, for any ε>0, there exists a δ3>0 such that a<x<a+δ3 implies |r(x)|<ε.
Let δ=min{δ,δ3}. By Eq. (eq:rx), we have
f(x)g(x)L=f(cx)g(cx)L+r(x).
a<x<a+δ implies 
|f(x)g(x)L||f(cx)g(cx)L|+|r(x)|<2ε.
Therefore the right limit limxa+0f(x)g(x) exists and it is equal to L. ■
Remark. The case of left limits limxa0 can be proved similarly. Then, L'Hôpital's rule (2) should be easily proved. (Exercises) □

Corollary (L'Hôpital's rule (3))

Let f(x) and g(x) be differentiable functions on the open interval (b,) that satisfy the following conditions.
  1. limxf(x)=limxg(x)=0.
  2. For all x>b, g(x)0.
  3. The limit limxf(x)g(x) exists.
Then, the limit limxf(x)g(x) also exists and
limxf(x)g(x)=limxf(x)g(x).
Furthermore, condition 1 may be replaced with
  • (1') limxf(x)=± and limxg(x)=±
to have the same conclusion.

Proof. We prove the case when x and condition 1 holds.
For the open interval (b,), this b can be replaced with any real number greater than b. Therefore, without losing generality, we may assume b>0.

Let x=1t. As x, t+0. By conditions 1 and 2,
limt+0f(1t)=limt+0g(1t)=0
and
g(1t)0  for all t(0,1b).
From
ddtf(1t)=1t2f(1t)
and
ddtg(1t)=1t2g(1t),
we have
limt+0ddtf(1t)ddtg(1t)=limt+0f(1t)g(1t)=limxf(x)g(x)
so that, by condition 3, the right limit limt+0ddtf(1t)ddtg(1t) exists. Therefore, by L'H\^opital's rule (1), we have the limit
limt+0f(1t)g(1t)=limxf(x)g(x)=limxf(x)g(x).


Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic