Chapter 2 Exercises

Protter & Morrey, A First Course in Real Analysis (2nd ed.) §§2.1–2.5

Exercise list locked from the textbook; solved independently.

How to use this file

  • Textbook: Murray H. Protter & Charles B. Morrey, Jr., A First Course in Real Analysis, 2nd ed., Springer UTM, 1991.
  • Range: all section PROBLEMS in Chapter 2: §2.1: 1–22; §2.2: 1–15; §2.3: 1–20; §2.4: 1–21; §2.5: 1–16.
  • Pages: printed pp. 34–35, 41–42, 46–47, 54, 57–58; PDF pp. 50–51, 57–58, 62–63, 70, 73–74 (body offset PDF \(=\) printed \(+16\)).
  • Principle: stems follow the scan; solutions are independent. Numbers were recomputed. Odd-numbered answers were compared afterwards with printed p. 516 (PDF p. 531).
  • Companion notes: ch02-notes.qmd.

Numbering is §section.problem, matching the book.

Notation follows the book: \(\mathbb{R}^1\), \(\mathbb{N}\) starting at \(1\), and \(\Leftrightarrow\). Any positive \(\delta\) smaller than a working value is also admissible.

§2.1 Continuity

Printed pp. 34–35; PDF pp. 50–51.

Problems 1–8 ask for one \(\delta\) matching a given \(\varepsilon\) at a point of continuity, and a sketch. The sketch is the continuity rectangle of the book’s Figure 2.1: horizontal lines \(y=f(a)\pm\varepsilon\) and vertical lines \(x=a\pm\delta\). We record a fully justified \(\delta\) and omit the drawing.

Exercise §2.1.1

注记Stem (abridged)

\(f(x)=2x+5\), \(a=1\), \(\varepsilon=0.01\). Find a \(\delta\) for continuity at \(a\). Draw a graph.

提示Solution

\(f(1)=7\) and \(|f(x)-7|=2|x-1|\). The inequality \(2|x-1|<0.01\) holds whenever \(|x-1|<0.005\). Take \(\delta=0.005\).

(The odd-answer key lists \(\delta=0.005\).)

Exercise §2.1.2

注记Stem (abridged)

\(f(x)=1-3x\), \(a=2\), \(\varepsilon=0.01\).

提示Solution

\(f(2)=-5\) and \(|f(x)+5|=3|x-2|\). Take \(\delta=0.01/3\).

Exercise §2.1.3

注记Stem (abridged)

\(f(x)=\sqrt{x}\), \(a=2\), \(\varepsilon=0.01\).

提示Solution

\(f(2)=\sqrt{2}\). For \(x>0\), \[ \bigl|\sqrt{x}-\sqrt{2}\bigr|=\frac{|x-2|}{\sqrt{x}+\sqrt{2}}. \] Restrict to \(|x-2|<1\), so \(x>1\) and the denominator is larger than \(1+\sqrt{2}>2\). Then \(|\sqrt{x}-\sqrt{2}|<\tfrac12|x-2|\), and \(\tfrac12|x-2|<0.01\) if \(|x-2|<0.02\). Take \(\delta=\min(1,0.02)=0.02\).

(The odd-answer key lists \(\delta=0.02\). The largest admissible \(\delta\) is \(2-(\sqrt{2}-0.01)^2=0.02\sqrt{2}-0.0001\).)

Exercise §2.1.4

注记Stem (abridged)

\(f(x)=\sqrt[3]{x}\), \(a=1\), \(\varepsilon=0.1\).

提示Solution

\(f(1)=1\). The cube-root function is increasing, so \(|\sqrt[3]{x}-1|<0.1\) on the open interval between \(0.9^3=0.729\) and \(1.1^3=1.331\). The distances from \(1\) are \(0.271\) and \(0.331\). Take \(\delta=0.27\).

Exercise §2.1.5

注记Stem (abridged)

\(f(x)=1+x^2\), \(a=2\), \(\varepsilon=0.01\).

提示Solution

\(f(2)=5\) and \(|x^2-4|=|x-2|\,|x+2|\). Restrict to \(|x-2|<1\), so \(|x+2|<5\) and \(|x^2-4|<5|x-2|\). Then \(5|x-2|<0.01\) if \(|x-2|<0.002\). Take \(\delta=0.002\).

(The odd-answer key lists \(\delta=0.002\).)

Exercise §2.1.6

注记Stem (abridged)

\(f(x)=x^3-4\), \(a=1\), \(\varepsilon=0.5\).

提示Solution

\(f(1)=-3\) and \(|x^3-1|=|x-1|\,|x^2+x+1|\). Restrict to \(|x-1|<1\), so \(x\in(0,2)\) and \(x^2+x+1<7\). Then \(|x^3-1|<7|x-1|\), and \(7|x-1|<1/2\) if \(|x-1|<1/14\). Take \(\delta=1/14\).

(The inverse-image interval between \(\sqrt[3]{0.5}\) and \(\sqrt[3]{1.5}\) allows a slightly larger value \(\approx 0.144\).)

Exercise §2.1.7

注记Stem (abridged)

\(f(x)=x^3+3x\), \(a=-1\), \(\varepsilon=0.5\).

提示Solution

\(f(-1)=-4\). Factor \(x^3+3x+4=(x+1)(x^2-x+4)\), so \[ |f(x)+4|=|x+1|\,|x^2-x+4|. \] The quadratic \(x^2-x+4=(x-\tfrac12)^2+\tfrac{15}{4}\ge\tfrac{15}{4}\). Restrict further to \(|x+1|<0.06\), hence \(x\in(-1.06,-0.94)\). On that interval \(x^2-x+4\le 1.06^2+1.06+4<6.2\), and \(0.06\cdot 6.2=0.372<0.5\). Take \(\delta=0.06\).

(The odd-answer key lists \(\delta=0.06\).)

Exercise §2.1.8

注记Stem (abridged)

\(f(x)=\sqrt{2x+1}\), \(a=4\), \(\varepsilon=0.1\).

提示Solution

\(f(4)=3\). The map is increasing on \(x\ge -1/2\). Solving \(\sqrt{2x+1}=2.9\) and \(3.1\) gives \(x=3.705\) and \(x=4.305\). The distances from \(4\) are \(0.295\) and \(0.305\). Take \(\delta=0.29\).

Exercise §2.1.9

注记Stem (abridged)

\(f(x)=(x^2-9)/(x+3)\) for \(x\neq -3\), \(a=-3\), \(L=-6\), \(\varepsilon=0.005\). Find \(\delta\) so that \(0<|x-a|<\delta\) implies \(|f(x)-L|<\varepsilon\). Sketch.

提示Solution

For \(x\neq -3\) one has \(f(x)=x-3\), hence \(|f(x)+6|=|x+3|\). Take \(\delta=0.005\).

(The odd-answer key lists \(\delta=0.005\).)

Exercise §2.1.10

注记Stem (abridged)

\(f(x)=(\sqrt{2x}-2)/(x-2)\), \(a=2\), \(L=1/2\), \(\varepsilon=0.01\).

提示Solution

For \(x\neq 2\) and \(x\ge 0\), \[ \frac{\sqrt{2x}-2}{x-2}=\frac{2}{\sqrt{2x}+2}. \] Then \[ \Bigl|\frac{2}{\sqrt{2x}+2}-\frac12\Bigr|=\frac{|x-2|}{(\sqrt{2x}+2)^2}. \] Restrict to \(|x-2|<1\), so \(x>1\) and \(\sqrt{2x}+2>\sqrt{2}+2>3\). The right-hand side is then less than \(|x-2|/9\), which is \(<0.01\) if \(|x-2|<0.09\). Take \(\delta=0.09\).

Exercise §2.1.11

注记Stem (abridged)

\(f(x)=(x^2-4)/(x-2)\), \(a=2\), \(L=4\), \(\varepsilon=0.01\).

提示Solution

For \(x\neq 2\), \(f(x)=x+2\) and \(|f(x)-4|=|x-2|\). Take \(\delta=0.01\).

(The odd-answer key lists \(\delta=0.01\).)

Exercise §2.1.12

注记Stem (abridged)

\(f(x)=(x-9)/(\sqrt{x}-3)\), \(a=9\), \(L=6\), \(\varepsilon=0.1\).

提示Solution

For \(x\ge 0\), \(x\neq 9\), one has \(f(x)=\sqrt{x}+3\), so \(|f(x)-6|=|\sqrt{x}-3|\). Solving \(\sqrt{x}=2.9\) and \(3.1\) gives \(x=8.41\) and \(x=9.61\). Take \(\delta=0.59\).

Exercise §2.1.13

注记Stem (abridged)

