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:

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.

USABLE DIRECTLY 0/0 · ∞/∞ 0 · ∞ move one factor to the denominator ∞ − ∞ common denominator or conjugate 1^∞ · 0^0 · ∞^0 set y, then take ln, finally exponentiate back The four forms below may NOT be differentiated top and bottom right away — they must first be reshaped into the two forms above. And 2/5, 0/5, 5/0 are not indeterminate forms: applying L'Hospital to them gives a wrong number.
The map of seven forms. The two forms in the top box are the only two where you may differentiate top and bottom right away. The three lower boxes are three reshaping routes, and the arrows show that every route leads to the same place. The last line is where points are lost most unfairly: $\frac25$, $\frac05$, $\frac50$ are not indeterminate — $\frac05=0$, while $\frac50$ requires checking the sign from one side. Applying L'Hospital to them produces a number that looks very reasonable and is completely wrong.

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.

Common mistake

The two deadly traps in this section are both hypothesis traps, not calculation traps. One: using L'Hospital when the form is not indeterminate — $\lim_{x\to0}\frac{\sin x}{x+1}$ is the form $\frac01=0$, and differentiating top and bottom gives $1$, completely wrong. Two: concluding “the limit does not exist” when $\lim\frac{f'}{g'}$ does not exist. How to prevent them: every time you put pen to paper to use the rule, write down the form you are facing; and if the new quotient oscillates without converging, go back to algebraic manipulation rather than concluding.

Key takeaway

Check the form before every use. The remaining four forms must be reshaped to $\frac00$ or $\frac{\infty}{\infty}$. For the power forms, remember to exponentiate back in the last step.

← Linearization, Differentials, and Over- or Under-estimates · All AP Calculus BC lessons · Practice AP Calculus BC questions (free, instant scoring) · The Mean Value Theorem and the Extreme Value Theorem →