What Is L'Hôpital's Rule?
L'Hôpital's rule is a theorem that evaluates a limit of a quotient that takes the indeterminate form or , by replacing the quotient with , the derivative of the top over the derivative of the bottom. If the new limit exists, the original limit has the same value. That is the whole answer to the Quora question "What is L'Hopital's Rule?", but the conditions matter as much as the formula.
Here is the precise statement. Let and be differentiable on an open interval containing , except possibly at itself, and suppose for every in with . Suppose also that either
If , where is a real number, or , then
and are the numerator and denominator, each a function you can differentiate near .
and are their derivatives, taken separately. This is not the quotient rule.
is the point being approached. The same statement holds for one-sided limits ( or ) and for or , with replaced by an interval on that side.
is the value the derivative ratio approaches, and the conclusion only follows when that limit exists.
The forms and are two of the seven indeterminate forms. The other five (such as and ) are rewritten into one of these two before the rule applies, as shown further down.
What Are The Exact Conditions For Using L'Hôpital's Rule?
You can use L'Hôpital's rule only when all four conditions hold. Two Quora questions, "When is L'Hôpital's rule not applicable?" and "Why can't L'Hôpital's rule be used for limits which aren't in indeterminate form?", come down to this checklist:
The form is or . Substitute first. Anything else is either already an answer or must be rewritten.
Both functions are differentiable near (they need not be defined at ).
near , except possibly at .
The limit of exists, as a number or as .
Condition 1 is the one people skip. A Physics Forums student asked "Why is 0/-2 not an indeterminate form?" after expecting to use the rule on . Substitution gives , a finished answer. A form like or carries complete information, so differentiating changes the problem into a different one with a different answer.
Take . Substitution gives . Differentiating top and bottom anyway gives , which is wrong. The rule's proof uses the fact that and both start from zero (or both blow up); without that, the derivatives describe how fast each part changes, not what their ratio is.
How Do You Use L'Hôpital's Rule Step By Step?
The method is four steps, and the first one is not differentiating:
Substitute. Confirm the limit really is or .
Differentiate the numerator and the denominator separately. Write , using the derivative of a function rules for each part on its own.
Simplify the new quotient if you can (cancel, combine, rewrite trig).
Substitute again. A number or is the answer. If you get or again, return to step 2; if you get a different form, stop and rethink.
A short example shows the rhythm:
Why Does L'Hôpital's Rule Work?
L'Hôpital's rule works because near a point where , each function behaves like its tangent line, so the ratio of the functions behaves like the ratio of the tangent slopes. Physics Forums threads titled "How Does L'Hopital's Rule Intuitively Explain Limits?" and "Proof of the L'Hôpital Rule for the Indeterminate Form" ask for exactly these two levels: the picture and the proof.
The picture. If and are differentiable at with , then for near :
The factor , which is the source of both zeros, cancels. Both graphs pass through the same point on the axis, and the rule compares how steeply they leave it.
The proof sketch. The full proof uses Cauchy's extension of the mean value theorem: if and are continuous on , differentiable on , and there, then some between and satisfies
That extension is proved by applying Rolle's theorem to .
For the case, set , so the left side is just . As , the point is squeezed toward , so approaches . The left-hand limit uses the same argument, mirrored. The case needs a longer argument with the same theorem, and the hypothesis is exactly what keeps the denominator from being zero.
How Do You Handle The ∞/∞ Form?
You handle exactly like : differentiate top and bottom separately and take the limit again. The form appears most often in limits at infinity, where it answers the question of which function grows faster.
Results like this build the growth ladder that the rule proves rung by rung. For large :
Each function on the left is eventually negligible compared with the one on its right, so the quotient (left over right) tends to . That single line explains why a logarithmic-time algorithm beats a polynomial one for large inputs, and why exponential growth overwhelms any power.
How Do You Convert The Other Indeterminate Forms?
You convert every other indeterminate form into or first, because L'Hôpital's rule applies only to quotients. The Physics Forums question "When to use e and ln in limits, applying L'Hôpital's rule twice?" is about the exponent forms in the last row below.
Form | Example | Rewrite | Then |
|---|---|---|---|
as | type, apply the rule | ||
as | (common denominator) | , apply the rule | |
, , | , , | Let be the expression and take | is a product; find its limit , then |
The logarithm step works because the natural logarithm turns a power into a product, , and because is continuous, so the limit can pass through it at the end. Two quick results from this row:
, because .
, because .
Can You Apply L'Hôpital's Rule More Than Once?
Yes. You can apply L'Hôpital's rule as many times as the result stays or , but you must substitute and check the form before every round. For instance, takes three rounds:
Each of the first three quotients is ; the fourth is not, and that is where you stop. When a limit needs many rounds, a Taylor series usually gets there faster: , so the answer is visible at once.
When Does L'Hôpital's Rule Fail Or Loop?
L'Hôpital's rule fails when its conditions break, and it loops when differentiating keeps reproducing the same shape. A Quora question asks "Can all limits be calculated using L'Hopital's Rule?" The answer is no, and these four situations are why:
The form is not indeterminate. The rule gives a wrong answer, as the example showed.
The derivative ratio has no limit. For , the rule gives , which oscillates forever. The rule simply says nothing here. Algebra settles it: . A failed rule does not mean a missing limit.
The rule loops. For , one round gives and the next gives back . Dividing top and bottom by instead gives . The same loop happens with , which algebra (divide by ) sends to .
The reasoning would be circular. Using the rule on needs the derivative of , and that derivative is proved from this very limit. The standard limits are proved geometrically instead.
I'll admit the third case surprised me the first time: nothing in the statement warns that the rule can be technically valid and still useless. The hypotheses guarantee a correct answer when the new limit exists; they never promise the new limit is easier.
Examples Of L'Hôpital's Rule
Example 1
Evaluate .
Substitution gives . Differentiate top and bottom separately.
Final answer:
Example 2
Evaluate .
Substitution gives , so one round of the rule is allowed:
A common next move is to keep going, since the first round worked. Differentiate again:
That answer is wrong. Check with a small input: at the original expression is , nowhere near . The second round was illegal because is not indeterminate at . Substitute instead of differentiating:
Final answer:
Example 3
Evaluate .
This is . Apply the rule, check, and apply it again.
Final answer: (the exponential outgrows the square)
Example 4
Evaluate .
This is . Rewrite it as a quotient.
Final answer:
Example 5
Evaluate .
This is . Combine over a common denominator, then apply the rule twice, checking the form each time.
Final answer:
Example 6
Evaluate .
This is . Let and take logarithms.
Final answer:
Where Is L'Hôpital's Rule Used?
L'Hôpital's rule is used wherever a formula breaks at a special value or two quantities race to zero or infinity, which is why the Quora question "What is the significance of l'Hopital's Rule?" has a practical answer:
Comparing growth. Computer scientists compare running times such as and by the limit of their ratio; the rule shows , so eventually dominates.
Formulas with a removable break. Money deposited continuously at 1 unit per year for years, with continuous interest at rate , grows to . At the formula reads ; the rule (differentiating in ) gives , which is exactly what deposits with no interest should give.
Continuous compounding. The limit is Example 6 with in place of . At it gives a growth factor of per year.
Derivatives of new functions. Proving limits such as for a function already known to be differentiable is one line with the rule.
Where Solutions Go Off The Rails
Most marks lost on this topic come from using the rule mechanically: differentiating the wrong thing, at the wrong time, or forgetting what the answer was a limit of.
Mistake 1: Using The Quotient Rule Instead
Where it slips in: The first round, when the expression is a fraction and "derivative of a fraction" triggers a reflex.
Don't do this: Apply the quotient rule to . That computes the derivative of the quotient, a different object.
The correct way: Differentiate the numerator alone and the denominator alone, then form . The rusher who sees a fraction and writes has done correct calculus on the wrong problem.
Mistake 2: Skipping The Check Between Rounds
Where it slips in: After one successful round, as in Example 2.
Don't do this: Differentiate again without substituting first.
The correct way: Substitute after every round and continue only on or . The check between rounds looks skippable, and it is exactly the step that separates from the wrong in Example 2.
Mistake 3: Forgetting To Undo The Logarithm
Where it slips in: Exponent forms such as and .
Don't do this: Report the limit of (the in Example 6) as the answer.
The correct way: Finish with , so Example 6 gives , not . The memorizer who learned "take logs, then use the rule" without the reason tends to stop one line early; writing "let " on the first line makes the final step impossible to forget.
Mistake 4: Reading A Failed Rule As A Missing Limit
Where it slips in: Limits like , where oscillates.
Don't do this: Conclude "the limit does not exist" because the derivative ratio has no limit.
The correct way: Go back to algebra. The rule is one-directional: when the new limit exists, it gives the answer; when it does not, the rule is silent.
Practice Problems On L'Hôpital's Rule
Evaluate .
Evaluate without looking back at the repeated-use section.
Evaluate .
Evaluate .
Evaluate .
Evaluate .
Answer to Question 1: (one round gives over ).
Answer to Question 2: (three rounds).
Answer to Question 3: (one round gives ).
Answer to Question 4: (rewrite as ; one round gives ).
Answer to Question 5: (common denominator, then two rounds).
Answer to Question 6: (take logs: ).
The Short Version
L'Hôpital's rule replaces a or limit of with the limit of , when that limit exists.
Substitute before every round, and differentiate the top and bottom separately, never with the quotient rule.
Convert , and the exponent forms into a quotient first, and exponentiate back at the end.
When the derivative ratio oscillates or loops, the rule is silent and algebra or series take over.
Johann Bernoulli found the rule in 1694, and l'Hôpital published it in 1696.
A Practical Next Step
Work through Practice Problems 1 to 6. If Problem 5 trips you up, return to Example 5 and combine the fractions before differentiating; if Problem 6 does, reread Mistake 3 and finish with .
Want a teacher to check your rounds with you? Book a free demo class with a Bhanzu trainer.
Read More
Was this article helpful?
Your feedback helps us write better content
