4.7 Other kinds of limit

Limit at infinity

The ‘limit at infinity’ of a function tells us how f(x)f(x) behaves for large values of xx.

Definition 4.64.

Let II\subseteq\mathbb{R} be an interval which is not bounded above and f:If\colon I\to\mathbb{R}. We say f(x)f(x) converges to \ell\in\mathbb{R} as xx\to\infty if for all ε>0\varepsilon>0, there exists some R>0R>0 (which in general depends on ε\varepsilon) such that

if xI satisfies x>R, then|f(x)|<ε.\text{if $x\in I$ satisfies $x>R$, then}\quad|f(x)-\ell|<\varepsilon.

In this case, we write limxf(x)=\displaystyle\lim_{x\to\infty}f(x)=\ell or f(x)f(x)\to\ell as xx\to\infty.

Definition 4.64 is clearly very similar to the ε\varepsilon-NN definition of a limit of a sequence. Indeed, the following example shows how proofs based on this “ε\varepsilon-RR” definition look very similar to the “ε\varepsilon-NN” proofs from Chapter 2.

Example 4.65.

limxxx2+1=0\displaystyle\lim_{x\to\infty}\tfrac{x}{x^{2}+1}=0.

Proof.

Let ε>0\varepsilon>0 be given and choose R:=1ε>0R:=\frac{1}{\varepsilon}>0. If x>Rx>R, then

0xx2+1xx2=1x<1R=ε.0\leq\frac{x}{x^{2}+1}\leq\frac{x}{x^{2}}=\frac{1}{x}<\frac{1}{R}=\varepsilon.

Hence, by the ε\varepsilon-RR definition of a limit, limxxx2+1=0\displaystyle\lim_{x\to\infty}\tfrac{x}{x^{2}+1}=0. ∎

Exercise 4.66.

By arguing from the definition, show that limx3x2+5x+22x2+x+4=32\displaystyle\lim_{x\to\infty}\tfrac{3x^{2}+5x+2}{2x^{2}+x+4}=\tfrac{3}{2}.

One way to interpret the result of Example 4.65 is that the function x2+1x^{2}+1 grows much faster than the function xx, which means that the ratio xx2+1\frac{x}{x^{2}+1} gets very small for large values of xx.

A key property of the exponential is that it grows very quickly as xx gets large: faster than any polynomial! On the other hand, the natural logarithm function grows very slowly: slower than any power! From this, we expect, for instance,

(4.13) (4.13) limxx2exp(x)=0andlimx(logx)100x=0.\lim_{x\to\infty}\frac{x^{2}}{\exp(x)}=0\qquad\text{and}\qquad\lim_{x\to\infty% }\frac{(\log x)^{100}}{x}=0.

In order to prove statements such as those in (4.13), we introduce the following lemma which describes the behaviour of exp(x)\exp(x) and log(x)\log(x) for large values of xx.

Lemma 4.67 (Asymptotics for exp\exp and log\log).

Let nn\in\mathbb{N} and M>0M>0. Then there exists RR, S1S\geq 1, depending on nn and MM, such that

  1. 1

    exp(x)>Mxn\exp(x)>Mx^{n} for all x>Rx>R;

  2. 2

    log(y)<M1y1/n\log(y)<M^{-1}y^{1/n} for all y>Sy>S.

Here the word ‘asymptotics’ is used to mean ‘behaviour for large values of xx or yy’. To illustrate Lemma 4.67 (i), take n=2n=2 and M=1000M=1000. Then we see that there exists some R1R\geq 1 such that exp(x)>1000x2\exp(x)>1000x^{2} for all x>Rx>R. In other words, eventually (that is, for all values of x>Rx>R), the function exp\exp is much larger (by a factor of 10001000) than the function xx2x\mapsto x^{2}. Similarly, Lemma 4.67 (ii) tells us that eventually the function log\log is much smaller than the function yy1/2/1000y\mapsto y^{1/2}/1000. These relationships are illustrated in Figure 4.18.

