01 / 21
lim
\(\frac{f'}{g'}\)

L'Hôpital's Rule
Indeterminate Forms

Master the technique for evaluating limits that produce indeterminate forms like \(\frac{0}{0}\) and \(\frac{\infty}{\infty}\) by differentiating the numerator and denominator.

AP Calculus BC

What Is an Indeterminate Form?

When you substitute the limiting value into a fraction and get \(\frac{0}{0}\) or \(\frac{\infty}{\infty}\), the limit is not determined by that substitution alone. The actual limit could be any real number, \(\infty\), \(-\infty\), or may not exist.

\(\frac{0}{0}\)
Both numerator and denominator approach zero: the "race" between them determines the limit.
\(\frac{\infty}{\infty}\)
Both grow without bound: the relative growth rates determine the limit.

Why Direct Substitution Fails

Consider \(\displaystyle\lim_{x \to 0} \frac{\sin x}{x}\). Substituting \(x = 0\) gives \(\frac{0}{0}\), which tells us nothing. Yet the limit equals 1. The indeterminate form signals that the numerator and denominator vanish at the same rate.

x y 0 π -π 1 Limit = 1

The Intuition Behind the Rule

Near the point where both \(f(x)\) and \(g(x)\) equal zero, each function behaves approximately like its tangent line. So the ratio of the functions approximates the ratio of their slopes:

$$\frac{f(x)}{g(x)} \;\approx\; \frac{f'(a)(x-a)}{g'(a)(x-a)} \;=\; \frac{f'(a)}{g'(a)}$$

This is the core insight: replacing functions by their derivatives works because near the limit point, the derivative captures the local rate of vanishing or growth.

L'Hôpital's Rule: Formal Statement

The rule also applies when \(x \to a^+\), \(x \to a^-\), \(x \to \infty\), or \(x \to -\infty\). The result \(L\) may be a finite number, \(+\infty\), or \(-\infty\).

Conditions You Must Verify