\(f(x)=(x^3-8)/(x-2)\), \(a=2\), \(L=12\), \(\varepsilon=0.5\).

提示Solution

For \(x\neq 2\), \(f(x)=x^2+2x+4\) and \[ |f(x)-12|=|x-2|\,|x+4|. \] Restrict to \(|x-2|<0.07\), so \(|x+4|<6.07\) and the product is \(<6.07\cdot 0.07=0.4249<0.5\). Take \(\delta=0.07\).

(The odd-answer key lists \(\delta=0.07\).)

Exercise §2.1.14

注记Stem (abridged)

\(f(x)=(x^3+1)/(x+1)\), \(a=-1\), \(L=3\), \(\varepsilon=0.1\).

提示Solution

For \(x\neq -1\), \(f(x)=x^2-x+1\) and \(|f(x)-3|=|x+1|\,|x-2|\). Restrict to \(|x+1|<0.03\), so \(|x-2|<3.03\) and the product is \(<0.03\cdot 3.03=0.0909<0.1\). Take \(\delta=0.03\).

Exercise §2.1.15

注记Stem (abridged)

\(f(x)=(x-1)/(\sqrt[3]{x}-1)\), \(a=1\), \(L=3\), \(\varepsilon=0.1\). (Starred.)

提示Solution

Let \(u=\sqrt[3]{x}\). For \(x\neq 1\), \(f(x)=u^2+u+1\) and \[ |f(x)-3|=|u-1|\,|u+2|. \] If \(|x-1|<0.09\) then \(x\in(0.91,1.09)\), so \(u\in(\sqrt[3]{0.91},\sqrt[3]{1.09})\subset(0.96,1.03)\) and \(|u+2|<3.03\). Also \[ |u-1|=\frac{|x-1|}{u^2+u+1}<\frac{|x-1|}{3\cdot 0.96^2}<0.37\,|x-1|, \] hence \(|f(x)-3|<0.37\cdot 3.03\cdot 0.09<0.11\). A slightly tighter restriction \(|x-1|<0.09\) is exactly the key’s value; to stay strictly under \(0.1\) one may take \(\delta=0.08\), or follow the inverse-image computation: \(u^2+u+1=2.9\) and \(3.1\) give \(u=(-1+\sqrt{8.6})/2\) and \((-1+\sqrt{9.4})/2\), and cubing the closer root yields a maximal \(\delta\approx 0.0978\). Take \(\delta=0.09\) as in the key: on \(|x-1|<0.09\) a direct bound with \(u^2+u+1\ge 2.88\) gives \(|u-1|<0.09/2.88\) and \(|u+2|<3.03\), product \(<0.095<0.1\).

(The odd-answer key lists \(\delta=0.09\).)

Exercise §2.1.16

注记Stem (abridged)

\(f(x)=x\sin(1/x)\), \(a=0\), \(L=0\), \(\varepsilon=0.01\). (Elementary properties of \(\sin\) are assumed.)

提示Solution

\(|\sin(1/x)|\le 1\), so \(|f(x)|\le |x|\). Take \(\delta=0.01\).

Exercise §2.1.17

注记Stem (abridged)

\(f(x)=(\sin x)/x\), \(a=0\), \(L=1\), \(\varepsilon=0.1\). (Starred.)

提示Solution

Assume the standard inequalities \(0<\sin\theta<\theta<\tan\theta\) for \(0<\theta<\pi/2\). Then \(\cos x<(\sin x)/x<1\) on \((0,\pi/2)\), so \[ 0<1-\frac{\sin x}{x}<1-\cos x=2\sin^2(x/2)<2\cdot(x/2)^2=\frac{x^2}{2}. \] The same bound holds for \(x<0\) by evenness. Thus \(|(\sin x)/x-1|<0.1\) whenever \(0<|x|<\sqrt{0.2}\). Take \(\delta=0.4\).

The odd-answer key lists \(\delta=0.7\), which is also admissible (the bound \(x^2/2\) is crude; \(\operatorname{sinc}\) is decreasing on \((0,\pi)\) and \(\operatorname{sinc}(0.7)>0.9\)). We keep \(\delta=0.4\) because it is justified by the elementary inequalities above without a numerical check of \(\operatorname{sinc}(0.7)\).

Exercise §2.1.18

注记Stem (abridged)

Show that \(\lim_{x\to 0}\sin(1/x)\) does not exist.

提示Solution

Suppose the limit were a number \(L\). Take \(\varepsilon=1\): there would exist \(\delta>0\) such that \(0<|x|<\delta\) implies \(|\sin(1/x)-L|<1\). Choose integers \(n\) large enough that \[ x_n=\frac{1}{\pi/2+2n\pi},\qquad y_n=\frac{1}{3\pi/2+2n\pi} \] both lie in \((0,\delta)\). Then \(\sin(1/x_n)=1\) and \(\sin(1/y_n)=-1\), so \(L\) would have to satisfy both \(|1-L|<1\) and \(|-1-L|<1\), hence \(L\in(0,2)\) and \(L\in(-2,0)\), which is empty. The limit does not exist.

Exercise §2.1.19

注记Stem (abridged)

Show that \(\lim_{x\to 0}x\log|x|=0\). (Starred; elementary properties of \(\log\) and \(\exp\) are assumed.)

提示Solution

The expression is even in the sense that \(x\log|x|\) for \(x<0\) equals \(-|x|\log|x|\), so it is enough to prove \(x\log x\to 0\) as \(x\to 0^+\), and the left-hand limit will be \(0\) as well.

Let \(x=e^{-u}\) with \(u\to+\infty\). Then \(x\log x=-u e^{-u}\). From the elementary inequality \(e^u\ge 1+u+u^2/2\ge u^2/2\) for \(u>0\), one has \(0<u e^{-u}\le 2/u\to 0\). Thus \(x\log x\to 0\) as \(x\to 0^+\), and \(x\log|x|\to 0\) as \(x\to 0\).

Exercise §2.1.20

注记Stem (abridged)

Can the domain of \(f(x)=x\cot x\) (not defined at \(0\)) be enlarged to include \(x=0\) so that the extension is continuous there?

提示Solution

For \(x\neq k\pi\), \[ x\cot x=\cos x\cdot\frac{x}{\sin x}. \] Using \(\cos x\to 1\) and \((\sin x)/x\to 1\) as \(x\to 0\) (the latter as in §2.1.17, or as an assumed elementary fact), one gets \(x\cot x\to 1\). Defining \(f(0)=1\) makes \(f\) continuous at \(0\) (and the original formula is already continuous on each interval between consecutive multiples of \(\pi\)).

Exercise §2.1.21

注记Stem (abridged)

\(f(x)=1\) if \(x\) is rational, \(f(x)=0\) if \(x\) is irrational. Show that \(f\) is not continuous at any \(x\).

提示Solution

Fix any \(a\in\mathbb{R}^1\) and take \(\varepsilon=1/2\). In every neighbourhood of \(a\) there are rationals (where \(f=1\)) and irrationals (where \(f=0\)). If \(f(a)=1\), no \(\delta\) can force \(|f(x)-1|<1/2\) throughout \((a-\delta,a+\delta)\), because that interval contains irrationals. If \(f(a)=0\), the same interval contains rationals. Hence \(f\) fails to be continuous at \(a\).

Exercise §2.1.22

注记Stem (abridged)

Suppose \(f\) is defined in an interval about \(a\) and \(\lim_{h\to 0}\bigl[f(a+h)-f(a-h)\bigr]=0\). Show that \(f\) need not be continuous at \(a\). Must \(\lim_{h\to 0}f(a+h)\) exist?

提示Solution

The hypothesis is compatible with a removable jump at \(a\). Example: \(f(a)=1\) and \(f(x)=0\) for \(x\neq a\). Then \(f(a+h)-f(a-h)=0\) for all \(h\neq 0\), so the limit is \(0\), but \(f\) is not continuous at \(a\).

The two-sided limit \(\lim_{h\to 0}f(a+h)\) need not exist. Example: \(f(x)=\sin(1/|x|)\) for \(x\neq 0\) and \(f(0)=0\). Then \(f\) is even, so \(f(h)-f(-h)=0\), but \(\sin(1/|h|)\) has no limit as \(h\to 0\).

§2.2 Limits

Printed pp. 41–42; PDF pp. 57–58.

Exercise §2.2.1

注记Stem (abridged)

Combine Theorems 2.2, 2.3, 2.5, and 2.6 to prove \(\lim_{x\to a}(cx+d)=ca+d\).

提示Solution

Theorem 2.3 gives \(\lim_{x\to a}x=a\). Theorem 2.2 gives \(\lim_{x\to a}c=c\) and \(\lim_{x\to a}d=d\). Theorem 2.6 (product) yields \(\lim_{x\to a}(cx)=ca\). Theorem 2.5 (sum) yields \(\lim_{x\to a}(cx+d)=ca+d\).

