Artificial Intelligence 🤖
Limits & Continuity
Examples

Limits Examples

Example 2.1 Compute the value of the limit given by,

limx1(x2+3x3)\lim _{x \rightarrow-1}\left(x^{2}+3 x-3\right) \text {. }

Solution First, we use Properties I and II to break (2.7) into three separate limits,

limx1(x2+3x3)=limx1x2+3limx1xlimx13.\lim _{x \rightarrow-1}\left(x^{2}+3 x-3\right)=\lim _{x \rightarrow-1} x^{2}+3 \lim _{x \rightarrow-1} x-\lim _{x \rightarrow-1} 3 .

Evaluating each limit gives,

limx1(x2+3x3)=(1)2+3(1)3=5\begin{aligned} \lim _{x \rightarrow-1}\left(x^{2}+3 x-3\right) & =(-1)^{2}+3(-1)-3 \\ & =-5 \end{aligned}

An important thing to note about Example 2.1 is that we obtained the limit of x2x^{2} and 3x3 x simply by evaluating these terms at the point x=1x=-1. This can be done in cases where the functions are, as often expressed in an ad hoc way in mathematics, 'nice'. We define 'nice' functions formally in Section 2.4 later in this chapter. At this point we simply note that for 'nice' functions, what is happening sufficiently close to the point aa is exactly what happens at aa. If f(x)f(x) is a 'nice' function then,

limxaf(x)=f(a)\lim _{x \rightarrow a} f(x)=f(a)

this is true as aa is approached from both sides. While this result can be used for a large class of functions (all polynomials for instance), it cannot be used to evaluate all limits, especially in cases where we get an indeterminate form for the limit. The ratios 0/00 / 0 or /\infty / \infty are common examples of indeterminate forms. As an example consider the limit,

limx0sin(2x)x\lim _{x \rightarrow 0} \frac{\sin (2 x)}{x}

note that the quotient rule given by Property IV cannot be used here since the limit of the denominator, i.e. limx0x=0\lim _{x \rightarrow 0} x=0. The limit does exist however and it is equal to 2. To evaluate this limit, one can use a Maclaurin series expansion (see Chapter 6) or L'Hôpital's rule given in Section 2.3. In some cases that result in indeterminate forms, a limit that exists can be evaluated through simplification; we saw an example of this in Eq. (2.4) above. Next, we work through some examples of more difficult limits. Example 2.2 Evaluate the limit,

limx12x11x\lim _{x \rightarrow 1} \frac{\sqrt{2-x}-1}{1-x}

Solution This limit is of the form 0/00 / 0. One way to go about evaluating the limit is by introducing a new variable for the term in the denominator, e.g. s=1xs=1-x rendering the limit in Eq. (2.8) as,

lims01+s1s\lim _{s \rightarrow 0} \frac{\sqrt{1+s}-1}{s}

Next, we notice that we can rewrite (2.9) as

lims0(1+s1)s(1+s+1)1+s+1=1+s1s(1+s+1)=11+s+1\begin{aligned} \lim _{s \rightarrow 0} \frac{(\sqrt{1+s}-1)}{s} \frac{(\sqrt{1+s}+1)}{\sqrt{1+s}+1} & =\frac{1+s-1}{s(\sqrt{1+s}+1)} \\ & =\frac{1}{\sqrt{1+s}+1} \end{aligned}

provided s0s \neq 0. As s0s \rightarrow 0, the limit is 1/21 / 2.

In Example 2.2 starting from Eq. (2.9), we can also make use of the binomial theorem to approximate 1+s\sqrt{1+s} for small ss ensuring convergence. We discuss series and their convergence in Chapter 6 in more detail but here we give the definition of the general binomial theorem followed by the binomial series expansion in Definition 2.1 in order to finish off the example.

Definition 2.1 If nn is any positive integer then,

(a+b)n=m=0nn!m!(nm)!anmbm.(a+b)^{n}=\sum_{m=0}^{n} \frac{n !}{m !(n-m) !} a^{n-m} b^{m} .

Now, if nn is any number (including fractions, negative integers, etc.) and x<1\underline{|x|<1} then

(1+x)n=k=0(nk)xk(1+x)^{n}=\sum_{k=0}^{\infty}\left(\begin{array}{l} n \\ k \end{array}\right) x^{k}

where

(nk)=n(n1)(n2)(nk+1)k!.\left(\begin{array}{l} n \\ k \end{array}\right)=\frac{n(n-1)(n-2) \cdots(n-k+1)}{k !} .

For the case where nn is not a positive integer, the binomial series given by Eq. (2.12) does not terminate and the series converges for 1<x<1-1<x<1. Note that (2.12) cannot be applied to a series of the form (a+x)n(a+x)^{n} directly; instead, we need to rewrite it as

