L’Hôpital’s rule is a theorem in calculus that evaluates certain limits of quotients by comparing the derivatives of their numerators and denominators. It applies principally to the indeterminate forms and . Under appropriate differentiability and nonvanishing conditions, if the quotient of the derivatives has a limit, then the original quotient has the same limit. The rule gives a sufficient method for finding a limit, not a universal procedure for differentiating fractions or a necessary condition for a quotient to converge.
Statement
Let and be real-valued functions differentiable on an open interval immediately to one side of a point , with
throughout that interval. Suppose either
or both and tend to signed infinities as . The signs of those infinities need not agree.
If
where is a real number, , or , then
Here the limits are taken from the side on which the hypotheses hold. Analogous statements apply as or . A two-sided limit at a finite point can be established by applying the rule separately from the left and right and obtaining the same result.
The assumptions ensure that sufficiently close to the limiting point. In the infinite-denominator case this follows directly from . In the zero-denominator case it follows from the nonvanishing derivative and the fact that .
A stronger infinite-denominator version
For the infinite-denominator case, the assumption that also tends to infinity can be dropped. It is enough that
and that the other differentiability and derivative-ratio hypotheses hold. This stronger version can establish the limit of even when the behavior of has not been determined separately.
What is not required
At a finite limiting point , neither function needs to be defined or differentiable at itself. The hypotheses concern values in a neighboring interval with excluded. The derivatives also need not be continuous.
The rule is a statement about limits:
when its hypotheses hold. It does not assert the pointwise identity
Nor does it say that the derivative of is ; differentiating a quotient requires the quotient rule.
Why the rule works
The theoretical basis is Cauchy’s generalized mean value theorem. Under its hypotheses, this theorem relates a quotient of changes in two functions to a quotient of their derivatives at an intermediate point.
Consider the case as . Extend the functions to the endpoint by defining
Because both functions tend to zero, these extensions are continuous at . Cauchy’s mean value theorem gives a point such that
Consequently,
As , the intermediate point also tends to , so the assumed limit of the derivative quotient yields the desired result.
For an infinite denominator, the proof compares increments from a fixed interior point :
Cauchy’s mean value theorem bounds this quotient using values of between and . The point is chosen sufficiently close to the limiting endpoint, or sufficiently far toward infinity, that those derivative ratios are close to their limit. Since , the fixed quantities and become negligible relative to the denominator. A similar argument using inequalities handles infinite values of .
Examples
A limit
For the standard trigonometric functions,
This is a valid application once the derivative formula for sine has been established independently. In developments of calculus that use to prove that derivative formula, using L’Hôpital’s rule to prove the same foundational limit would be circular.
An infinite-denominator limit
Using the derivative of the natural logarithm,
Thus grows more slowly than .
Repeated application
Sometimes the first derivative quotient is still indeterminate. For example,
The original quotient and the first derivative quotient both have form , so the rule can be applied twice. Logically, the second application first establishes the limit needed to justify the first.
Repeated differentiation is valid only while the hypotheses remain satisfied. It is not an instruction to keep differentiating indefinitely.
An infinite limit
The rule also accommodates an infinite derivative-ratio limit:
From the left the limit is , so no two-sided limit exists, even though the one-sided conclusions are valid.
Transforming other indeterminate forms
The rule applies directly to quotients, but algebraic transformations can turn other indeterminate expressions into suitable quotient forms.
Products and differences
An expression of form can sometimes be rewritten as a quotient. For example,
As , the quotient has an infinite numerator and denominator, and
An expression of form may require a common denominator or rationalization before the rule becomes relevant. Such transformations can also resolve the limit without differentiation. For example,
as .
Variable powers
For a positive base, an expression
can be analyzed by taking logarithms:
This converts power forms such as , , and into products that may then be rewritten as quotients.
For example,
By continuity of the exponential function,
This is a statement about a limit, not an assignment of a value to .
Limitations and common errors
An indeterminate form is essential
Differentiating numerator and denominator without checking the limiting form can give an incorrect result. For example,
whereas the quotient of derivatives is . Neither the nor the infinite-denominator hypotheses hold.
The derivative quotient need not converge
The existence of a limit for is sufficient, but not necessary, for to have a limit. Consider
However,
has no limit. L’Hôpital’s rule is therefore inconclusive for this expression, despite the existence of the original limit.
In particular, failure of the derivative quotient to converge does not establish divergence of the original quotient.
Nonvanishing conditions matter
The standard theorem requires throughout a suitable one-sided interval or sufficiently far along an infinite interval. Zeros of accumulating at the limiting point prevent direct application of this version of the theorem. More specialized variants require additional hypotheses.
Other methods may be simpler
Factoring, rationalization, elementary bounds, or known limits can avoid unnecessary differentiation. Taylor expansions and asymptotic expansions can also reveal the leading terms responsible for a limit. For example,
immediately gives the limit after division by . Here uses big-O notation to describe the size of the remainder near zero.
History
The rule is named after the French mathematician Guillaume de l’Hôpital, who published it in his 1696 textbook Analyse des infiniment petits pour l’intelligence des lignes courbes. The spelling “L’Hospital” reflects an older spelling of his surname.
The result originated with the Swiss mathematician Johann Bernoulli, who taught L’Hôpital calculus and supplied him with mathematical material. Its conventional name reflects its influential publication in L’Hôpital’s textbook rather than sole authorship of the underlying result. The modern formulation, with explicit limit and differentiability hypotheses, belongs to the later rigorous development of mathematical analysis.