Exercise §2.2.2

注记Stem (abridged)

Same for \(cx^2+dx+e\): show \(\lim_{x\to a}(cx^2+dx+e)=ca^2+da+e\).

提示Solution

From Theorem 2.3 and Theorem 2.6, \(\lim_{x\to a}x^2=a\cdot a=a^2\), hence \(\lim_{x\to a}(cx^2)=ca^2\). The linear piece \(dx+e\) was treated in §2.2.1. Add the two limits by Theorem 2.5.

Exercise §2.2.3

注记Stem (abridged)

For \(P_n(x)=a_0x^n+\cdots+a_n\), prove \(\lim_{x\to a}P_n(x)=P_n(a)\). [Hint: induction.]

提示Solution

For \(n=0\) the polynomial is constant; Theorem 2.2 applies. Assume the claim for degree \(n-1\). Write \(P_n(x)=x\cdot Q(x)+a_n\) with \(Q\) of degree \(n-1\). The inductive hypothesis, Theorem 2.3, Theorem 2.6, and Theorem 2.5 give \[ \lim_{x\to a}P_n(x)=a\cdot Q(a)+a_n=P_n(a). \] In particular every polynomial is continuous on \(\mathbb{R}^1\).

Exercise §2.2.4

注记Stem (abridged)

If \(P_n\) and \(Q_m\) are polynomials and \(Q_m(a)\neq 0\), then \(\lim_{x\to a}P_n(x)/Q_m(x)=P_n(a)/Q_m(a)\).

提示Solution

§2.2.3 supplies \(\lim P_n=P_n(a)\) and \(\lim Q_m=Q_m(a)\neq 0\). Theorem 2.8 (quotient) gives the claim. Equivalently, a rational function is continuous at every point that is not a root of the denominator.

Exercise §2.2.5

注记Stem (abridged)

Sequence \(x_n\to a\), and \(f,g\) are defined in an interval about \(a\) with \(f(x_n)=g(x_n)\). If \(\lim_{x\to a}f(x)=L\), is \(\lim_{x\to a}g(x)=L\)? (Starred.)

提示Solution

No. Agreement along a sequence tending to \(a\) is much weaker than agreement on a punctured neighbourhood (Theorem 2.4).

Counter-example: \(a=0\), \(f(x)\equiv 0\), and \(g(x)=0\) if \(x=1/n\) for some \(n\in\mathbb{N}\), while \(g(x)=1\) otherwise. Then \(x_n=1/n\to 0\), \(f(x_n)=g(x_n)\), and \(\lim f=0\), but \(g\) has no limit at \(0\) (it equals \(1\) on a deleted neighbourhood minus a discrete set, and equals \(0\) along \(\{x_n\}\)).

(The odd-answer key lists “No.”)

Exercise §2.2.6

注记Stem (abridged)

Use the Sandwiching theorem to show \(\lim_{x\to 0}x^n=0\) for every integer \(n\ge 3\), by selecting \(f\equiv 0\), \(g(x)=x^n\), \(h(x)=x^2\) on \(-1<x<1\).

提示Solution

For \(|x|<1\) and \(n\ge 2\) one has \(|x^n|\le x^2\), hence \[ -x^2\le x^n\le x^2. \] Theorem 2.3 and Theorem 2.6 give \(x^2\to 0\) as \(x\to 0\), so \(\pm x^2\to 0\). Theorem 2.10 yields \(x^n\to 0\).

The printed selection \(0\le x^n\le x^2\) is valid on \((-1,1)\) only when \(n\) is even (or when one restricts to \(x\ge 0\)). For odd \(n\) the lower function must be \(-x^2\) rather than \(0\). The two-sided sandwich above covers all \(n\ge 3\).

Exercise §2.2.7

注记Stem (abridged)

\(f\) and \(h\) continuous at \(a\), and \(f(x)\le g(x)\le h(x)\) for \(|x-a|<k\). If \(f(a)=h(a)\), show \(g\) is continuous at \(a\).

提示Solution

The inequality at \(x=a\) forces \(f(a)\le g(a)\le h(a)\), so \(g(a)=f(a)=h(a)\). Continuity of \(f\) and \(h\) gives \(\lim_{x\to a}f(x)=f(a)=\lim_{x\to a}h(x)\). Theorem 2.10 (applied on \(0<|x-a|<k\)) yields \(\lim_{x\to a}g(x)=g(a)\).

Exercise §2.2.8

注记Stem (abridged)

\(\lim f_i=L_i\), \(\lim g_i=M_i\) for \(i=1,\ldots,n\). Under what conditions is \[ \lim_{x\to a}\frac{a_1 f_1(x)+\cdots+a_n f_n(x)}{b_1 g_1(x)+\cdots+b_n g_n(x)}=\frac{a_1 L_1+\cdots+a_n L_n}{b_1 M_1+\cdots+b_n M_n}\,? \]

提示Solution

Theorems 2.2, 2.5, 2.6 and their finite corollaries give \[ \lim\bigl(\textstyle\sum a_i f_i\bigr)=\sum a_i L_i,\qquad \lim\bigl(\textstyle\sum b_i g_i\bigr)=\sum b_i M_i, \] provided the \(a_i,b_i\) are constants. Theorem 2.8 then applies if and only if the denominator’s limit is nonzero: \[ \sum_{i=1}^n b_i M_i\neq 0. \] (If that sum vanishes, the displayed quotient of limits is meaningless, and the quotient of functions may tend to infinity, fail to have a limit, or accidentally tend to a finite value, depending on the numerator.)

Exercise §2.2.9

注记Stem (abridged)

Establish directly the Corollary to Theorem 2.5 (finite sums).

提示Solution

Let \(g=\sum_{i=1}^n f_i\) with \(\lim f_i=L_i\). Fix \(\varepsilon>0\). For each \(i\) there is \(\delta_i>0\) such that \(0<|x-a|<\delta_i\) implies \(|f_i(x)-L_i|<\varepsilon/n\). Let \(\delta=\min\{\delta_1,\ldots,\delta_n\}\). Then \(0<|x-a|<\delta\) implies \[ \bigl|g(x)-\textstyle\sum L_i\bigr|\le\sum |f_i(x)-L_i|<n\cdot\frac{\varepsilon}{n}=\varepsilon. \] (Induction on Theorem 2.5 is equally available: the \(n=1\) case is tautological, and \(g_n=g_{n-1}+f_n\).)

Exercise §2.2.10

注记Stem (abridged)

Prove the Corollary to Theorem 2.6 (finite products).

提示Solution

Let \(p_n=f_1\cdots f_n\). For \(n=1\) there is nothing to prove. If \(p_{n-1}\to L_1\cdots L_{n-1}\) and \(f_n\to L_n\), Theorem 2.6 gives \(p_n=p_{n-1}f_n\to (L_1\cdots L_{n-1})L_n\).

Exercise §2.2.11

注记Stem (abridged)

\(f(x)=x\sin(1/x)\) on \(-\pi\le x\le\pi\), \(x\neq 0\). (Starred.) (a) Prove \(\lim_{x\to 0}f=0\). (b) Set \(g\equiv f\); at \(x_n=\pm 1/(n\pi)\) one has \(g(x_n)=0\), so \(f[g(x)]\) is undefined at \(x_n\), and \(x_n\to 0\). (c) Conclude that \(\lim_{x\to 0}h\) does not exist for \(h=f[g]\). Compare Theorem 2.7. (d) Extending \(f\) by \(F(0)=0\), show \(H=F[g]\to 0\) by Theorem 2.7.

提示Solution

(a) \(|f(x)|\le |x|\). Sandwiching between \(-|x|\) and \(|x|\) (or the definition with \(\delta=\varepsilon\)) yields \(f(x)\to 0\).

(b) \(\sin(n\pi)=0\), so \(g(x_n)=0\). Since \(f\) is not defined at \(0\), the composite \(h(x)=f(g(x))\) is undefined at each \(x_n\). And \(x_n\to 0\).

(c) The definition of \(\lim_{x\to 0}h(x)\) requires an open interval about \(0\), except possibly \(0\) itself, to lie in the domain of \(h\). No such interval exists, because the zeros \(x_n\) accumulate at \(0\). Thus the limit does not exist. Theorem 2.7 does not apply: that theorem needs \(f\) continuous at \(L=0\), hence defined at \(0\). Here only \(\lim_{t\to 0}f(t)=0\) is known, and \(f\) itself is undefined at \(0\). This is the phenomenon flagged in the remark after Theorem 2.7.

