~4 min read • Updated Mar 9, 2026
Introduction to L'Hôpital's Rule
L'Hôpital's Rule is one of the most important tools in limit calculations, especially for resolving indeterminate forms such as 0/0 and ∞/∞.
This rule uses the derivatives of the numerator and denominator to evaluate limits that would otherwise be difficult to compute.
The Formal Statement of L'Hôpital's Rule
Suppose two functions f(x) and g(x) are differentiable in a neighborhood of a (except possibly at a) and:
lim (x → a) f(x) = 0 and lim (x → a) g(x) = 0or:
lim (x → a) f(x) = ±∞ and lim (x → a) g(x) = ±∞If g'(x) is nonzero near a and the following limit exists:
lim (x → a) f'(x) / g'(x)then according to L'Hôpital's Rule:
lim (x → a) f(x) / g(x) = lim (x → a) f'(x) / g'(x)Conditions for Using L'Hôpital's Rule
To apply this rule correctly, the following conditions must be met:
- Both the
numeratoranddenominatormust approach0or∞ f(x)andg(x)must bedifferentiablenear the point of interestg'(x)must not be zero near that point- The limit of the derivatives must exist or approach
∞or-∞
Example 1: The 0/0 Indeterminate Form
Consider the limit:
lim (x → 0) sin(x) / xDirect substitution gives 0/0.
Using L'Hôpital's Rule:
f(x) = sin(x) → f'(x) = cos(x)
g(x) = x → g'(x) = 1Thus:
lim (x → 0) sin(x)/x = lim (x → 0) cos(x)/1 = 1Example 2: The ∞/∞ Indeterminate Form
Consider the limit:
lim (x → ∞) (3x² + 1) / (5x² - 2x)Direct substitution yields ∞/∞.
Applying L'Hôpital's Rule:
f(x) = 3x² + 1 → f'(x) = 6x
g(x) = 5x² - 2x → g'(x) = 10x - 2The new limit becomes:
lim (x → ∞) 6x / (10x - 2)Which simplifies to:
lim (x → ∞) 6 / (10 - 2/x) = 3/5Example 3: Exponential Indeterminate Form 0/0
Consider the limit:
lim (x → 0) (e^x - 1) / xDirect substitution gives 0/0.
Applying L'Hôpital's Rule:
f(x) = e^x - 1 → f'(x) = e^x
g(x) = x → g'(x) = 1Thus:
lim (x → 0) (e^x - 1) / x = 1Example 4: Converting 0 × ∞ into 0/0
Consider the limit:
lim (x → 0⁺) x ln(x)This is of type 0 × ∞. Rewrite it as:
ln(x) / (1/x)Now it becomes ∞/∞ and we can apply L'Hôpital's Rule:
f(x) = ln(x) → f'(x) = 1/x
g(x) = 1/x → g'(x) = -1/x²Thus:
lim (x → 0⁺) ln(x) / (1/x) = lim (x → 0⁺) (1/x) / (-1/x²) = lim (x → 0⁺) -x = 0Important Notes for Using L'Hôpital's Rule
When applying this rule, keep the following in mind:
- Always check the
indeterminate formfirst - Sometimes multiple applications of the rule are required
- If the indeterminate form persists, other methods such as
factoring,conjugates, ortrigonometric equivalencesmay be needed
Conclusion
L'Hôpital's Rule is one of the most powerful tools for resolving indeterminate forms in limit calculations.
By using the derivatives of the numerator and denominator, it simplifies many complex limit problems.
Mastering this rule is essential for advanced topics such as calculus and mathematical analysis.
Written & researched by Dr. Shahin Siami