(a+x)n=an(1+xa)n apply binomial  to this .(a+x)^{n}=a^{n} \underbrace{\left(1+\frac{x}{a}\right)^{n}}_{\begin{array}{c} \text { apply binomial } \\ \text { to this } \end{array}} .

Using Eq. (2.12) and, assuming ss is small, we approximate 1+s\sqrt{1+s} by

(1+s)1/2=1+s2s28+(1+s)^{1 / 2}=1+\frac{s}{2}-\frac{s^{2}}{8}+\cdots

using the expansion above in the limit s0s \rightarrow 0, we observe that the limit (2.9) approaches the value of 1/21 / 2, as shown above.

Example 2.3 Evaluate the limit,

limxx(1+x2x21).\lim _{x \rightarrow \infty} x\left(\sqrt{1+x^{2}}-\sqrt{x^{2}-1}\right) .

Solution The limit is of the form \infty-\infty. Again, we have more than one option here; we observe that we can simplify the function and evaluate the limit by multiplying and dividing by (1+x2+x21)\left(\sqrt{1+x^{2}}+\sqrt{x^{2}-1}\right) such that

limxx(1+x2x21)=limxx(1+x2x21)(1+x2+x21)(1+x2+x21)=2x(1+x2+x21)\begin{aligned} \lim _{x \rightarrow \infty} x\left(\sqrt{1+x^{2}}-\sqrt{x^{2}-1}\right) & =\lim _{x \rightarrow \infty} x\left(\sqrt{1+x^{2}}-\sqrt{x^{2}-1}\right) \frac{\left(\sqrt{1+x^{2}}+\sqrt{x^{2}-1}\right)}{\left(\sqrt{1+x^{2}}+\sqrt{x^{2}-1}\right)} \\ & =\frac{2 x}{\left(\sqrt{1+x^{2}}+\sqrt{x^{2}-1}\right)} \end{aligned}

where, in the limit xx \rightarrow \infty, the denominator becomes 2x2 x which implies that the limit (2.13) is 1 .

Alternatively, we can use the binomial series (2.12). First, introducing a change of variable x=1/sx=1 / s such that (2.13) becomes

lims01s(1+1s21s21)=lims01s2[(1+s2)1/2(1s2)1/2].\lim _{s \rightarrow 0} \frac{1}{s}\left(\sqrt{1+\frac{1}{s^{2}}}-\sqrt{\frac{1}{s^{2}}-1}\right)=\lim _{s \rightarrow 0} \frac{1}{s^{2}}\left[\left(1+s^{2}\right)^{1 / 2}-\left(1-s^{2}\right)^{1 / 2}\right] .

For small ss, applying the binomial expansion (2.12) with x=±s2x= \pm s^{2} gives the limit as above.

We have already seen the use of the binomial series in evaluating certain limits. We move on to geometric series. The sum of a geometric series can help us compute limits like,

limx1xn1x1.\lim _{x \rightarrow 1} \frac{x^{n}-1}{x-1} .

Definition 2.2 A geometric series is any series that can be written in the form

n=1arn1\sum_{n=1}^{\infty} a r^{n-1}

or, starting at n=0n=0, we can equivalently write,

n=0arn\sum_{n=0}^{\infty} a r^{n}

where rr is referred to as the common ratio. From (2.18), a finite geometric series has the form

m=0naxm=a+ax+ax2+ax3++axn.\sum_{m=0}^{n} a x^{m}=a+a x+a x^{2}+a x^{3}+\cdots+a x^{n} .

It is possible to find the sum of a finite geometric series. 4{ }^{4} To find the sum, multiply (2.19)(2.19) by xx,

xm=0naxm=ax+ax2+ax3++axn+1.x \sum_{m=0}^{n} a x^{m}=a x+a x^{2}+a x^{3}+\cdots+a x^{n+1} .

Subtracting (2.20) from (2.19) yields

m=0naxm=a(xn+11)x1.\sum_{m=0}^{n} a x^{m}=\frac{a\left(x^{n+1}-1\right)}{x-1} .

Equivalently, we have

m=1naxm1=a(xn1)x1.\sum_{m=1}^{n} a x^{m-1}=\frac{a\left(x^{n}-1\right)}{x-1} .

We use this sum in Example 2.4 to evaluate the limit in Eq. (2.16).

Example 2.4 Evaluate the limit given in Eq. (2.16).

Solution We choose to use Eq. (2.22) here but Eq. (2.21) can also be used. For a=1a=1 in Eq. (2.22), we have

xn1x1=m=1nxm1\frac{x^{n}-1}{x-1}=\sum_{m=1}^{n} x^{m-1}

For x1x \neq 1, the RHS of Eq. (2.23) gives

m=1nxm1=1+x+x2+x3+xn1n1 terms ,\sum_{m=1}^{n} x^{m-1}=1+\underbrace{x+x^{2}+x^{3}+\cdots x^{n-1}}_{n-1 \text { terms }},

and as x1x \rightarrow 1 the sum (and therefore the limit) is nn.

