4.5 Limit laws

We now explore limit laws for functions, which tell us how limits behave under sums, products and quotients. These laws are completely analogous to the limit laws for sequences (see Theorem 2.38).

Theorem 4.49 (Limit laws).

Let I⊆ℝI\subseteq\mathbb{R} be an interval and a∈Ia\in I. Let f,g:E→ℝf,g\colon E\to\mathbb{R} where either E=IE=I or E=I∖{a}E=I\setminus\{a\}.

Suppose that limx→af⁢(x)\displaystyle\lim_{x\to a}f(x) and limx→ag⁢(x)\displaystyle\lim_{x\to a}g(x) exist. Then

  1. 1
    ​

    The limit limx→a(f+g)⁢(x)\displaystyle\lim_{x\to a}(f+g)(x) exists and

    limx→a(f+g)⁢(x)=limx→af⁢(x)+limx→ag⁢(x);\displaystyle\lim_{x\to a}(f+g)(x)=\lim_{x\to a}f(x)+\lim_{x\to a}g(x);
  2. 2
    ​

    The limit limx→a(f⋅g)⁢(x)\displaystyle\lim_{x\to a}(f\cdot g)(x) exists and

    limx→a(f⋅g)⁢(x)=limx→af⁢(x)⋅limx→ag⁢(x);\displaystyle\lim_{x\to a}(f\cdot g)(x)=\lim_{x\to a}f(x)\cdot\lim_{x\to a}g(x);
  3. 3
    ​

    If g⁢(x)≠0g(x)\neq 0 for all x∈Ix\in I and limx→ag⁢(x)≠0\displaystyle\lim_{x\to a}g(x)\neq 0, then limx→a(f/g)⁢(x)\displaystyle\lim_{x\to a}(f/g)(x) exists and

    limx→af⁢(x)g⁢(x)=limx→af⁢(x)limx→ag⁢(x).\lim_{x\to a}\frac{f(x)}{g(x)}=\frac{\displaystyle\lim_{x\to a}f(x)}{% \displaystyle\lim_{x\to a}g(x)}.
Exercise 4.50.

Prove Theorem 4.49. Your arguments should be very similar to those used to prove the corresponding limit laws for sequences in Theorem 2.38.

The limit laws can be converted into statements about continuous functions.

Corollary 4.51.

Let I⊆ℝI\subseteq\mathbb{R} be an interval and ff, g:I→ℝg\colon I\to\mathbb{R} be continuous.

  1. 1
    ​

    The function f+g:I→ℝf+g\colon I\to\mathbb{R} is continuous;

  2. 2
    ​

    The function f⋅g:I→ℝf\cdot g\colon I\to\mathbb{R} is continuous;

  3. 3
    ​

    If g⁢(x)≠0g(x)\neq 0 for all x∈Ix\in I, then the function (f/g):I→ℝ(f/g)\colon I\to\mathbb{R} is continuous.

Exercise 4.52.

Hint: for the product law in part 2, the result of Exercise 4.48 is useful.

Corollary 4.51 provides us with a new gizmo which often makes the task of determining whether a given function is continuous a lot simpler.

Example 4.53 (Polynomials).

Let p:ℝ→ℝp\colon\mathbb{R}\to\mathbb{R} be a polynomial function, so that there exists some d∈ℕd\in\mathbb{N} and coefficients c0c_{0}, c1c_{1}, …\dots, cd∈ℝc_{d}\in\mathbb{R} such that

p⁢(x):=cd⁢xd+cd−1⁢xd−1+⋯+c1⁢x+c0for all x∈ℝ.p(x):=c_{d}x^{d}+c_{d-1}x^{d-1}+\cdots+c_{1}x+c_{0}\qquad\text{for all $x\in% \mathbb{R}$.}

It is straightforward to check that constant functions and the linear monomial ι:ℝ→ℝ\iota\colon\mathbb{R}\to\mathbb{R}, ι⁢(x):=x\iota(x):=x for all x∈ℝx\in\mathbb{R} are continuous. Since pp can be written in terms of sums and products of these functions, it follows from Corollary 4.51 that pp is continuous.

Exercise 4.54.

Show that f⁢(x):=sin2⁡x+10⁢x5+cos⁡xsin4⁡x+5⁢x2+2\displaystyle f(x):=\frac{\sin^{2}x+10x^{5}+\cos x}{\sin^{4}x+5x^{2}+2} for all x∈ℝx\in\mathbb{R} is continuous.

Another way to combine functions is to form compositions.

Theorem 4.55 (Composition law for limits).

Let II, J⊆ℝJ\subseteq\mathbb{R} be intervals, a∈Ia\in I, b∈Jb\in J and f:I→J∖{b}f\colon I\to J\setminus\{b\} and g:J→ℝg\colon J\to\mathbb{R} be such that

limx→af⁢(x)=bandlimy→bg⁢(y)=ℓexist.\lim_{x\to a}f(x)=b\qquad\text{and}\qquad\lim_{y\to b}g(y)=\ell\qquad\text{% exist.}

Then limx→ag∘f⁢(x)\displaystyle\lim_{x\to a}g\circ f(x) exists and

limx→ag∘f⁢(x)=limy→bg⁢(y)=ℓ.\lim_{x\to a}g\circ f(x)=\lim_{y\to b}g(y)=\ell.
Proof.

Let ε>0\varepsilon>0 be given. Since limy→bg⁢(y)=ℓ\displaystyle\lim_{y\to b}g(y)=\ell, there exists some η>0\eta>0 such that

(4.9) (4.9) if y∈Jy\in J satisfies 0<|y−b|<η0<|y-b|<\eta, then |g⁢(y)−ℓ|<ε|g(y)-\ell|<\varepsilon.

Since limx→af⁢(x)=b\displaystyle\lim_{x\to a}f(x)=b, we can the apply the definition of the limit, using the number η>0\eta>0 in place of ε\varepsilon, to see that there exists some δ>0\delta>0 such that

(4.10) (4.10) if x∈Ix\in I satisfies 0<|x−a|<δ0<|x-a|<\delta, then 0<|f⁢(x)−b|<η0<|f(x)-b|<\eta,

where |f⁢(x)−b|>0|f(x)-b|>0 comes from the fact that bb is not in the image of ff.

Let x∈Ix\in I satisfy 0<|x−a|<δ0<|x-a|<\delta. Then (4.10) implies that 0<|f⁢(x)−b|<η0<|f(x)-b|<\eta. Consequently, we may take y=f⁢(x)y=f(x) in (4.9) to give |g⁢(f⁢(x))−ℓ|=|g∘f⁢(x)−ℓ|<ε|g(f(x))-\ell|=|g\circ f(x)-\ell|<\varepsilon. Thus, by the ε\varepsilon-δ\delta definition of a limit, limx→ag∘f⁢(x)=ℓ\lim_{x\to a}g\circ f(x)=\ell, as required. ∎

The composition law can also be converted into statements about continuity.

Corollary 4.56.

Let II, J⊆ℝJ\subseteq\mathbb{R} be intervals and suppose f:I→Jf\colon I\to J is continuous at a point a∈Ia\in I and g:J→ℝg\colon J\to\mathbb{R} is continuous at f⁢(a)∈Jf(a)\in J. Then the composition g∘f:I→ℝg\circ f\colon I\to\mathbb{R} is continuous at aa.

Proof.

This follows from a slight modification of the proof of Theorem 4.55. ∎

Example 4.57.

Recall the function f:ℝ→ℝf\colon\mathbb{R}\to\mathbb{R} from Example 4.36, given by

f⁢(x):={sin⁡(1/x)if x≠0,0if x=0.f(x):=\begin{cases}\sin(1/x)&\text{if $x\neq 0$,}\\ 0&\text{if $x=0$.}\end{cases}

We showed in Example 4.36 that ff is not continuous at 0. We can use Corollary 4.56 to show ff is continuous at aa for all a∈ℝ∖{0}a\in\mathbb{R}\setminus\{0\}.

Proof.

We know from Exercise 4.28 that the reciprocal function r⁢(x):=1/xr(x):=1/x a continuous function on (0,∞)(0,\infty) and from Lemma 4.33 that sin:ℝ→ℝ\sin\colon\mathbb{R}\to\mathbb{R} is continuous. Hence, by Corollary 4.56, ff is continuous at aa for all a∈(0,∞)a\in(0,\infty). By a similar argument, we can see that ff is also continuous for all a∈(−∞,0)a\in(-\infty,0). Thus the desired result follows. ∎

Exercise 4.58.

Show that f:ℝ→ℝf\colon\mathbb{R}\to\mathbb{R} given by f⁢(x):=cos⁡(1sin⁡x+2)f(x):=\cos\Big{(}\frac{1}{\sin x+2}\Big{)} for all x∈ℝx\in\mathbb{R} is continuous.