A.4 Chapter 4

Exercise 4.11

Let y>x≥0y>x\geq 0, so that y2+1>x2+1y^{2}+1>x^{2}+1. Hence, (y2+1)−1<(x2+1)−1(y^{2}+1)^{-1}<(x^{2}+1)^{-1} and therefore

f⁢(y)=1−(x2+1)−1>1−(x2+1)−1=f⁢(x)f(y)=1-(x^{2}+1)^{-1}>1-(x^{2}+1)^{-1}=f(x)

and so ff is increasing.

Exercise 4.12

Suppose x<yx<y. Since exp\exp is surjective, there exists a,ba,b such that x=exp⁡(a)x=\exp(a) and y=exp⁡(b)y=\exp(b). Since exp\exp is increasing, we must have a<ba<b. Now, log⁡(x)=log⁡(exp⁡(a))=a\log(x)=\log(\exp(a))=a and log⁡(y)=log⁡(exp⁡(b))=b\log(y)=\log(\exp(b))=b. Thus, since a<ba<b, we have log⁡(x)<log⁡(y)\log(x)<\log(y).

Exercise 4.16

Let aa, b∈ℝb\in\mathbb{R} with a<ba<b. By the density of the rational numbers from Lemma 1.49, we know that there exists some a<x1<ba<x_{1}<b with x1∈ℚx_{1}\in\mathbb{Q}. By the density of the irrational numbers Lemma 1.53, we know that there exists some x1<y<bx_{1}<y<b with y∈ℝ∖ℚy\in\mathbb{R}\setminus\mathbb{Q}. Finally, again by the density of the rational numbers from Lemma 1.49, we know that there exists some y<x2<by<x_{2}<b with x2∈ℚx_{2}\in\mathbb{Q}. Observe that:

  • •
    ​

    a<x1<y<ba<x_{1}<y<b with χℚ⁢(x1)=1>0=χℚ⁢(y)\chi_{\mathbb{Q}}(x_{1})=1>0=\chi_{\mathbb{Q}}(y) since x1∈ℚx_{1}\in\mathbb{Q} and y∈ℝ∖ℚy\in\mathbb{R}\setminus\mathbb{Q}. Hence χℚ\chi_{\mathbb{Q}} is not nondecreasing on (a,b)(a,b).

  • •
    ​

    a<y<x2<ba<y<x_{2}<b with χℚ⁢(y)=0<1=χℚ⁢(x2)\chi_{\mathbb{Q}}(y)=0<1=\chi_{\mathbb{Q}}(x_{2}) since x2∈ℚx_{2}\in\mathbb{Q} and y∈ℝ∖ℚy\in\mathbb{R}\setminus\mathbb{Q}. Hence χℚ\chi_{\mathbb{Q}} is not nonincreasing on (a,b)(a,b).

Thus, χℚ\chi_{\mathbb{Q}} is not monotone on the interval (a,b)(a,b).

Exercise 4.19

(i) Let δ>0\delta>0. If x∈(−∞,−δ]∪[δ,∞)x\in(-\infty,-\delta]\cup[\delta,\infty), then |x|≥δ|x|\geq\delta. Consequently, |r⁢(x)|=1/|x|≤1/δ|r(x)|=1/|x|\leq 1/\delta, and so rr is bounded above by 1/δ1/\delta and below by −1/δ-1/\delta on the set (−∞,−δ]∪[δ,∞)(-\infty,-\delta]\cup[\delta,\infty).

(ii) Let δ>0\delta>0. Given any M>0M>0, let x∈ℝx\in\mathbb{R} satisfy 0<x<min⁡{δ,1/M}0<x<\min\{\delta,1/M\}. Then r⁢(x)=1/x>Mr(x)=1/x>M and so MM is not an upper bound for rr on (−δ,δ)∖{0}(-\delta,\delta)\setminus\{0\}. However, since M>0M>0 was chosen arbitrarily, it follows that rr is unbounded on (−δ,δ)∖{0}(-\delta,\delta)\setminus\{0\}.

Exercise 4.23

For x∈ℝx\in\mathbb{R}, we have

|ℓ⁢(x)−ℓ⁢(1)|=|5⁢x+6−(5+6)|=5⁢|x−1|.|\ell(x)-\ell(1)|=|5x+6-(5+6)|=5|x-1|.

Let ε>0\varepsilon>0 be given and choose δ:=ε/5>0\delta:=\varepsilon/5>0. If x∈ℝx\in\mathbb{R} satisfies |x−1|<δ|x-1|<\delta, then

|ℓ⁢(x)−ℓ⁢(1)|=5⁢|x−1|<5⁢δ=ε.|\ell(x)-\ell(1)|=5|x-1|<5\delta=\varepsilon.

Hence, by the ε\varepsilon-δ\delta definition, the function ℓ\ell is continuous at 11.

Exercise 4.24

Figure A.1: The function f⁢(x):=x3f(x):=x^{3} for x≥0x\geq 0 and f⁢(x):=xf(x):=x for x<0x<0.

We consider two cases:

  • •
    ​

    If x<0x<0, then |f⁢(x)−f⁢(0)|=|x−0|=|x||f(x)-f(0)|=|x-0|=|x|.

  • •
    ​

    If 0≤x<10\leq x<1, then |f⁢(x)−f⁢(0)|=|x3−0|=|x|3<|x||f(x)-f(0)|=|x^{3}-0|=|x|^{3}<|x|.

In particular, for x<1x<1 we have |f⁢(x)−f⁢(0)|≤|x||f(x)-f(0)|\leq|x|.

Let ε>0\varepsilon>0 be given and choose δ:=min⁡{ε,1}>0\delta:=\min\{\varepsilon,1\}>0. Suppose x∈ℝx\in\mathbb{R} satisfies |x|<δ|x|<\delta, so that x<1x<1. By our earlier observation,

|f⁢(x)−f⁢(0)|≤|x|<δ≤ε.|f(x)-f(0)|\leq|x|<\delta\leq\varepsilon.

Thus, by the ε\varepsilon-δ\delta definition, ff is continuous at 0.

Exercise 4.27

Let a∈ℝa\in\mathbb{R}. For x∈ℝx\in\mathbb{R}, we have

|p3⁢(x)−p3⁢(a)|=|x3−a3|=|x2+a⁢x+a2|⁢|x−a|≤(|x|2+|a|⁢|x|+|a|2)⁢|x−a|,|p_{3}(x)-p_{3}(a)|=|x^{3}-a^{3}|=|x^{2}+ax+a^{2}||x-a|\leq\big{(}|x|^{2}+|a||% x|+|a|^{2}\big{)}|x-a|,

where the last step is by the triangle inequality. Now suppose |x−a|<1|x-a|<1. Then another application of the triangle inequality yields

|x|≤|a|+|x−a|<|a|+1|x|\leq|a|+|x-a|<|a|+1

and so

|p3⁢(x)−p3⁢(a)|<((|a|+1)2+|a|⁢(|a|+1)+|a|2)⁢|x−a|=(3⁢|a|2+3⁢|a|+1)⁢|x−a|.|p_{3}(x)-p_{3}(a)|<\big{(}(|a|+1)^{2}+|a|(|a|+1)+|a|^{2}\big{)}|x-a|=(3|a|^{2% }+3|a|+1)|x-a|.

Let ε>0\varepsilon>0 be given and choose

δ:=min⁡{(3⁢|a|2+3⁢|a|+1)−1⁢ε,1}>0.\delta:=\min\big{\{}(3|a|^{2}+3|a|+1)^{-1}\varepsilon,1\big{\}}>0.

Suppose x∈ℝx\in\mathbb{R} satisfies |x−a|<δ|x-a|<\delta. Then |x−a|<1|x-a|<1 and so it follows by our earlier observations that

|p3⁢(x)−p3⁢(a)|<(3⁢|a|2+3⁢|a|+1)⁢|x−a|<(3⁢|a|2+3⁢|a|+1)⁢δ≤ε.|p_{3}(x)-p_{3}(a)|<(3|a|^{2}+3|a|+1)|x-a|<(3|a|^{2}+3|a|+1)\delta\leq\varepsilon.

Thus, by the ε\varepsilon-δ\delta definition, p3p_{3} is continuous at aa. Since a∈ℝa\in\mathbb{R} was chosen arbitrarily, it follows that p3:ℝ→ℝp_{3}\colon\mathbb{R}\to\mathbb{R} is continuous.

Exercise 4.28

Let a∈(0,∞)a\in(0,\infty). For x∈(0,∞)x\in(0,\infty) we have

|r⁢(x)−r⁢(a)|=|1x−1a|=|x−a||x|⁢|a|.|r(x)-r(a)|=\Big{|}\frac{1}{x}-\frac{1}{a}\Big{|}=\frac{|x-a|}{|x||a|}.

Now suppose |x−a|<|a|/2|x-a|<|a|/2. Then the triangle inequality yields

|x|≥|a|−|x−a|>|a|−|a|/2=|a|/2|x|\geq|a|-|x-a|>|a|-|a|/2=|a|/2

and so

|r⁢(x)−r⁢(a)|=|1x−1a|=|x−a||x|⁢|a|<2⁢|x−a||a|2.|r(x)-r(a)|=\Big{|}\frac{1}{x}-\frac{1}{a}\Big{|}=\frac{|x-a|}{|x||a|}<\frac{2% |x-a|}{|a|^{2}}.

Let ε>0\varepsilon>0 be given and choose

δ:=min⁡{|a|2,|a|2⁢ε2}.\delta:=\min\Big{\{}\frac{|a|}{2},\frac{|a|^{2}\varepsilon}{2}\Big{\}}.

Suppose x∈(0,∞)x\in(0,\infty) satisfies |x−a|<δ|x-a|<\delta. Then |x−a|<|a|/2|x-a|<|a|/2 and so it follows by our earlier observations that

|r⁢(x)−r⁢(a)|<2⁢|x−a||a|2<2⁢δ|a|2≤ε.|r(x)-r(a)|<\frac{2|x-a|}{|a|^{2}}<\frac{2\delta}{|a|^{2}}\leq\varepsilon.

Thus, by the ε\varepsilon-δ\delta definition, rr is continuous at aa.

Exercise 4.29

Here is one suggested interpretation.

ε\varepsilon-δ\delta definition (4.4) Informal idea
There exists some ε>0\varepsilon>0 There exists some distance ε>0\varepsilon>0
such that for all δ>0\delta>0 such that no matter how close we are to aa
there exists some x∈Ix\in I with 0<|x−a|<δ0<|x-a|<\delta we can find a point xx
such that |f⁢(x)−f⁢(a)|≥ε|f(x)-f(a)|\geq\varepsilon. with f⁢(x)f(x) and f⁢(a)f(a) are at least ε\varepsilon far apart.

Exercise 4.31

Fix ε:=1/2\varepsilon:=1/2 and let δ>0\delta>0 be given. Let x∈ℝx\in\mathbb{R} satisfy 0<x<δ0<x<\delta, so that |x|<δ|x|<\delta and

|f⁢(x)−f⁢(0)|=|1−0|=1>ε.|f(x)-f(0)|=|1-0|=1>\varepsilon.

Hence, by definition, ff is discontinuous at 0.

Exercise 4.34

(i) We have already reduced to the case θ∈[0,π/2]\theta\in[0,\pi/2] and so |θ|=θ|\theta|=\theta and |tan⁡θ|=tan⁡θ|\tan\theta|=\tan\theta.

The triangle O⁢A⁢COAC in Figure 4.13(b) has area (tan⁡θ)/2(\tan\theta)/2. On the other hand, the area of the sector O⁢A⁢BOAB in Figure 4.13(a) is θ/2\theta/2. Since the triangle contains the sector, θ/2≤(tan⁡θ)/2\theta/2\leq(\tan\theta)/2 and the result follows.

(ii) By the double angle formula, 1−cos⁡θ=2⁢sin2⁡(θ/2)1-\cos\theta=2\sin^{2}(\theta/2). Thus, using the inequality |sin⁡θ|≤|θ||\sin\theta|\leq|\theta|, we have

|1−cos⁡θ|=2⁢|sin2⁡(θ/2)|≤2⁢|θ/2|2=θ2/2|1-\cos\theta|=2|\sin^{2}(\theta/2)|\leq 2|\theta/2|^{2}=\theta^{2}/2

as required.

Exercise 4.38

Let a∈ℚa\in\mathbb{Q} be a rational point, fix ε:=1/2\varepsilon:=1/2 and let δ>0\delta>0 be given. By the density of the irrationals from Lemma 1.53, there exists some x∈(a,a+δ)x\in(a,a+\delta) with x∈ℝ∖ℚx\in\mathbb{R}\setminus\mathbb{Q}. In particular,

0<|x−a|<δand|χℚ⁢(x)−χℚ⁢(a)|=|0−1|=1>1/2=ε.0<|x-a|<\delta\qquad\text{and}\qquad|\chi_{\mathbb{Q}}(x)-\chi_{\mathbb{Q}}(a)% |=|0-1|=1>1/2=\varepsilon.

Thus, by definition, χℚ\chi_{\mathbb{Q}} is discontinuous at aa.

Exercise 4.39

The function gg is continuous at 0. Indeed, for x∈ℝ∖{0}x\in\mathbb{R}\setminus\{0\}, we have

|g⁢(x)−g⁢(0)|=|x⁢sin⁡(1/x)−0|=|x|⁢|sin⁡(1/x)|≤|x|,|g(x)-g(0)|=|x\sin(1/x)-0|=|x||\sin(1/x)|\leq|x|,

since |sin⁡(1/x)|≤1|\sin(1/x)|\leq 1. On the other hand, clearly |g⁢(x)−g⁢(0)|≤|x||g(x)-g(0)|\leq|x| also holds when x=0x=0 (since both sides are 0 in this case).

Let ε>0\varepsilon>0 be given and choose δ:=ε>0\delta:=\varepsilon>0. If |x−0|<δ|x-0|<\delta, then

|g⁢(x)−g⁢(0)|≤|x|<δ=ε.|g(x)-g(0)|\leq|x|<\delta=\varepsilon.

Hence, by the ε\varepsilon-δ\delta definition of continuity, gg is continuous at 0.

Exercise 4.40

Figure A.2: A schematic of the graph of the function h:ℝ→ℝh\colon\mathbb{R}\to\mathbb{R} defined by h⁢(x):=xh(x):=x if x∈ℚx\in\mathbb{Q} and h⁢(x):=0h(x):=0 if x∈ℝ∖ℚx\in\mathbb{R}\setminus\mathbb{Q}.

We claim that hh continuous at a=0a=0 and discontinuous at all other points.

To see hh is continuous at aa, let ε>0\varepsilon>0 be given and choose δ:=ε\delta:=\varepsilon. If x∈ℝx\in\mathbb{R} satisfies |x|<δ|x|<\delta, then

|h⁢(x)−h⁢(0)|=|h⁢(x)|≤|x|<δ=ε.|h(x)-h(0)|=|h(x)|\leq|x|<\delta=\varepsilon.

Hence, by the ε\varepsilon-δ\delta definition, hh is continuous at 0.

Now let a∈ℝ∖{0}a\in\mathbb{R}\setminus\{0\} be a rational point; that is, a∈ℚ∖{0}a\in\mathbb{Q}\setminus\{0\}. We shall show hh is discontinuous at aa. Indeed, let ε:=|a|/2>0\varepsilon:=|a|/2>0 and δ>0\delta>0 be given. By the density of the irrationals from Lemma 1.53, we know that there exists some x∈(a−δ,a+δ)x\in(a-\delta,a+\delta) with x∈ℝ∖ℚx\in\mathbb{R}\setminus\mathbb{Q}. Thus, |x−a|<δ|x-a|<\delta and

|h⁢(x)−h⁢(a)|=|0−a|=|a|>|a|/2=ε.|h(x)-h(a)|=|0-a|=|a|>|a|/2=\varepsilon.

Hence, by definition, hh is discontinuous at aa.

Now let a∈ℝ∖{0}a\in\mathbb{R}\setminus\{0\} be an irrational point. Using a similar argument to that above, we shall show hh is discontinuous at aa. Indeed, again let ε:=|a|/2>0\varepsilon:=|a|/2>0 and δ>0\delta>0 be given. Define δ0:=min⁡{δ,|a|/2}\delta_{0}:=\min\{\delta,|a|/2\}. By the density of the rationals from Lemma 1.49, we know that there exists some x∈(a−δ0,a+δ0)x\in(a-\delta_{0},a+\delta_{0}) with x∈ℚx\in\mathbb{Q}. Thus, |x−a|<δ|x-a|<\delta and, by the triangle inequality,

|h⁢(x)−h⁢(a)|=|x−0|=|x|≥|a|−|x−a|>|a|−δ0≥|a|/2=ε.|h(x)-h(a)|=|x-0|=|x|\geq|a|-|x-a|>|a|-\delta_{0}\geq|a|/2=\varepsilon.

Hence, by definition, hh is discontinuous at aa.

Exercise 4.46

We know from Lemma 4.32 that |cos⁡x−1|≤x2/2|\cos x-1|\leq x^{2}/2 for all x∈[−π/2,π/2]x\in[-\pi/2,\pi/2]. Consequently, if 0<|x|≤π/20<|x|\leq\pi/2, then

|cos⁡x−1x|≤x22⋅1|x|=|x|2.\Big{|}\frac{\cos x-1}{x}\Big{|}\leq\frac{x^{2}}{2}\cdot\frac{1}{|x|}=\frac{|x% |}{2}.

Let ε>0\varepsilon>0 be given and choose δ:=min⁡{π/2,ε}>0\delta:=\min\{\pi/2,\varepsilon\}>0. If 0<|x|<δ0<|x|<\delta, then 0<|x|≤π/20<|x|\leq\pi/2 and it follows from our earlier observations that

