l'Hôpital Rule

By David Marland

Introduction

l'Hôpital rule is a technique in finding the limit of a rational function in indeterminate form in particular zero over zero and infinity over infinity. It is named after the 17th-century French mathematician Guillaume de l'Hôpital. It is also known at the Bernouilli rule as the Swiss mathematician Johann Bernoulli introduced it to him in 1694 (Albrycht, 1951).

Lim x→b
f(x) / g(x)
= Lim x→b
f'(x) / g'(x)

The limit must be indeterminate form such as zero over zero or infinity over Infinity,
First of all, we will review key concepts before we explore l'Hôpital rule. Afterwards, we will be ready to prove the theorem and then explore when l'Hôpital rule can only be used.

Background

First principles of differentiation

In calculus you should be aware that:
f'(x) = Lim h→0
f(x+h)-f(x) / h
This is saying that the gradient of the function f(x) at x= b is equal to the tangent at the point (b,f(b)). If you choose any two points on the curve f(x), The gradient of the straight line between the two points will converge to the gradient of the curve at x = b when the two points get closer to each other.
If you wish to explore this concept please click on the link to access a page that I have created - understanding first principles!
Let b = x + h then this can be written as
f'(x)= Lim x-b→0
f(b)-f(x) / b-x
= Lim x→b
f(b)-f(x) / b-x

Switching x and b also leads to
f'(b)= Lim x→b
f(x)-f(b) / x-b

Properties of Limits

It is important to be familiar with some key properties of limits.
Additive
Lim x→a f(x) + g(x) = Lim x→a f(x) + Lim x→a g(x)
Multiplicative
Lim x→a f(x) g(x) = Lim x→a f(x) Lim x→a g(x)
Quotient
Lim x→a
f(x) / g(x)
=
Lim x→a f(x) / Lim x→a g(x)
Power
Lim x-->a f(x)n = [Lim x→a f(x) ]n
The last two properties we will be using in order to prove l'Hôpital rule.

Proof of l'Hôpital Rule

let f(b) = g(b) = 0

Lim x→b
f(x) / g(x)
= Lim x→b
f(x)-f(b) / g(x)-g(b)
= Lim x→b
f(x)-f(b) (x-b) / g(x)-f(b) (x-b)

Using the quotient rule of limits
Lim x→b
f(x) / g(x)
=
Lim x→b f(x)-f(b) (x-b) / Lim x→bg(x)-f(b) (x-b)

Applying the first principles of differentiation this leads to:
Lim x→b
f(x) / g(x)
=
f'(b) / g'(b)

Example
We can find the limit of the following function by simply differentiating the numerator and denominator.

Lim x→0
sin(x) / x
= Lim x→0
cos(x) / 1
= 1
Do note that this limit is in indeterminate form since we get zero over zero. Therefore, we can apply l'Hôpital rule.

l'Hôpital rule can also be explained using linear approximations (Stewart, J. 2012).
Let f(b) = g(b) = 0
f(x) ≈ f'(b)(x-b)+f(b) and g(x) ≈ g'(b)(x-b) + g(b)

These expressions are derived from first principles.
f'(b) = Lim x→b
f(x)-f(b) / x-b
and g'(b) = Lim x→b
g(x)-g(b) / x-b
It can be seen that the approximation of f(x) and g(x) improves as x gets closer to b.
Lim x→b
f(x) / g(x)
= Lim x→b
f'(b)(x-b)+f(b) / g'(b)(x-b)+g(b)
=
f'(b) / g'(b)

Applying l'Hôpital rule to infinity over infinity

We can use the above proof to show that l'Hôpital rule can be used when the limit is infinity over infinity.
Let Lim x→b f(x) = Lim x→b g(x) = ∞
L = Lim x→b
f(x) / g(x)
= Lim x→b
1g(x) / 1f(x)

Let us show that L can also be expressed as the following:
L = Lim x→b
(1g(x))' / (1f(x))'
= Lim x→b
-(g(x))-2g'(x) / -(f(x))-2f'(x)
= Lim x→b
(f(x))2g'(x) / (f(x))2f'(x)

Next we will use the product and power properties of limits.
L = L2 Lim x→b
g'(x) / f'(x)

Hence, we have shown that :
L = Lim x→b
f(x) / g(x)
= Lim x→b
f'(x) / g'(x)

When l'Hôpital rule can not used?

l'Hôpital rule can only be used when the limit is in indeterminate form. Let us look at the example where we will mistakenly use l'Hopital rule because the limit of our rational function is neither zero over zero nor infinity over infinity.
Example

Lim x→2
x+6 / 2x

Substituting x= 2 into the limit will lead to the following:
Lim x→2
x+6 / 2x
= 2

Applying l'Hôpital rule incorrectly by ignoring the necessary condition and immediately differentiating the numerator and denominator would give us the following answer:
Lim x→2
1 / 2
= 0.5

Conclusion

l'Hôpital rule is a great tool in finding the limits of rational functions. Differentiating the numerator and the denominator can be so much easier that using other methods to find the limits such as factorising the numerator and denominator and cancelling out the common factors or expressing the the rational function as a polynomial (Taylor's expansion). However, we must not forget that l'Hôpital rule can only be used for limits in indeterminate form such as zero over zero or infinity over infinity.

References

Albrycht, J. (1951). L’Hopital’s rule for vector-valued functions. ˆ Colloq. Math. 2: 176–177.
Stewart, J. (2012), Calculus : early transcendentals , Brooks/Cole, Cengage Learning , Belmont, Cal. .