L'Hôpital's rule

We have been using the following formula without proof so far:

limx0sinxx=1.

In this example, both sinx and x converges to 0 as x0 so we have something like 00. In general, if limxaf(x)=limxag(x)=0 or limxaf(x)=limxag(x)=±, the limit of the form limxaf(x)g(x) is called an indeterminate form. L'Hôpital's rule provides a convenient way to calculate such limits (The proof will be given in another post).



See also: Proof of L'Hôpital's rule

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

Let f(x) and g(x) be differentiable functions on the open interval (a,b) that satisfy the following conditions.

  1. limxa+0f(x)=limxa+0g(x)=0.
  2. For all x(a,b), g(x)0.
  3. The right limit limxa+0f(x)g(x) exists.
Then, the right limit limxa+0f(x)g(x) exists and
limxa+0f(x)g(x)=limxa+0f(x)g(x).
Furthermore, condition 1 may be replaced with
  • (1') limxa+0f(x)=± and limxa+0g(x)=±
to have the same conclusion.
Also the right limits limxa+0 may be replaced with the left limits limxa0.

Corollary (L'Hôpital's rule (2))

Let f(x) and g(x) be differentiable functions on an open interval I that contains a. Suppose f(x) and g(x) satisfy the following conditions.
  1. limxaf(x)=limxag(x)=0.
  2. For all xI{a}, g(x)0.
  3. The limit limxaf(x)g(x) exists.
Then, the limit limxaf(x)g(x) exists and
limxaf(x)g(x)=limxaf(x)g(x).
Furthermore, condition 1 may be replaced with
  • (1') limxaf(x)=± and limxag(x)=±
to have the same conclusion.

Example. Now let us prove
limx0sinxx=1
by applying L'Hôpital's rule. First, we need to check the conditions.
Both sinx and x are defined on R which is an open interval.
  1. We have limx0sinx=0 and limx0x=0.
  2. (x)=10 for all xR.
  3. We know (sinx)=cosx and limx0cosx=1 so limx0(sinx)(x)=limx0cosx1=1.
Therefore, all the conditions are satisfied and the limit limx0sinxx exists and
limx0sinxx=limx0(sinx)(x)=limx0cosx1=1.

Example. Consider
limx0log(cosx)x2.
limx0log(cosx)=0 and limx0x2=0 and if x0 then (x2)=2x0. Furthermore,
limx0{log(cosx)}{x2}=limx0(sinxcosx12x)=limx0(sinxx12cosx)=12.
Therefore,
limx0log(cosx)x2=12.

Corollary (L'Hôpital's rule (3))

Let f(x) and g(x) be differentiable functions on the open interval (b,) that satisfy the following conditions.
  1. limxf(x)=limxg(x)=0.
  2. For all x>b, g(x)0.
  3. The limit limxf(x)g(x) exists.
Then, the limit limxf(x)g(x) also exists and
limxf(x)g(x)=limxf(x)g(x).
Furthermore, condition 1 may be replaced with
  • (1') limxf(x)=± and limxg(x)=±
to have the same conclusion.
Remark. The same corollary holds if f(x) and g(x) are continuous functions on (,b) and the limits limx are replaced with limx. □
Example. Let us find limxx1x.
Let f(x)=x1x so that logf(x)=logxx. Now consider limxlogf(x).
  1. limxlogx= and limxx=.
  2. (x)=10.
  3. limx(logx)(x)=limx1x=0.
Thus,
limxlogxx=0.
Noting that f(x)=elogf(x) and that the exponential function is continuous, we find
limxx1x=limxelogxx=e0=1.

Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic