AP® Calculus AB & BC · Unit 4

How Does L'Hopital's Rule Work in AP Calculus?

L'Hopital's Rule evaluates a limit of the form 00\dfrac00 or ∞∞\dfrac{\infty}{\infty} by replacing the numerator and denominator with their derivatives and taking the limit again. If the new limit is still indeterminate, apply the rule again. It only applies to these two indeterminate forms — never to a limit that merely looks difficult for some other reason.

L'Hopital's Rule

If lim⁡x→af(x)g(x)\lim_{x\to a}\dfrac{f(x)}{g(x)} is of the form 00\dfrac00 or ∞∞\dfrac{\infty}{\infty}, and ff, gg are differentiable near aa with g′≠0g'\ne 0 nearby, then lim⁡x→af(x)g(x)=lim⁡x→af′(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 infinite).

Step-by-Step Method

  1. Check that the limit is actually in the form 0/00/0 or ∞/∞\infty/\infty — the rule does not apply to any other form.
  2. If the limit is instead 0⋅∞0\cdot\infty or ∞−∞\infty-\infty, rewrite it algebraically as a fraction first, until it becomes 0/00/0 or ∞/∞\infty/\infty.
  3. Differentiate the numerator and denominator SEPARATELY — this is not the quotient rule, and the two pieces are never combined back into one fraction before differentiating.
  4. Take the limit of the new fraction. If it is still indeterminate, apply the rule again.
  5. Once the new limit is no longer indeterminate, that value is the answer to the original limit.

Worked Examples

Foundational — one application, checked by a classic limitEvaluate lim⁡x→0sin⁡xx\displaystyle\lim_{x\to 0} \dfrac{\sin x}{x}.
  1. At x=0x=0, both numerator and denominator are 00: this is a 0/00/0 form.
  2. Apply L'Hopital's Rule: lim⁡x→0cos⁡x1=cos⁡(0)=1\lim_{x\to 0} \dfrac{\cos x}{1} = \cos(0) = 1.
  3. This matches the well-known limit lim⁡x→0sin⁡xx=1\lim_{x\to0}\frac{\sin x}{x}=1, which can also be proven using the Squeeze Theorem (comparing areas inside a unit circle) without any derivatives at all — a genuinely independent confirmation.
Harder — three applications, checked by a Taylor seriesEvaluate lim⁡x→0x−sin⁡xx3\displaystyle\lim_{x\to 0} \dfrac{x-\sin x}{x^3}.
  1. At x=0x=0: 0/00/0. Apply the rule: lim⁡x→01−cos⁡x3x2\lim_{x\to 0}\dfrac{1-\cos x}{3x^2} — still 0/00/0 at x=0x=0.
  2. Apply again: lim⁡x→0sin⁡x6x\lim_{x\to 0}\dfrac{\sin x}{6x} — still 0/00/0.
  3. Apply a third time: lim⁡x→0cos⁡x6=16\lim_{x\to 0}\dfrac{\cos x}{6} = \dfrac{1}{6}.
  4. Check with the Maclaurin series for sin⁡x\sin x (see /learn/taylor-and-maclaurin-series): sin⁡x=x−x36+⋯\sin x = x-\dfrac{x^3}{6}+\cdots, so x−sin⁡x=x36−⋯x-\sin x = \dfrac{x^3}{6}-\cdots, and dividing by x3x^3 gives 16−⋯→16\dfrac16-\cdots \to \dfrac16 as x→0x\to 0 — the same answer, from a completely different technique.

Common Mistakes on the AP Exam

How This Appears on the AP Exam

Try a timed AP-style question on this topic — free.

Start Free

Frequently Asked Questions

When can you use L'Hopital's Rule?

Only when the limit is in the form 0/00/0 or ∞/∞\infty/\infty. Other hard-looking limits may need to be rewritten into one of these forms first, or solved with an entirely different technique.

What do you do if applying L'Hopital's Rule once still gives an indeterminate form?

Apply the rule again to the new fraction — differentiate the new numerator and denominator separately, and check again whether the result is still 0/00/0 or ∞/∞\infty/\infty.

Can L'Hopital's Rule be used on a limit of the form 0 times infinity?

Not directly — first rewrite the product as a fraction (for example, writing f(x)⋅g(x)f(x)\cdot g(x) as f(x)1/g(x)\dfrac{f(x)}{1/g(x)}) so it becomes a 0/00/0 or ∞/∞\infty/\infty form, then apply the rule.

What's the biggest mistake students make with L'Hopital's Rule?

Using it on a limit that is not actually indeterminate — if the numerator and denominator don’t both go to 00 or both go to ∞\infty, the rule simply does not apply, and applying it anyway gives a wrong answer.

Is L'Hopital's Rule tested on the AP Calculus AB exam?

Yes. L'Hopital's Rule itself is Unit 4 content tested on both the AB and BC exams. It only becomes BC-specific when it's applied inside a topic that is itself BC-only, such as bounding a series' error or evaluating an improper integral.

Related Topics

Keep going with timed tests & full mocks, study materials for every unit, DME Nova — your AI tutorthat won't make up an answer, and FRQ feedback scored against an exam-style rubric.

Start Free

Written by the DME AP Calculus team — 20+ years of AP & STEM teaching.

Last updated: 2026-10-08

AP® is a registered trademark of the College Board, which is not affiliated with, and does not endorse, this site.