Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

5.3: L'Hôpital's Rule

( \newcommand{\kernel}{\mathrm{null}\,}\)

We shall now prove a useful rule for resolving indeterminate limits. Below, G¬p denotes a deleted globe G¬p(δ) in E1, or one about ± of the form (a,+) or (,a). For one-sided limits, replace G¬p by its appropriate "half."

Theorem 5.3.1 (L'Hôpital's rule)

Let f,g:E1E be differentiable on G¬p, with g0 there. If |f(x)| and |g(x)| tend both to +,1 or both to 0, as xp and if

limxpf(x)g(x)=r exists in E,

then also

limxpf(x)g(x)=r;

similarly for xp+ or xp.

Proof

It suffices to consider left and right limits. Both combined then yield the two-sided limit.

First, let p<+,

limxp+|f(x)|=limxp+|g(x)|=+ and limxp+f(x)g(x)=r (finite).

Then given ε>0, we can fix a>p(aG¬p) such that

|f(x)g(x)r|<ε, for all x in the interval (p,a).

Now apply Cauchy's law of the mean (§2, Theorem 2) to each interval [x,a], p<x<a. This yields, for each such x, some q(x,a) with

g(q)[f(x)f(a)]=f(q)[g(x)g(a)].

As g0 (by assumption), g(x)g(a)g(a) by Theorem 1, §2, so we may divide to obtain

f(x)f(a)g(x)g(a)=f(q)g(q), where p<x<q<a.

This combined with (1) yields

|f(x)f(a)g(x)g(a)r|<ε,

or, setting

F(x)=1f(a)/f(x)1g(a)/g(x),

we have

|f(x)g(x)F(x)r|<ε for all x inside (p,a).

As |f(x)| and |g(x)|+ (by assumption), we have F(x)1 as xp+. Hence by rules for right limits, there is b(p,a) such that for all x(p,b), both |F(x)1|<ε and F(x)>12. (Why?) For such x, formula (2) holds as well. Also,

1|F(x)|<2 and |rrF(x)|=|r||1F(x)|<|r|ε.

Combining this with (2), we have for x(p,b)

|f(x)g(x)r|=1|F(x)||f(x)g(x)F(x)rF(x)|<2|f(x)g(x)F(x)r+rrF(x)|<2ε(1+|r|).

Thus, given ε>0, we found b>p such that

|f(x)g(x)r|<2ε(1+|r|),x(p,b).

As ε is arbitrary, we have limxp+f(x)g(x)=r, as claimed.

The case limxp+f(x)=limxp+g(x)=0 is simpler. As before, we obtain

|f(x)f(a)g(x)g(a)r|<ε.

Here we may as well replace "a by any y(p,a). Keeping y fixed, let xp+. Then f(x)0 and g(x)0, so we get

|f(y)g(y)r|ε for any y(p,a).

As ε is arbitrary, this implies limyp+f(y)g(y)=r. Thus the case xp+ is settled for a finite r.

The cases r=± and xp are analogous, and we leave them to the reader.

Note 1. limf(x)g(x) may exist even if limf(x)g(x) does not. For example, take

f(x)=x+sinx and g(x)=x.

Then

limx+f(x)g(x)=limx+(1+sinxx)=1( why? ),

but

f(x)g(x)=1+cosx

does not tend to any limit as x+.

Note 2. The rule fails if the required assumptions are not satisfied, e.g., if g has zero values in each G¬p; see Problem 4 below.

Often it is useful to combine L'Hôpital's rule with some known limit formulas, such as

limz0(1+z)1/z=e or limx0xsinx=1 (see §1, Problem 8).

Examples

(a) limx+lnxx=limx+(lnx)1=limx+1x=0.

(b) limx0ln(1+x)x=limx01/(1+x)1=1.

(c) limx0xsinxx3=limx01cosx3x2=limx0sinx6x=16limx0sinxx=16.

(Here we had to apply L'Hôpital's rule repeatedly.)

(d) Consider

limx0+e1/xx.

Taking derivatives (even n times), one gets

limx0+e1/xn!xn+1,n=1,2,3, (always indeterminate!).

Thus the rule gives no results. In this case, however, a simple device helps (see Problem 5 below).

(e) limnn1/n does not have the form 00 or , so the rule does not apply directly. Instead we compute

limnlnn1/n=limnlnnn=0 (Example (a)).

Hence

n1/n=exp(lnn1/n)exp(0)=e0=1

by the continuity of exponential functions. The answer is then 1.


This page titled 5.3: L'Hôpital's Rule is shared under a CC BY 3.0 license and was authored, remixed, and/or curated by Elias Zakon (The Trilla Group (support by Saylor Foundation)) via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?