|cos⁡x−1x|≤|x|2<ε.\Big{|}\frac{\cos x-1}{x}\Big{|}\leq\frac{|x|}{2}<\varepsilon.

Thus, by the ε\varepsilon-δ\delta definition, cos⁡x−1x→0\frac{\cos x-1}{x}\to 0 as x→0x\to 0.

Exercise 4.47

We claim that limx→1f⁢(x)=0\lim_{x\to 1}f(x)=0. To see this, let ε>0\varepsilon>0 be given. We break the proof up into two parts.

  • •
    ​

    Since sin:ℝ→ℝ\sin\colon\mathbb{R}\to\mathbb{R} is continuous by Lemma 4.33 (and, in particular, continuous at the point π\pi), there exists some η1>0\eta_{1}>0 such that

    |sin⁡(π⁢x)−0|=|sin⁡(π⁢x)−sin⁡(π)|<εif x∈ℝ satisfies |π⁢x−π|<η1.|\sin(\pi x)-0|=|\sin(\pi x)-\sin(\pi)|<\varepsilon\qquad\text{if $x\in\mathbb% {R}$ satisfies $|\pi x-\pi|<\eta_{1}$.}

    If we define δ1:=η1/π>0\delta_{1}:=\eta_{1}/\pi>0, then it follows that

    |sin⁡(π⁢x)−0|<εif x∈ℝ satisfies |x−1|<δ1.|\sin(\pi x)-0|<\varepsilon\qquad\text{if $x\in\mathbb{R}$ satisfies $|x-1|<% \delta_{1}$.}
  • •
    ​

    For x∈ℝx\in\mathbb{R}, we have

    |x2−1−0|=|x+1|⁢|x−1||x^{2}-1-0|=|x+1||x-1|

    If |x−1|<1|x-1|<1, then it follows from the triangle inequality that

    |x+1|=|x−1+2|≤|x−1|+2<3.|x+1|=|x-1+2|\leq|x-1|+2<3.

    Thus, in this case we have

    |x2−1−0|=|x+1|⁢|x−1|<3⁢|x−1|.|x^{2}-1-0|=|x+1||x-1|<3|x-1|.

    Now choose δ2:=min⁡{1,ε/3}>0\delta_{2}:=\min\{1,\varepsilon/3\}>0. If x∈ℝx\in\mathbb{R} satisfies |x−1|<δ2|x-1|<\delta_{2}, then |x−1|<1|x-1|<1 and it follows from the above observations that

    |x2−1−0|<3⁢|x−1|<3⁢δ2≤ε.|x^{2}-1-0|<3|x-1|<3\delta_{2}\leq\varepsilon.

Now set δ:=min⁡{δ1,δ2}>0\delta:=\min\{\delta_{1},\delta_{2}\}>0. If x∈ℝx\in\mathbb{R} satisfies 0<|x−1|<δ0<|x-1|<\delta, then it follows from the above that |f⁢(x)−0|<ε|f(x)-0|<\varepsilon. Hence, by the ε\varepsilon-δ\delta definition of a limit, f⁢(x)→0f(x)\to 0 as x→1x\to 1.

Finally, note that

limx→1f⁢(x)=0≠1066=f⁢(1)\lim_{x\to 1}f(x)=0\neq 1066=f(1)

and so the function ff is not continuous at 11 by the limit characterisation of continuity from Lemma 4.42.

Exercise 4.48

(i) There are many examples. For instance, let f⁢(x):=xf(x):=x for all x∈ℝx\in\mathbb{R}. Then we know that limx→0f⁢(x)=0\lim_{x\to 0}f(x)=0, but ff is unbounded.

(ii) 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} and suppose ℓ:=limx→af⁢(x)\ell:=\lim_{x\to a}f(x) exists. By the definition of a limit with ε:=1\varepsilon:=1, there exists some δ0>0\delta_{0}>0 such that

|f⁢(x)−ℓ|<1for all x∈I satisfying 0<|x−a|<δ0.|f(x)-\ell|<1\qquad\text{for all $x\in I$ satisfying $0<|x-a|<\delta_{0}$.}

Define M:=|ℓ|+1M:=|\ell|+1 and suppose x∈(a−δ0,a+δ0)∩I∖{a}x\in(a-\delta_{0},a+\delta_{0})\cap I\setminus\{a\}. Then, by the triangle inequality,

|f⁢(x)|≤|ℓ|+|f⁢(x)−ℓ|<|ℓ|+1≤M,|f(x)|\leq|\ell|+|f(x)-\ell|<|\ell|+1\leq M,

as required.

Exercise 4.50

Let ℓ:=limx→af⁢(x)\displaystyle\ell:=\lim_{x\to a}f(x) and m:=limx→ag⁢(x)\displaystyle m:=\lim_{x\to a}g(x).

1. Let ε>0\varepsilon>0 be given. Since f⁢(x)→ℓf(x)\to\ell and g⁢(x)→mg(x)\to m as x→ax\to a, by the ε\varepsilon-δ\delta definition of a limit, there exists some δ1\delta_{1}, δ2>0\delta_{2}>0 such that

|f⁢(x)−ℓ|<ε2for all x∈I satisfying 0<|x−a|<δ1|f(x)-\ell|<\frac{\varepsilon}{2}\qquad\text{for all $x\in I$ satisfying $0<|x% -a|<\delta_{1}$}

and

|g⁢(x)−m|<ε2for all x∈I satisfying 0<|x−a|<δ2.|g(x)-m|<\frac{\varepsilon}{2}\qquad\text{for all $x\in I$ satisfying $0<|x-a|% <\delta_{2}$.}

Choose δ:=min⁡{δ1,δ2}>0\delta:=\min\{\delta_{1},\delta_{2}\}>0. By the triangle inequality,

|f⁢(x)+g⁢(x)−(ℓ+m)|\displaystyle|f(x)+g(x)-(\ell+m)| ≤|f⁢(x)−ℓ|+|g⁢(x)−m|\displaystyle\leq|f(x)-\ell|+|g(x)-m|
<ε2+ε2=εfor all x∈I satisfying 0<|x−a|<δ.\displaystyle<\frac{\varepsilon}{2}+\frac{\varepsilon}{2}=\varepsilon\qquad% \text{for all $x\in I$ satisfying $0<|x-a|<\delta$.}

Thus, by the ε\varepsilon-δ\delta definition of a limit, f⁢(x)+g⁢(x)→ℓ+mf(x)+g(x)\to\ell+m as x→ax\to a.

2. By Exercise 4.48, since f⁢(x)→ℓf(x)\to\ell as x→ax\to a, the function ff is locally bounded around aa. More precisely, there exists some δ0>0\delta_{0}>0 and some M>0M>0 such that |f⁢(x)|≤M|f(x)|\leq M for all x∈Ix\in I satisfying 0<|x−a|<δ00<|x-a|<\delta_{0}.

Let ε>0\varepsilon>0 be given. Since f⁢(x)→af(x)\to a and g⁢(x)→bg(x)\to b as x→ax\to a, by the ε\varepsilon-δ\delta definition of a limit, there exists some δ1\delta_{1}, δ2>0\delta_{2}>0 such that

|f⁢(x)−ℓ|<ε2⁢(|m|+1)for all x∈I satisfying 0<|x−a|<δ1|f(x)-\ell|<\frac{\varepsilon}{2(|m|+1)}\qquad\text{for all $x\in I$ % satisfying $0<|x-a|<\delta_{1}$}

and

|g⁢(x)−m|<ε2⁢Mfor all x∈I satisfying 0<|x−a|<δ2.|g(x)-m|<\frac{\varepsilon}{2M}\qquad\text{for all $x\in I$ satisfying $0<|x-a% |<\delta_{2}$.}

Choose δ:=min⁡{δ0,δ1,δ2}>0\delta:=\min\{\delta_{0},\delta_{1},\delta_{2}\}>0. By the triangle inequality,

|f⁢(x)⋅g⁢(x)−ℓ⋅m|\displaystyle|f(x)\cdot g(x)-\ell\cdot m| =|m⁢(f⁢(x)−ℓ)+f⁢(x)⁢(g⁢(x)−m)|\displaystyle=\big{|}m(f(x)-\ell)+f(x)(g(x)-m)\big{|}
≤|m|⁢|f⁢(x)−ℓ|+|f⁢(x)|⁢|g⁢(x)−m|\displaystyle\leq|m||f(x)-\ell|+|f(x)||g(x)-m|
≤|m|⁢|f⁢(x)−ℓ|+M⁢|g⁢(x)−m|\displaystyle\leq|m||f(x)-\ell|+M|g(x)-m|
<ε2⁢(|m|+1)⋅|m|+ε2⁢M⋅M\displaystyle<\frac{\varepsilon}{2(|m|+1)}\cdot|m|+\frac{\varepsilon}{2M}\cdot M
≤εfor all x∈I satisfying 0<|x−a|<δ.\displaystyle\leq\varepsilon\qquad\qquad\text{for all $x\in I$ satisfying $0<|% x-a|<\delta$.}