(a) For large enough xx, exp(x)>1000x2\exp(x)>1000x^{2}.
(b) For large enough xx, log(x)<x1/21000\log(x)<\frac{x^{1/2}}{1000}.
Figure 4.18: Examples illustrating the asymptotics of exp\exp and log\log.
Proof (of Lemma 4.67).

Fix nn\in\mathbb{N} and M>0M>0.

1. By the definition (4.2) of the exponential function,

exp(x):=k=0xkk!xn+1(n+1)!=x(n+1)!xnfor all x0,\exp(x):=\sum_{k=0}^{\infty}\frac{x^{k}}{k!}\geq\frac{x^{n+1}}{(n+1)!}=\frac{x% }{(n+1)!}\cdot x^{n}\qquad\text{for all $x\geq 0$,}

where we have used the fact that all the summands are non-negative. If we set R:=M(n+1)!R:=M(n+1)!, then it immediately follows that exp(x)>Mxn\exp(x)>Mx^{n} for all x>Rx>R, as required.

2. By applying part 1 with MM replaced with MnM^{n}, there exists some R1R\geq 1 such that

exp(x)>Mnxnfor all x>R.\exp(x)>M^{n}x^{n}\qquad\text{for all $x>R$.}

Substituting x=logyx=\log y yields

y=exp(logy)>Mn(logy)nfor all y such that logy>R.y=\exp(\log y)>M^{n}(\log y)^{n}\qquad\text{for all $y\in\mathbb{R}$ such that% $\log y>R$.}

Since log\log is an increasing function, if we set S:=exp(R)S:=\exp(R) and choose y>Sy>S, then y>Mn(logy)ny>M^{n}(\log y)^{n} for all y>Sy>S, which rearranges to give the desired inequality. ∎

We can now use Lemma 4.67 to prove limit identities involving exp\exp and log\log.

Example 4.68.

limxx2exp(x)=0\displaystyle\lim_{x\to\infty}\tfrac{x^{2}}{\exp(x)}=0.

Proof.

Let ε>0\varepsilon>0 be given. By Lemma 4.67, there exists some R>0R>0 such that exp(x)>ε1x2\exp(x)>\varepsilon^{-1}x^{2} for all x>Rx>R. If x>Rx>R, then

0x2exp(x)<x2ε1x2=ε.0\leq\frac{x^{2}}{\exp(x)}<\frac{x^{2}}{\varepsilon^{-1}x^{2}}=\varepsilon.

Hence, by the ε\varepsilon-RR definition of a limit, limxx2exp(x)=0\displaystyle\lim_{x\to\infty}\tfrac{x^{2}}{\exp(x)}=0. ∎

Exercise 4.69.

Show that

  1. (i)

    limxexp(x)+10x3+4x2exp(x)=1\displaystyle\lim_{x\to\infty}\frac{\exp(x)+10x^{3}+4x^{2}}{\exp(x)}=1;

  2. (ii)

    limx(logx)100x=0\displaystyle\lim_{x\to\infty}\frac{(\log x)^{100}}{x}=0.

One-sided limits

Consider the function jj illustrated in Figure 4.19. We can see this has a discontinuity at x=1x=1. However, if we imagine approaching 11 from the left-hand side by considering f(x)f(x) for larger and larger values of xx satisfying x<1x<1, then the function does appear to converge to a limit, corresponding to the solid blue dot at (1,0)(1,0).

Figure 4.19: The function j:(0,2)j\colon(0,2)\to\mathbb{R} from Example 4.73 has a jump discontinuity at x=1x=1.

To make this idea precise, we introduce the notion of a one-sided limit.

Definition 4.70.

