Proposition 5.22 (l'Hôpital's rule: general form)
.
Let
f and
g be functions such that
f (
a) =
g(
a) = 0, and suppose
that
f and
g are differentiable on an open interval
I containing
a, and that
g'(
x)

0, except perhaps at
a. Then
provided the second limit exists.
Proof.
Pick
x >
a and apply the Cauchy Mean Value Theorem to the interval
[
a,
x], to find
c with
a <
c <
x such that
Then


=


=


, since we know the actual limit (not just the one sided limit) exists. Now repeat with
x <
a to get the result.