Thus, by the ε\varepsilon-δ\delta definition of a limit, f⁢(x)⋅g⁢(x)→ℓ⋅mf(x)\cdot g(x)\to\ell\cdot m as x→ax\to a.

3. We first show that limx→a1/g⁢(x)=1/m\displaystyle\lim_{x\to a}1/g(x)=1/m.

Let ε>0\varepsilon>0. Since g⁢(x)→bg(x)\to b as n→∞n\to\infty and b≠0b\neq 0, by the ε\varepsilon-δ\delta definition of a limit, there exists some δ>0\delta>0 such that

|g⁢(x)−m|<min⁡{|m|2,|m|2⁢ε2}for all x∈I satisfying 0<|x−a|<δ.|g(x)-m|<\min\Big{\{}\frac{|m|}{2},\frac{|m|^{2}\varepsilon}{2}\Big{\}}\qquad% \text{for all $x\in I$ satisfying $0<|x-a|<\delta$.}

Thus, if x∈Ix\in I satisfies 0<|x−a|<δ0<|x-a|<\delta, then it follows by the triangle inequality that

|g⁢(x)|≥|m|−|g⁢(x)−m|>|m|−|m|/2=|m|/2|g(x)|\geq|m|-|g(x)-m|>|m|-|m|/2=|m|/2

and so

|1g⁢(x)−1m|=|g⁢(x)−m||m|⁢|g⁢(x)|≤2⁢|g⁢(x)−m||m|2<2|m|2⋅|m|2⁢ε2=ε.\Big{|}\frac{1}{g(x)}-\frac{1}{m}\Big{|}=\frac{|g(x)-m|}{|m||g(x)|}\leq\frac{2% |g(x)-m|}{|m|^{2}}<\frac{2}{|m|^{2}}\cdot\frac{|m|^{2}\varepsilon}{2}=\varepsilon.

Hence, by the ε\varepsilon-δ\delta definition of a limit, 1/g⁢(x)→1/m1/g(x)\to 1/m as x→ax\to a.

Since f⁢(x)→ℓf(x)\to\ell as x→ax\to a and 1/g⁢(x)→1/m1/g(x)\to 1/m as x→ax\to a, we can use the result from part 2 to conclude that f⁢(x)/g⁢(x)→ℓ/mf(x)/g(x)\to\ell/m as x→ax\to a, as required.

Exercise 4.52

Let I⊆ℝI\subseteq\mathbb{R} be an interval and ff, g:I→ℝg\colon I\to\mathbb{R} be continuous. Given a∈Ia\in I, by the characterisation of continuity from Lemma 4.42, we know that

(A.12) (A.12) limx→af⁢(x)=f⁢(a)andlimx→ag⁢(x)=g⁢(a).\lim_{x\to a}f(x)=f(a)\qquad\text{and}\qquad\lim_{x\to a}g(x)=g(a).

1) By Theorem 4.49 1) and (A.12), we know that

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

Hence, by Lemma 4.42, it follows that f+g:I→ℝf+g\colon I\to\mathbb{R} is continuous at aa.

2) By Theorem 4.49 2) and (A.12), we know that

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

Hence, by Lemma 4.42, it follows that f⋅g:I→ℝf\cdot g\colon I\to\mathbb{R} is continuous at aa.

3) Suppose g⁢(x)≠0g(x)\neq 0 for all x∈Ix\in I. By Theorem 4.49 3) and (A.12), we know that

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

Hence, by Lemma 4.42, it follows that (f/g):I→ℝ(f/g)\colon I\to\mathbb{R} is continuous at aa.

The above argument shows that f+gf+g, f⋅gf\cdot g and, under the above additional hypothesis, f/gf/g are all continuous at a∈Ia\in I. Since a∈Ia\in I was chosen arbitrarily, it follows that these functions are continuous.

Exercise 4.54

We know from Lemma 4.33 that the functions sin:ℝ→ℝ\sin\colon\mathbb{R}\to\mathbb{R} and cos:ℝ→ℝ\cos\colon\mathbb{R}\to\mathbb{R} are both continuous. Furthermore, from Example 4.53, we know any polynomial function is continuous. It therefore follows from the limit laws that the functions

x↦sin2⁡x+10⁢x5+cos⁡xandx↦sin4⁡x+5⁢x2+2for all x∈ℝx\mapsto\sin^{2}x+10x^{5}+\cos x\qquad\text{and}\qquad x\mapsto\sin^{4}x+5x^{2% }+2\qquad\text{for all $x\in\mathbb{R}$}

are both continuous. Finally, since sin4⁡x+5⁢x2+2≥2>0\sin^{4}x+5x^{2}+2\geq 2>0 for all x∈ℝx\in\mathbb{R}, it again follows by the limit laws that

f⁢(x):=sin2⁡x+10⁢x5+cos⁡xsin4⁡x+5⁢x2+2for all x∈ℝf(x):=\frac{\sin^{2}x+10x^{5}+\cos x}{\sin^{4}x+5x^{2}+2}\qquad\text{for all $% x\in\mathbb{R}$}

is continuous.

Exercise 4.58

We know from Lemma 4.33 that sin:ℝ→ℝ\sin\colon\mathbb{R}\to\mathbb{R} is continuous. We also know that sin⁡x+2≥1>0\sin x+2\geq 1>0 for all x∈ℝx\in\mathbb{R}. Thus, from the limit laws, the function x↦(sin⁡x+2)−1x\mapsto(\sin x+2)^{-1} is continuous. Finally, again by Lemma 4.33, we know that cos:ℝ→ℝ\cos\colon\mathbb{R}\to\mathbb{R} is continuous. Hence, the function 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 a composition of the continuous functions cos\cos and x↦(sin⁡x+2)−1x\mapsto(\sin x+2)^{-1}, and hence by the composition law (Theorem 4.55), ff is continuous.

Exercise 4.63

(i) Note that −1/n2→0-1/n^{2}\to 0 as n→∞n\to\infty. We know from (the borrowed!) Lemma 4.35 that the exponential function exp:ℝ→ℝ\exp\colon\mathbb{R}\to\mathbb{R} is continuous. Thus, by the sequential continuity theorem,

limn→∞exp⁡(−1/n2)=exp⁡(limn→∞−1/n2)=exp⁡(0)=1.\lim_{n\to\infty}\exp(-1/n^{2})=\exp\Big{(}\lim_{n\to\infty}-1/n^{2}\Big{)}=% \exp(0)=1.

(ii) We may write

2n⁢e+n2n+4=2n⁢(e+n⁢2−n)2n⁢(1+22−n)=e+n⁢2−n1+22−n.\frac{2^{n}e+n}{2^{n}+4}=\frac{2^{n}(e+n2^{-n})}{2^{n}(1+2^{2-n})}=\frac{e+n2^% {-n}}{1+2^{2-n}}.

We know that n⁢2−n→0n2^{-n}\to 0 and 22−n→02^{2-n}\to 0 as n→∞n\to\infty. Thus,

2n⁢e+n2n+4→eas n→∞.\frac{2^{n}e+n}{2^{n}+4}\to e\qquad\text{as $n\to\infty$.}

We know from (the borrowed!) Lemma 4.35 that the natural logarithm log:(0,∞)→ℝ\log\colon(0,\infty)\to\mathbb{R} is continuous. Thus, by the sequential continuity theorem,

limn→∞log⁡(2n⁢e+n2n+4)=log⁡(limn→∞2n⁢e+n2n+4)=log⁡(e)=1.\lim_{n\to\infty}\log\Big{(}\frac{2^{n}e+n}{2^{n}+4}\Big{)}=\log\Big{(}\lim_{n% \to\infty}\frac{2^{n}e+n}{2^{n}+4}\Big{)}=\log(e)=1.

Exercise 4.66

For x∈ℝx\in\mathbb{R}, observe that

3⁢x2+5⁢x+22⁢x2+x+4−32=6⁢x2+10⁢x+42⁢(2⁢x2+x+4)−6⁢x2+3⁢x+122⁢(2⁢x2+x+4).\frac{3x^{2}+5x+2}{2x^{2}+x+4}-\frac{3}{2}=\frac{6x^{2}+10x+4}{2(2x^{2}+x+4)}-% \frac{6x^{2}+3x+12}{2(2x^{2}+x+4)}.

Thus, if we assume x>8/7x>8/7, then

|3⁢x2+5⁢x+22⁢x2+x+4−32|=7⁢x−82⁢(2⁢x2+x+4)≤7⁢x4⁢x2<2x.\Big{|}\frac{3x^{2}+5x+2}{2x^{2}+x+4}-\frac{3}{2}\Big{|}=\frac{7x-8}{2(2x^{2}+% x+4)}\leq\frac{7x}{4x^{2}}<\frac{2}{x}.