(d) \(F\) is continuous at \(0\) by (a) together with \(F(0)=0\). Also \(g(x)\to 0\) as \(x\to 0\) by (a). Theorem 2.7 gives \(H(x)=F(g(x))\to F(0)=0\). (When \(g(x)=0\) one now has \(F(0)=0\), so \(H\) is defined at those points.)

Exercise §2.2.12

注记Stem (abridged)

\(f,g:\mathbb{R}^1\to\mathbb{R}^1\) continuous. Show \(F(x)=\max[f(x),g(x)]\) is continuous.

提示Solution

The identity \[ \max(u,v)=\frac{u+v+|u-v|}{2} \] holds for all real \(u,v\). Thus \(F=\bigl(f+g+|f-g|\bigr)/2\). Sums, scalar multiples, and the absolute-value function \(t\mapsto |t|\) (continuous on \(\mathbb{R}^1\), e.g. as the composite of \(t\mapsto t^2\) with \(t\mapsto\sqrt{t}\) on \([0,\infty)\), or directly from \(||x|-|a||\le |x-a|\)) preserve continuity. Hence \(F\) is continuous. (Alternatively: at a point where \(f(a)>g(a)\), one has \(F=f\) on a neighbourhood of \(a\), and likewise if \(g(a)>f(a)\); if \(f(a)=g(a)\), sandwich \(F\) between \(\min(f,g)\) and \(\max\) of the two continuous functions as in §2.2.7.)

Exercise §2.2.13

注记Stem (abridged)

Prove Theorem 2.8 (limit of a quotient).

提示Solution

Assume \(\lim f=L\), \(\lim g=M\neq 0\), and set \(h=f/g\). Write \(h=f\cdot (1/g)\). Corollary 2 to Theorem 2.7 states that \(F(t)=1/t\) is continuous at every \(t\neq 0\), in particular at \(M\). Theorem 2.7 therefore gives \(1/g(x)=F(g(x))\to F(M)=1/M\). Theorem 2.6 yields \(h(x)\to L\cdot(1/M)=L/M\).

(If one prefers not to quote the corollary, prove \(1/g\to 1/M\) directly: \(|g(x)|\ge |M|/2\) for \(0<|x-a|\) small, whence \[ \Bigl|\frac{1}{g(x)}-\frac{1}{M}\Bigr|=\frac{|g(x)-M|}{|g(x)|\,|M|}\le\frac{2}{|M|^2}\,|g(x)-M|. \] )

Exercise §2.2.14

注记Stem (abridged)

If \(a\neq 0\) and \(F:x\mapsto 1/x\), then \(F\) is continuous at \(a\).

提示Solution

\[ \Bigl|\frac{1}{x}-\frac{1}{a}\Bigr|=\frac{|x-a|}{|x|\,|a|}. \] If \(|x-a|<|a|/2\) then \(|x|>|a|/2\), so the right-hand side is \(<2|x-a|/a^2\). Given \(\varepsilon>0\), take \[ \delta=\min\Bigl(\frac{|a|}{2},\ \frac{\varepsilon a^2}{2}\Bigr). \] Then \(|x-a|<\delta\) implies \(|F(x)-F(a)|<\varepsilon\).

Exercise §2.2.15

注记Stem (abridged)

If \(a>0\) and \(G:x\mapsto\sqrt[n]{x}\), then \(G\) is continuous at \(a\).

提示Solution

Let \(\alpha=a^{1/n}>0\) and \(u=x^{1/n}\) (defined for \(x>0\)). The difference of powers gives \[ x-a=u^n-\alpha^n=(u-\alpha)\sum_{k=0}^{n-1}\alpha^{n-1-k}u^k, \] so \[ |u-\alpha|=\frac{|x-a|}{\sum_{k=0}^{n-1}\alpha^{n-1-k}u^k}. \] Restrict to \(|x-a|<a/2\), hence \(x>a/2\) and \(u>(a/2)^{1/n}\). Each summand is then at least \(\alpha^{n-1}\cdot 2^{-1}\), and the denominator is at least \(n\alpha^{n-1}/2\). Therefore \[ |u-\alpha|\le\frac{2|x-a|}{n\alpha^{n-1}}. \] Given \(\varepsilon>0\), take \(\delta=\min\bigl(a/2,\ \varepsilon n\alpha^{n-1}/2\bigr)\).

§2.3 One-Sided Limits

Printed pp. 46–47; PDF pp. 62–63.

In Problems 1–12, decide continuity at the given \(a\); if not, decide one-sided continuity. Reasons are recorded at each step, as in the book’s example.

Exercise §2.3.1

注记Stem (abridged)

\(f(x)=x-4\) on \(-1<x\le 2\), \(f(x)=x^2-6\) on \(2<x<5\), \(a=2\).

提示Solution

The domain is \((-1,5)\), which contains an open interval about \(2\), and \(f(2)=2-4=-2\). As \(x\to 2^-\), Theorem 2.3 (one-sided) gives \(x-4\to -2\). As \(x\to 2^+\), \(x^2-6\to -2\) by §2.2.3. Both one-sided limits equal \(f(2)\), so \(f\) is continuous at \(2\) (Theorem 2.13, corollary).

(The odd-answer key lists “Yes.”)

Exercise §2.3.2

注记Stem (abridged)

\(f(x)=(x^2-1)/(x^4-1)\) on \(1<x<2\), \(f(x)=x^2+3x-2\) on \(2\le x<5\), \(a=2\).

提示Solution

\(f(2)=4+6-2=8\). For \(1<x<2\) one has \(x^4-1=(x^2-1)(x^2+1)\), so \(f(x)=1/(x^2+1)\to 1/5\) as \(x\to 2^-\). The left-hand limit \(1/5\) is not \(f(2)\), so \(f\) is not left-continuous at \(2\). As \(x\to 2^+\), \(x^2+3x-2\to 8=f(2)\), so \(f\) is right-continuous at \(2\). Not continuous at \(2\).

Exercise §2.3.3

注记Stem (abridged)

\(f:x\mapsto x/|x|\), \(a=0\).

提示Solution

The formula is undefined at \(0\), so \(0\) is not in the domain and \(f\) is neither left- nor right-continuous at \(0\). (The one-sided limits exist and equal \(-1\) and \(+1\) respectively, and no assignment of \(f(0)\) can make \(f\) two-sided continuous at \(0\).)

(The odd-answer key lists “No. Neither.”)

Exercise §2.3.4

注记Stem (abridged)

\(f:x\mapsto |x-1|\), \(a=1\).

提示Solution

\(||x-1|-0|\le |x-1|\), so \(f\) is continuous at \(1\) (hence both left- and right-continuous). Equivalently, \(f(x)=1-x\) for \(x\le 1\) and \(f(x)=x-1\) for \(x\ge 1\), both of which match at \(x=1\).

Exercise §2.3.5

注记Stem (abridged)

\(f:x\mapsto x\bigl(1+1/x^2\bigr)^{1/2}\), \(a=0\).

提示Solution

The formula is undefined at \(0\). For \(x\neq 0\), \[ f(x)=x\cdot\frac{\sqrt{x^2+1}}{|x|}=\operatorname{sign}(x)\,\sqrt{x^2+1}. \] Thus \(f(x)\to 1\) as \(x\to 0^+\) and \(f(x)\to -1\) as \(x\to 0^-\). Not left-continuous, not right-continuous (the point \(0\) is missing), and no value \(f(0)\) produces two-sided continuity.

(The odd-answer key lists “No. Neither.”)

Exercise §2.3.6

注记Stem (abridged)

\(f(x)=\bigl((x^2-27)/(x^2+2x+1)\bigr)^{1/3}\), \(a=3\).

提示Solution

The denominator is \((x+1)^2\), nonzero at \(x=3\). Polynomials are continuous (§2.2.3), the cube root is continuous on \(\mathbb{R}^1\) (Theorem 2.12, \(n\) odd), and a quotient with nonzero denominator is continuous (Theorem 2.8). Hence \(f\) is continuous at \(3\).

Exercise §2.3.7

注记Stem (abridged)

\(f(x)=\bigl((2x+5)/(3x-2)\bigr)^{1/2}\) on \(1<x<2\), \(f(x)=2x-1\) on \(2\le x<4\), \(a=2\).

提示Solution

The domain is \((1,4)\), which contains an open interval about \(2\), and \(f(2)=3\). As \(x\to 2^+\), \(2x-1\to 3\). As \(x\to 2^-\), \((2x+5)/(3x-2)\to 9/4>0\) and the square root tends to \(3\) (Theorem 2.11 / continuity of \(\sqrt{\,\cdot\,}\) at \(9/4\)). Both one-sided limits equal \(f(2)\), so \(f\) is continuous at \(2\).

