(Redirected from L'Hopital's rule)

In calculus, l'Hpital'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 Franois Antoine, Marquis de l'Hpital (1661 - 1704), 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 the numerator and denominator approach 0 or the denominator approaches infinity, l'Hpital's rule states that differentiation of both the numerator and denominator does not change the limit. This differentiation, however, often simplifies the quotient and/or converts it to a determinate form, allowing the limit to be determined more easily.

Symbolically, if [itex]c \in \mathbb{R}^*[itex] and

[itex]
 \lim_{x\to c}{f'(x) \over g'(x)} = A, A \in \mathbb{R}


[itex]

[itex]

\begin{cases}

 \lim_{x\to c}{f(x)} = \lim_{x\to c}g(x) = 0  \\
\mbox{or} \\
\lim_{x\to c}{|g(x)|} = +\infty


\end{cases} [itex] then

[itex]\lim_{x\to c}{f(x)\over g(x)}=A.[itex]

Please note the requirement that the limit f′/g′ exists. Differentiation of limits form can sometimes lead to limits that don't exist. In that case, l'Hpital's rule can't be applied. In real calculations, one would just use the rule "on a good word" and then if he manages to solve the resulting limit, he can conclude that it was possible to use l'Hpital's theorem.

## Examples

[itex]
 \lim_{x \to 0} \frac{\sin x}{x}


= \lim_{x \to 0} \frac{\cos x}{1} = \frac{1}{1} = 1 [itex]

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'Hpital'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'Hpital's rule three times:
[itex]\lim_{x\to 0} {2\sin x-\sin 2x \over x-\sin x}[itex]
[itex]=\lim_{x\to 0}{2\cos x-2\cos 2x \over 1-\cos x}[itex]
[itex]=\lim_{x\to 0}{-2\sin x +4\sin 2x \over \sin x}[itex]
[itex]=\lim_{x\to 0}{-2\cos x +8\cos 2x \over \cos x}[itex]
[itex]={-2\cos 0 +8\cos 0 \over \cos 0}=6.[itex]
• Here is another case involving 0/0.
[itex]\lim_{x\to 0}{e^x-1-x \over x^2}

=\lim_{x\to 0}{e^x-1 \over 2x} =\lim_{x\to 0}{e^x \over 2}={1 \over 2}.[itex]

• Here is a case of ∞/∞:
[itex]
 \lim_{x \to \infty} \frac{\sqrt{x}}{\ln(x)}
= \lim_{x \to \infty} \frac{\ 1/(2 \sqrt{x}\,)\ }{1/x}
= \lim_{x \to \infty} \frac{\sqrt{x}}{2}
= \infty.


[itex]

• This one involves ∞/∞. Assume n is a positive integer.
[itex]\lim_{x\to\infty} x^n e^{-x}

=\lim_{x\to\infty}{x^n \over e^x} =\lim_{x\to\infty}{nx^{n-1} \over e^x} =n\lim_{x\to\infty}{x^{n-1} \over e^x}.[itex]

Iterate the above until the exponent is 0. Then one sees that the limit is 0.
• This one involves ∞/∞.
[itex]\lim_{x\to 0+} x\ln x=\lim_{x\to 0+}{\ln x \over 1/x}

=\lim_{x\to 0+}{1/x \over -1/x^2} =\lim_{x\to 0+} -x = 0[itex]

[itex]\lim_{x\to 0} \frac{\sin\left(\pi f_0 t\right)\cos\left(\pi \alpha f_0 t\right)}{\pi f_0 t\left[1 - \left(2 \alpha f_0 t\right)^2\right]} = \frac{\pi f_0}{\pi f_0} = 1.[itex]

## Proof

The most common proof of l'Hpital's rule uses Cauchy's mean value theorem.

1) The case when [itex]f(x) \to 0, g(x) \to 0[itex]

First, we expand continuously (or redefine) [itex]f(x)[itex] and [itex]g(x)[itex] by [itex]0[itex] for [itex]x=c[itex]. 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 [itex]\xi[itex] in [itex] c < \xi < c+h [itex] such that:

[itex]
 {f'(\xi) \over g'(\xi)}


