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 I⊆ℝI\subseteq\mathbb{R} be an interval which is not bounded above and f:I→ℝf\colon I\to\mathbb{R}. We say f⁢(x)f(x) converges to ℓ∈ℝ\ell\in\mathbb{R} as x→∞x\to\infty if for all ε>0\varepsilon>0, there exists some R>0R>0 (which in general depends on ε\varepsilon) such that

if x∈I 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 limx→∞f⁢(x)=ℓ\displaystyle\lim_{x\to\infty}f(x)=\ell or f⁢(x)→ℓf(x)\to\ell as x→∞x\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.

limx→∞xx2+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

0≤xx2+1≤xx2=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, limx→∞xx2+1=0\displaystyle\lim_{x\to\infty}\tfrac{x}{x^{2}+1}=0. ∎

Exercise 4.66.

By arguing from the definition, show that limx→∞3⁢x2+5⁢x+22⁢x2+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) limx→∞x2exp⁡(x)=0andlimx→∞(log⁡x)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 n∈ℕn\in\mathbb{N} and M>0M>0. Then there exists RR, S≥1S\geq 1, depending on nn and MM, such that

  1. 1
    ​

    exp⁡(x)>M⁢xn\exp(x)>Mx^{n} for all x>Rx>R;

  2. 2
    ​

    log⁡(y)<M−1⁢y1/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 R≥1R\geq 1 such that exp⁡(x)>1000⁢x2\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 x↦x2x\mapsto x^{2}. Similarly, Lemma 4.67 (ii) tells us that eventually the function log\log is much smaller than the function y↦y1/2/1000y\mapsto y^{1/2}/1000. These relationships are illustrated in Figure 4.18.

(a) For large enough xx, exp⁡(x)>1000⁢x2\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 n∈ℕn\in\mathbb{N} and M>0M>0.

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

exp⁡(x):=∑k=0∞xkk!≥xn+1(n+1)!=x(n+1)!⋅xnfor all x≥0,\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)>M⁢xn\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 R≥1R\geq 1 such that

exp⁡(x)>Mn⁢xnfor all x>R.\exp(x)>M^{n}x^{n}\qquad\text{for all $x>R$.}

Substituting x=log⁡yx=\log y yields

y=exp⁡(log⁡y)>Mn⁢(log⁡y)nfor all y∈ℝ such that log⁡y>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⁢(log⁡y)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.

limx→∞x2exp⁡(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)>ε−1⁢x2\exp(x)>\varepsilon^{-1}x^{2} for all x>Rx>R. If x>Rx>R, then

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

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

Exercise 4.69.

Show that

  1. (i)
    ​

    limx→∞exp⁡(x)+10⁢x3+4⁢x2exp⁡(x)=1\displaystyle\lim_{x\to\infty}\frac{\exp(x)+10x^{3}+4x^{2}}{\exp(x)}=1;

  2. (ii)
    ​

    limx→∞(log⁡x)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 I⊆ℝI\subseteq\mathbb{R} be an interval and a∈Ia\in I. Let f:E→ℝf\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 x∈I 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 limx→a−f⁢(x)=ℓ\displaystyle\lim_{x\to a_{-}}f(x)=\ell or f⁢(x)→ℓf(x)\to\ell as x→a−x\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 x∈I 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 limx→a+f⁢(x)=ℓ\displaystyle\lim_{x\to a_{+}}f(x)=\ell or f⁢(x)→ℓf(x)\to\ell as x→a+x\to a_{+}.

Example 4.71.

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

