L'Hôpital's rule

Database › Mathematics › Pure mathematics › Analysis

ANA-0011TheoremUndergraduate

Limits of the indeterminate forms 0/0 and ∞/∞ equal the limit of the ratio of derivatives, when that limit exists; other forms (0·∞, 1^∞, ∞ − ∞) are first rewritten as quotients.

$$f(a)=g(a)=0,\ \ |f|,|g|\to\infty:\qquad\lim_{x\to a}\frac{f(x)}{g(x)}=\lim_{x\to a}\frac{f'(x)}{g'(x)}$$

Explanation

The rule follows from Cauchy's mean-value theorem; it may be applied repeatedly while the form stays indeterminate. For $0\cdot\infty$ write $fg=f/(1/g)$; for $1^\infty$, $0^0$, $\infty^0$ take logarithms; for $\infty-\infty$ combine into one fraction.

Taylor expansion is often quicker and safer, and the rule fails if the derivative ratio has no limit (e.g. $\frac{x+\sin x}{x}$ as $x\to\infty$, whose limit is 1 though $\frac{1+\cos x}{1}$ oscillates).

Example 1

Evaluate $\lim_{x\to0}\frac{e^{2x}-1-2x}{x^2}$ and $\lim_{x\to0^+}x\ln x$.

Solution

Twice: $\frac{2e^{2x}-2}{2x}\to\frac{4e^{2x}}{2}\to2$. Second: $\frac{\ln x}{1/x}\to\frac{1/x}{-1/x^2}=-x\to0$.

Example 2

Evaluate $\lim_{x\to\infty}\big(1+\frac{3}{x}\big)^{x}$.

Solution

Logarithm: $x\ln(1+3/x)=\frac{\ln(1+3/x)}{1/x}\to\frac{-3/x^2/(1+3/x)}{-1/x^2}\to3$, so the limit is $e^3$.

Related entries