When computing limx→αR(x), direct substitution can produce one of seven indeterminate forms — expressions that look numeric but cannot be assigned a value by the ordinary rules of arithmetic:
00,∞∞,0×∞,∞−∞,1∞,00,∞0.
None of these tell you the actual limit — the true value depends on how fast each part approaches its own limit, which is exactly what l'Hôpital's Rule (discovered by Johann Bernoulli, published by Guillaume de l'Hôpital) resolves using derivatives.
l'Hôpital's Rule. Suppose f(x) and g(x) are differentiable with g′(x)=0 near x=a.
- If x→alimf(x)=0=x→alimg(x) (a 00 form), or
- if x→alimf(x)=±∞=x→alimg(x) (a ∞∞ form),
then
limx→ag(x)f(x)=limx→ag′(x)f′(x)
(provided the right-hand limit exists), and the rule may be reapplied if the new ratio is again 00 or ∞∞. The rule also applies with x→a± or x→±∞.
Reducing the other five forms to 00 or ∞∞ first:
- 0×∞: rewrite the product f⋅g (with f→0,g→∞) as 1/gf (a 00 form) or 1/fg (a ∞∞ form).
- ∞−∞: combine the two terms into a single fraction (common denominator); the combined expression is then usually 00 (or simplifies algebraically before any limit rule is needed).
- 00,1∞,∞0 (all come from an expression g(x)h(x)): let y=g(x)h(x), take log to get logy=h(x)logg(x) — a 0×∞ form — reduce that to 00/∞∞ and apply l'Hôpital, then exponentiate the resulting value of limlogy back (using limlogy=log(limy) for continuous log) to get limy=e(that value).
l'Hôpital's Rule may only be applied to a genuinely indeterminate ratio at that exact step. Differentiating top and bottom of a ratio that is not 00 or ∞∞ (e.g. because the numerator or denominator already evaluates to a finite nonzero number) gives a wrong answer — always re-check the form before every application, especially after one round of differentiation has already resolved the indeterminacy.