Fiveable

♾️AP Calculus AB/BC Unit 4 Review

QR code for AP Calculus AB/BC practice questions

4.7 Using L'Hopitals Rule for Determining Limits in Indeterminate Forms

4.7 Using L'Hopitals Rule for Determining Limits in Indeterminate Forms

Written by the Fiveable Content Team • Last updated June 2026
Verified for the 2027 exam
Verified for the 2027 examWritten by the Fiveable Content Team • Last updated June 2026
♾️AP Calculus AB/BC
Unit & Topic Study Guides

AP Cram Sessions 2021

Pep mascot

L'Hospital's Rule lets you evaluate a limit that gives the indeterminate form 00\frac{0}{0} or \frac{\infty}{\infty} by taking the derivative of the top and the derivative of the bottom separately, then evaluating the new limit. Before you apply it, you have to confirm the limit actually has one of those two forms.

Why This Matters for the AP Calculus Exam

This is the closing topic of Unit 4, and it ties your derivative skills back to limits. On the AP Calculus exam you will see indeterminate-form limits in both multiple-choice and free-response settings. When a limit problem appears on a free-response question, you are expected to verify that the rule applies before using it, so showing that both the numerator and denominator approach 0 (or both approach infinity) is important for clear exam work. The skill being tested is recognizing the form, choosing the right procedure, and carrying out the derivative correctly.

Only 00\frac{0}{0} and \frac{\infty}{\infty} are assessed on the AP Calculus AB and BC exams. Other indeterminate forms like \infty - \infty will not be tested.

Key Takeaways

  • L'Hospital's Rule applies only when limxaf(x)g(x)\lim_{x\to a}\frac{f(x)}{g(x)} gives 00\frac{0}{0} or \frac{\infty}{\infty}.
  • Always check and state that the numerator and denominator each go to 0 (or each go to ±\pm\infty) before applying the rule.
  • The rule says limxaf(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)}. You take the derivative of the top and bottom separately, not the quotient rule.
  • If the new limit is still indeterminate, you can apply the rule again.
  • 00\frac{0}{0} and \frac{\infty}{\infty} are labels for indeterminate forms, not actual values, so do not write the limit as equal to 00\frac{0}{0}.
  • The rule works for finite limits (xax\to a) and for limits at infinity (xx\to\infty).

L'Hospital's Rule

L'Hospital's Rule states that if limxaf(x)g(x)\lim_{x\to a}\frac{f(x)}{g(x)} gives 00\frac{0}{0} or ±\pm\frac{\infty}{\infty}, then

limxaf(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)}

In plain terms, you can evaluate the limit of an indeterminate form by replacing the numerator and denominator with their own derivatives.

This is different from the quotient rule. You are not differentiating the ratio. You are differentiating the top and the bottom on their own, then taking the limit of the new fraction. L'Hospital's Rule also only works on these specific indeterminate-form limits, not on ordinary derivative problems.

One thing to keep in mind: 00\frac{0}{0} and \frac{\infty}{\infty} are just names for indeterminate forms. They are not numbers. So it is incorrect to write limxaf(x)g(x)=00\lim_{x\to a}\frac{f(x)}{g(x)}=\frac{0}{0}. Use that form only as a label for what the limit is doing, then move on to the rule.

Worked Example

Evaluate the following limit.

limxπ2cos(x)xπ2\lim_{x \to \frac{\pi}{2}}\frac{\cos(x)}{x-\frac{\pi}{2}}

Plugging x=π2x=\frac{\pi}{2} into cos(x)xπ2\frac{\cos(x)}{x-\frac{\pi}{2}} gives the indeterminate form 00\frac{0}{0}. That signals you should consider L'Hospital's Rule.

On a free-response question, show that the numerator f(x)f(x) and the denominator g(x)g(x) each go to the needed value separately. Do that first:

limxπ2cos(x)=0\lim_{x \to \frac{\pi}{2}}{\cos(x)}=0

