Enter a limit
Use fractions, powers, parentheses, trigonometric functions, logarithms, exponentials, and square roots. Trigonometric functions use radians.
What is L’Hôpital’s Rule?
L’Hôpital’s Rule is a limit theorem for certain quotients whose numerator and denominator both approach zero or both grow without bound. When its differentiability and nonzero-denominator conditions hold, it lets you replace the original quotient with the quotient of the derivatives and evaluate the resulting limit.
The rule differentiates the numerator and denominator independently. It does not differentiate the quotient using the quotient rule.
When can you use the rule?
L’Hôpital’s Rule is a method for a quotient whose numerator and denominator both approach zero or whose magnitudes both grow without bound. Under the rule’s differentiability and denominator conditions, replace the quotient with the quotient of the derivatives and evaluate that new limit.
- 0/0: both parts approach zero.
- ∞/∞: both parts grow without bound in magnitude.
- Other forms: rewrite products, differences, or powers first; the rule does not apply directly to them.
How to calculate a limit with steps
- Enter the expression whose limit you want to evaluate, the variable, and the value it approaches.
- For a finite target, choose a two-sided, left-hand, or right-hand approach.
- Substitute the target into the numerator and denominator where defined.
- Use L’Hôpital’s Rule only if the quotient is 0/0 or ∞/∞; differentiate top and bottom separately.
- Repeat only if the new quotient is still an applicable indeterminate form.
- Check the final answer and optional nearby values, remembering that numerical checks are not a proof.
The seven indeterminate forms
Indeterminate means the form alone does not determine a limit. It does not mean the limit fails to exist.
Worked example: repeated differentiation
For lim x→0 (eˣ − 1 − x)/x², direct substitution gives 0/0. Differentiate the numerator and denominator: (eˣ − 1)/(2x), still 0/0. Apply the rule again to obtain eˣ/2, whose limit is 1/2.
Each repetition requires the new quotient to remain an applicable indeterminate form.
Common mistakes and limits of the method
- Applying the rule to a quotient that is not 0/0 or ∞/∞.
- Differentiating the quotient as a whole instead of differentiating numerator and denominator separately.
- Assuming one application always finishes the problem.
- Applying the rule directly to 0 × ∞, ∞ − ∞, 0⁰, 1^∞, or ∞⁰ without first transforming the expression.
- Ignoring the domain when taking a one-sided or two-sided limit.
- Treating decimal samples as a proof or displaying a decimal approximation as an exact answer.
A calculator can show exact symbolic work for supported expressions, but some limits require factoring, conjugates, series, or a separate one-sided domain analysis. Numerical samples are useful checks, not proofs.
Frequently asked questions
What is L’Hôpital’s Rule?
It is a theorem for certain quotient limits with indeterminate form 0/0 or ∞/∞. Under the theorem’s conditions, the limit can be found from the quotient of the derivatives.
How do I calculate a limit with L’Hôpital’s Rule?
Substitute first. If the quotient is 0/0 or ∞/∞, differentiate the numerator and denominator separately, then evaluate the new limit.
When can I apply L’Hôpital’s Rule?
Only after confirming a quotient has form 0/0 or ∞/∞ and the required differentiability and denominator conditions are satisfied near the target.
What are the seven indeterminate forms?
They are 0/0, ∞/∞, 0×∞, ∞−∞, 0⁰, 1^∞, and ∞⁰. Only the first two are direct quotient forms for L’Hôpital’s Rule; the others need transformation.
Can I apply L’Hôpital’s Rule more than once?
Yes, if each resulting quotient remains 0/0 or ∞/∞ and the theorem’s conditions continue to hold.
Can the rule be used at infinity?
Yes. It can apply to quotient limits at positive or negative infinity when the quotient has form ∞/∞ and the relevant conditions hold. Polynomial quotients can often be evaluated more simply by comparing leading terms.
Does the rule apply to 0 × ∞?
Not directly. Rewrite the product as a quotient, for example uv = u/(1/v) or v/(1/u), then check whether the transformed quotient is 0/0 or ∞/∞.
Can L’Hôpital’s Rule solve every limit?
No. Many limits are better handled by algebra, continuity, rationalization, or series. Some limits are outside the current symbolic engine’s supported exact cases.
What is the difference between a limit and an indeterminate form?
A limit is the value a function approaches. An indeterminate form is only the result of direct substitution; more analysis is needed to determine the limit.
Related calculus tools
Read the guide to derivative calculators and differentiation tools