# L'Hopital's Rule for Indeterminate Forms

> AP Calculus AB · Contextual Applications of Differentiation
> Source: https://www.owlsprep.com/study/ap-calculus-ab-u4-l-hopital-s-rule-for/

This guide covers L'Hopital's Rule for AP Calculus AB, including identifying 0/0 and ∞/∞ indeterminate forms, converting non-standard forms like 0·∞ and ∞−∞, and applying repeated L'Hopital's Rule to evaluate complex limits.

**Prerequisites:** [Evaluating one-sided and two-sided limits](https://www.owlsprep.com/study/ap-calculus-ab-u1-limits-introduction/); [Computing derivatives of all common functions, including chain rule](https://www.owlsprep.com/study/ap-calculus-ab-u3-differentiation-techniques/); Basic algebraic manipulation of rational and transcendental functions

## Learning objectives

- Recognize common indeterminate forms that require L'Hopital's Rule
- State the conditions for applying L'Hopital's Rule correctly
- Apply L'Hopital's Rule to 0/0 and ∞/∞ indeterminate forms
- Convert 0·∞ and ∞−∞ forms to valid forms for L'Hopital's Rule
- Apply repeated L'Hopital's Rule for complex limits

## Core Concept: Indeterminate Forms and L'Hopital's Rule

L'Hopital's Rule is a differentiation-based technique for evaluating limits that result in indeterminate forms—expressions with no well-defined value that cannot be evaluated via direct substitution or basic algebra. This topic makes up 3-6% of your total AP Calculus AB exam score, appearing in both multiple-choice and free-response sections.

**Indeterminate Form** — An expression whose limit cannot be determined from the limits of its individual parts, because the combination of values does not give a unique result. Common indeterminate forms on AP Calculus AB are $0/0$, $\infty/\infty$, $0 \cdot \infty$, and $\infty - \infty$.

*Example:* $0/0$ can approach any real number or infinity, so it is indeterminate, while $0/\infty = 0$, which is determinate.

Basic algebraic techniques like factoring or rationalizing only work for simple cases, and fail for complex limits involving transcendental functions (exponentials, logarithms, trigonometric functions). L'Hopital's Rule relates the limit of a ratio of functions to the limit of the ratio of their derivatives, which is almost always easier to evaluate.

> **Exam tip:** On the AP exam, you will always need to justify why you can apply L'Hopital's Rule for full credit on FRQs.

## Applying L'Hopital's Rule to 0/0 Indeterminate Forms

The most common indeterminate form tested on the AP exam is 0/0, which occurs when both the numerator and denominator of a ratio approach 0 as $x$ approaches the limit point.

**L'Hopital's Rule (0/0 Case)** — If $\lim_{x \to a} f(x) = 0$, $\lim_{x \to a} g(x) = 0$, $f$ and $g$ are differentiable near $a$ (except possibly at $a$), and $g'(x) \neq 0$ near $a$, then:

$$\lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f'(x)}{g'(x)}$$

The rule can be applied repeatedly if the new limit after the first application is still an indeterminate 0/0 form.

**Worked example:** Evaluate $\lim_{x \to 0} \frac{e^{3x} - 1 - 3x}{x^2}$

1. First confirm the indeterminate form: substitute $x=0$ to check. Numerator: $e^0 - 1 - 0 = 1-1 = 0$, denominator: $0^2 = 0$, so we have a valid 0/0 indeterminate form for L'Hopital's Rule.
2. Differentiate the numerator and denominator separately:
3. $$f'(x) = 3e^{3x} - 3, \quad g'(x) = 2x$$
4. The new limit is $\lim_{x \to 0} \frac{3e^{3x} - 3}{2x}$. Substituting $x=0$ still gives 0/0, so we apply L'Hopital's Rule a second time.
5. Differentiate again:
6. $$f''(x) = 9e^{3x}, \quad g''(x) = 2$$
7. Evaluate the final limit:
8. $$\lim_{x \to 0} \frac{9e^{3x}}{2} = \frac{9e^0}{2} = \frac{9}{2}$$

> **Exam tip:** Always explicitly confirm you have an indeterminate 0/0 or ∞/∞ form before applying L'Hopital's Rule on an FRQ. AP readers require this justification for full points, even if your final answer is correct.

## Applying L'Hopital's Rule to ∞/∞ Indeterminate Forms

