L'Hôpital's Rule: How to Evaluate Indeterminate Limits
Solver AI TeamPublished Updated 12 min read
Learn L'Hôpital's rule for evaluating tricky limits. Covers the 0/0 and ∞/∞ forms, seven indeterminate forms, when to apply the rule, and common mistakes.
Frequently asked questions
How do you know when to use L'Hôpital's rule?
Substitute the limit value first. Use the rule only if you get 0/0 or ∞/∞. If you get something like 3/0 or 5/∞, the rule does not apply, and the limit is determined directly. Using it on a form that is not indeterminate often gives a wrong answer.
Do you use the quotient rule with L'Hôpital's rule?
No. Differentiate the numerator and the denominator separately, then take the limit of the new quotient. For lim sin x / x as x → 0, the form is 0/0, and cos x / 1 → 1. Using the quotient rule on the whole fraction is a common mistake.
What if L'Hôpital's rule still gives 0/0?
Apply it again, as long as each new quotient is still 0/0 or ∞/∞. For lim (1 − cos x)/x² as x → 0, the first pass gives sin x / 2x, still 0/0. The second gives cos x / 2, which approaches ½. The answer is ½.
How do you use L'Hôpital's rule on a 0 · ∞ limit?
Rewrite the product as a quotient so it becomes 0/0 or ∞/∞. For x ln x as x → 0⁺, write it as ln x / (1/x), which is −∞/∞. Differentiating gives (1/x) / (−1/x²) = −x, which approaches 0. So the limit is 0.
Can you use L'Hôpital's rule for 1^∞ limits?
Not directly. Take the natural log first, so the exponent comes down and you get a product like 0 · ∞. Convert that to a quotient, apply the rule, then exponentiate. For (1 + 1/x)ˣ as x → ∞, the log limit is 1, so the original limit is e¹ = e.
L'Hôpital's rule is a technique for evaluating limits that result in the indeterminate forms 0/0 or ∞/∞. Named after the French mathematician Guillaume de l'Hôpital (though actually discovered by Johann Bernoulli), the rule states the following.
The Rule — L'Hôpital's Rule
If lim f(x) = 0 and lim g(x) = 0 (or both limits equal ±∞), then lim f(x)/g(x) = lim f'(x)/g'(x), provided the new limit exists.
In plain language: when plugging in the limit point gives you 0/0 or ∞/∞, you can take the derivative of the top and the derivative of the bottom separately, then try the limit again.
Common Mistake
Important: L'Hôpital's rule is not the quotient rule. The quotient rule differentiates a fraction; L'Hôpital's rule differentiates the numerator and denominator separately. Mixing these up is one of the most common mistakes students make.
The Key Insight
The rule is powerful because many limits that look impossible with direct substitution or algebraic manipulation become trivial after one or two applications of L'Hôpital's rule.
When to Use L'Hôpital's Rule
L'Hôpital's rule applies only to the indeterminate forms 0/0 and ∞/∞. Before applying the rule, you must verify that direct substitution produces one of these forms. If substitution gives a defined number (like 5/2) or a form like 2/0 (which indicates a vertical asymptote, not an indeterminate), L'Hôpital's rule does not apply.
The seven indeterminate forms
Other indeterminate forms can be transformed into 0/0 or ∞/∞, then L'Hôpital's rule applies. The seven indeterminate forms are: 0/0, ∞/∞, 0 · ∞, ∞ − ∞, 0⁰, ∞⁰, and 1^∞. The last five need algebraic or logarithmic manipulation first.
Common Mistake
Always check the form first. Applying L'Hôpital's rule to a non-indeterminate limit will give you a wrong answer. For example, lim (x→0) (x + 1)/(x + 2) = 1/2, but if you blindly differentiate you get lim 1/1 = 1 — completely wrong. The rule only works when direct substitution yields 0/0 or ∞/∞.
The 0/0 Form — Worked Examples
Example 1 — the classic sin(x)/x
Evaluate lim (x→0) sin(x)/x.
Direct substitution: sin(0)/0 = 0/0. ✓ Indeterminate, apply L'Hôpital's rule.
Take derivatives: f'(x) = cos(x), g'(x) = 1.
New limit: lim (x→0) cos(x)/1 = cos(0)/1 = 1.
Answer1
This matches the famous limit you may have seen proved with the squeeze theorem.
Example: lim (x→0) (1/sin(x) − 1/x) = lim (x − sin(x))/(x · sin(x)). Now it's 0/0, apply L'Hôpital's twice to get 0.
Forms 0⁰, ∞⁰, 1^∞ — Take the natural log first
Example: for lim (x→0⁺) xˣ, let y = xˣ, then ln(y) = x · ln(x). From above, this limit is 0, so y → e⁰ = 1. Answer: lim (x→0⁺) xˣ = 1.
The Key Insight
The pattern is always the same: take ln of the expression to convert an exponential indeterminate into a product indeterminate, then convert the product to 0/0 or ∞/∞ for L'Hôpital's.
Common Mistakes to Avoid
Mistake 1 — Applying L'Hôpital's rule when it doesn't apply
Always check the form first. lim (x→0) cos(x)/x is 1/0, not 0/0. Applying L'Hôpital's gives you −sin(x)/1 = 0, which is wrong. The actual answer is that the limit does not exist (one-sided limits go to ±∞).
Mistake 2 — Using the quotient rule by accident
Differentiate the numerator and denominator separately, not as a quotient. If f(x) = x² + 1 and g(x) = e^x, then f'(x) = 2x and g'(x) = e^x — use these separately, not d/dx[(x² + 1)/eˣ].
Mistake 3 — Stopping too early (or too late)
If the new limit is still indeterminate, apply L'Hôpital's again. If it's no longer indeterminate, stop immediately and evaluate — don't keep differentiating.
Mistake 4 — Forgetting to verify the conditions
L'Hôpital's rule requires that the derivatives exist near the limit point and that g'(x) ≠ 0 near the point (except possibly at the point itself). In practice this is almost always satisfied, but on rigorous exams it's worth mentioning.
Mistake 5 — Using L'Hôpital's when simpler methods work
For limits at infinity of rational functions, dividing by the highest power of x is often faster. For limits involving factoring or known limits like lim sin(x)/x = 1, direct methods may be cleaner. L'Hôpital's is a powerful tool, but not always the best one.
The Takeaway
If you're stuck on a limit problem, scan it with Solver AI to see whether L'Hôpital's or another technique is the right approach, with every step explained.