AP-CALCBC-4.7

U4.7 L'Hôpital's Rule

Master L'Hôpital's Rule for AP Calc BC: state the hypotheses, apply it to 0/0 and ∞/∞ limits, and convert forms like 0·∞, ∞−∞, and 1^∞.

What you'll do in this lesson

A voice-first session with the Crimsora tutor on U4.7 L'Hôpital's Rule, then targeted practice and FRQs — with the tutor adapting to where you get stuck.

What this lesson covers

Some limits look impossible: plug in the value and you get 00\frac{0}{0} or \frac{\infty}{\infty}, expressions that could equal almost anything. L'Hôpital's Rule is your power tool for these indeterminate forms, letting you replace a messy ratio of functions with a ratio of their derivatives. On the AP exam, you'll see it applied directly to fractions and, more cleverly, to products and powers that must first be rewritten. This lesson states the rule precisely, shows you exactly when it's legal to use, and walks through the algebraic tricks that convert every indeterminate form into one L'Hôpital's Rule can handle.

Stating the Rule and Its Hypotheses

L'Hôpital's Rule says: suppose ff and gg are differentiable near aa (except possibly at aa) with g(x)0g'(x)\neq 0 near aa. If limxaf(x)g(x)\lim_{x\to a}\frac{f(x)}{g(x)} produces the indeterminate form 00\frac{0}{0} or ±±\frac{\pm\infty}{\pm\infty}, thenlimxaf(x)g(x)=limxaf(x)g(x)\lim_{x\to a}\frac{f(x)}{g(x)}=\lim_{x\to a}\frac{f'(x)}{g'(x)}provided the right-hand limit exists or is ±\pm\infty. The rule also holds for one-sided limits and for a=±a=\pm\infty.

The single most important habit: verify the indeterminate form before differentiating. Substitute the target value first. If you get 00\frac{0}{0} or \frac{\infty}{\infty}, proceed. If you get something like 30\frac{3}{0} or 52\frac{5}{2}, the rule does not apply and using it gives a wrong answer.

A critical misconception: you do NOT use the quotient rule. You differentiate the numerator and denominator separately, then form a new fraction. You may apply the rule repeatedly as long as each new form is still indeterminate. Once substitution yields a determinate value, stop — applying L'Hôpital again would be an error.

Applying It to 0/0 and ∞/∞

The two forms L'Hôpital's Rule handles directly are 00\frac{0}{0} and \frac{\infty}{\infty}. Consider limx0sinxx\lim_{x\to 0}\frac{\sin x}{x}. Substituting gives 00\frac{0}{0}, so differentiate top and bottom: limx0cosx1=1\lim_{x\to 0}\frac{\cos x}{1}=1.

For \frac{\infty}{\infty}, try limxlnxx\lim_{x\to\infty}\frac{\ln x}{x}. Both grow without bound, so apply the rule: limx1/x1=0\lim_{x\to\infty}\frac{1/x}{1}=0. This illustrates a key fact the AP exam loves: polynomials dominate logarithms, and exponentials dominate polynomials.

Sometimes one pass isn't enough. For limx01cosxx2\lim_{x\to 0}\frac{1-\cos x}{x^2} you get 00\frac{0}{0}, then limx0sinx2x\lim_{x\to 0}\frac{\sin x}{2x}, still 00\frac{0}{0}, then limx0cosx2=12\lim_{x\to 0}\frac{\cos x}{2}=\frac{1}{2}.
StepCheckAction
SubstituteGet 00\frac{0}{0} or \frac{\infty}{\infty}?If yes, continue
Differentiatefg\frac{f'}{g'}, not quotient ruleForm new limit
Re-substituteDeterminate now?If yes, that's the answer
OtherwiseStill indeterminateRepeat

Converting Other Indeterminate Forms

Many limits arrive disguised. The AP exam expects you to reshape them into 00\frac{0}{0} or \frac{\infty}{\infty} first.

For the product form 00\cdot\infty, rewrite one factor as a reciprocal. Example: limx0+xlnx\lim_{x\to 0^+}x\ln x is 0()0\cdot(-\infty). Rewrite as limx0+lnx1/x\lim_{x\to 0^+}\frac{\ln x}{1/x}, now \frac{-\infty}{\infty}; L'Hôpital gives limx0+1/x1/x2=limx0+(x)=0\lim_{x\to 0^+}\frac{1/x}{-1/x^2}=\lim_{x\to 0^+}(-x)=0.

For \infty-\infty, combine into a single fraction using a common denominator, which typically yields 00\frac{0}{0}.

The power forms 11^{\infty}, 000^0, and 0\infty^0 all require logarithms. Set y=f(x)g(x)y=f(x)^{g(x)}, take lny=g(x)lnf(x)\ln y=g(x)\ln f(x), find limlny\lim \ln y (usually a 00\cdot\infty product), then exponentiate: the answer is eLe^{L}.
FormRewrite as
00\cdot\infty01/\frac{0}{1/\infty} or 1/0\frac{\infty}{1/0}
\infty-\inftycommon denominator 00\to \frac{0}{0}
1, 00, 01^\infty,\ 0^0,\ \infty^0take ln\ln, then exponentiate
Remember: 22^\infty, +\infty+\infty, and 50\frac{5}{0} are NOT indeterminate — don't waste time on L'Hôpital for those.

How the Exam Tests It

On the multiple-choice section, L'Hôpital problems are usually quick: identify the indeterminate form and differentiate once or twice. Watch for traps where the limit is not actually indeterminate — the correct answer may be found by direct substitution or by recognizing a determinate form like 40=±\frac{4}{0}=\pm\infty.

Free-response questions often embed a limit inside a larger context, such as evaluating a limit that defines a derivative, or analyzing end behavior. When justification is required, you should explicitly state that the limit has the form 00\frac{0}{0} (or \frac{\infty}{\infty}) so that L'Hôpital's Rule applies. Skipping this justification can cost points even if your arithmetic is correct.

A subtle exam favorite: sometimes L'Hôpital loops forever or grows more complicated, signaling you should switch strategies — factor, use a known limit, or divide by the highest power. For instance, limxx2+1x\lim_{x\to\infty}\frac{\sqrt{x^2+1}}{x} cycles under L'Hôpital but is trivially 11 by dividing by xx. Also beware of applying the rule when the derivative-limit does not exist; if limfg\lim\frac{f'}{g'} fails to exist (and isn't ±\pm\infty), the rule is simply inconclusive, not proof that the original limit fails.

Key terms

Indeterminate form.
An expression such as 00\frac{0}{0}, \frac{\infty}{\infty}, 00\cdot\infty, \infty-\infty, 11^\infty, 000^0, or 0\infty^0 whose value cannot be determined by substitution alone.
L'Hôpital's Rule.
If limfg\lim\frac{f}{g} is 00\frac{0}{0} or \frac{\infty}{\infty} and conditions hold, then limfg=limfg\lim\frac{f}{g}=\lim\frac{f'}{g'}.
Determinate form.
An expression whose limit is forced, such as 50+=+\frac{5}{0^+}=+\infty or +=\infty+\infty=\infty; L'Hôpital's Rule does not apply.
0/0 form.
A quotient in which numerator and denominator both approach zero, a primary target of L'Hôpital's Rule.
∞/∞ form.
A quotient in which numerator and denominator both grow without bound; also directly handled by the rule.
Logarithmic conversion.
The technique of taking ln\ln of a power-form limit fgf^g, evaluating limglnf\lim g\ln f, then exponentiating to get eLe^L.
Dominance.
The ranking of growth rates (lnxxnex\ln x \ll x^n \ll e^x) that predicts the value of many \frac{\infty}{\infty} limits.

Worked example

Evaluate limx0+(1+2x)1/x\lim_{x\to 0^+}(1+2x)^{1/x}.
First substitute to identify the form: as x0+x\to 0^+, the base 1+2x11+2x\to 1 and the exponent 1x+\frac{1}{x}\to+\infty, giving the indeterminate form 11^\infty. This is a power form, so use logarithms.

Let y=(1+2x)1/xy=(1+2x)^{1/x}. Take the natural log of both sides:lny=1xln(1+2x)=ln(1+2x)x.\ln y=\frac{1}{x}\ln(1+2x)=\frac{\ln(1+2x)}{x}.Now evaluate limx0+lny=limx0+ln(1+2x)x\lim_{x\to 0^+}\ln y=\lim_{x\to 0^+}\frac{\ln(1+2x)}{x}. Substituting gives ln10=00\frac{\ln 1}{0}=\frac{0}{0}, so L'Hôpital's Rule applies.

Differentiate numerator and denominator separately. The derivative of ln(1+2x)\ln(1+2x) is 21+2x\frac{2}{1+2x}, and the derivative of xx is 11:limx0+2/(1+2x)1=21+0=2.\lim_{x\to 0^+}\frac{2/(1+2x)}{1}=\frac{2}{1+0}=2.So limx0+lny=2\lim_{x\to 0^+}\ln y=2. But we want yy, not lny\ln y. Exponentiate to undo the logarithm:limx0+y=e2.\lim_{x\to 0^+}y=e^{2}.The answer is e2e^2. Notice the crucial final step: forgetting to exponentiate would leave the answer as 22, a common and costly mistake.

Practice questions

What is limx3x2+5ex\lim_{x\to\infty}\frac{3x^2+5}{e^{x}}?
  1. 00
  2. 33
  3. \infty
  4. 3e\frac{3}{e}

Answer: 00

Substituting gives \frac{\infty}{\infty}. Apply L'Hôpital: 6xex\frac{6x}{e^x}, still \frac{\infty}{\infty}. Apply again: 6ex0\frac{6}{e^x}\to 0. The exponential dominates the polynomial, so the limit is 00. This reflects the growth-rate hierarchy xnexx^n\ll e^x.
Evaluate limx0+(1x1sinx)\lim_{x\to 0^+}\left(\frac{1}{x}-\frac{1}{\sin x}\right), showing the steps needed to justify L'Hôpital's Rule.

Answer: 00

The form is \infty-\infty, which is indeterminate, so combine into one fraction: sinxxxsinx\frac{\sin x - x}{x\sin x}. Substituting gives 00\frac{0}{0}, so L'Hôpital applies. Differentiate: cosx1sinx+xcosx\frac{\cos x-1}{\sin x + x\cos x}, still 00\frac{0}{0}. Apply again: sinxcosx+cosxxsinx=sinx2cosxxsinx\frac{-\sin x}{\cos x + \cos x - x\sin x}=\frac{-\sin x}{2\cos x - x\sin x}. Substituting x=0x=0 gives 02=0\frac{0}{2}=0. So the limit is 00.
For which limit does L'Hôpital's Rule NOT apply directly?
  1. limx0sinxx\lim_{x\to 0}\frac{\sin x}{x}
  2. limxlnxx\lim_{x\to\infty}\frac{\ln x}{x}
  3. limx0cosxx\lim_{x\to 0}\frac{\cos x}{x}
  4. limx1x21x1\lim_{x\to 1}\frac{x^2-1}{x-1}

Answer: limx0cosxx\lim_{x\to 0}\frac{\cos x}{x}

Substitution gives cos00=10\frac{\cos 0}{0}=\frac{1}{0}, which is a determinate form (the limit is ±\pm\infty), not 00\frac{0}{0} or \frac{\infty}{\infty}. L'Hôpital's Rule requires an indeterminate quotient. The other three all yield 00\frac{0}{0} or \frac{\infty}{\infty} upon substitution.

FAQ

When exactly can I use L'Hôpital's Rule?
Only when direct substitution produces the indeterminate quotient 00\frac{0}{0} or \frac{\infty}{\infty}, and the functions are differentiable near the point with g0g'\neq 0. Always check the form first; if you get a determinate value like 30\frac{3}{0} or 42\frac{4}{2}, the rule does not apply.
Do I use the quotient rule when applying L'Hôpital's Rule?
No. You differentiate the numerator and the denominator separately and then form a new fraction fg\frac{f'}{g'}. Using the quotient rule is one of the most common errors and produces a wrong answer.
How do I handle forms like 0·∞ or 1^∞?
Convert them first. For 00\cdot\infty, rewrite one factor as a reciprocal to get 00\frac{0}{0} or \frac{\infty}{\infty}. For power forms 11^\infty, 000^0, 0\infty^0, take the natural log, evaluate that limit with L'Hôpital, then exponentiate the result with ee.
What if applying L'Hôpital's Rule keeps giving an indeterminate form?
You can apply it repeatedly as long as each new limit is still indeterminate. But if it loops or grows more complex, switch strategies — try factoring, dividing by the highest power, or using a known limit like limx0sinxx=1\lim_{x\to 0}\frac{\sin x}{x}=1.

Learn this with a teacher, not a page

The Crimsora tutor teaches U4.7 L'Hôpital's Rule live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.