The second core indeterminate form that fits directly into L'Hopital's Rule is ∞/∞, which occurs when both the numerator and denominator approach positive or negative infinity as $x$ approaches the limit point. The conditions and formula for the rule are identical to the 0/0 case.

**L'Hopital's Rule (∞/∞ Case)** — If $\lim_{x \to a} f(x) = \pm \infty$, $\lim_{x \to a} g(x) = \pm \infty$, with the same differentiability and non-zero derivative conditions as the 0/0 case, then:

$$\lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f'(x)}{g'(x)}$$

This form is commonly used to find limits at infinity for ratios of transcendental functions, and to find horizontal asymptotes of complex functions. Like the 0/0 form, it can be applied repeatedly.

**Worked example:** Evaluate $\lim_{x \to +\infty} \frac{4x^3 - 2x + 5}{e^{4x}}$

1. Check the indeterminate form: as $x \to +\infty$, numerator $4x^3 - 2x + 5 \to +\infty$ and denominator $e^{4x} \to +\infty$, so we have a valid ∞/∞ form for L'Hopital's Rule.
2. Differentiate numerator and denominator separately:
3. $$f'(x) = 12x^2 - 2, \quad g'(x) = 4e^{4x}$$
4. Simplify the new limit: $\lim_{x \to +\infty} \frac{12x^2 - 2}{4e^{4x}} = \lim_{x \to +\infty} \frac{3x^2 - 0.5}{e^{4x}}$, which is still ∞/∞, so we apply L'Hopital's again.
5. Differentiate again: $f''(x) = 6x$, $g''(x) = 4e^{4x}$. The new limit is still ∞/∞, so we apply L'Hopital's a third time.
6. Differentiate a third time:
7. $$f'''(x) = 6, \quad g'''(x) = 16e^{4x}$$
8. Evaluate the final limit: $\lim_{x \to +\infty} \frac{6}{16e^{4x}} = 0$.

> **Exam tip:** For limits at infinity, remember that positive exponential functions grow faster than any polynomial, and logarithmic functions grow slower than any positive power of $x$. This lets you predict results of repeated applications quickly on multiple-choice questions.

## Converting Non-Standard Indeterminate Forms

Not all indeterminate forms are directly 0/0 or ∞/∞, but they can almost always be rewritten algebraically to fit L'Hopital's Rule. The two non-standard indeterminate forms tested on AP Calculus AB are 0·∞ (product of a function approaching 0 and a function approaching infinity) and ∞−∞ (difference of two functions both approaching infinity).

For 0·∞, rewrite the product as a ratio by moving one term to the denominator: $f(x)g(x) = \frac{f(x)}{1/g(x)}$, which becomes 0/0 or ∞/∞. For ∞−∞, the most common conversion is to get a common denominator, which turns the difference into a single ratio that is usually 0/0.

**Worked example:** Evaluate $\lim_{x \to 0^+} 4x \ln x$

1. Identify the form: as $x \to 0^+$, $4x \to 0$ and $\ln x \to -\infty$, so this is an indeterminate $0 \cdot (-\infty)$ form that needs conversion.
2. Rewrite as a ratio, moving $x$ to the denominator to get a form that is easy to differentiate:
3. $$\lim_{x \to 0^+} \frac{4 \ln x}{x^{-1}}$$
4. This is now a valid $-\infty / +\infty$ indeterminate form for L'Hopital's Rule. Differentiate numerator and denominator separately:
5. $$\frac{d}{dx}(4 \ln x) = \frac{4}{x}, \quad \frac{d}{dx}(x^{-1}) = -x^{-2} = -\frac{1}{x^2}$$
6. Simplify the ratio of derivatives:
7. $$\frac{4/x}{-1/x^2} = \frac{4}{x} \cdot (-x^2) = -4x$$
8. Evaluate the limit: $\lim_{x \to 0^+} -4x = 0$.

> **Exam tip:** When converting 0·∞, never put the logarithmic or exponential term in the denominator. This will always result in a much more complicated derivative that leads to unnecessary algebraic errors. Keep simpler transcendental terms in the numerator.

## Common pitfalls

- **Wrong:** Differentiating the entire ratio using the quotient rule instead of differentiating numerator and denominator separately.
  - Why it fails: Students associate L'Hopital's Rule with differentiation, so they confuse the derivative of a ratio with L'Hopital's ratio of derivatives.
  - Correct: Always label $f(x)$ as the numerator and $g(x)$ as the denominator, compute $f'(x)$ and $g'(x)$ separately, then form the new ratio before taking the limit.