j⁢(x):={2⁢(1−x)for 0<x≤1,3−2⁢(1−x2)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⁢(1−x)<2⁢δ≤ε.|j(x)|=2(1-x)<2\delta\leq\varepsilon.

Hence limx→1−j⁢(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⁢(x2−1)=2⁢(1+x)⁢(x−1)<2⋅3⋅δ≤ε.|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 x−1<δx-1<\delta.

Hence limx→1+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 I⊆ℝI\subseteq\mathbb{R} be an interval and a∈Ia\in I. Assume aa is not an endpoint of II. Let f:E→ℝf\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 limx→af⁢(x)\displaystyle\lim_{x\to a}f(x) exists and satisfies limx→af⁢(x)=ℓ\displaystyle\lim_{x\to a}f(x)=\ell;

  2. 2.
    ​

    The left limit limx→a−f⁢(x)\displaystyle\lim_{x\to a_{-}}f(x) and the right limit limx→a+f⁢(x)\displaystyle\lim_{x\to a_{+}}f(x) both exist and satisfy

    limx→a−f⁢(x)=limx→a+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

limx→1−j⁢(x)=limx→1−2⁢(1−x)=0andlimx→1+j⁢(x)=limx→1+3−2⁢(1−x2)=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 limx→1j⁢(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⁡(π/(2⁢x))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 limx→1+f⁢(x)\displaystyle\lim_{x\to 1_{+}}f(x), limx→1−f⁢(x)\displaystyle\lim_{x\to 1_{-}}f(x) and limx→1f⁢(x)\displaystyle\lim_{x\to 1}f(x) exist and (if they do exist) compute their values. Is ff continuous at 11?

Hint: limx→1−f⁢(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 x↦1/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 I⊆ℝI\subseteq\mathbb{R} be an interval, a∈Ia\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 x∈I satisfies 0<|x−a|<δ, thenf⁢(x)>M.\text{if $x\in I$ satisfies $0<|x-a|<\delta$, then}\quad f(x)>M.

In this case, we write limx→af⁢(x)=∞\displaystyle\lim_{x\to a}f(x)=\infty or f⁢(x)→∞f(x)\to\infty as x→ax\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 limx→af⁢(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 M∈ℝM\in\mathbb{R}
there exists some δ>0\delta>0
such that if x∈Ix\in I satisfies 0<|x−a|<δ0<|x-a|<\delta,
then f⁢(x)>Mf(x)>M.
Example 4.78.

limx→13x2−1=∞\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

3x2−1=3x+1⋅1x−1.\frac{3}{x^{2}-1}=\frac{3}{x+1}\cdot\frac{1}{x-1}.

Suppose 0<|x−1|<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,

|3x2−1|=3x+1⋅1|x−1|>1|x−1|.\Big{|}\frac{3}{x^{2}-1}\Big{|}=\frac{3}{x+1}\cdot\frac{1}{|x-1|}>\frac{1}{|x-% 1|}.

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

|3x2−1|>1|x−1|≥1|x−1|>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 limx→13x2−1=∞\lim_{x\to 1}\frac{3}{x^{2}-1}=\infty. ∎

Exercise 4.79.

Verify the following limit identities.

  1. (i)
    ​

    limx→35⁢x(x3−27)2=∞\displaystyle\lim_{x\to 3}\frac{5x}{(x^{3}-27)^{2}}=\infty;

  2. (ii)
    ​

    limx→0|sin⁡x|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 I⊆ℝI\subseteq\mathbb{R} be an interval and a∈Ia\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)
    ​

    limx→af⁢(x)=−∞\displaystyle\lim_{x\to a}f(x)=-\infty;

  2. (ii)
    ​

    limx→a+f⁢(x)=∞\displaystyle\lim_{x\to a_{+}}f(x)=\infty;

  3. (iii)
    ​

    limx→a−f⁢(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)
    ​

    limx→∞f⁢(x)=∞\displaystyle\lim_{x\to\infty}f(x)=\infty;

  2. (ii)
    ​

    limx→−∞f⁢(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)
    ​

    limx→0+1x=∞\displaystyle\lim_{x\to 0_{+}}\frac{1}{x}=\infty;

  2. (ii)
    ​

    limx→0−1x=−∞\displaystyle\lim_{x\to 0_{-}}\frac{1}{x}=-\infty;

  3. (iii)
    ​

    limx→∞exp⁡(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.

limx→0+x⁢log⁡x=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

x⁢log⁡x=log⁡(1/u)u=−log⁡uu.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)=−log⁡u\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 S≥1S\geq 1 such that log⁡u<ε⁢u\log u<\varepsilon u for all u>Su>S. Thus, 0≤log⁡u/u<ε0\leq\log u/u<\varepsilon for all u>Su>S and therefore, by the definition of a limit, limu→∞log⁡uu=0\displaystyle\lim_{u\to\infty}\tfrac{\log u}{u}=0.

Finally, since limu→∞log⁡uu=0\displaystyle\lim_{u\to\infty}\tfrac{\log u}{u}=0 and x=1/u→0x=1/u\to 0 as u→∞u\to\infty, it follows from the composition law that limx→0+x⁢log⁡x=0\displaystyle\lim_{x\to 0_{+}}x\log x=0, as required. ∎

Exercise 4.84.

Show that limx→∞x2⁢sin⁡(1/x2)=1\displaystyle\lim_{x\to\infty}x^{2}\sin(1/x^{2})=1.