Let II\subseteq\mathbb{R} be an interval and aIa\in I. Let f:Ef\colon E\to\mathbb{R} where either E=IE=I or E=I{a}E=I\setminus\{a\}.

  1. 1

    Suppose aa is not the left endpoint of II. We say f(x)f(x) converges to \ell\in\mathbb{R} from the left if for all ε>0\varepsilon>0, there exists some δ>0\delta>0 such that

    if xI satisfies aδ<x<a, then|f(x)|<ε.\text{if $x\in I$ satisfies $a-\delta<x<a$, then}\quad|f(x)-\ell|<\varepsilon.

    In this case, we write limxaf(x)=\displaystyle\lim_{x\to a_{-}}f(x)=\ell or f(x)f(x)\to\ell as xax\to a_{-}.

  2. 2

    Suppose aa is not the right endpoint of II. We say f(x)f(x) converges to \ell\in\mathbb{R} from the right if for all ε>0\varepsilon>0, there exists some δ>0\delta>0 such that

    if xI satisfies a<x<a+δ, then|f(x)|<ε.\text{if $x\in I$ satisfies $a<x<a+\delta$, then}\quad|f(x)-\ell|<\varepsilon.

    In this case, we write limxa+f(x)=\displaystyle\lim_{x\to a_{+}}f(x)=\ell or f(x)f(x)\to\ell as xa+x\to a_{+}.

Example 4.71.

Consider the function j:(0,2)j\colon(0,2)\to\mathbb{R} given by