Trigonometric limits

Next, we consider the limit

limθ0sinθθ,\lim _{\theta \rightarrow 0} \frac{\sin \theta}{\theta},

which is of the form 0/0. L'Hôpital's rule (see Section 2.3) shows that the limit is 1 . We can also show that the limit is 1 geometrically. Consider a sector of a circle of radius rr embedded in a right triangle as shown below (the red, dotted line shows part of the circle).

4{ }^{4} We can also find the sum of an infinite geometric series provided that r<1|r|<1.

We can see from the diagram that

(area of triangle OAB)<(\mathrm{OAB})<( area of sector OAB)<(\mathrm{OAB})<( area of triangle OBC )).

The area of triangle OBC is rBCr \overline{B C} but BC=rtanθ\overline{B C}=r \tan \theta and so

 area of triangle OBC=r2tanθ\text { area of triangle } \mathrm{OBC}=r^{2} \tan \theta

Next, the area of sector OABO A B is (θ/2π)πr2(\theta / 2 \pi) \pi r^{2} which simplifies to

 area of sector OAB=12r2θ\text { area of sector } \mathrm{OAB}=\frac{1}{2} r^{2} \theta \text {. }

Finally, the triangle OAB\mathrm{OAB} is an isosceles triangle since OB=OA=r\overline{O B}=\overline{O A}=r. The grey, dotted line in the diagram splits the isosceles triangle into two right triangles each with a 'base' of length AB/2\overline{A B} / 2. Simple trigonometry shows that the height of the triangle (i.e. the length of the grey, dotted line) is h=rcos(θ/2)h=r \cos (\theta / 2) and AB/2=rsin(θ/2)\overline{A B} / 2=r \sin (\theta / 2). Since the area of the triangle is given by (1/2)×(1 / 2) \times height ×\times base,

 area of triangle OAB=12r2sinθ;\text { area of triangle } \mathrm{OAB}=\frac{1}{2} r^{2} \sin \theta ;

where we have made use of the trigonometric identity sinθ2sin(θ/2)cos(θ/2)\sin \theta \equiv 2 \sin (\theta / 2) \cos (\theta / 2). Going back to (2.26), we have

12r2sinθ<12r2θ<12r2tanθ\frac{1}{2} r^{2} \sin \theta<\frac{1}{2} r^{2} \theta<\frac{1}{2} r^{2} \tan \theta

which simplifies to

sinθ<θ<tanθ\sin \theta<\theta<\tan \theta

Taking reciprocals gives

1sinθ>1θ>cotθ\frac{1}{\sin \theta}>\frac{1}{\theta}>\cot \theta

and multiplying through by sinθ\sin \theta (which is positive in 0<θ<π0<\theta<\pi ) gives

1>sinθθ>cosθ1>\frac{\sin \theta}{\theta}>\cos \theta

Now, sinθ/θ\sin \theta / \theta is sandwiched between cosθ\cos \theta and 1 . We observe that cosθ1\cos \theta \rightarrow 1 as θ0\theta \rightarrow 0, then sinθ/θ\sin \theta / \theta as θ0\theta \rightarrow 0 must also approach 1; this proves that the value of the limit in Eq. (2.25) is 1 . Using the limit in (2.25), we can obtain other limits; some examples are given next.

Consider

limx0tanxx=1\lim _{x \rightarrow 0} \frac{\tan x}{x}=1

since

tanxx=sinxx1cosx11=1\frac{\tan x}{x}=\frac{\sin x}{x} \cdot \frac{1}{\cos x} \rightarrow 1 \cdot 1=1

as x0x \rightarrow 0.

The limit

limxπ/2cosxxπ/2\lim _{x \rightarrow \pi / 2} \frac{\cos x}{x-\pi / 2}

is of the indeterminate form 0/00 / 0. We can rewrite as

limxπ/2cosxxπ/2=limxπ/2sin(xπ/2)xπ/2,\lim _{x \rightarrow \pi / 2} \frac{\cos x}{x-\pi / 2}=\lim _{x \rightarrow \pi / 2}-\frac{\sin (x-\pi / 2)}{x-\pi / 2},

where we have made use of the identity given by Eq. (1.7). Further, letting s=xπ/2s=x-\pi / 2,

limxπ/2sin(xπ/2)xπ/2=lims0sinss1.\lim _{x \rightarrow \pi / 2}-\frac{\sin (x-\pi / 2)}{x-\pi / 2}=\lim _{s \rightarrow 0}-\frac{\sin s}{s} \rightarrow-1 .

Lastly, another important limit is

limn(1+xn)n=ex\lim _{n \rightarrow \infty}\left(1+\frac{x}{n}\right)^{n}=e^{x}

This limit is given here without proof. The proof can be obtained using power series (see Chapter 6) or, alternatively, using first order ordinary differential equations (ODEs) whose solutions are discussed in Chapter 12512^{5}.