Let ε>0\varepsilon>0 and choose R:=max⁡{2/ε,8/7}R:=\max\{2/\varepsilon,8/7\}. If x>Rx>R, then our earlier observations show that

|3⁢x2+5⁢x+22⁢x2+x+4−32|<2x<2R≤ε.\Big{|}\frac{3x^{2}+5x+2}{2x^{2}+x+4}-\frac{3}{2}\Big{|}<\frac{2}{x}<\frac{2}{% R}\leq\varepsilon.

Hence, by the ε\varepsilon-RR definition of a limit, 3⁢x2+5⁢x+22⁢x2+x+4→32\tfrac{3x^{2}+5x+2}{2x^{2}+x+4}\to\tfrac{3}{2} as x→∞x\to\infty.

Exercise 4.69

(i) For x>0x>0 we may write

exp⁡(x)+10⁢x3+4⁢x2exp⁡(x)−1=10⁢x3exp⁡(x)+4⁢x2exp⁡(x).\frac{\exp(x)+10x^{3}+4x^{2}}{\exp(x)}-1=\frac{10x^{3}}{\exp(x)}+\frac{4x^{2}}% {\exp(x)}.

Let ε>0\varepsilon>0 be given. We know from Lemma 4.67 that there exists:

  • •
    ​

    Some R1≥1R_{1}\geq 1 such that exp⁡(x)≥20⁢ε−1⁢x3\exp(x)\geq 20\varepsilon^{-1}x^{3} for all x>R1x>R_{1};

  • •
    ​

    Some R2≥1R_{2}\geq 1 such that exp⁡(x)≥8⁢ε−1⁢x2\exp(x)\geq 8\varepsilon^{-1}x^{2} for all x>R2x>R_{2}.

Let R:=max⁡{R1,R2}≥1R:=\max\{R_{1},R_{2}\}\geq 1. Then for all x>Rx>R we have

0≤10⁢x3exp⁡(x)≤1020⁢ε−1=ε2and0≤4⁢x2exp⁡(x)≤48⁢ε−1=ε2.0\leq\frac{10x^{3}}{\exp(x)}\leq\frac{10}{20\varepsilon^{-1}}=\frac{% \varepsilon}{2}\qquad\text{and}\qquad 0\leq\frac{4x^{2}}{\exp(x)}\leq\frac{4}{% 8\varepsilon^{-1}}=\frac{\varepsilon}{2}.

In particular,

|exp⁡(x)+10⁢x3+4⁢x2exp⁡(x)−1|<ε2+ε2=εfor all x>R.\Big{|}\frac{\exp(x)+10x^{3}+4x^{2}}{\exp(x)}-1\Big{|}<\frac{\varepsilon}{2}+% \frac{\varepsilon}{2}=\varepsilon\quad\text{for all $x>R$.}

Hence, by the ε\varepsilon-RR definition of a limit, exp⁡(x)+10⁢x3+4⁢x2exp⁡(x)→1\frac{\exp(x)+10x^{3}+4x^{2}}{\exp(x)}\to 1 as x→∞x\to\infty.

(ii) Let ε>0\varepsilon>0 be given. By Lemma 4.67 we know there exists some S≥1S\geq 1 such that log⁡x≤(ε⁢x)1/100\log x\leq(\varepsilon x)^{1/100} for all x>Sx>S. Consequently,

0≤(log⁡x)100x≤ε⁢xx=εfor all x>S.0\leq\frac{(\log x)^{100}}{x}\leq\frac{\varepsilon x}{x}=\varepsilon\qquad% \text{for all $x>S$.}

Hence, by the ε\varepsilon-RR definition of a limit, (log⁡x)100x→0\frac{(\log x)^{100}}{x}\to 0 as x→∞x\to\infty.

Exercise 4.72

1 ⇒\Rightarrow 2. Suppose 1 holds; that is, limx→af⁢(x)\displaystyle\lim_{x\to a}f(x) exists and satisfies limx→af⁢(x)=ℓ\displaystyle\lim_{x\to a}f(x)=\ell.

Let ε>0\varepsilon>0 be given. By definition, there exists some δ>0\delta>0 such that for all x∈Ix\in I satisfying 0<|x−a|<δ0<|x-a|<\delta, we have |f⁢(x)−ℓ|<ε|f(x)-\ell|<\varepsilon. In particular:

  • •
    ​

    For all x∈Ix\in I satisfying a<x<a+δa<x<a+\delta, we have |f⁢(x)−ℓ|<ε|f(x)-\ell|<\varepsilon. Thus, by the ε\varepsilon-δ\delta definition, limx→a+f⁢(x)=ℓ\displaystyle\lim_{x\to a_{+}}f(x)=\ell.

  • •
    ​

    For all x∈Ix\in I satisfying a−δ<x<aa-\delta<x<a, we have |f⁢(x)−ℓ|<ε|f(x)-\ell|<\varepsilon. Thus, by the ε\varepsilon-δ\delta definition, limx→a−f⁢(x)=ℓ\displaystyle\lim_{x\to a_{-}}f(x)=\ell.

2 ⇒\Rightarrow 1. Suppose 2 holds; that is, limx→a−f⁢(x)\displaystyle\lim_{x\to a_{-}}f(x) and 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.

Let ε>0\varepsilon>0 be given. By definition, there exists some δ1\delta_{1}, δ2>0\delta_{2}>0 such that

  • •
    ​

    For all x∈Ix\in I satisfying a<x<a+δ1a<x<a+\delta_{1}, we have |f⁢(x)−ℓ|<ε|f(x)-\ell|<\varepsilon.

  • •
    ​

    For all x∈Ix\in I satisfying a−δ2<x<aa-\delta_{2}<x<a, we have |f⁢(x)−ℓ|<ε|f(x)-\ell|<\varepsilon.

Let δ:=min⁡{δ1,δ2}>0\delta:=\min\{\delta_{1},\delta_{2}\}>0. Then, by the above, for all x∈Ix\in I satisfying 0<|x−a|<δ0<|x-a|<\delta we have |f⁢(x)−ℓ|<ε|f(x)-\ell|<\varepsilon. Thus, by the ε\varepsilon-δ\delta definition, limx→af⁢(x)=ℓ\displaystyle\lim_{x\to a}f(x)=\ell.

Exercise 4.74

We claim that limx→1+f⁢(x)=1\displaystyle\lim_{x\to 1_{+}}f(x)=1.

For x>1x>1, observe that

|f⁢(x)−1|=|x2−1|=|x+1|⁢|x−1|≤(|x|+1)⁢|x−1|.|f(x)-1|=|x^{2}-1|=|x+1||x-1|\leq(|x|+1)|x-1|.

Thus, if we have 1<x<21<x<2, then

|f⁢(x)−1|≤(x+1)⁢|x−1|<3⁢(x−1).|f(x)-1|\leq(x+1)|x-1|<3(x-1).

Let ε>0\varepsilon>0 and choose δ:=min⁡{1,ε/3}\delta:=\min\{1,\varepsilon/3\}. If 1<x<1+δ≤21<x<1+\delta\leq 2, then it follows from our earlier observation that

|f⁢(x)−1|≤3⁢(x−1)<ε.|f(x)-1|\leq 3(x-1)<\varepsilon.

Hence, by the ε\varepsilon-δ\delta definition, limx→1+f⁢(x)=1\displaystyle\lim_{x\to 1_{+}}f(x)=1.

We claim that limx→1−f⁢(x)=1\displaystyle\lim_{x\to 1_{-}}f(x)=1.

Let ε>0\varepsilon>0 and recall from Lemma 4.33 that sin:ℝ→ℝ\sin\colon\mathbb{R}\to\mathbb{R} is continuous. Hence there exists some δ0>0\delta_{0}>0 such that

(A.13) (A.13) if |y−π/2|<δ0|y-\pi/2|<\delta_{0}, then |sin⁡y−1|=|sin⁡y−sin⁡(π/2)|<ε|\sin y-1|=|\sin y-\sin(\pi/2)|<\varepsilon.

On the other hand, observe that for 1/2<x<11/2<x<1 we have

|π2⁢x−π2|=π2⋅|x−1|x<π⁢(1−x).\Big{|}\frac{\pi}{2x}-\frac{\pi}{2}\Big{|}=\frac{\pi}{2}\cdot\frac{|x-1|}{x}<% \pi(1-x).

Now let δ:=min⁡{1/2,δ0/π}>0\delta:=\min\big{\{}1/2,\delta_{0}/\pi\}>0. If 1/2<1−δ<x<11/2<1-\delta<x<1, then it follows from our earlier observations that

|π2⁢x−π2|<π⁢(1−x)<π⁢δ≤δ0.\Big{|}\frac{\pi}{2x}-\frac{\pi}{2}\Big{|}<\pi(1-x)<\pi\delta\leq\delta_{0}.

