STEMviz
Mathematics · Differential and Integral Calculus

L'Hopital's Rule and Improper Limits

Some limits resist every tool built so far. lim⁡x→0sin⁡xx\lim_{x\to0}\dfrac{\sin x}{x} and lim⁡x→∞ln⁡xx\lim_{x\to\infty}\dfrac{\ln x}{x} both produce the meaningless expressions 00\frac00 or ∞∞\frac\infty\infty under direct substitution — the limit laws of Chapter 2 do not apply, because they explicitly require the denominator's limit to be nonzero. This chapter proves the theorem, due to L'Hopital (and really to Johann Bernoulli, and resting on Cauchy's Mean Value Theorem from Chapter 4), that converts such an indeterminate quotient of functions into a quotient of their derivatives, which is very often computable directly.

Have to hand: Cauchy's Mean Value Theorem, the basic differentiation rules, and a healthy suspicion of any rule you use without checking its hypotheses — this chapter's common pitfalls are almost all about applying L'Hopital's Rule where it does not actually apply.

An indeterminate form is a diagnosis, not an answer. 00\frac00 is not a number; it is notation recording that direct substitution into a quotient gives 00 over 00, and that the actual limit (if any) depends on the specific functions involved. x2x→0\frac{x^2}{x}\to0, xx3→∞\frac{x}{x^3}\to\infty, and 3xx→3\frac{3x}{x}\to3 as x→0x\to0, all despite an identical "00\frac00" diagnosis at x=0x=0.

1. The 00\frac00 Case

Theorem (L'Hopital's Rule, 0/00/0 form). Suppose f,gf,g are differentiable on an open interval containing aa, except possibly at aa itself, with g′(x)≠0g'(x)\ne0 near aa (except possibly at aa). Suppose lim⁡x→af(x)=lim⁡x→ag(x)=0\lim_{x\to a}f(x) = \lim_{x\to a}g(x) = 0. If lim⁡x→af′(x)g′(x)=L\lim_{x\to a}\dfrac{f'(x)}{g'(x)} = L (finite, or ±∞\pm\infty), then

lim⁡x→af(x)g(x)=L.\lim_{x\to a}\frac{f(x)}{g(x)} = L.

Proof (sketch, finite LL case). Extend f,gf,g by defining f(a)=g(a)=0f(a)=g(a)=0 if not already so (harmless, since the original limits are punctured and don't depend on this value). This makes f,gf,g continuous at aa. For x≠ax\ne a near aa, apply Cauchy's MVT (Chapter 4) on the interval between aa and xx: there is a point cc strictly between aa and xx with

f(x)g(x)=f(x)−f(a)g(x)−g(a)=f′(c)g′(c).\frac{f(x)}{g(x)} = \frac{f(x)-f(a)}{g(x)-g(a)} = \frac{f'(c)}{g'(c)}.

As x→ax\to a, the point cc (squeezed between aa and xx) is also forced toward aa, so f′(c)g′(c)→L\frac{f'(c)}{g'(c)}\to L by hypothesis, and hence f(x)g(x)→L\frac{f(x)}{g(x)}\to L as well. ■\blacksquare

This is exactly why Chapter 4 built Cauchy's MVT rather than stopping at Lagrange's. The identity f(x)g(x)=f′(c)g′(c)\frac{f(x)}{g(x)} = \frac{f'(c)}{g'(c)} for a single shared cc is precisely Cauchy's MVT applied on [a,x][a,x] (using f(a)=g(a)=0f(a)=g(a)=0); two separate applications of ordinary MVT to ff and gg would produce two different, uncontrollable points.

Worked example. lim⁡x→0sin⁡xx\lim_{x\to0}\dfrac{\sin x}{x} is of the form 00\frac00 (sin⁡0=0\sin0=0, and the denominator →0\to0). Differentiating numerator and denominator separately: (sin⁡x)′(x)′=cos⁡x1→cos⁡0=1\dfrac{(\sin x)'}{(x)'} = \dfrac{\cos x}{1} \to \cos0 = 1. By L'Hopital's Rule, lim⁡x→0sin⁡xx=1\lim_{x\to0}\dfrac{\sin x}{x} = 1.

Keep reading: L'Hopital's Rule and Improper Limits

This chapter is Premium. Unlock every Mathematics lesson — theory, interactive visualizations, quizzes, exercises and flashcards — with a one-time purchase or a monthly plan, or get every subject at once with the Full Course Bundle. The first 2 chapters of every block are free with an account.