Odd-key disagreement. The key lists “No. On the right.” The left-hand limit equals \(f(2)\) by direct substitution (no vanishing factor), so the function is left-continuous as well.

Exercise §2.3.8

注记Stem (abridged)

\(f(x)=\bigl((x^2-4)/(x^2-3x+2)\bigr)^{1/2}\) on \(1<x<2\), \(f(x)=x^2/2\) on \(2\le x\le 5\), \(a=2\).

提示Solution

\(f(2)=2\). Right-hand: \(x^2/2\to 2\). Left-hand: for \(x\neq 2\), \[ \frac{x^2-4}{x^2-3x+2}=\frac{(x-2)(x+2)}{(x-2)(x-1)}=\frac{x+2}{x-1}, \] and \((x+2)/(x-1)>0\) on \((1,2)\), so the square root equals \(\sqrt{(x+2)/(x-1)}\to 2\). The domain \((1,5]\) contains an open interval about \(2\). Continuous at \(2\).

Exercise §2.3.9

注记Stem (abridged)

\(f(x)=(x^3-8)/(x^2-4)\) for \(x\neq 2\), \(f(2)=4\), \(a=2\).

提示Solution

For \(x\neq\pm 2\), \[ f(x)=\frac{(x-2)(x^2+2x+4)}{(x-2)(x+2)}=\frac{x^2+2x+4}{x+2}\to\frac{12}{4}=3 \] as \(x\to 2\) from either side. The two-sided limit is \(3\neq 4=f(2)\), so \(f\) is neither left- nor right-continuous at \(2\).

(The odd-answer key lists “No. Neither.”)

Exercise §2.3.10

注记Stem (abridged)

\(f(x)=\bigl((x^2-9)/(x^2+1)\bigr)^{1/2}\) on \(3\le x\le 4\), \(f(x)=x^2-9\) on \(2<x<3\), \(a=3\).

提示Solution

\(f(3)=0\). As \(x\to 3^+\), the first formula (which includes \(x=3\)) tends to \(0\). As \(x\to 3^-\), \(x^2-9\to 0\). The domain \((2,4]\) contains an open interval about \(3\). Continuous at \(3\).

Exercise §2.3.11

注记Stem (abridged)

\(f(x)=\sin(1/x)\) for \(x\neq 0\), \(f(0)=0\), \(a=0\).

提示Solution

The same sequences as in §2.1.18, restricted to \(x>0\) or to \(x<0\), show that neither one-sided limit exists. Not left-continuous, not right-continuous.

(The odd-answer key lists “No. Neither.”)

Exercise §2.3.12

注记Stem (abridged)

\(f(x)=x\cos(1/x)\) for \(x\neq 0\), \(f(0)=0\), \(a=0\).

提示Solution

\(|f(x)|\le |x|\) for all \(x\), including \(x=0\). Sandwiching gives \(f(x)\to 0=f(0)\) as \(x\to 0\), so \(f\) is continuous at \(0\) (hence both one-sided).

Exercise §2.3.13

注记Stem (abridged)

\(f(x)=\tan x\) on \(-\pi/2<x<\pi/2\), \(g(x)=\pi/2-x\). What can be said about \(\lim_{x\to a^+}f[g(x)]\) when \(a=\pi/4\), when \(a=\pi/2\), and when \(a=0\)?

提示Solution

Whenever \(g(x)\) lies in \((-\pi/2,\pi/2)\), i.e. \(0<x<\pi\), one has \(f(g(x))=\tan(\pi/2-x)=\cot x\).

  • \(a=\pi/4\): \(g(x)\to\pi/4\) as \(x\to(\pi/4)^+\), and \(\tan\) is continuous at \(\pi/4\), so the composite tends to \(\tan(\pi/4)=1\) (Theorem 2.11).
  • \(a=\pi/2\): \(x\to(\pi/2)^+\) forces \(g(x)\to 0^-\), and \(\tan t\to 0\) as \(t\to 0\), so the limit is \(0\).
  • \(a=0\): \(x\to 0^+\) forces \(g(x)\to(\pi/2)^-\), and \(\tan t\to+\infty\). The (finite) limit does not exist.

(The odd-answer key lists: “Limit is 1; limit is 0; limit doesn’t exist.”)

Exercise §2.3.14

注记Stem (abridged)

State and prove the analog of Theorem 2.4 for limits from the left.

提示Solution

Statement. Suppose \(f\) and \(g\) are defined on a set containing \(\{x:0<a-x<r\}\) for some \(r>0\), that \(f(x)=g(x)\) on that set, and that \(\lim_{x\to a^-}g(x)=L\). Then \(\lim_{x\to a^-}f(x)=L\).

Proof. Given \(\varepsilon>0\), choose \(\delta\in(0,r)\) so that \(0<a-x<\delta\) implies \(|g(x)-L|<\varepsilon\). On that same punctured left neighbourhood one has \(f=g\), so \(|f(x)-L|<\varepsilon\).

Exercise §2.3.15

注记Stem (abridged)

State and prove the analog of Theorem 2.5 for limits from the right.

提示Solution

Statement. If \(\lim_{x\to a^+}f_1=L_1\) and \(\lim_{x\to a^+}f_2=L_2\), then \(\lim_{x\to a^+}(f_1+f_2)=L_1+L_2\).

Proof. Given \(\varepsilon>0\), choose \(\delta_i>0\) so that \(0<x-a<\delta_i\) implies \(|f_i-L_i|<\varepsilon/2\). With \(\delta=\min(\delta_1,\delta_2)\), the triangle inequality gives \(|f_1+f_2-(L_1+L_2)|<\varepsilon\) whenever \(0<x-a<\delta\).

(The odd-answer key records this statement.)

Exercise §2.3.16

注记Stem (abridged)

State and prove the analog of Theorem 2.6 for limits from the right.

提示Solution

Statement. If \(\lim_{x\to a^+}f_1=L_1\) and \(\lim_{x\to a^+}f_2=L_2\), then \(\lim_{x\to a^+}(f_1 f_2)=L_1 L_2\).

Proof. The algebraic identity \(f_1 f_2-L_1 L_2=L_2(f_1-L_1)+f_1(f_2-L_2)\) is unchanged. Given \(\varepsilon>0\), first choose \(\varepsilon_1>0\) so that \(|f_1|<|L_1|+\varepsilon_1=:M\) on some right neighbourhood (possible because \(f_1\to L_1\)). Then choose the positive numbers \[ \eta_1=\frac{\varepsilon}{2(|L_2|+1)},\qquad \eta_2=\frac{\varepsilon}{2M} \] and corresponding \(\delta_i\) so that \(0<x-a<\delta_i\) implies \(|f_i-L_i|<\eta_i\). (Using \(|L_2|\) rather than the book’s \(L_2\) keeps \(\eta_1\) positive even if \(L_2<0\); if \(L_2=0\) the first summand vanishes in the limit and one may take \(\eta_2=\varepsilon/(2M)\) alone after bounding \(|f_1|\).) With \(\delta=\min(\delta_1,\delta_2)\), \[ |f_1 f_2-L_1 L_2|\le |L_2|\eta_1+M\eta_2<\varepsilon. \]

Exercise §2.3.17

注记Stem (abridged)

State and prove the analog of Theorem 2.9 for limits from the left.

提示Solution

Statement. If \(\lim_{x\to a^-}f=L\), \(\lim_{x\to a^-}g=M\), and \(f(x)\le g(x)\) on some interval with right endpoint \(a\) (except possibly at \(a\)), then \(L\le M\).

Proof. If \(L>M\), set \(\varepsilon=(L-M)/2\). On a sufficiently small left neighbourhood one has \(f>L-\varepsilon=M+\varepsilon>g\), contradicting \(f\le g\).

(The odd-answer key records this statement.)

Exercise §2.3.18

注记Stem (abridged)

State and prove the analog of Theorem 2.10 (Sandwiching) for limits from the right.

提示Solution

Statement. If \(f\le g\le h\) on \(0<x-a<k\) and \(\lim_{x\to a^+}f=\lim_{x\to a^+}h=L\), then \(\lim_{x\to a^+}g=L\).

Proof. Given \(\varepsilon>0\), choose \(\delta\in(0,k)\) so that \(0<x-a<\delta\) implies both \(|f-L|<\varepsilon\) and \(|h-L|<\varepsilon\). Then \(L-\varepsilon<f\le g\le h<L+\varepsilon\), so \(|g-L|<\varepsilon\).

Exercise §2.3.19

注记Stem (abridged)

Give an example showing that Theorem 2.11 fails if \(f\) is assumed only left-continuous at \(L\).

提示Solution