We can therefore apply (A.13) with y=π/(2⁢x)y=\pi/(2x) to conclude that

|f⁢(x)−1|=|sin⁡(π/(2⁢x))−sin⁡(π/2)|<ε.|f(x)-1|=\big{|}\sin\big{(}\pi/(2x)\big{)}-\sin(\pi/2)\big{|}<\varepsilon.

Hence, by the ε\varepsilon-δ\delta definition, limx→1−f⁢(x)=1\displaystyle\lim_{x\to 1_{-}}f(x)=1.

From the above, limx→1+f⁢(x)=1=limx→1−f⁢(x)\lim_{x\to 1_{+}}f(x)=1=\lim_{x\to 1_{-}}f(x). Hence, by Exercise 4.72, we know that limx→1f⁢(x)=1\displaystyle\lim_{x\to 1}f(x)=1.

Finally, since limx→1f⁢(x)=1≠f⁢(1)=−1485\displaystyle\lim_{x\to 1}f(x)=1\neq f(1)=-1485, we conclude from Lemma 4.42 that ff is not continuous at 11.

Exercise 4.77

Here is a suggested interpretation.

MM-δ\delta definition (4.4) Informal idea
For all M>0M>0 Given any threshold M>0M>0
there exists some δ>0\delta>0 there exists some small distance δ\delta
such that if x∈Ix\in I satisfies 0<|x−a|<δ0<|x-a|<\delta, such that if the point xx is within δ\delta of aa
then f⁢(x)>Mf(x)>M. then f⁢(x)f(x) lies beyond the threshold MM.

Exercise 4.79

(i) For 2≤x≤42\leq x\leq 4, we have

(A.14) (A.14) |x3−27|=|x2+3⁢x+9|⁢|x−3|≤(16+12+9)⁢|x−3|<40⁢|x−3|.|x^{3}-27|=|x^{2}+3x+9||x-3|\leq(16+12+9)|x-3|<40|x-3|.

Given M>0M>0, choose δ:=min⁡{1,1/(40⁢M)}>0\delta:=\min\{1,1/(40\sqrt{M})\}>0. If x∈ℝx\in\mathbb{R} satisfies 0<|x−3|<δ0<|x-3|<\delta, then 2≤x≤42\leq x\leq 4 and so (A.14) holds and 5⁢x≥10≥15x\geq 10\geq 1. Hence,

5⁢x(x3−27)2≥11600⁢|x−3|2>M,\frac{5x}{(x^{3}-27)^{2}}\geq\frac{1}{1600|x-3|^{2}}>M,

since 0<|x−3|2<δ2≤1/(1600⁢M)0<|x-3|^{2}<\delta^{2}\leq 1/(1600M). Hence, by definition, 5⁢x(x3−27)2→∞\frac{5x}{(x^{3}-27)^{2}}\to\infty as x→3x\to 3.

(ii) We know from Example 4.44 that limx→0sin⁡xx=1\lim_{x\to 0}\frac{\sin x}{x}=1. Hence, by the ε\varepsilon-δ\delta definition of a limit with ε:=1/2\varepsilon:=1/2, there exists some δ0>0\delta_{0}>0 such that

if 0<|x|<δ0,then|sin⁡x||x|=sin⁡xx>1/2.\text{if $0<|x|<\delta_{0}$,}\quad\text{then}\quad\frac{|\sin x|}{|x|}=\frac{% \sin x}{x}>1/2.

Now, let M>0M>0 be given and choose δ:=min⁡{1/2⁢M,δ0}\delta:=\min\{1/2M,\delta_{0}\}. If 0<|x|<δ0<|x|<\delta, then it follows that

|sin⁡x|x2=|sin⁡x||x|⋅1|x|>12⋅1|x|>12⋅2⁢M=M.\frac{|\sin x|}{x^{2}}=\frac{|\sin x|}{|x|}\cdot\frac{1}{|x|}>\frac{1}{2}\cdot% \frac{1}{|x|}>\frac{1}{2}\cdot 2M=M.

Thus, by definition, |sin⁡x|x2→∞\frac{|\sin x|}{x^{2}}\to\infty as x→0x\to 0.

Exercise 4.80

(i) For all M<0M<0, 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.

(ii) For all M>0M>0, there exists some δ>0\delta>0 such that if x∈Ix\in I satisfies a<x<a+δa<x<a+\delta, then f⁢(x)>Mf(x)>M.

(iii) For all M<0M<0, there exists some δ>0\delta>0 such that if x∈Ix\in I satisfies a−δ<x<aa-\delta<x<a, then f⁢(x)<Mf(x)<M.

Exercise 4.81

(i) For all M>0M>0, there exists some R>0R>0 such that if x>Rx>R, then f⁢(x)>Mf(x)>M.

(ii) For all M>0M>0, there exists some R<0R<0 such that if x<Rx<R, then f⁢(x)>Mf(x)>M.

Exercise 4.82

(i) Let M>0M>0 be given and choose δ:=1/M>0\delta:=1/M>0. If 0<x<δ0<x<\delta, then 1/x>1/δ=M1/x>1/\delta=M. Hence, by definition, limx→0+1x=∞\lim_{x\to 0_{+}}\frac{1}{x}=\infty.

(ii) Let M<0M<0 be given and choose δ:=1/|M|>0\delta:=1/|M|>0. If −δ<x<0-\delta<x<0, then 1/x<−1/δ=−|M|=M1/x<-1/\delta=-|M|=M. Hence, by definition, limx→0−1x=−∞\lim_{x\to 0_{-}}\frac{1}{x}=-\infty.

(iii) Let M>0M>0 be given and choose R:=MR:=M. If x>Rx>R, then we know from the definition of the exponential function that

exp⁡(x)=∑k=0∞xkk!=1+x+∑k=2∞xkk!≥1+x>1+R>R=M.\exp(x)=\sum_{k=0}^{\infty}\frac{x^{k}}{k!}=1+x+\sum_{k=2}^{\infty}\frac{x^{k}% }{k!}\geq 1+x>1+R>R=M.

Hence, by definition, limx→∞exp⁡(x)=∞\displaystyle\lim_{x\to\infty}\exp(x)=\infty.

Exercise 4.84

We apply the change of variables h=1/x2h=1/x^{2} to get

x2⁢sin⁡(1/x2)=sin⁡hhfor h=1/x2>0 with x>0.x^{2}\sin(1/x^{2})=\frac{\sin h}{h}\qquad\text{for $h=1/x^{2}>0$ with $x>0$.}

Recall from Example 4.44 that limh→0+sin⁡(h)h=1\lim_{h\to 0_{+}}\frac{\sin(h)}{h}=1. Since x=1/h2→∞x=1/h^{2}\to\infty as h→0+h\to 0_{+}, it follows from the composition law that limx→∞x2⁢sin⁡(1/x2)=1\lim_{x\to\infty}x^{2}\sin(1/x^{2})=1, as required.

Exercise 4.90

(i) We claim that limx→4+f⁢(x)=∞\displaystyle\lim_{x\to 4_{+}}f(x)=\infty, and so ff has an essential discontinuity at a=4a=4.

To see this, let M>0M>0 be given and choose δ:=min⁡{1/M,1}>0\delta:=\min\{1/M,1\}>0. If 4<x<4+δ4<x<4+\delta, then 0<x−4<δ0<x-4<\delta and so

f⁢(x)=5(x−4)3>5δ3≥1δ≥M.f(x)=\frac{5}{(x-4)^{3}}>\frac{5}{\delta^{3}}\geq\frac{1}{\delta}\geq M.

Hence, by definition, limx→4+f⁢(x)=∞\displaystyle\lim_{x\to 4_{+}}f(x)=\infty.

(ii) We claim that limx→0+f⁢(x)=limx→0−f⁢(x)=0\displaystyle\lim_{x\to 0_{+}}f(x)=\lim_{x\to 0_{-}}f(x)=0.

Let ε>0\varepsilon>0 be given and choose δ:=min⁡{1,ε}>0\delta:=\min\{1,\varepsilon\}>0. If 0<|x|<δ0<|x|<\delta, then it follows from Lemma 4.32 that

|f⁢(x)−0|=|sin⁡x2|≤|x|2<δ2≤δ≤ε.|f(x)-0|=|\sin x^{2}|\leq|x|^{2}<\delta^{2}\leq\delta\leq\varepsilon.

Hence, by the ε\varepsilon-δ\delta definition of a limit, f⁢(x)→0f(x)\to 0 as x→0x\to 0, and the claim now follows from the equivalence in Exercise 4.72.

Since,

f⁢(0)=2≠0=limx→0+f⁢(x)=limx→0−f⁢(x),f(0)=2\neq 0=\lim_{x\to 0_{+}}f(x)=\lim_{x\to 0_{-}}f(x),

it follows that ff has a removable discontinuity at a=0a=0.

(iii) We claim that limx→0+f⁢(x)\displaystyle\lim_{x\to 0_{+}}f(x) does not exist, so ff has an essential discontinuity at a=0a=0.

