L'Hopital's Rule Formula

The Formula

\lim_{x \to a} \frac{f(x)}{g(x)} \stackrel{\frac{0}{0} \text{ or } \frac{\infty}{\infty}}{=} \lim_{x \to a} \frac{f'(x)}{g'(x)}

When to use: When both numerator and denominator go to zero (or both to infinity), the limit depends on which one gets there faster. Taking derivatives measures the rates at which they approach 0 or \infty, so the ratio of derivatives captures this 'race.'

Quick Example

\lim_{x \to 0} \frac{\sin x}{x} = \lim_{x \to 0} \frac{\cos x}{1} = \frac{1}{1} = 1
This is \frac{0}{0}, so L'Hopital's rule applies. Differentiate top and bottom separately.

Notation

Indeterminate forms: \frac{0}{0}, \frac{\infty}{\infty}, 0 \cdot \infty, \infty - \infty, 0^0, 1^{\infty}, \infty^0. The last five must be rewritten as \frac{0}{0} or \frac{\infty}{\infty} before applying the rule.

What This Formula Means

If \lim_{x \to a} \frac{f(x)}{g(x)} is an indeterminate form \frac{0}{0} or \frac{\infty}{\infty}, then \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).

When both numerator and denominator go to zero (or both to infinity), the limit depends on which one gets there faster. Taking derivatives measures the rates at which they approach 0 or \infty, so the ratio of derivatives captures this 'race.'

Formal View

If \lim_{x \to a} f(x) = \lim_{x \to a} g(x) = 0 (or both \pm\infty), g'(x) \neq 0 near a, and \lim_{x \to a} \frac{f'(x)}{g'(x)} exists (or is \pm\infty), then \lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f'(x)}{g'(x)}.

Worked Examples

Example 1

easy
Find \displaystyle\lim_{x \to 0} \frac{\sin x}{x} using L'Hôpital's rule.

Solution

  1. 1
    Direct substitution: \frac{\sin 0}{0} = \frac{0}{0} — indeterminate form.
  2. 2
    Apply L'Hôpital: differentiate numerator and denominator separately.
  3. 3
    \lim_{x\to 0}\frac{\sin x}{x} = \lim_{x\to 0}\frac{\cos x}{1} = \frac{\cos 0}{1} = 1.

Answer

1
L'Hôpital's rule applies when we have a \frac{0}{0} form. Differentiate top and bottom independently (not using the quotient rule), then evaluate the limit.

Example 2

hard
Find \displaystyle\lim_{x \to \infty} x e^{-x}.

Common Mistakes

  • Applying L'Hopital's rule when the form is NOT indeterminate: \lim_{x \to 0} \frac{\sin x}{x + 1} = \frac{0}{1} = 0—no rule needed, just substitute.
  • Using the quotient rule instead of differentiating numerator and denominator separately: \frac{f'(x)}{g'(x)} is NOT the same as \left(\frac{f}{g}\right)'(x).
  • Applying the rule to forms like \frac{1}{0}—this is not indeterminate, it's infinite. L'Hopital only handles \frac{0}{0} and \frac{\infty}{\infty}.

Why This Formula Matters

Resolves limits that algebra alone can't handle. Essential for evaluating limits of growth rates (e.g., showing e^x grows faster than any polynomial), computing Taylor coefficients, and analyzing asymptotic behavior.

Frequently Asked Questions

What is the L'Hopital's Rule formula?

If \lim_{x \to a} \frac{f(x)}{g(x)} is an indeterminate form \frac{0}{0} or \frac{\infty}{\infty}, then \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).

How do you use the L'Hopital's Rule formula?

When both numerator and denominator go to zero (or both to infinity), the limit depends on which one gets there faster. Taking derivatives measures the rates at which they approach 0 or \infty, so the ratio of derivatives captures this 'race.'

What do the symbols mean in the L'Hopital's Rule formula?

Indeterminate forms: \frac{0}{0}, \frac{\infty}{\infty}, 0 \cdot \infty, \infty - \infty, 0^0, 1^{\infty}, \infty^0. The last five must be rewritten as \frac{0}{0} or \frac{\infty}{\infty} before applying the rule.

Why is the L'Hopital's Rule formula important in Math?

Resolves limits that algebra alone can't handle. Essential for evaluating limits of growth rates (e.g., showing e^x grows faster than any polynomial), computing Taylor coefficients, and analyzing asymptotic behavior.

What do students get wrong about L'Hopital's Rule?

You may need to apply L'Hopital's rule multiple times if the result is still indeterminate. For other indeterminate forms (0 \cdot \infty, 1^\infty, 0^0, \infty - \infty, \infty^0), rewrite first to get \frac{0}{0} or \frac{\infty}{\infty}.

What should I learn before the L'Hopital's Rule formula?

Before studying the L'Hopital's Rule formula, you should understand: limit, derivative, infinity.

Want the Full Guide?

This formula is covered in depth in our complete guide:

Limits Explained Intuitively: The Foundation of Calculus →