Left-continuity of \(f\) at \(L\) controls \(f\) only for arguments \(\le L\), while a right-hand limit \(g(x)\to L\) as \(x\to a^+\) does not force \(g(x)\le L\).

Take \(a=0\), \(L=0\), \(g(x)=x\) (so \(g(x)\to 0\) as \(x\to 0^+\) and \(g(x)>0\)), and \[ f(t)=\begin{cases} 0,& t\le 0,\\ 1,& t>0. \end{cases} \] Then \(f\) is left-continuous at \(0\) with \(f(0)=0\), but \(f(g(x))=f(x)=1\) for \(x>0\), so \(\lim_{x\to 0^+}f(g(x))=1\neq f(0)\).

Exercise §2.3.20

注记Stem (abridged)

\(f(x)=1/x\) for \(x=1,2,3,\ldots\). For what values of \(x\) is \(f\) continuous?

提示Solution

The domain is \(D=\mathbb{N}\). Every point \(n\in D\) is isolated: the open interval \((n-1/2,n+1/2)\) meets \(D\) only at \(n\). A function is automatically continuous with respect to \(D\) at every isolated point of \(D\) (take \(\delta\) small enough that \(|x-n|<\delta\) and \(x\in D\) force \(x=n\)). Thus \(f\) is continuous at every point of its domain, i.e. at \(x=1,2,3,\ldots\).

§2.4 Limits at Infinity; Infinite Limits

Printed p. 54; PDF p. 70.

Exercise §2.4.1

注记Stem (abridged)

\(\lim_{x\to\infty}(x^2-2x+3)/(x^3+4)\).

提示Solution

For \(x\neq 0\), \[ \frac{x^2-2x+3}{x^3+4}=\frac{1/x-2/x^2+3/x^3}{1+4/x^3}. \] As \(|x|\to\infty\) the right-hand side tends to \(0/1=0\) (Theorem 2.14 and the algebraic limit theorems at infinity). Thus the limit is \(0\).

(The odd-answer key lists \(0\).)

Exercise §2.4.2

注记Stem (abridged)

\(\lim_{x\to\infty}(2x^2+3x+4)/(x^2-2x+3)\).

提示Solution

Divide numerator and denominator by \(x^2\): \[ \frac{2+3/x+4/x^2}{1-2/x+3/x^2}\to\frac{2}{1}=2 \] as \(|x|\to\infty\).

Exercise §2.4.3

注记Stem (abridged)

\(\lim_{x\to\infty}(x^4-2x^2+6)/(x^2+7)\).

提示Solution

\[ \frac{x^4-2x^2+6}{x^2+7}=x^2\cdot\frac{1-2/x^2+6/x^4}{1+7/x^2}. \] The fraction tends to \(1\) as \(|x|\to\infty\), and \(x^2\to+\infty\), so the product tends to \(+\infty\).

(The odd-answer key lists \(+\infty\).)

Exercise §2.4.4

注记Stem (abridged)

\(\lim_{x\to+\infty}\bigl(x-\sqrt{x^2-a^2}\bigr)\).

提示Solution

For \(x>|a|\), rationalize: \[ x-\sqrt{x^2-a^2}=\frac{a^2}{x+\sqrt{x^2-a^2}}. \] The denominator is larger than \(x\), hence tends to \(+\infty\), and the quotient tends to \(0\).

Exercise §2.4.5

注记Stem (abridged)

\(\lim_{x\to-\infty}\bigl(x-\sqrt{x^2-a^2}\bigr)\).

提示Solution

For \(x<-|a|\), the same rationalization gives \[ x-\sqrt{x^2-a^2}=\frac{a^2}{x+\sqrt{x^2-a^2}}. \] Here \(\sqrt{x^2-a^2}=|x|\sqrt{1-a^2/x^2}=-x\sqrt{1-a^2/x^2}\), so \[ x+\sqrt{x^2-a^2}=x\bigl(1-\sqrt{1-a^2/x^2}\bigr). \] The factor in parentheses is positive and \(\sim a^2/(2x^2)\), hence the denominator equals \(a^2/(2x)+o(1/x)\to 0^-\). Equivalently, \(\sqrt{x^2-a^2}\sim |x|=-x\), so \[ x-\sqrt{x^2-a^2}\sim x-(-x)=2x\to-\infty. \] The limit is \(-\infty\) (in particular it is not a finite number). If \(a=0\) the expression is \(x-|x|=2x\) for \(x<0\), again \(\to-\infty\).

Odd-key disagreement. The key lists \(0\). That is the correct answer for \(x\to+\infty\) (§2.4.4), but not for \(x\to-\infty\): the square root is nonnegative, so it tracks \(|x|\) rather than \(x\), and the expression tracks \(2x\).

Exercise §2.4.6

注记Stem (abridged)

\(\lim_{x\to 1^+}(x-1)/\sqrt{x^2-1}\).

提示Solution

For \(x>1\), \[ \frac{x-1}{\sqrt{(x-1)(x+1)}}=\frac{\sqrt{x-1}}{\sqrt{x+1}}\to\frac{0}{\sqrt{2}}=0. \]

Exercise §2.4.7

注记Stem (abridged)

\(\lim_{x\to 1^-}\sqrt{1-x^2}/(1-x)\).

提示Solution

For \(x<1\) near \(1\), \[ \frac{\sqrt{(1-x)(1+x)}}{1-x}=\frac{\sqrt{1+x}}{\sqrt{1-x}}\to+\infty, \] since the numerator tends to \(\sqrt{2}\) and the denominator tends to \(0^+\).

(The odd-answer key lists \(+\infty\).)

Exercise §2.4.8

注记Stem (abridged)

\(\lim_{x\to+\infty}(x^2+1)/x^{3/2}\).

提示Solution

\((x^2+1)/x^{3/2}=x^{1/2}+x^{-3/2}\to+\infty\).

Exercise §2.4.9

注记Stem (abridged)

\(\lim_{x\to 2^-}\sqrt{4-x^2}/\sqrt{6-5x+x^2}\).

提示Solution

Factor \(4-x^2=(2-x)(2+x)\) and \(x^2-5x+6=(x-2)(x-3)=(2-x)(3-x)\). For \(x\in(1,2)\) both radicands are positive, and \[ \frac{\sqrt{(2-x)(2+x)}}{\sqrt{(2-x)(3-x)}}=\frac{\sqrt{2+x}}{\sqrt{3-x}}\to\frac{2}{1}=2. \]

(The odd-answer key lists \(2\).)

Exercise §2.4.10

注记Stem (abridged)

\(\lim_{x\to+\infty}\bigl(\sqrt{x^2+2x}-x\bigr)\).

提示Solution

\[ \sqrt{x^2+2x}-x=\frac{2x}{\sqrt{x^2+2x}+x}=\frac{2}{\sqrt{1+2/x}+1}\to\frac{2}{2}=1. \]

Exercise §2.4.11

注记Stem (abridged)

Prove Theorem 2.14.

提示Solution

Let \(f(x)=1/x\) for \(x\neq 0\), and let \(\varepsilon>0\). Set \(A=1/\varepsilon\).

  • If \(|x|>A\), then \(|f(x)|=1/|x|<1/A=\varepsilon\), so \(f(x)\to 0\) as \(x\to\infty\).
  • If \(x>A\), the same estimate gives \(f(x)\to 0\) as \(x\to+\infty\).
  • If \(x<-A\), again \(|f(x)|<\varepsilon\), so \(f(x)\to 0\) as \(x\to-\infty\).

Exercise §2.4.12

注记Stem (abridged)

Prove Theorem 2.15.

提示Solution

Assume \(f\) is continuous at \(L\) and \(g(x)\to L\) as \(x\to+\infty\). Given \(\varepsilon>0\), choose \(\delta_1>0\) so that \(|t-L|<\delta_1\) implies \(|f(t)-f(L)|<\varepsilon\). Then choose \(A>0\) so that \(x>A\) implies \(|g(x)-L|<\delta_1\). For such \(x\), the value \(f(g(x))\) is defined and \(|f(g(x))-f(L)|<\varepsilon\). Thus \(f(g(x))\to f(L)\) as \(x\to+\infty\).

Exercise §2.4.13

注记Stem (abridged)

State and prove the analog of Theorem 2.15 with \(x\to-\infty\).

提示Solution

Statement. If \(f\) is continuous at \(L\) and \(g(x)\to L\) as \(x\to-\infty\), then \(\lim_{x\to-\infty}f[g(x)]=f(L)\).

Proof. Given \(\varepsilon>0\), choose \(\delta_1>0\) so that \(|t-L|<\delta_1\) implies \(|f(t)-f(L)|<\varepsilon\). Choose \(A>0\) so that \(x<-A\) implies \(|g(x)-L|<\delta_1\). Then \(|f(g(x))-f(L)|<\varepsilon\) for \(x<-A\).