j(x):={2(1x)for 0<x1,32(1x2)for 1<x<2;j(x):=\begin{cases}2(1-x)&\text{for $0<x\leq 1$,}\\ 3-2(1-x^{2})&\text{for $1<x<2$;}\end{cases}

we sketch the graph of this function in Figure 4.19.

Left-hand limit. Let ε>0\varepsilon>0 be given and choose δ:=min{1,ε/2}\delta:=\min\{1,\varepsilon/2\}. If 1δ<x<11-\delta<x<1, then

|j(x)|=2(1x)<2δε.|j(x)|=2(1-x)<2\delta\leq\varepsilon.

Hence limx1j(x)=0\displaystyle\lim_{x\to 1_{-}}j(x)=0 by the ε\varepsilon-δ\delta definition of a one-sided limit.

Right-hand limit. Let ε>0\varepsilon>0 be given and choose δ:=min{1,ε/6}\delta:=\min\{1,\varepsilon/6\}. If 1<x<1+δ1<x<1+\delta, then

|j(x)3|=2(x21)=2(1+x)(x1)<23δε.|j(x)-3|=2(x^{2}-1)=2(1+x)(x-1)<2\cdot 3\cdot\delta\leq\varepsilon.

Here we used the fact that x<2x<2, which implies that 1+x<31+x<3, and the fact that x<1+δx<1+\delta, which implies that x1<δx-1<\delta.

Hence limx1+j(x)=3\displaystyle\lim_{x\to 1_{+}}j(x)=3 by the ε\varepsilon-δ\delta definition of a one-sided limit.

One-sided limits are related to regular limits of functions via the result of the following exercise.

Exercise 4.72.

Let II\subseteq\mathbb{R} be an interval and aIa\in I. Assume aa is not an endpoint of II. Let f:Ef\colon E\to\mathbb{R} where either E=IE=I or E=I{a}E=I\setminus\{a\}. Show that the following are equivalent:

  1. 1.

    The limit limxaf(x)\displaystyle\lim_{x\to a}f(x) exists and satisfies limxaf(x)=\displaystyle\lim_{x\to a}f(x)=\ell;

  2. 2.

    The left limit limxaf(x)\displaystyle\lim_{x\to a_{-}}f(x) and the right limit limxa+f(x)\displaystyle\lim_{x\to a_{+}}f(x) both exist and satisfy

    limxaf(x)=limxa+f(x)=.\lim_{x\to a_{-}}f(x)=\lim_{x\to a_{+}}f(x)=\ell.

This characterisation is often convenient for showing limits do not exist, by demonstrating a discrepancy between the left and right limits.

Example 4.73.

Consider the function j:(0,2)j\colon(0,2)\to\mathbb{R} as in Example 4.71. As we saw above, the left and right-hand limits of jj at 0 both exist but

limx1j(x)=limx12(1x)=0andlimx1+j(x)=limx1+32(1x2)=3.\lim_{x\to 1_{-}}j(x)=\lim_{x\to 1_{-}}2(1-x)=0\qquad\text{and}\qquad\lim_{x% \to 1_{+}}j(x)=\lim_{x\to 1_{+}}3-2(1-x^{2})=3.

Since the one-sided limits do not agree, by applying the result of Exercise 4.72, the limit limx1j(x)\displaystyle\lim_{x\to 1}j(x) does not exist.

Exercise 4.74.

Let f:(0,)f\colon(0,\infty)\to\mathbb{R} be given by

f(x):={sin(π/(2x))if 0<x<1;1485if x=1;x2if x>1.f(x):=\begin{cases}\sin\big{(}\pi/(2x)\big{)}&\text{if $0<x<1$;}\\ -1485&\text{if $x=1$;}\\ x^{2}&\text{if $x>1$.}\end{cases}

Determine whether each of the limits limx1+f(x)\displaystyle\lim_{x\to 1_{+}}f(x), limx1f(x)\displaystyle\lim_{x\to 1_{-}}f(x) and limx1f(x)\displaystyle\lim_{x\to 1}f(x) exist and (if they do exist) compute their values. Is ff continuous at 11?

Hint: limx1f(x)\displaystyle\lim_{x\to 1_{-}}f(x) is tricky (but will become easier once we’ve studied the limit laws). As the first step, try to use the fact sin:\sin\colon\mathbb{R}\to\mathbb{R} is continuous.

Tending to infinity

The function x1/x2x\mapsto 1/x^{2} blows up as xx approaches 0: see Figure 4.20. This is often called a vertical asymptote and is described precisely using another kind of limit.

Figure 4.20: The function f:{0}f\colon\mathbb{R}\setminus\{0\}\to\mathbb{R} given by f(x):=1/x2f(x):=1/x^{2}.
Definition 4.75.

Let II\subseteq\mathbb{R} be an interval, aIa\in I and f:I{a}f\colon I\setminus\{a\}\to\mathbb{R}. We say ff tends to \infty as xx tends to aa if for all M>0M>0 there exists some δ>0\delta>0 such that

if xI satisfies 0<|xa|<δ, thenf(x)>M.\text{if $x\in I$ satisfies $0<|x-a|<\delta$, then}\quad f(x)>M.

In this case, we write limxaf(x)=\displaystyle\lim_{x\to a}f(x)=\infty or f(x)f(x)\to\infty as xax\to a.

Warning 4.76.

As always, here ‘\infty’ is merely part of the notation. It is just a symbol and does not represent a number or any other mathematical object.

Exercise 4.77.

Give an informal explanation of what it means for limxaf(x)=\lim_{x\to a}f(x)=\infty and match it to the precise definition by filling in the following table.

MM-δ\delta definition (4.4) Informal idea
For all MM\in\mathbb{R}
there exists some δ>0\delta>0
such that if xIx\in I satisfies 0<|xa|<δ0<|x-a|<\delta,
then f(x)>Mf(x)>M.
Example 4.78.

limx13x21=\displaystyle\lim_{x\to 1}\frac{3}{x^{2}-1}=\infty

Proof.

For x{1,1}x\in\mathbb{R}\setminus\{1,-1\}, we may write

3x21=3x+11x1.\frac{3}{x^{2}-1}=\frac{3}{x+1}\cdot\frac{1}{x-1}.

Suppose 0<|x1|<10<|x-1|<1. From this we can deduce that 0<x<20<x<2, so 1<x+1<31<x+1<3 and therefore 3x+1>1\frac{3}{x+1}>1. Thus in this case,

|3x21|=3x+11|x1|>1|x1|.\Big{|}\frac{3}{x^{2}-1}\Big{|}=\frac{3}{x+1}\cdot\frac{1}{|x-1|}>\frac{1}{|x-% 1|}.

Let MM\in\mathbb{R} be given and choose δ:=min{1/M,1}\delta:=\min\{1/M,1\}. If 0<|x1|<δ0<|x-1|<\delta, then 0<|x1|<10<|x-1|<1 and so it follows by our earlier observations that

|3x21|>1|x1|1|x1|>1δM.\Big{|}\frac{3}{x^{2}-1}\Big{|}>\frac{1}{|x-1|}\geq\frac{1}{|x-1|}>\frac{1}{% \delta}\geq M.

Since M>0M>0 was chosen arbitrarily, by definition limx13x21=\lim_{x\to 1}\frac{3}{x^{2}-1}=\infty. ∎

Exercise 4.79.

Verify the following limit identities.

  1. (i)

    limx35x(x327)2=\displaystyle\lim_{x\to 3}\frac{5x}{(x^{3}-27)^{2}}=\infty;

  2. (ii)

    limx0|sinx|x2=\displaystyle\lim_{x\to 0}\frac{|\sin x|}{x^{2}}=\infty.

There are many other kinds of limit, some of which can be obtained by mixing and matching existing definitions. Rather than write out a comprehensive list, we leave you to think about how you would go about formalising the definitions.

Exercise 4.80.

Let II\subseteq\mathbb{R} be an interval and aIa\in I. Assume aa is not an endpoint of II and let f:I{a}f\colon I\setminus\{a\}\to\mathbb{R}. Write down a sensible definition of what it means for the following to hold.

  1. (i)

    limxaf(x)=\displaystyle\lim_{x\to a}f(x)=-\infty;

  2. (ii)

    limxa+f(x)=\displaystyle\lim_{x\to a_{+}}f(x)=\infty;

  3. (iii)

    limxaf(x)=\displaystyle\lim_{x\to a_{-}}f(x)=-\infty.

Exercise 4.81.

Write down a sensible definition of what it means for f:f\colon\mathbb{R}\to\mathbb{R} to satisfy the following.

  1. (i)

    limxf(x)=\displaystyle\lim_{x\to\infty}f(x)=\infty;

  2. (ii)

    limxf(x)=\displaystyle\lim_{x\to-\infty}f(x)=\infty.

Exercise 4.82.

Arguing from the definitions you came up with in Exercise 4.80 and Exercise 4.81, verify the following limit identities.

  1. (i)

    limx0+1x=\displaystyle\lim_{x\to 0_{+}}\frac{1}{x}=\infty;

  2. (ii)

    limx01x=\displaystyle\lim_{x\to 0_{-}}\frac{1}{x}=-\infty;

  3. (iii)

    limxexp(x)=\displaystyle\lim_{x\to\infty}\exp(x)=\infty.

Limit laws

There are versions of the limit laws for each kind of limit introduced above. We shall not write out formal theorem statements of all of these laws (since to do so would be rather repetitive), but content ourselves with an illustrative example.

Example 4.83.

limx0+xlogx=0\displaystyle\lim_{x\to 0_{+}}x\log x=0.

Proof.

Here we use the composition law to change variables. In particular, writing x=1/ux=1/u, we obtain

xlogx=log(1/u)u=loguu.x\log x=\frac{\log(1/u)}{u}=-\frac{\log u}{u}.

Here we have used the familiar property of the logarithm that log(1/u)=logu\log(1/u)=-\log u. Strictly speaking, we have not yet shown that our definition of log\log satisfies this property, but we shall prove this is the case in the next chapter.

Given ε>0\varepsilon>0, by Lemma 4.67 we know there exists some S1S\geq 1 such that logu<ε1u\log u<\varepsilon^{-1}u for all u>Su>S. Thus, 0u/logu<ε0\leq u/\log u<\varepsilon for all u>Su>S and therefore, by the definition of a limit, limuloguu=0\displaystyle\lim_{u\to\infty}\tfrac{\log u}{u}=0.

Finally, since limuloguu=0\displaystyle\lim_{u\to\infty}\tfrac{\log u}{u}=0 and x=1/u0x=1/u\to 0 as uu\to\infty, it follows from the composition law that limx0+xlogx=0\displaystyle\lim_{x\to 0_{+}}x\log x=0, as required. ∎

Exercise 4.84.

Show that limxx2sin(1/x2)=1\displaystyle\lim_{x\to\infty}x^{2}\sin(1/x^{2})=1.