- **Wrong:** Applying L'Hopital's Rule to a determinate limit, for example evaluating $\lim_{x \to 1} \frac{x^2 + 1}{x + 1}$ as 2 instead of the correct value 1.
  - Why it fails: Students get into the habit of using L'Hopital's for all limits and skip checking the indeterminate form.
  - Correct: Always substitute the limit point into the numerator and denominator first, and confirm you have an indeterminate form before applying L'Hopital's Rule.
- **Wrong:** Forgetting the chain rule when differentiating composite functions, for example differentiating $e^{3x}$ to get $e^{3x}$ instead of $3e^{3x}$.
  - Why it fails: Students rush differentiation after confirming the indeterminate form, and miss the inner derivative.
  - Correct: After writing derivatives of the numerator and denominator, pause to check every composite function for a chain rule factor before proceeding.
- **Wrong:** Stopping after one application of L'Hopital's Rule when the new limit is still indeterminate, and incorrectly concluding the limit does not exist.
  - Why it fails: Students forget the rule can be applied repeatedly.
  - Correct: After each application, check the form again. If it is still 0/0 or ∞/∞, apply the rule again; only stop when you get a determinate form.
- **Wrong:** Misclassifying $\infty \cdot \infty$ as indeterminate and applying L'Hopital's Rule, resulting in an incorrect value.
  - Why it fails: Students think all combinations of infinity are indeterminate.
  - Correct: Remember only 0·∞ is indeterminate; ∞·∞, ∞ + ∞, and 0·0 are all determinate, so no L'Hopital's Rule is needed.

## Cheatsheet

| Category | Formula/Rule | Notes |
| --- | --- | --- |
| 0/0 Indeterminate L'Hopital's Rule | $\lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f'(x)}{g'(x)}$ | Applies when $\lim f = 0$ and $\lim g = 0$; $a$ can be finite or infinite; $g'(x) \neq 0$ near $a$ required. |
| ∞/∞ Indeterminate L'Hopital's Rule | $\lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f'(x)}{g'(x)}$ | Applies when $\lim f = \pm \infty$ and $\lim g = \pm \infty$; same conditions as 0/0 form. |
| 0·∞ Indeterminate Conversion | $f(x)g(x) = \frac{f(x)}{1/g(x)} = \frac{g(x)}{1/f(x)}$ | Convert to 0/0 or ∞/∞; place the simpler-to-differentiate term in the numerator to avoid messy algebra. |
| ∞−∞ Indeterminate Conversion | $f(x) - g(x) = \frac{A(x)}{B(x)}$ after common denominator | Most easily solved by getting a common denominator to convert to a 0/0 form before applying L'Hopital's Rule. |
| Repeated Applications of L'Hopital's Rule | Can be applied any number of times | Only re-apply if the new limit after the last step is still an indeterminate 0/0 or ∞/∞ form. |
| Determinate vs Indeterminate | N/A | Indeterminate (need L'Hopital): 0/0, ∞/∞, 0·∞, ∞−∞. Determinate (no L'Hopital): $0/\infty = 0$, $\infty/0 = \pm\infty$, $\infty \cdot \infty = \infty$, $\infty + \infty = \infty$. |

## What's next

L'Hopital's Rule is a foundational tool for analyzing the end behavior of functions and evaluating complex limits, required for all remaining topics in Unit 4 Contextual Applications of Differentiation, and later for improper integration in Unit 8. Without correctly applying L'Hopital's Rule to evaluate indeterminate limits, you will not be able to find horizontal asymptotes for transcendental functions or evaluate improper integrals, both common, high-weight topics on the AP exam. The rule also reinforces the core connection between derivatives and limits that forms the foundation of all differential calculus, and simplifies evaluating limits for complex real-world models that cannot be solved with basic algebra alone.

- [Analytical Applications of Differentiation Overview](https://www.owlsprep.com/study/ap-calculus-ab-u5-overview/)
- [Mean Value Theorem (MVT)](https://www.owlsprep.com/study/ap-calculus-ab-u5-mean-value-theorem/)
- [Extreme Value Theorem, Global vs Local Extrema, Critical Points](https://www.owlsprep.com/study/ap-calculus-ab-u5-extreme-value-theorem-global-vs/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ap-calculus-ab-u4-l-hopital-s-rule-for/