(The odd-answer key records this statement.)

Exercise §2.4.14

注记Stem (abridged)

State and prove the analog of Theorem 2.16 for limits from the right.

提示Solution

Statement. If \(f\) becomes infinite as \(x\to a^+\) (i.e. for every \(A>0\) there is \(\delta>0\) such that \(0<x-a<\delta\) implies \(|f(x)|>A\)), then \(f\) does not tend to a finite limit as \(x\to a^+\).

Proof. Suppose \(f(x)\to L\in\mathbb{R}^1\) as \(x\to a^+\). With \(\varepsilon=1\) there is \(\delta_0>0\) such that \(0<x-a<\delta_0\) implies \(|f(x)-L|<1\), hence \(|f(x)|<1+|L|\). But the infinite-limit hypothesis with \(A=1+|L|\) produces a right neighbourhood on which \(|f(x)|>1+|L|\), a contradiction on the overlap.

Exercise §2.4.15

注记Stem (abridged)

Prove Theorem 2.17.

提示Solution

Assume \(\lim_{y\to\infty}f(y)=L\) and \(\lim_{x\to a}g(x)=\infty\). Given \(\varepsilon>0\), choose \(A>0\) so that \(|y|>A\) implies \(|f(y)-L|<\varepsilon\). Then choose \(\delta>0\) so that \(0<|x-a|<\delta\) implies \(|g(x)|>A\) (in particular \(g(x)\) lies in the domain of \(f\) for such \(x\), once \(A\) is large enough that \(f\) is defined for \(|y|>A\)). Therefore \(0<|x-a|<\delta\) implies \(|f(g(x))-L|<\varepsilon\), i.e. \(f(g(x))\to L\) as \(x\to a\).

Exercise §2.4.16

注记Stem (abridged)

Prove Theorem 2.17(a).

提示Solution

Assume \(\lim_{t\to a}f(t)=\infty\), \(\lim_{x\to-\infty}g(x)=a\), and \(g(x)\neq a\) for \(x<-M\). Given \(A>0\), choose \(\delta>0\) so that \(0<|t-a|<\delta\) implies \(|f(t)|>A\). Then choose \(B>0\) so that \(x<-B\) implies \(|g(x)-a|<\delta\). Set \(C=\max(M,B)\). For \(x<-C\) one has \(g(x)\neq a\) and \(0<|g(x)-a|<\delta\), hence \(|f(g(x))|>A\). Thus \(f(g(x))\to\infty\) as \(x\to-\infty\).

Exercise §2.4.17

注记Stem (abridged)

\(f\to+\infty\) and \(g\to-\infty\) as \(x\to+\infty\). Give examples with \(f+g\to+\infty\), \(f+g\to-\infty\), and \(f+g\to A\) (arbitrary real \(A\)).

提示Solution

(a) \(f(x)=2x\), \(g(x)=-x\). Then \(f+g=x\to+\infty\).

(b) \(f(x)=x\), \(g(x)=-2x\). Then \(f+g=-x\to-\infty\).

(c) \(f(x)=x+A\), \(g(x)=-x\). Then \(f+g=A\).

(The odd-answer key lists these three pairs.)

Exercise §2.4.18

注记Stem (abridged)

Find \(p\), if any, for which the following limits exist: (a) \(\lim_{x\to 0^+}x^p\sin(1/x)\); (b) \(\lim_{x\to+\infty}x^p\sin(1/x)\); (c) \(\lim_{x\to-\infty}|x|^p\sin(1/x)\).

提示Solution

We interpret “exist” as existence of a finite limit.

(a) If \(p>0\) then \(|x^p\sin(1/x)|\le x^p\to 0\), so the limit is \(0\). If \(p=0\) the expression is \(\sin(1/x)\), which has no limit. If \(p<0\), along \(x_n=1/(n\pi)\) the expression is \(0\), while along \(y_n=1/(\pi/2+2n\pi)\) it equals \(y_n^p\to+\infty\); so there is neither a finite limit nor an infinite limit.

(b) Write \(x^p\sin(1/x)=x^{p-1}\cdot(\sin u)/u\) with \(u=1/x\to 0^+\), and \((\sin u)/u\to 1\). Thus the product tends to \(0\) if \(p<1\), to \(1\) if \(p=1\), and to \(+\infty\) if \(p>1\). A finite limit exists precisely for \(p\le 1\).

(c) Now \(u=1/x\to 0^-\) and \[ |x|^p\sin(1/x)=|x|^p\cdot\frac{1}{x}\cdot\frac{\sin u}{u}=-|x|^{p-1}\cdot\frac{\sin u}{u}. \] The limit is \(0\) if \(p<1\), is \(-1\) if \(p=1\), and is \(-\infty\) if \(p>1\). A finite limit exists precisely for \(p\le 1\).

Exercise §2.4.19

注记Stem (abridged)

State and prove the analog of Theorem 2.9 for \(x\to+\infty\).

提示Solution

Statement. If \(\lim_{x\to+\infty}f=L\), \(\lim_{x\to+\infty}g=M\), and \(f(x)\le g(x)\) for all \(x>A_0\), then \(L\le M\).

Proof. If \(L>M\), set \(\varepsilon=(L-M)/2\). For all sufficiently large \(x\) one would have \(f(x)>L-\varepsilon=M+\varepsilon>g(x)\), contradicting \(f\le g\).

(The odd-answer key records this statement.)

Exercise §2.4.20

注记Stem (abridged)

State and prove the analog of Theorem 2.10 for \(x\to-\infty\).

提示Solution

Statement. If \(f(x)\le g(x)\le h(x)\) for all \(x<-K\) and \(\lim_{x\to-\infty}f=\lim_{x\to-\infty}h=L\), then \(\lim_{x\to-\infty}g=L\).

Proof. Given \(\varepsilon>0\), choose \(A>K\) so that \(x<-A\) implies both \(|f-L|<\varepsilon\) and \(|h-L|<\varepsilon\). Then \(L-\varepsilon<f\le g\le h<L+\varepsilon\).

Exercise §2.4.21

注记Stem (abridged)

Prove Theorem 2.18.

提示Solution

Assume \(\lim_{x\to a}f=L\neq 0\), \(\lim_{x\to a}g=0\), and \(g(x)\neq 0\) for \(0<|x-a|<\delta_0\). Given \(A>0\), first choose \(\delta_1\in(0,\delta_0)\) so that \(0<|x-a|<\delta_1\) implies \(|f(x)|>|L|/2\) (possible because \(f\to L\neq 0\)). Then choose \(\delta_2>0\) so that \(0<|x-a|<\delta_2\) implies \(|g(x)|<(|L|/2)/A\), hence \[ \Bigl|\frac{f(x)}{g(x)}\Bigr|>\frac{|L|/2}{|g(x)|}>A. \] Take \(\delta=\min(\delta_1,\delta_2)\). Thus \(f/g\to\infty\) as \(x\to a\).

§2.5 Limits of Sequences

Printed pp. 57–58; PDF pp. 73–74.

Exercise §2.5.1

注记Stem (abridged)

\(f:x\mapsto x\cos x\). (a) Sequence \(x_n\to+\infty\) with \(f(x_n)\to 0\). (b) \(y_n\to+\infty\) with \(f(y_n)\to+\infty\). (c) \(z_n\to+\infty\) with \(f(z_n)\to-\infty\).

提示Solution

(a) Take \(x_n=(n+\tfrac12)\pi\). Then \(\cos x_n=0\), so \(f(x_n)=0\to 0\), while \(x_n\to+\infty\).

(b) Take \(y_n=2n\pi\). Then \(\cos y_n=1\) and \(f(y_n)=2n\pi\to+\infty\).

(c) Take \(z_n=(2n+1)\pi\). Then \(\cos z_n=-1\) and \(f(z_n)=-(2n+1)\pi\to-\infty\).

(The odd-answer key lists these three sequences.)

Exercise §2.5.2

注记Stem (abridged)

Prove Theorem 2.19.

提示Solution

Assume \(x_n\to a\) and \(y_n\to b\). Given \(\varepsilon>0\), choose \(N_1\) so that \(n>N_1\) implies \(|x_n-a|<\varepsilon/2\), and \(N_2\) so that \(n>N_2\) implies \(|y_n-b|<\varepsilon/2\). For \(n>\max(N_1,N_2)\), \[ |(x_n+y_n)-(a+b)|\le |x_n-a|+|y_n-b|<\varepsilon. \]

Exercise §2.5.3

注记Stem (abridged)

If \(a>1\) and \(n>1\) is an integer, show \(a^n>1+n(a-1)\).

