L'Hôpital's rule, also written L'Hopital's rule, is a calculus method for quotients whose limits collapse to 0/00/0 or /\infty/\infty after direct substitution. It is not a universal limit solver — it is a targeted tool for those two indeterminate forms.

When to reach for it

Start with a quotient:

limxaf(x)g(x)\lim_{x \to a} \frac{f(x)}{g(x)}

The rule applies only when all of these hold:

  1. Direct substitution gives 0/00/0 or /\infty/\infty.
  2. The expression is genuinely a quotient (not 00 \cdot \infty or \infty - \infty left unrewritten).
  3. ff and gg are differentiable near aa, with g(x)0g'(x) \ne 0 nearby.

When they do, the theorem lets you compare derivatives instead of values:

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

provided the right-hand limit exists or is ++\infty or -\infty. In early calculus this fits best with exponentials, logarithms, and trig functions near special points, with quotients that still look indeterminate after substitution, and with growth-rate comparisons such as polynomial versus exponential.

The steps, in order

  1. Substitute first. Plug in the target value and confirm you actually get 0/00/0 or /\infty/\infty. An indeterminate form is the entry ticket.
  2. Confirm it is a quotient. If the expression is 00 \cdot \infty or \infty - \infty, rewrite it as a single fraction before going further.
  3. Differentiate top and bottom separately. Take f(x)f'(x) and g(x)g'(x) — this is not the quotient rule, just two independent derivatives.
  4. Re-evaluate the new limit. Substitute again into f(x)g(x)\frac{f'(x)}{g'(x)}.
  5. Repeat or stop. If you still get an indeterminate form and the conditions still hold, apply the rule again; otherwise you are done.

Why the derivative step works

When both parts go to 00, or both grow without bound, their raw values say nothing decisive. The derivative step compares how fast the numerator and denominator are changing near the point, and that ratio of rates is what the limit was really asking about. That is why one differentiation often turns a murky limit into one you can read at a glance.

Full worked example: limx0ex1x\lim_{x \to 0} \frac{e^x - 1}{x}

Direct substitution gives

e010=00,\frac{e^0 - 1}{0} = \frac{0}{0},

so the form is eligible and it is already a quotient. Differentiate top and bottom:

ddx(ex1)=ex,ddx(x)=1\frac{d}{dx}(e^x - 1) = e^x, \qquad \frac{d}{dx}(x) = 1

The new limit is

limx0ex1=1\lim_{x \to 0} \frac{e^x}{1} = 1

So

limx0ex1x=1\lim_{x \to 0} \frac{e^x - 1}{x} = 1

One derivative step settled it — the ideal case for this method.

Where each step traps people, plus a self-check

The first step traps people who skip the form check and apply the rule to every hard limit. The second traps those who differentiate 00 \cdot \infty or \infty - \infty directly instead of rewriting first. The third invites errors when factoring, rationalizing, or a known limit would have been cleaner. And many forget the conditions entirely — an indeterminate form alone is not the full theorem.

Before applying the rule, run through this self-check: Does substitution give 0/00/0 or /\infty/\infty? Is it written as a quotient? Are numerator and denominator differentiable near the point? Does differentiating make the limit easier rather than messier? If any answer is no, pause and simplify or pick another approach.

For your own pass, try

limx1lnxx1\lim_{x \to 1} \frac{\ln x}{x - 1}

Direct substitution gives 0/00/0, and one derivative step turns it into a basic limit. As a cross-check, redo it with the approximation lnxx1\ln x \approx x - 1 near x=1x = 1 and confirm both methods agree.

Frequently Asked Questions

Can I use L'Hôpital's rule on every hard limit?
No. It applies to quotients that become $0/0$ or $\infty/\infty$ after direct substitution, together with the theorem's differentiability conditions.
What should I do with forms like $0 \cdot \infty$ or $\infty - \infty$?
Rewrite the expression as a quotient first, then check whether the new quotient becomes $0/0$ or $\infty/\infty$.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →