L'Hopital's Rule
What is the limit of as ? Direct substitution gives the meaningless expression . Yet the limit exists and equals a specific number. Calculus students meet dozens of such quotients. These are ratios of functions that both vanish, or both blow up, at the same point. They need a systematic way to extract the true limiting behavior. That behavior hides behind the symbol or . L'Hôpital's Rule answers this by trading the limit of a ratio for the limit of a ratio of derivatives. It converts an algebraic indeterminacy into a differentiation problem. The rule matters because it efficiently bridges two things. It links the local linear behavior of functions, captured by derivatives, to their limiting ratios. It explains, for instance, why polynomial growth is dominated by exponential growth. It also explains why . It underlies the derivation of many Taylor coefficients and asymptotic expansions. Despite its computational fame, the rule is not a trick. It is a genuine theorem with precise hypotheses. Misapplying it is one of the most common errors in undergraduate analysis. Such errors include differentiating a quotient that is not indeterminate. They also include failing to check that the derivative quotient's limit exists. The proof rests entirely on the Cauchy Mean Value Theorem. This is itself a generalization of the ordinary Mean Value Theorem. The idea is simple. A ratio of increments can be rewritten via Cauchy's theorem. It becomes a ratio of derivatives evaluated at some intermediate point. Passing to the limit as squeezes that intermediate point toward as well. Continuity of the argument then transfers the limit of back to the limit of . This article gives the full statement and proof of L'Hôpital's Rule. It covers both the and forms, at finite points and at infinity. It includes worked examples that expose the rule's subtleties. It also gives a counterexample showing why differentiability of with is essential. Finally, it discusses how the rule foreshadows the more powerful local approximation machinery of Taylor's Theorem.
- L'Hôpital's Rule converts of indeterminate form or into , provided the latter limit exists.
- The proof uses only the Cauchy Mean Value Theorem — no new machinery is required.
- The rule is an if-then, not an if-and-only-if: the derivative ratio can fail to have a limit even when the original ratio does.
- Both one-sided and two-sided versions hold, at finite points and as , with essentially the same proof.
- The hypothesis near the limit point is not cosmetic — dropping it produces genuine counterexamples.
- Key idea: near a point where both (or both ), the ratio of the functions is governed by the ratio of their instantaneous rates of change.
Where this lives today
L'Hôpital's Rule is a workhorse throughout analysis and its applications. In Taylor's Theorem and asymptotic analysis, it is used to justify formal manipulations of remainder terms and to compute the leading-order behavior of functions defined by power series or integrals, foreshadowing techniques like Big-O comparison of growth rates. In probability and statistics, it appears in computing limiting forms of likelihood ratios and in deriving continuity of density functions at boundary parameter values (e.g., limits of the Poisson or Gamma family as a shape parameter approaches a degenerate value). In physics and engineering, indeterminate-form limits arise constantly in taking limits of physical models — for instance the small-angle or high-frequency limits of transfer functions in circuit theory, or the classical limit of quantum mechanical expressions as . In computer science and numerical analysis, understanding growth-rate comparisons (polynomial vs. logarithmic vs. exponential) that L'Hôpital's Rule formally certifies underlies algorithmic complexity arguments. In cryptography and complexity theory, asymptotic comparisons of function growth (e.g., subexponential vs. exponential hardness) rely on exactly the kind of limit reasoning L'Hôpital's Rule makes rigorous.
Ask the tutor: Can you walk me through why the proof needs a fixed reference point instead of using directly, the way the proof does?
Let , and let be real-valued functions differentiable on an open interval with endpoint (i.e. or , or a punctured neighborhood of if is finite), such that for all . We say is an indeterminate form of type if
and of type if
(with no condition required on beyond differentiability). In either case, the naive substitution is undefined or meaningless, and the value of the limit — if it exists — is not determined by the individual limits of and alone.
Intuition
The core picture is a race between two quantities that both shrink to zero (or both grow without bound) as . What matters is not how small (or large) and individually are, but their relative rate of approach to or . Derivatives measure instantaneous rate of change, so it is natural that the ratio of derivatives should predict the ratio of the functions themselves — at least locally, near . Geometrically, think of the parametric curve in the plane, traced as moves toward . If both coordinates tend to , the curve approaches the origin, and is the slope of the secant line from the origin to the point . The Cauchy Mean Value Theorem says this secant slope equals the slope of the curve's velocity vector at some intermediate parameter between and . As , the point is squeezed toward too, so if has a limit at , the secant slope is forced toward as well.
Statement and Proof
Let and let be an open interval with as its left or right endpoint (so or ). Suppose: 1. are differentiable on , with for every ; 2. and (the one-sided limit through ); 3. exists, where . Then
We argue for , so the limit is ; the case (limit ) is identical with inequalities reversed.
Step 1: Extend continuously to . Define and . By hypothesis (2), these definitions make and continuous at from the right, since and likewise for . On , and are now continuous on and differentiable on for every .
Step 2: for near , . Suppose for contradiction for some . Since also , Rolle's Theorem (a special case of the Mean Value Theorem, applied on ) gives some with , contradicting hypothesis (1). Hence for all , and the ratio is defined throughout .
Step 3: Apply the Cauchy Mean Value Theorem on . Fix . On the interval , and are continuous (Step 1) and differentiable on , and never vanishes on . By the Cauchy Mean Value Theorem, there exists such that
Since and , , we may divide to get
This holds for every ; the point depends on but always lies strictly between and .
Step 4: Pass to the limit . Fix . Because , there exists (with ) such that
(if is finite; if , replace this with: for every there is such that , and argue symmetrically — see the remark below). Now for any with , we have , so . By Step 3 and the choice of ,
Since was arbitrary, this proves when is finite.
Step 5: The case . Suppose . Given , choose so that . For with , Step 3 gives , so
Hence as . The case is symmetric (using instead of ). This completes the proof of the one-sided rule. The two-sided statement (limit as , with a punctured neighborhood of ) follows by applying the one-sided result separately from the left and from the right, and noting both one-sided limits equal , hence the two-sided limit is (using the standard fact that a two-sided limit exists and equals iff both one-sided limits exist and equal ).
∎Let , and let . Suppose: 1. are differentiable on with for all ; 2. ; 3. exists, . Then .
We prove the case finite; the infinite cases follow by the same one-sided inequality argument as Step 5 above, applied to the estimate constructed below. Fix . By hypothesis (3), choose with such that
Fix a reference point . For any , apply the Cauchy Mean Value Theorem on : since never vanishes on , as in the previous proof (else Rolle's theorem would give a zero of in ), and there is with
By , since ,
Now algebraically rewrite, for close enough to that (possible since as , so eventually):
— rather than expand this awkwardly, we isolate directly. Write
We redo this cleanly. From
divide both sides by (nonzero for near ):
Subtract from both sides and use -type bound with (this is exactly since ):
Since (hence ) is now a fixed constant and as , the quantities and as . Choose small enough that for :
concretely: pick so that both and hold. Then also once , which we may assume by shrinking if necessary at the start (limits are unaffected). Combining all three terms with the triangle inequality, for :
after absorbing constants (formally: given any , run the argument with scaled appropriately in each of the three error budgets — the mechanism is that each of the three terms is made independently, which is achievable since two terms vanish as with fixed, and the third is controlled by hypothesis (3)). Hence .
∎All versions above (the and forms) hold with replaced by or , i.e. for differentiable on with there, if (or ) as and , then .
Substitute , . Define , for . By the chain rule, and are differentiable with
so (since ), and
because as . Also (resp. ) as exactly when (resp. ) as . So satisfy the hypotheses of the finite- theorem at , giving
i.e. , since under .
∎Worked examples
Example 1 (a form requiring two applications, asymmetric functions). Evaluate
Setup. As : numerator ; denominator . This is . Let , . Both are differentiable near (in fact entire), and we must check near , .
At : , . So is again as — L'Hôpital applies again, but first we must confirm on a punctured neighborhood of to legitimately form the ratio there. For small , ; near , and , so for small — rigorously, as (since and ), so there is with for . Differentiate again:
Now and , and is continuous with , so on some neighborhood of by continuity. Hence
by continuity of at (direct substitution, no indeterminacy). By L'Hôpital applied to (both , ratio of second derivatives has a limit), . Applying L'Hôpital once more to (both , and has the limit just found), we conclude
Sanity check via Taylor series (foreshadowing Taylor's Theorem): and , giving ratio . Matches.
Example 2 ( form with a logarithm and a power, asymmetric). Evaluate
Setup. As : numerator , denominator . This is on say. Let , , both differentiable on , and
Compute
Divide numerator and denominator by :
Since this limit exists (and equals ), the theorem gives
This matches the general heuristic that logarithms grow strictly slower than any positive power of .
Consider, near , the functions
for , and . Both are differentiable everywhere (including at , via the standard – check that the term has derivative at the origin), and , as , so is a genuine form. Now compute
Note for near (indeed ), so this particular pair actually satisfies L'Hôpital's hypothesis on — but the point of this example is a different, subtler failure: the ratio has no limit as , because of the oscillating term in , which has no limit as (it oscillates between and infinitely often in every neighborhood of ). Thus
does not converge as (along it tends to , but along it tends to — two different subsequential limits). Yet the original limit does exist: since ,
using and . This shows the hypothesis " exists" in L'Hôpital's theorem is not merely a technical convenience: the theorem's converse is false. A quotient can have a perfectly good limit while has none at all. The rule is a one-directional implication, and applying it "backwards" (assuming has no limit because doesn't) is a logical error.
Scope, edge cases & common traps
| Situation | Status |
|---|---|
| or , and exists | L'Hôpital applies; conclusion holds by the theorem |
| , but does not exist | Rule gives no information; may still converge (see counterexample) or diverge |
| at points arbitrarily close to | Hypotheses fail; ratio may be undefined near — cannot apply the theorem as stated |
| Ratio is not actually indeterminate (e.g. ) | Do not apply L'Hôpital — differentiating changes the problem and gives a wrong answer |
| Need to apply the rule repeatedly | Legal only if at each stage the new ratio is again a genuine or form and the new is nonzero near |
| Handled by the substitution corollary; same conclusion |
The mathematician behind it
Origins · 1 minGuillaume François Antoine, Marquis de l'Hôpital and how this was discovered
A French nobleman and mathematician who studied under Johann Bernoulli, l'Hôpital published Analyse des Infiniment Petits pour l'Intelligence des Lignes Courbes (1696), the first calculus textbook. It contained the rule that now bears his name, though the underlying result was communicated to him by Johann Bernoulli under a paid contractual arrangement — a fact only fully documented centuries later from surviving correspondence.
Does L'Hôpital's Rule work for , , , or forms?
Not directly — these forms must first be algebraically rewritten as a or quotient. For : write (a form) or (). For : combine over a common denominator to produce a single fraction, which often becomes . For : take logarithms, since reduces to a or similar form, then exponentiate the resulting limit at the end. In every case, L'Hôpital's Rule itself is applied only after the expression has genuinely been reduced to a or ratio of differentiable functions.
Can I apply L'Hôpital's Rule more than once in a row?
Yes, provided that at each stage the new ratio is again a genuine indeterminate form of type or , and the new denominator's derivative is nonzero near the limit point. Each application is a separate invocation of the full theorem with its own hypotheses re-verified; it is not automatic that differentiating twice more is valid just because it was valid once. If at some stage the ratio is no longer indeterminate, stop and evaluate directly by substitution.
What if does not exist — does that mean does not exist either?
No. This is exactly the content of the counterexample in this article: the implication in L'Hôpital's Rule runs only in one direction, from existing to existing (with equal value). If has no limit, the theorem simply gives no information about , which may still converge, diverge to infinity, or oscillate — determined by other methods such as direct estimation, squeeze theorems, or series expansions.
Why does the proof need the Cauchy Mean Value Theorem instead of two separate applications of the ordinary Mean Value Theorem?
Applying the ordinary Mean Value Theorem to and separately gives and for possibly different points . Dividing gives , a ratio at two different points, which does not converge to at any single in general. The Cauchy Mean Value Theorem produces a single common point satisfying , which is exactly what is needed to identify the secant slope with a single derivative ratio.
Does L'Hôpital's Rule assume and are continuous?
No — the theorem as proved here requires only that and are differentiable on the interval (not that are continuous), because the Cauchy Mean Value Theorem itself requires only differentiability, not continuous differentiability. This is a genuine strength of the rule: it can be applied even to functions whose derivatives are discontinuous, as long as the stated hypotheses (, and exists) hold.
How does this rule relate to Taylor's Theorem?
Both tools extract limiting or local behavior from derivative information. L'Hôpital's Rule handles a single limit of a ratio using one or finitely many derivatives; Taylor's Theorem goes further, approximating a function by a polynomial built from all its derivatives up to some order, with an explicit remainder term. In fact, many L'Hôpital-style limits (as in Worked Example 1) can be recomputed instantly once Taylor expansions of , , etc. are known, because the ratio of leading-order Taylor terms reproduces exactly the L'Hôpital limit — the two techniques are complementary views of the same local linear (and higher-order) approximation idea.
Is there a version of the rule where itself can be and the form is simultaneously?
Yes — this is precisely the corollary proved above, obtained by combining the substitution (reducing to ) with the finite-point theorem. The chain rule shows the derivative ratio transforms correctly under this substitution, since the extra factor introduced in both and cancels in the quotient .