提示Solution

Write \(a=1+h\) with \(h=a-1>0\). The binomial theorem gives \[ a^n=(1+h)^n=\sum_{k=0}^n \binom{n}{k}h^k=1+nh+\sum_{k=2}^n \binom{n}{k}h^k. \] Every term in the remaining sum is positive, so \(a^n>1+nh=1+n(a-1)\).

(The odd-answer key suggests this binomial expansion.)

Exercise §2.5.4

注记Stem (abridged)

If \(a>1\), show \(a^n\to+\infty\) as \(n\to\infty\).

提示Solution

By §2.5.3, \(a^n>1+n(a-1)\) for \(n>1\). The right-hand side tends to \(+\infty\) (Theorem 2.21(b) applied to \(n(a-1)\), or directly: given \(M>0\), take \(N>M/(a-1)\)). Hence \(a^n\to+\infty\).

Exercise §2.5.5

注记Stem (abridged)

Prove Theorem 2.20.

提示Solution

Assume \(f\) is continuous at \(a\) and \(x_n\to a\). Continuity at \(a\) supplies an open interval \(I\) about \(a\) on which \(f\) is defined, and: given \(\varepsilon>0\), a number \(\delta>0\) such that \(|t-a|<\delta\) implies \(|f(t)-f(a)|<\varepsilon\). Choose \(N\) so that \(n>N\) implies \(|x_n-a|<\delta\) (hence \(x_n\in I\)). Then \(f(x_n)\) is defined for \(n>N\) and \(f(x_n)\to f(a)\).

Exercise §2.5.6

注记Stem (abridged)

If \(-1<a<1\), show \(a^n\to 0\) as \(n\to\infty\).

提示Solution

If \(a=0\) the claim is immediate. If \(0<a<1\), set \(b=1/a>1\) and write \(b=1+h\) with \(h>0\). Then \(0<a^n=1/b^n<1/(1+nh)\) by §2.5.3, and \(1/(1+nh)\to 0\), so \(a^n\to 0\). If \(-1<a<0\), then \(|a^n|=|a|^n\to 0\) by the previous case, hence \(a^n\to 0\).

Exercise §2.5.7

注记Stem (abridged)

\(-1<a<1\) and \(s_n=b(1+a+\cdots+a^{n-1})\). Show \(\lim s_n=b/(1-a)\).

提示Solution

If \(a=0\) then \(s_n=b\) and \(b/(1-0)=b\). If \(a\neq 0\) (still \(|a|<1\)), the geometric sum is \(s_n=b(1-a^n)/(1-a)\). By §2.5.6 one has \(a^n\to 0\), so \(s_n\to b/(1-a)\).

Exercise §2.5.8

注记Stem (abridged)

Rational expressions \((a_0 x^m+\cdots+a_m)/(b_0 x^n+\cdots+b_n)\), always with \(b_0=1\) and in lowest terms. With \(0/1\) as zero and \(1/1\) as unit, and the ordinary algebraic operations, this collection is a field.

提示Solution

Write \(R\) for the set of such reduced expressions (a canonical set of representatives for the field of rational functions in one indeterminate). Sum, difference, and product of two rational expressions are again rational; after cancelling a common polynomial factor of numerator and denominator and dividing numerator and denominator by the leading coefficient of the denominator, one obtains a unique element of \(R\). The additive identity is \(0/1\) and the multiplicative identity is \(1/1\). The additive inverse of \(P/Q\) is \((-P)/Q\), which may be rewritten with monic denominator. If \(P/Q\neq 0/1\) then \(P\not\equiv 0\), and the multiplicative inverse is obtained by swapping (and making the new denominator monic). The field axioms are inherited from polynomial arithmetic: addition and multiplication of fractions \[ \frac{P}{Q}+\frac{R}{S}=\frac{PS+QR}{QS},\qquad \frac{P}{Q}\cdot\frac{R}{S}=\frac{PR}{QS} \] are associative, commutative, and distributive, independently of the representative, and the reduction map does not change the corresponding rational function.

Exercise §2.5.9

注记Stem (abridged)

Call a rational expression as in §2.5.8 positive when \(a_0>0\). Show that this ordered field satisfies Axiom I of Chapter 1.

提示Solution

Axiom I requires a set of “positive” elements such that: (i) for each \(a\), exactly one of “\(a\) is positive”, “\(a=0\)”, “\(-a\) is positive” holds; (ii) a finite sum or product of positives is positive.

Let \(f=P/Q\in R\) with \(Q\) monic, \(P=a_0 x^m+\cdots\) in lowest terms. Then \(f=0/1\) if and only if \(P\equiv 0\). If \(P\not\equiv 0\) then \(a_0\neq 0\) (otherwise the degree would drop). Exactly one of \(a_0>0\) or \(a_0<0\) holds; in the latter case \(-f\) has leading coefficient \(-a_0>0\). This is trichotomy.

If \(f\) and \(g\) are positive of degrees \(m,n\) with leading coefficients \(a_0,c_0>0\), the product has leading coefficient \(a_0 c_0>0\). For the sum: if \(m\neq n\) the leading term of the higher-degree summand survives and is positive; if \(m=n\) the leading coefficient is \(a_0+c_0>0\). Finite sums and products of positives are therefore positive.

Exercise §2.5.10

注记Stem (abridged)

With the order of §2.5.9, exhibit a rational expression larger than every positive integer \(n/1\). Conclude that the ordered field of rational expressions is non-Archimedean.

提示Solution

Let \(f\) be the expression \(x/1\) (i.e. the indeterminate itself). For each positive integer \(n\), the difference \(f-n/1=(x-n)/1\) has leading coefficient \(1>0\), so \(f>n/1\) in the order of §2.5.9. Thus \(f\) exceeds every positive integer, and the ordered field is not Archimedean. (Geometrically: \(f\) is “infinite” relative to the constants.)

Exercise §2.5.11

注记Stem (abridged)

\(\lim_{n\to\infty}(n^2+2n-1)/(n^2-3n+2)\).

提示Solution

Divide by \(n^2\): \[ \frac{1+2/n-1/n^2}{1-3/n+2/n^2}\to 1, \] using \(1/n\to 0\) (Theorem 2.21(c)) and the algebraic limit theorems for sequences.

(The odd-answer key lists \(1\).)

Exercise §2.5.12

注记Stem (abridged)

\(\lim_{n\to\infty}(n^3+4n-1)/(2n^2+n+5)\).

提示Solution

\[ \frac{n^3+4n-1}{2n^2+n+5}=n\cdot\frac{1+4/n^2-1/n^3}{2+1/n+5/n^2}. \] The fraction tends to \(1/2>0\) and \(n\to+\infty\), so the product tends to \(+\infty\).

Exercise §2.5.13

注记Stem (abridged)

\(\lim_{n\to\infty}\bigl(n+1/n\bigr)/(2n^2-3n)\).

提示Solution

\[ \frac{n+1/n}{2n^2-3n}=\frac{1+1/n^2}{2n-3}\to 0, \] since the numerator tends to \(1\) and the denominator tends to \(+\infty\).

(The odd-answer key lists \(0\).)

Exercise §2.5.14

注记Stem (abridged)

\(\lim_{n\to\infty}\sqrt{n^3+2n}-1/\sqrt[3]{n^2+4n-2}\).

提示Solution

(The scan prints the two radicals on one line; we read the expression as a difference. If instead the cube root sits inside the square root, the limit is still \(+\infty\).)

\(\sqrt{n^3+2n}=n^{3/2}\sqrt{1+2/n^2}\to+\infty\), while \[ 0<\frac{1}{\sqrt[3]{n^2+4n-2}}\le\frac{1}{\sqrt[3]{n^2/2}}\to 0 \] for large \(n\). A quantity tending to \(+\infty\), minus a quantity tending to \(0\), tends to \(+\infty\).

Exercise §2.5.15

注记Stem (abridged)

\(\lim_{n\to\infty}[3+\sin n]\,n\).

提示Solution

\(3+\sin n\ge 2\) for every \(n\), so \([3+\sin n]n\ge 2n\to+\infty\). Hence the expression tends to \(+\infty\).

Exercise §2.5.16

注记Stem (abridged)

If \(x_n\le y_n\le z_n\) for each \(n\) and \(x_n\to L\), \(z_n\to L\), then \(y_n\to L\).

提示Solution

This is the sequence form of Theorem 2.10. Given \(\varepsilon>0\), choose \(N\) so that \(n>N\) implies both \(|x_n-L|<\varepsilon\) and \(|z_n-L|<\varepsilon\). Then \(L-\varepsilon<x_n\le y_n\le z_n<L+\varepsilon\), so \(|y_n-L|<\varepsilon\).