L'Hospital's Rule and the Indeterminate Forms
AP Calculus BC · Unit 4 — Contextual Applications of Differentiation
The rule, stated with its hypotheses
Suppose $f$ and $g$ are differentiable near $a$ with $g'\ne0$ near $a$, and suppose $\lim_{x\to a}\frac{f(x)}{g(x)}$ has the indeterminate form $\frac00$ or $\frac{\infty}{\infty}$. If $\lim_{x\to a}\frac{f'(x)}{g'(x)}$ exists (finite or infinite), then
$$\lim_{x\to a}\frac{f(x)}{g(x)}=\lim_{x\to a}\frac{f'(x)}{g'(x)}$$Two hypotheses do real work here. First, the form must be checked every single time, including before each repeat application. Second, the implication runs one way only: if the new limit fails to exist, the rule tells you nothing at all about the original — the original may still converge.
The other five forms
Only $\frac00$ and $\frac{\infty}{\infty}$ may be differentiated directly. The forms $0\cdot\infty$, $\infty-\infty$, $1^{\infty}$, $0^{0}$ and $\infty^{0}$ must first be rewritten:
- $0\cdot\infty$: move one factor into the denominator as its reciprocal.
- $\infty-\infty$: combine over a common denominator, or multiply by a conjugate.
- $1^{\infty}$, $0^{0}$, $\infty^{0}$: set $y$ equal to the expression, take $\ln$, find $\lim\ln y=L$, and answer $e^{L}$.
Note that $1^{\infty}$ is genuinely indeterminate: $\left(1+\frac1x\right)^{x}\to e$ while $\left(1+\frac{1}{x^{2}}\right)^{x}\to1$, and both have that same form.
Worked example: a one-to-the-infinity form, done in all three steps
Tính $\displaystyle\lim_{x\to0}\left(\cos x\right)^{1/x^{2}}$.
Solution
Step 1 — recognize the form. The base $\cos x\to1$, the exponent $\frac{1}{x^{2}}\to+\infty$: the form $1^{\infty}$, indeterminate, so you may not answer $1$.
Step 2 — take the logarithm. Let $y=\left(\cos x\right)^{1/x^{2}}$, so
$$\ln y=\frac{\ln\left(\cos x\right)}{x^{2}}$$The numerator $\to\ln1=0$ and the denominator $\to0$: exactly the form $\frac00$, so L'Hospital can be used.
$$\lim_{x\to0}\frac{\ln\left(\cos x\right)}{x^{2}}=\lim_{x\to0}\frac{-\tan x}{2x}$$Still $\frac00$, so use it once more:
$$\lim_{x\to0}\frac{-\sec^{2}x}{2}=-\frac12$$Step 3 — exponentiate back. $\lim\ln y=-\frac12$, so $\lim y=e^{-1/2}=\dfrac{1}{\sqrt{e}}$.
Anyone who stops at step 2 will submit $-\frac12$ — a negative number for an expression that is always positive. That is the quickest self-check for the power form.