1
Indeterminate form: Direct substitution yields \(\frac{0}{0}\) or \(\frac{\infty}{\infty}\).
2
Differentiability: Both \(f\) and \(g\) are differentiable near \(a\).
3
\(g'(x) \neq 0\) in a punctured neighborhood of \(a\).
4
The derivative limit exists: \(\displaystyle\lim_{x \to a} \frac{f'(x)}{g'(x)}\) must exist (or be \(\pm\infty\)).

Indeterminate vs. Determinate Forms

Form Type L'Hôpital?
\(\frac{0}{0}\)Indeterminate✓ Yes
\(\frac{\infty}{\infty}\)Indeterminate✓ Yes
\(0 \cdot \infty\)IndeterminateRewrite first
\(\infty - \infty\)IndeterminateRewrite first
\(1^{\infty},\; 0^0,\; \infty^0\)IndeterminateUse \(\ln\) first
\(\frac{1}{0}\)Determinate✕ No
\(\frac{0}{\infty}\)Determinate (= 0)✕ No

How to Apply L'Hôpital's Rule

1
Check the form: Substitute the limit value and confirm you get \(\frac{0}{0}\) or \(\frac{\infty}{\infty}\).
2
Differentiate separately: Compute \(f'(x)\) and \(g'(x)\). Do not use the quotient rule on \(\frac{f}{g}\).
3
Evaluate the new limit: Find \(\displaystyle\lim_{x \to a} \frac{f'(x)}{g'(x)}\).
4
Repeat if needed: If the result is still \(\frac{0}{0}\) or \(\frac{\infty}{\infty}\), apply the rule again.
5
Conclude: The original limit equals the limit of the derivative ratio.

Example 1: \(\frac{0}{0}\) Form

Evaluate \(\displaystyle\lim_{x \to 0} \frac{\sin x}{x}\).

1
Check: \(\frac{\sin 0}{0} = \frac{0}{0}\) ✓ Indeterminate.
2
Differentiate: \(f'(x) = \cos x\), \(g'(x) = 1\).
3
Evaluate: \(\displaystyle\lim_{x \to 0} \frac{\cos x}{1} = \frac{\cos 0}{1} = 1\).

Example 2: \(\frac{\infty}{\infty}\) Form

Evaluate \(\displaystyle\lim_{x \to \infty} \frac{\ln x}{x}\).

1
Check: As \(x \to \infty\), \(\ln x \to \infty\) and \(x \to \infty\). Form: \(\frac{\infty}{\infty}\) ✓
2
Differentiate: \(f'(x) = \frac{1}{x}\), \(g'(x) = 1\).
3
Evaluate: \(\displaystyle\lim_{x \to \infty} \frac{1/x}{1} = \lim_{x \to \infty} \frac{1}{x} = 0\).

Example 3: Repeated Application

Evaluate \(\displaystyle\lim_{x \to 0} \frac{1 - \cos x}{x^2}\).

1
Check: \(\frac{1 - 1}{0} = \frac{0}{0}\) ✓
2
First application: \(\displaystyle\lim_{x \to 0} \frac{\sin x}{2x} = \frac{0}{0}\) still indeterminate.
3
Apply again: \(\displaystyle\lim_{x \to 0} \frac{\cos x}{2} = \frac{1}{2}\).

Handling Other Indeterminate Forms

Some limits produce forms like \(0 \cdot \infty\) or \(\infty - \infty\). Rewrite them as fractions before applying L'Hôpital's Rule:

\(0 \cdot \infty\)
Write as \(\frac{f}{1/g}\) to get \(\frac{0}{0}\) or \(\frac{\infty}{\infty}\).
\(\infty - \infty\)
Combine into a single fraction using a common denominator.
\(1^\infty, 0^0, \infty^0\)
Let \(y = f^g\), take \(\ln y = g \ln f\), then evaluate as \(0 \cdot \infty\).

Example 4: \(0 \cdot \infty\) Form

Evaluate \(\displaystyle\lim_{x \to 0^+} x \ln x\).

1
Identify: \(0^+ \cdot (-\infty)\) is indeterminate \(0 \cdot \infty\). Rewrite as \(\displaystyle\frac{\ln x}{1/x}\).
2
Check: \(\frac{-\infty}{\infty}\) ✓. Now apply L'Hôpital's Rule.
3
Differentiate: \(\displaystyle\frac{1/x}{-1/x^2} = \frac{1/x \cdot x^2}{-1} = -x\).
4
Evaluate: \(\displaystyle\lim_{x \to 0^+} (-x) = 0\).

Graphical Interpretation

When \(f(a) = g(a) = 0\), the ratio \(\frac{f(x)}{g(x)}\) near \(a\) is approximated by the ratio of their tangent-line slopes:

x y a f(x) g(x) slope = f'(a) slope = g'(a)

Common Mistakes to Avoid

✕ Using the Quotient Rule
L'Hôpital says differentiate numerator and denominator separately: \(\frac{f'}{g'}\), not \(\frac{d}{dx}\!\left[\frac{f}{g}\right]\).
✕ Non-Indeterminate Forms
Applying the rule when the form is \(\frac{1}{0}\), \(\frac{0}{\infty}\), or already determinate gives wrong answers.
✕ Circular Reasoning
Using L'Hôpital's Rule to prove \(\lim_{x \to 0}\frac{\sin x}{x}=1\) is circular. The proof that \(\frac{d}{dx}(\sin x) = \cos x\) requires this limit, so you can't use the derivative to find the limit.

Summary: When and How

Scenario Action Form Needed
Direct sub gives \(\frac{0}{0}\)Apply L'Hôpital\(\frac{f'}{g'}\)
Direct sub gives \(\frac{\infty}{\infty}\)Apply L'Hôpital\(\frac{f'}{g'}\)
\(0 \cdot \infty\)Rewrite as fractionThen apply
\(\infty - \infty\)Combine fractionsThen apply
\(1^\infty, 0^0, \infty^0\)Take \(\ln\), rewriteThen apply
Determinate formDo NOT applyNot needed

Question 1 of 5

Evaluate \(\displaystyle\lim_{x \to 0} \frac{e^x - 1}{x}\).

Question 2 of 5

Evaluate \(\displaystyle\lim_{x \to \infty} \frac{x^2}{e^x}\).

Question 3 of 5

For which limit is L'Hôpital's Rule not applicable directly?

Question 4 of 5

Evaluate \(\displaystyle\lim_{x \to 0} \frac{\tan x - x}{x^3}\).

Question 5 of 5

Evaluate \(\displaystyle\lim_{x \to 0^+} x^x\).