L'Hopital's Rule Formula

L'Hopital's Rule: if lim_(x → a) f(x)/(g(x)) is an indeterminate form 0/0 or ∞/∞, then lim_(x → a) f(x)/(g(x)) = lim_(x → a) f'(x)/(g'(x)) provided the right-hand limit exists (or is ± ∞).

The Formula

lim⁡x→af(x)g(x)=00 or ∞∞lim⁡x→af′(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 ∞, so the ratio of derivatives captures this 'race.'

Quick Example

lim⁡x→0sin⁡xx=lim⁡x→0cos⁡x1=11=1
This is 00, so L'Hopital's rule applies. Differentiate top and bottom separately.

Notation

Indeterminate forms: 00, ∞∞, 0⋅∞, ∞−∞, 00, 1∞, ∞0. The last five must be rewritten as 00 or ∞∞ before applying the rule.

What This Formula Means

If lim⁡x→af(x)g(x) is an indeterminate form 00 or ∞∞, then lim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x) provided the right-hand limit exists (or is ±∞).

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 ∞, so the ratio of derivatives captures this 'race.'

Formal View

If lim⁡x→af(x)=lim⁡x→ag(x)=0 (or both ±∞), g′(x)≠0 near a, and lim⁡x→af′(x)g′(x) exists (or is ±∞), then lim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x).

Worked Examples

Example 1

easy
Find lim⁡x→0sin⁡xx using L'Hôpital's rule.

Answer

1

First step

1
Direct substitution: sin⁡00=00 — indeterminate form.

Full solution

  1. 2
    Apply L'Hôpital: differentiate numerator and denominator separately.
  2. 3
    lim⁡x→0sin⁡xx=lim⁡x→0cos⁡x1=cos⁡01=1.
L'Hôpital's rule applies when we have a 00 form. Differentiate top and bottom independently (not using the quotient rule), then evaluate the limit.

Example 2

hard
Find lim⁡x→∞xe−x.

Example 3

easy
Evaluate lim⁡x→0e2x−1x.

Common Mistakes

  • Applying it to a non-indeterminate form - confirm substitution gives 00 or ∞∞ first, otherwise it is invalid.
  • Using the quotient rule instead of separate derivatives - differentiate f and g independently, not as fg.
  • Stopping or not re-checking - if f′g′ is still 00, apply the rule again; rewrite forms like 0⋅∞ as a quotient before using it.

Why This Formula Matters

It cracks limits that resist algebra, like lim⁡x→0sin⁡xx or lim⁡x→∞xex, and reveals which of two competing quantities approaches its endpoint faster. Knowing it ONLY applies to 00 and ∞∞ (after rewriting other indeterminate forms) is what keeps students from misusing it. Recognizing it by "Does plugging in give 00 or ∞∞ in a quotient — and only then?" — rather than by familiar numbers — is what lets a student tell it apart from quotient rule and direct substitution / factoring and squeeze theorem in a mixed problem set.

Frequently Asked Questions

What is the L'Hopital's Rule formula?

If lim⁡x→af(x)g(x) is an indeterminate form 00 or ∞∞, then lim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x) provided the right-hand limit exists (or is ±∞).

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 ∞, so the ratio of derivatives captures this 'race.'

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

Indeterminate forms: 00, ∞∞, 0⋅∞, ∞−∞, 00, 1∞, ∞0. The last five must be rewritten as 00 or ∞∞ before applying the rule.

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

It cracks limits that resist algebra, like lim⁡x→0sin⁡xx or lim⁡x→∞xex, and reveals which of two competing quantities approaches its endpoint faster. Knowing it ONLY applies to 00 and ∞∞ (after rewriting other indeterminate forms) is what keeps students from misusing it. Recognizing it by "Does plugging in give 00 or ∞∞ in a quotient — and only then?" — rather than by familiar numbers — is what lets a student tell it apart from quotient rule and direct substitution / factoring and squeeze theorem in a mixed problem set.

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

The procedure for l'hopital's rule is the easy part; the trap is applying it to a non-indeterminate form. Asking "Does plugging in give 00 or ∞∞ in a quotient — and only then?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

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 →