limxπ2(xπ2)=0\lim_{x \to \frac{\pi}{2}}\left(x-\frac{\pi}{2}\right)=0

Since both limits equal 0, L'Hospital's Rule can be applied. Write that statement out before you actually use the rule.

Now take the derivatives of the top and bottom:

limxπ2cos(x)xπ2=limxπ2ddx[cos(x)]ddx[xπ2]\lim_{x \to \frac{\pi}{2}}\frac{\cos(x)}{x-\frac{\pi}{2}}=\lim_{x\to \frac{\pi}{2}}\frac{\frac{d}{dx}[\cos(x)]}{\frac{d}{dx}[x-\frac{\pi}{2}]}

=limxπ2sin(x)1=\lim_{x\to \frac{\pi}{2}}\frac{-\sin(x)}{1}

=sin(π2)1=\frac{-\sin\left(\frac{\pi}{2}\right)}{1}

=1=-1

So the final answer is:

limxπ2cos(x)xπ2=1\lim_{x \to \frac{\pi}{2}}\frac{\cos(x)}{x-\frac{\pi}{2}}=-1

How to Use This on the AP Calculus Exam

Problem Solving

  1. Plug in the value the variable approaches.
  2. If you get 00\frac{0}{0} or \frac{\infty}{\infty}, the limit is indeterminate and the rule is a candidate.
  3. State that the numerator and denominator each approach 0 (or each approach ±\pm\infty).
  4. Differentiate the top and bottom separately.
  5. Take the limit of the new fraction. If it is still indeterminate, apply the rule again.

Free Response

When a limit shows up on a free-response question, write out the verification step. Showing limf(x)=limg(x)=0\lim f(x)=\lim g(x)=0 (or both going to infinity) before applying the rule is important for clear, complete exam work. Skipping that step leaves your reasoning incomplete even if the final number is right.

Common Trap

Make sure the form is truly indeterminate before differentiating. If a limit already evaluates to something like 30\frac{3}{0} or 52\frac{5}{2}, L'Hospital's Rule does not apply, and using it will give you a wrong answer.

Practice Problems

Evaluate the following limits. Treat these like free-response questions and check conditions.

Question 1

limx0tan(x)7x+tan(x)\lim_{x\to 0}\frac{\tan(x)}{7x+\tan(x)}

Question 2

limx3x287x2+21\lim_{x\to \infty}\frac{3x^2-8}{7x^2+21}

Solutions

Question 1

Plugging x=0x=0 into tan(x)7x+tan(x)\frac{\tan(x)}{7x+\tan(x)} gives the indeterminate form 00\frac{0}{0}. Since the expression mixes function types, there is no clean algebraic way to simplify it, so L'Hospital's Rule is the move.

First, show each piece goes to 0:

limx0tan(x)=0\lim_{x\to 0}\tan(x)=0

limx0(7x+tan(x))=0\lim_{x\to 0}\left(7x+\tan(x)\right)=0

Since both limits equal 0, L'Hospital's Rule can be applied.

limx0tan(x)7x+tan(x)=limx0ddx[tan(x)]ddx[7x+tan(x)]\lim_{x\to 0}\frac{\tan(x)}{7x+\tan(x)}=\lim_{x\to 0}\frac{\frac{d}{dx}[\tan(x)]}{\frac{d}{dx}[7x+\tan(x)]}

=limx0sec2(x)7+sec2(x)=\lim_{x\to 0}\frac{\sec^2(x)}{7+\sec^2(x)}

=sec2(0)7+sec2(0)=\frac{\sec^2(0)}{7+\sec^2(0)}

=17+1=18=\frac{1}{7+1}=\frac{1}{8}

So:

limx0tan(x)7x+tan(x)=18\lim_{x\to 0}\frac{\tan(x)}{7x+\tan(x)}=\frac{1}{8}

Question 2

Plugging in xx\to\infty for 3x287x2+21\frac{3x^2-8}{7x^2+21} gives the indeterminate form \frac{\infty}{\infty}, so L'Hospital's Rule applies.