Arguing by contradiction, suppose limx→0+f⁢(x)\lim_{x\to 0_{+}}f(x) exists and, in particular, limx→0+f⁢(x)=ℓ\lim_{x\to 0_{+}}f(x)=\ell for some ℓ∈ℝ\ell\in\mathbb{R}.

Choose ε:=1/2\varepsilon:=1/2. By the ε\varepsilon-δ\delta definition of a one-sided limit, there exists some δ>0\delta>0 such that

(A.15) (A.15) |f⁢(x)−ℓ|<1/2for all 0<x<δ.|f(x)-\ell|<1/2\qquad\text{for all $0<x<\delta$.}

Note that there exists some n∈ℕn\in\mathbb{N} such that 0<xn,yn<δ0<x_{n},y_{n}<\delta where

xn:=2π⁢(4⁢n+1)satisfies1xn2=2⁢π⁢n+π2x_{n}:=\sqrt{\frac{2}{\pi(4n+1)}}\qquad\text{satisfies}\qquad\frac{1}{x_{n}^{2% }}=2\pi n+\frac{\pi}{2}

and

yn:=2π⁢(4⁢n+3)satisfies1yn2=2⁢π⁢n+3⁢π2.y_{n}:=\sqrt{\frac{2}{\pi(4n+3)}}\qquad\text{satisfies}\qquad\frac{1}{y_{n}^{2% }}=2\pi n+\frac{3\pi}{2}.

In particular, by the periodicity of the sin\sin function,

f⁢(xn)\displaystyle f(x_{n}) =sin⁡(1/xn2)=sin⁡(2⁢π⁢n+π/2)=sin⁡(π/2)=1,\displaystyle=\sin(1/x_{n}^{2})=\sin(2\pi n+\pi/2)=\sin(\pi/2)=1,
f⁢(yn)\displaystyle f(y_{n}) =sin⁡(1/xn2)=sin⁡(2⁢π⁢n+3⁢π/2)=sin⁡(3⁢π/2)=−1.\displaystyle=\sin(1/x_{n}^{2})=\sin(2\pi n+3\pi/2)=\sin(3\pi/2)=-1.

Thus, 0<xn,yn<δ0<x_{n},y_{n}<\delta and |f⁢(xn)−f⁢(yn)|=2≥ε|f(x_{n})-f(y_{n})|=2\geq\varepsilon. However, by (A.15) we must have

|f⁢(xn)−ℓ|<1/2and|f⁢(yn)−ℓ|<1/2.|f(x_{n})-\ell|<1/2\qquad\text{and}\qquad|f(y_{n})-\ell|<1/2.

Thus, by the triangle inequality,

2=|f⁢(xn)−f⁢(yn)|=|f⁢(xn)−ℓ+ℓ−f⁢(yn)|\displaystyle 2=|f(x_{n})-f(y_{n})|=|f(x_{n})-\ell+\ell-f(y_{n})| ≤|f⁢(xn)−ℓ|+|f⁢(yn)−ℓ|\displaystyle\leq|f(x_{n})-\ell|+|f(y_{n})-\ell|
<1/2+1/2=1<2,\displaystyle<1/2+1/2=1<2,

a contradiction. Thus, the one-sided limit must fail to exist.

Alternatively, we can argue using a one-sided variant of Lemma 4.59. Assume limx→0+f⁢(x)=ℓ\lim_{x\to 0_{+}}f(x)=\ell as above. Since xn→0x_{n}\to 0 and yn→0y_{n}\to 0 as n→∞n\to\infty and xnx_{n}, yn>0y_{n}>0 for all n∈ℕn\in\mathbb{N}, it is not difficult to show (arguing as in the proof of Lemma 4.59) that we must have

limn→∞f⁢(xn)=ℓandlimn→∞f⁢(yn)=ℓ.\lim_{n\to\infty}f(x_{n})=\ell\quad\text{and}\quad\lim_{n\to\infty}f(y_{n})=\ell.

However, we have already shown that f⁢(xn)=1f(x_{n})=1 and f⁢(yn)=−1f(y_{n})=-1 for all n∈ℕn\in\mathbb{N}. This implies that

1=limn→∞f⁢(xn)=ℓ=limn→∞f⁢(yn)=−1,1=\lim_{n\to\infty}f(x_{n})=\ell=\lim_{n\to\infty}f(y_{n})=-1,

which is again a contradiction.

(iv) We claim that limx→1+f⁢(x)=0\displaystyle\lim_{x\to 1_{+}}f(x)=0 and limx→1−f⁢(x)=0\displaystyle\lim_{x\to 1_{-}}f(x)=0, so ff has a jump discontinuity at a=1a=1.

For the left-sided limit, for x≤1x\leq 1 note that

|f⁢(x)−1|=|x2−1|=|x+1|⁢|x−1|.|f(x)-1|=|x^{2}-1|=|x+1||x-1|.

Hence, if 0<x<10<x<1, then it follows that 1<x+1<21<x+1<2 and so

|f⁢(x)−1|=|x+1|⁢|x−1|=(x+1)⁢|x−1|<2⁢(1−x).|f(x)-1|=|x+1||x-1|=(x+1)|x-1|<2(1-x).

Let ε>0\varepsilon>0 be given and choose δ:=min⁡{1,ε/2}>0\delta:=\min\{1,\varepsilon/2\}>0. If 1−δ<x<11-\delta<x<1, then 0<x<10<x<1 and it follows from our earlier observations that

|f⁢(x)−1|<2⁢(1−x)<2⁢δ≤ε.|f(x)-1|<2(1-x)<2\delta\leq\varepsilon.

Hence, by definition, limx→1−f⁢(x)=1\displaystyle\lim_{x\to 1_{-}}f(x)=1.

For the right-sided limit, for x>1x>1 note that

|f⁢(x)−0|=|1−x3|=|x2+x+1|⁢|x−1|=(x2+x+1)⁢|x−1|.|f(x)-0|=|1-x^{3}|=|x^{2}+x+1||x-1|=(x^{2}+x+1)|x-1|.

If 1<x<21<x<2, then it follows that

|f⁢(x)−0|<(22+2+1)⁢|x−1|=7⁢(x−1).|f(x)-0|<(2^{2}+2+1)|x-1|=7(x-1).

Let ε>0\varepsilon>0 be given and choose δ:=min⁡{1,ε/7}>0\delta:=\min\{1,\varepsilon/7\}>0. If 1<x<1+δ≤21<x<1+\delta\leq 2, then 1<x<21<x<2 and it follows from our earlier observations that

|f⁢(x)−0|<7⁢(x−1)<7⁢δ≤ε.|f(x)-0|<7(x-1)<7\delta\leq\varepsilon.

Hence, by definition, limx→1+f⁢(x)=0\displaystyle\lim_{x\to 1_{+}}f(x)=0.

Alternatively, we can use what we know from earlier examples to study ff. For instance, we know from Example 4.26 that the function p2:ℝ→ℝp_{2}\colon\mathbb{R}\to\mathbb{R} given by p2⁢(x):=x2p_{2}(x):=x^{2} for all x∈ℝx\in\mathbb{R} is continuous. Hence, by Lemma 4.42, we have p2⁢(x)→1p_{2}(x)\to 1 as x→1x\to 1 and therefore, by Exercise 4.72 we have p2⁢(x)→1p_{2}(x)\to 1 as x→1−x\to 1_{-}. Since ff agrees with p2p_{2} for all x≤1x\leq 1, it follows that f⁢(x)→1f(x)\to 1 as x→1−x\to 1_{-}. A similar argument shows that f⁢(x)→0f(x)\to 0 as x→1+x\to 1_{+}.

Exercise 4.93

(i) Fix x0≥0x_{0}\geq 0 and let a:=0a:=0 and b:=1+x0b:=1+x_{0}, so that a<ba<b. Consider the function f:[a,b]→ℝf\colon[a,b]\to\mathbb{R} given by f⁢(x):=x2f(x):=x^{2} for all x∈[a,b]x\in[a,b]. Then ff is continuous and f⁢(a)=f⁢(0)=0<x0f(a)=f(0)=0<x_{0} and f⁢(b)=(1+x0)2=1+2⁢x0+x02>x0f(b)=(1+x_{0})^{2}=1+2x_{0}+x_{0}^{2}>x_{0}. Thus, by the intermediate value theorem, there exists some s≥0s\geq 0 such that s2=f⁢(s)=x0s^{2}=f(s)=x_{0}, as required.

(ii) Fix x0≥0x_{0}\geq 0 and let a:=0a:=0 and b:=1+x0b:=1+x_{0}, so that a<ba<b. Let n∈ℕn\in\mathbb{N} and consider the function f:[a,b]→ℝf\colon[a,b]\to\mathbb{R} given by f⁢(x):=xnf(x):=x^{n} for all x∈[a,b]x\in[a,b]. Then ff is continuous and f⁢(a)=f⁢(0)=0<x0f(a)=f(0)=0<x_{0} and f⁢(b)=(1+x0)n≥1+n⁢x0>x0f(b)=(1+x_{0})^{n}\geq 1+nx_{0}>x_{0}, by the Bernoulli inequality. Thus, by the intermediate value theorem, there exists some s≥0s\geq 0 such that sn=f⁢(s)=x0s^{n}=f(s)=x_{0}, as required.

