# L'Hôpital's rule

In calculus, **l'Hôpital's rule** (alternately, **l'Hospital's rule**) uses derivatives to help compute limits with indeterminate forms. Application (or repeated application) of the rule often converts an indeterminate form to a determinate form, allowing easy computation of the limit. The rule is named after the 17th-century French mathematician Guillaume de l'Hôpital, who published the rule in his book *Analyse des infiniment petits pour l'intelligence des lignes courbes* (1696), the first book to be written on the differential calculus. It is likely, however, that the result was originally due to Johann Bernoulli, upon whose lectures the text was largely based.

## Contents

## Overview

When determining the limit of a quotient *f*(*x*)/*g*(*x*) when both *f* and *g* approach 0, or *f* and *g* approach infinity, L'Hôpital's rule states that quotient of *f*′ and *g*′ has the same limit (if the limit exists), provided that *g*′ is nonzero throughout some interval containing the point in question. This differentiation often simplifies the quotient and/or converts it to a determinate form, allowing the limit to be determined more easily.

Symbolically let . Suppose that , that

and that for all in an open interval (*a*,*b*) containing *c* (or with if or with if ). If

then

L'Hôpital's rule also holds for one-sided limits.

Basic indeterminate forms (all others reduce to these):

Other indeterminate forms:

Note the requirement that the limit exists. Differentiation of limits of this form can sometimes lead to limits that do not exist. In that case, L'Hôpital's rule cannot be applied. For instance if and , then

does not exist, whereas

In practice one often uses the rule and, if the resulting limit exists, concludes that it was legitimate to use L'Hôpital's rule.

Note also the requirement that the derivative of *g* not vanish throughout an entire interval containing the point *c*. Without such a hypothesis, the conclusion is false. Thus one must not use L'Hôpital's rule if the denominator oscillates wildly near the point where one is trying to find the limit. For example if and , then

whereas

does not exist since fluctuates between and *e*.

## Examples

- Here is an example involving the sinc function, which has the form 0/0 :

- However, it is simpler to observe that this limit is just the definition of the derivative of sin(
*x*) at*x*= 0.

- In fact this particular limit is needed in the most usual proof that the derivative of sin(
*x*) is cos(*x*), but we cannot use l'Hôpital's rule to do this, as it would produce a circular argument.

- Here is a more elaborate example involving the indeterminate form 0/0. Applying the rule a single time still results in an indeterminate form. In this case, the limit may be evaluated by applying l'Hôpital's rule three times:

- Here is another case involving 0/0.

- Here is a case of ∞/∞:

- This one involves ∞/∞. Assume
*n*is a positive integer.

- Iterate the above until the exponent is 0. Then one sees that the limit is 0.

- This one involves ∞/∞.

- This is known as the raised cosine function.

## Proof

The most common proof of l'Hôpital's rule uses Cauchy's mean value theorem.

1) The case when

First, we expand continuously (or redefine) and by for . This doesn't change the limit since the limit doesn't depend on the value in the point (by definition).

According to Cauchy's mean value theorem there is a constant in such that:

Since ,

If then and

2) The case when

Let . Then using Cauchy's mean value theorem:

We rewrite that in the form

and then by the discussion of the two cases

we show that the limit of *f*(*x*)/*g*(*x*) tends to the same when and .

### Other proofs

There are more intuitive proofs of the rule. If

tends to the indeterminate form 0/0, then the rule can be proven with a local linearity argument. If it tends to the indeterminate form , then this can be converted to 0/0 form using the identity :
By assuming this limit equals *L*, and taking the derivative of the numerator and denominator, it can be proven that .

## Other applications

Many other indeterminate forms, such as , , and can be calculated using l'Hôpital's rule.

For example, to handle a case of , the difference of two functions is converted to a quotient:

## Other methods of computing limits

Although l'Hôpital's rule is a powerful way of computing otherwise hard-to-compute limits, it is not always the easiest. Some limits are actually easier to compute using the Taylor series expansion.

For example,

## Logical circularity

In some cases it may constitute circular reasoning to use l'Hôpital's rule to evaluate such limits as

If one uses the evaluation of the limit above for the purpose of *proving* that

and one uses l'Hôpital's rule and the fact that

in the evaluation of the limit, then the argument is circular and therefore fallacious.