limx(3x28)=\lim_{x\to \infty}\left(3x^2-8\right)=\infty

limx(7x2+21)=\lim_{x\to \infty}\left(7x^2+21\right)=\infty

Since both go to infinity, L'Hospital's Rule can be applied.

limx3x287x2+21=limxddx[3x28]ddx[7x2+21]\lim_{x\to \infty}\frac{3x^2-8}{7x^2+21}=\lim_{x\to \infty}\frac{\frac{d}{dx}[3x^2-8]}{\frac{d}{dx}[7x^2+21]}

=limx6x14x=\lim_{x\to \infty}\frac{6x}{14x}

=37=\frac{3}{7}

Therefore:

limx3x287x2+21=37\lim_{x\to \infty}\frac{3x^2-8}{7x^2+21}=\frac{3}{7}

Notice that in Question 2 the first application still left a ratio, but 6x14x\frac{6x}{14x} simplifies to 37\frac{3}{7} directly. If a single application does not resolve the form, you are allowed to apply the rule again.

Common Misconceptions

  • Using the quotient rule instead. L'Hospital's Rule takes the derivative of the numerator and the derivative of the denominator separately. It is not the derivative of the whole fraction.
  • Writing the limit equal to 00\frac{0}{0}. Those symbols are labels for indeterminate forms, not values. Do not write limxaf(x)g(x)=00\lim_{x\to a}\frac{f(x)}{g(x)}=\frac{0}{0}.
  • Skipping the verification step. You must confirm the limit is 00\frac{0}{0} or \frac{\infty}{\infty} first. Applying the rule to a non-indeterminate limit gives a wrong answer.
  • Assuming the limit of a quotient equals the quotient of the limits. When the denominator's limit is 0, limxaf(x)g(x)limxaf(x)limxag(x)\lim_{x\to a}\frac{f(x)}{g(x)}\neq\frac{\lim_{x\to a}f(x)}{\lim_{x\to a}g(x)}, which is exactly why you need a different tool here.
  • Stopping too early. If the new fraction is still indeterminate after one application, apply the rule again rather than guessing.
  • Forgetting other forms are off-limits. On the AP Calculus exam, only 00\frac{0}{0} and \frac{\infty}{\infty} are tested. Forms like \infty-\infty are not assessed.

Vocabulary

The following words are mentioned explicitly in the College Board Course and Exam Description for this topic.

Term

Definition

indeterminate forms

Limit expressions that do not have a determinate value without further analysis, such as 0/0 or ∞/∞.

L'Hospital's Rule

A method for evaluating limits of indeterminate forms by taking the derivative of the numerator and denominator separately.

Frequently Asked Questions

When can you use L'Hospital's Rule in AP Calculus?

Use L'Hospital's Rule when direct substitution gives an indeterminate quotient of 0/0 or infinity/infinity. On AP Calculus, those are the indeterminate forms assessed for this rule.

What indeterminate forms are tested with L'Hospital's Rule on AP Calculus?

AP Calculus AB and BC assess L'Hospital's Rule for 0/0 and infinity/infinity forms. Other indeterminate forms, such as infinity minus infinity, are excluded from the AP exam even though teachers may discuss them.

How do you apply L'Hospital's Rule?

First verify that the numerator and denominator each approach 0 or each grow without bound. Then take the derivative of the numerator and denominator separately and evaluate the new limit.

Is L'Hospital's Rule the same as the quotient rule?

No. The quotient rule differentiates a quotient as a function. L'Hospital's Rule evaluates a limit by replacing the numerator and denominator with their own derivatives after verifying the limit is indeterminate.

Can you use L'Hospital's Rule more than once?

Yes. If the new limit is still 0/0 or infinity/infinity, you can apply L'Hospital's Rule again. Each use still requires the indeterminate form to be present.

What should I show on an AP Calculus FRQ when using L'Hospital's Rule?

Show that the numerator and denominator separately approach 0 or infinity before applying the rule. Then write the derivative quotient clearly and evaluate the resulting limit.

Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly→ and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot