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 II\subseteq\mathbb{R} be an interval and aIa\in I. Let f,g:Ef,g\colon E\to\mathbb{R} where either E=IE=I or E=I{a}E=I\setminus\{a\}.

Suppose that limxaf(x)\displaystyle\lim_{x\to a}f(x) and limxag(x)\displaystyle\lim_{x\to a}g(x) exist. Then

  1. 1

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

    limxa(f+g)(x)=limxaf(x)+limxag(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 limxa(fg)(x)\displaystyle\lim_{x\to a}(f\cdot g)(x) exists and

    limxa(fg)(x)=limxaf(x)limxag(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 xIx\in I and limxag(x)0\displaystyle\lim_{x\to a}g(x)\neq 0, then limxa(f/g)(x)\displaystyle\lim_{x\to a}(f/g)(x) exists and

    limxaf(x)g(x)=limxaf(x)limxag(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 II\subseteq\mathbb{R} be an interval and ff, g:Ig\colon I\to\mathbb{R} be continuous.

  1. 1

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

  2. 2

    The function fg:If\cdot g\colon I\to\mathbb{R} is continuous;

  3. 3

    If g(x)0g(x)\neq 0 for all xIx\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 dd\in\mathbb{N} and coefficients c0c_{0}, c1c_{1}, \dots, cdc_{d}\in\mathbb{R} such that

p(x):=cdxd+cd1xd1++c1x+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 xx\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):=sin2x+10x5+cosxsin4x+5x2+2\displaystyle f(x):=\frac{\sin^{2}x+10x^{5}+\cos x}{\sin^{4}x+5x^{2}+2} for all xx\in\mathbb{R} is continuous.

Another way to combine functions is to form compositions.

Theorem 4.55 (Composition law for limits).

Let II, JJ\subseteq\mathbb{R} be intervals, aIa\in I, bJb\in J and f:IJ{b}f\colon I\to J\setminus\{b\} and g:Jg\colon J\to\mathbb{R} be such that

limxaf(x)=bandlimybg(y)=exist.\lim_{x\to a}f(x)=b\qquad\text{and}\qquad\lim_{y\to b}g(y)=\ell\qquad\text{% exist.}

Then limxagf(x)\displaystyle\lim_{x\to a}g\circ f(x) exists and

limxagf(x)=limybg(y)=.\lim_{x\to a}g\circ f(x)=\lim_{y\to b}g(y)=\ell.
Proof.

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

(4.9) (4.9) if yJy\in J satisfies 0<|yb|<η0<|y-b|<\eta, then |g(y)|<ε|g(y)-\ell|<\varepsilon.

Since limxaf(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 xIx\in I satisfies 0<|xa|<δ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 xIx\in I satisfy 0<|xa|<δ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))|=|gf(x)|<ε|g(f(x))-\ell|=|g\circ f(x)-\ell|<\varepsilon. Thus, by the ε\varepsilon-δ\delta definition of a limit, limxagf(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, JJ\subseteq\mathbb{R} be intervals and suppose f:IJf\colon I\to J is continuous at a point aIa\in I and g:Jg\colon J\to\mathbb{R} is continuous at f(a)Jf(a)\in J. Then the composition gf:Ig\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 x0,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(1sinx+2)f(x):=\cos\Big{(}\frac{1}{\sin x+2}\Big{)} for all xx\in\mathbb{R} is continuous.