Exercise 4.96

Consider function f:[−1,1]→ℝf\colon[-1,1]\to\mathbb{R} given by f⁢(x):=1f(x):=1 if x=1x=1 and f⁢(x):=0f(x):=0 if x∈[−1,1]∖{0}x\in[-1,1]\setminus\{0\}. Then the image of ff is the set {0,1}\{0,1\}, which is not an interval.

Exercise 4.98

Let y0∈ℝy_{0}\in\mathbb{R}. Our goal is to show there exists some x0∈ℝx_{0}\in\mathbb{R} such that f⁢(x0)=y0f(x_{0})=y_{0}.

Since limx→∞f⁢(x)=∞\lim_{x\to\infty}f(x)=\infty, it follows that there exists some M>0M>0 such that f⁢(x)>y0f(x)>y_{0} for all x>Mx>M. Similarly, since limx→−∞f⁢(x)=−∞\lim_{x\to-\infty}f(x)=-\infty, there exists some L<0L<0 such that f⁢(x)<y0f(x)<y_{0} for x<Lx<L.

Let a:=L−1a:=L-1 and b:=M+1b:=M+1, so that a<ba<b. Then the restriction of ff to [a,b][a,b] is a continuous function which satisfies f⁢(a)<y0f(a)<y_{0} and f⁢(b)>y0f(b)>y_{0}. By the intermediate value theorem, there must exist some x0∈(a,b)x_{0}\in(a,b) such that f⁢(x0)=y0f(x_{0})=y_{0}, as required.

Exercise 4.99

Let aa, b∈ℝb\in\mathbb{R} with a<ba<b and consider the closed, bounded interval [a,b][a,b].

For all x∈[a,b]x\in[a,b], we have 0≤x2≤max{|a|,|b|}20\leq x^{2}\leq\max\{|a|,|b|\}^{2}, and so x2x^{2} is bounded on [a,b][a,b].

Suppose [a,b]⊂(0,1)[a,b]\subset(0,1). For all x∈[a,b]x\in[a,b], we have 0<1/x≤1/a0<1/x\leq 1/a, and so 1/x1/x is bounded on [a,b][a,b].

Exercise 4.101

Take f:[0,1]→ℝf\colon[0,1]\to\mathbb{R} given by

f⁢(x):={1xif 0<x≤1,0if x=0.f(x):=\begin{cases}\frac{1}{x}&\text{if $0<x\leq 1$,}\\ 0&\text{if $x=0$.}\end{cases}

It is easy to see ff is unbounded. Note, however, that ff is not continuous at 0.

Exercise 4.104

Clearly, (1+x2)−1≥0(1+x^{2})^{-1}\geq 0 and so f⁢(x)=1−(1+x2)−1≤1f(x)=1-(1+x^{2})^{-1}\leq 1 for all x∈ℝx\in\mathbb{R}. Thus, ff is bounded above by 11.

Given x0∈ℝx_{0}\in\mathbb{R}, let x∈ℝx\in\mathbb{R} satisfy x>|x0|x>|x_{0}|. Then x2>x02x^{2}>x_{0}^{2} and so (1+x2)−1<(1+x02)−1(1+x^{2})^{-1}<(1+x_{0}^{2})^{-1} . Hence,

f⁢(x)=1−(1+x2)−1>1−(1+x02)−1=f⁢(x0).f(x)=1-(1+x^{2})^{-1}>1-(1+x_{0}^{2})^{-1}=f(x_{0}).

Thus, there exists some x∈ℝx\in\mathbb{R} such that f⁢(x)>f⁢(x0)f(x)>f(x_{0}), so that x0x_{0} is not a maximum point of ff. Since this is true for any x0∈ℝx_{0}\in\mathbb{R}, it follows that ff has no maximum point.

Exercise 4.105

We claim that 11 is a maximum point of p2:[0,1]→ℝp_{2}\colon[0,1]\to\mathbb{R}. Indeed,

p2⁢(x)=x2≤1=p2⁢(1)for all x∈[0,1].p_{2}(x)=x^{2}\leq 1=p_{2}(1)\qquad\text{for all $x\in[0,1]$.}

On the other hand, the restriction p2|(0,1):(0,1)→ℝp_{2}|_{(0,1)}\colon(0,1)\to\mathbb{R} has no maximum point. Indeed, given any x0∈(0,1)x_{0}\in(0,1), we can find some x0<x<1x_{0}<x<1 (for instance, we could choose x:=(1+x0)/2x:=(1+x_{0})/2). Then

p2|(0,1)⁢(x0)=x02⁢<x2=p2|(0,1)⁢(x).p_{2}|_{(0,1)}(x_{0})=x_{0}^{2}<x^{2}=p_{2}|_{(0,1)}(x).

This shows that x0x_{0} is not a maximum point of p2|(0,1)p_{2}|_{(0,1)}. Since this is true for any x0∈(0,1)x_{0}\in(0,1), it follows that p2|(0,1)p_{2}|_{(0,1)} has no maximum point.

Exercise 4.107

Let f:(−1,1)→ℝf\colon(-1,1)\to\mathbb{R} be given by

f⁢(x):={−xif −1<x≤0,1+xif 0<x<1.f(x):=\begin{cases}-x&\text{if $-1<x\leq 0$,}\\ 1+x&\text{if $0<x<1$.}\end{cases}

Note that 0≤f⁢(x)≤10\leq f(x)\leq 1 for x∈(−1,0]x\in(-1,0] and 1<f⁢(x)<21<f(x)<2 for x∈(0,1)x\in(0,1).

We claim ff is injective. Indeed, suppose f⁢(x)=f⁢(y)f(x)=f(y) for some xx, y∈(−1,1)y\in(-1,1).

  • •
    ​

    If f⁢(x)=f⁢(y)>1f(x)=f(y)>1, then if follows from our earlier observation that xx, y∈(0,1)y\in(0,1) and so 1+x=f⁢(x)=f⁢(y)=1+y1+x=f(x)=f(y)=1+y. This implies x=yx=y.

  • •
    ​

    On the other hand, if f⁢(x)=f⁢(y)≤1f(x)=f(y)\leq 1, then xx, y∈(−1,0]y\in(-1,0] and so −x=f⁢(x)=f⁢(y)=−y-x=f(x)=f(y)=-y. This again implies x=yx=y.

Thus, in either case x=yx=y and so ff is injective.

Finally, we claim ff is not monotone. To see this, it suffices to note that:

  • •
    ​

    f⁢(−1/2)=1/2>f⁢(0)=0f(-1/2)=1/2>f(0)=0 and so ff is not nondecreasing;

  • •
    ​

    f⁢(0)=0<3/2=f⁢(1/2)f(0)=0<3/2=f(1/2) and so ff is not nonincreasing.

Thus, the function ff has all the desired properties.

Exercise 4.109

Figure A.3: The graph of the function p2:(−1,1)→ℝp_{2}\colon(-1,1)\to\mathbb{R} given by p2⁢(x):=x2p_{2}(x):=x^{2} for x∈(−1,1)x\in(-1,1). Although the domain is the open interval (−1,1)(-1,1), the image Im⁢(f)=[0,1)\mathrm{Im}(f)=[0,1) is not an open interval.

We claim that Im⁢(p2):={p2⁢(x):x∈(−1,1)}=[0,1)\mathrm{Im}(p_{2}):=\{p_{2}(x):x\in(-1,1)\}=[0,1).

Given −1<x<1-1<x<1, it immediately follows that 0≤x2<10\leq x^{2}<1 and so Im⁢(p2)⊆[0,1)\mathrm{Im}(p_{2})\subseteq[0,1).

On the other hand, since p2p_{2} extends to a continuous function on [−1,1][-1,1] satisfying p2⁢(0)=0p_{2}(0)=0 and p2⁢(1)=1p_{2}(1)=1, by the intermediate value theorem for every x∈[0,1)x\in[0,1) there exists some y∈[0,1)y\in[0,1) such that p2⁢(x)=yp_{2}(x)=y. Hence [0,1)⊆Im⁢(p2)[0,1)\subseteq\mathrm{Im}(p_{2}).

Since we have shown Im⁢(p2)⊆[0,1)\mathrm{Im}(p_{2})\subseteq[0,1) and [0,1)⊆Im⁢(p2)[0,1)\subseteq\mathrm{Im}(p_{2}), it follows that Im⁢(p2)=[0,1)\mathrm{Im}(p_{2})=[0,1). Note that the image [0,1)[0,1) is therefore an interval, but not an open interval. See Figure A.3.