= {f(c + h) - f(c) \over g(c + h) - g(c)} [itex]

Since [itex]f(c) = g(c) = 0[itex],

[itex] {f'(\xi)\over g'(\xi)} = {f(c + h)\over g(c + h)}

[itex]

If [itex]h \to 0[itex] then [itex]\xi \to c[itex] and

[itex]

\lim_{x\to c}{f'(x)\over g'(x)} = \lim_{h\to 0}{f'(\xi)\over g'(\xi)} = \lim_{h\to 0}{f(c+h) \over g(c+h)} = \lim_{x\to c}{f(x) \over g(x)} [itex]

2) The case when [itex]|g(x)| \to +\infty[itex]

Let [itex] x < y < x + h[itex]. Then using Cauchy's mean value theorem:

[itex]

{f'(\xi) \over g'(\xi)} = {f(x) - f(y) \over g(x) - g(y)} [itex]

We rewrite that in the form

[itex]

{f(x) \over g(x)} = {g(y) \over g(x)} + \left [ 1 - {g(y) \over g(x)} \right ] {f'(\xi) \over g'(\xi)} [itex]

and then by the discussion of all the three cases

[itex]

\begin{cases} \lim_{x \to c}{f'(x) \over g'(x)} = 0 \\ \\ \lim_{x \to c}{f'(x) \over g'(x)} = B \in \mathbb{R} \\ \\ \lim_{x \to c}{f'(x) \over g'(x)} = \pm \infty \end{cases} [itex]

we show that the limit of f(x)/g(x) tends to the same when [itex]x \to c[itex] and [itex]h \to 0[itex].

### Other proofs

There are more intuitive proofs of the rule. If

[itex]\lim_{x \to a} \frac{f(x)}{g(x)}[itex]

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 [itex]{\infty}/{\infty}[itex], then this can be converted to 0/0 form using the identity :[itex]\frac{f(x)}{g(x)}=\frac{1/g(x)}{1/f(x)}.[itex] By assuming this limit equals L, and taking the derivative of the numerator and denominator, it can be proven that [itex]L=\lim_{x \to a}\frac{f'(x)}{g'(x)}[itex].

## Other applications

Many other indeterminate forms, such as [itex]1^\infty[itex], [itex]\infty^0[itex], and [itex]\infty-\infty[itex] can be calculated using l'Hpital's rule.

For example, to handle a case of [itex]\infty-\infty[itex], the difference of two functions is converted to a quotient:

[itex]
 \lim_{x \to \infty} x - \sqrt{x^2 - x}


= \lim_{x \to \infty} \frac{ \left(x + \sqrt{x^2 - x}\right)

                            \left(x - \sqrt{x^2 - x}\right) }
{ x + \sqrt{x^2 - x} }


[itex]

= \lim_{x \to \infty} \frac{x^2 - (x^2 - x)}{x + \sqrt{x^2 - x}} \quad[itex]

[itex]

= \lim_{x \to \infty} \frac{x}{x + \sqrt{x^2 - x}} \quad[itex]

[itex]

= \lim_{x \to \infty} \frac{1}{1 + \frac{2x - 1}{2 \sqrt{x^2 - x}}} = \frac{1}{1 + 1} = \frac{1}{2} \quad[itex]

## Other methods of computing limits

Although l'Hpital's rule'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,

[itex]
 \lim_{|x| \to \infty} x \sin {1 \over x}


= \lim_{|x| \to \infty} x

   \left( {1 \over x} - {1 \over x^3 \cdot 3!}
+ {1 \over x^5 \cdot 5!} - \cdots \right)


\;[itex]

[itex]

= \lim_{|x| \to \infty} 1 - {1 \over x^2 \cdot 3!}

                       + {1 \over x^4 \cdot 5!} - \cdots\; =\; 1


## Logical circularity

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

[itex]\lim_{h\to 0}{(x+h)^n-x^n \over h}.[itex]

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

[itex]{d \over dx} x^n=nx^{n-1}\,[itex]

and one uses l'Hpital's rule and the fact that

[itex]{d \over dx} x^n=nx^{n-1}\,[itex]

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

• Art and Cultures
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Space and Astronomy