Chapter 3 Exercises

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

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: every PROBLEMS list in Chapter 3. The book prints one list after §3.5 (covering §§3.4–3.5) and one list after §3.7 (covering §§3.6–3.7).
  • Pages: printed pp. 61–62, 67–68, 70, 75, 81–82; PDF pp. 77–78, 83–84, 86, 91, 97–98 (body offset PDF = printed + 16).
  • Principle: stems follow the scan; solutions are independent. Numbers were recomputed. Odd answers (printed pp. 516–517) were compared only after solving.
  • Companion notes: ch03-notes.qmd.

Numbering is §section.problem, using the section after which the list is printed.

§3.1 The Intermediate-Value Theorem

Printed pp. 61–62; PDF pp. 77–78.

Exercise §3.1.1

注记Stem (abridged)

\(f(x)=1\) if \(x\) is rational, \(f(x)=0\) if \(x\) is irrational.

  1. \(f\) is not continuous at any \(x_0\).

  2. If \(g\equiv 1\) on the rationals and \(g\) is continuous at every \(x\), then \(g\equiv 1\) on \(\mathbb{R}^1\).

提示Solution

(a) Fix \(x_0\in\mathbb{R}^1\) and \(\varepsilon=1/2\). In every neighborhood of \(x_0\) there is a rational \(r\) and an irrational \(s\), so \(f\) takes both values \(0\) and \(1\). Then \(\lvert f(r)-f(s)\rvert=1\ge\varepsilon\), and at least one of \(\lvert f(r)-f(x_0)\rvert\), \(\lvert f(s)-f(x_0)\rvert\) is \(\ge 1/2\). Hence no \(\delta\) works: \(f\) is discontinuous at \(x_0\).

(b) Let \(x_0\) be arbitrary. Choose rationals \(r_n\to x_0\). Continuity gives \(g(r_n)\to g(x_0)\). But \(g(r_n)=1\), so \(g(x_0)=1\).

Exercise §3.1.2

注记Stem (abridged)

\(f(x)=a_m x^m+\cdots+a_0\) a polynomial of odd degree.

  1. \(f(x)=0\) has at least one real root, by the Intermediate-value theorem.

  2. The range of \(f\) is \(\mathbb{R}^1\).

提示Solution

Assume \(a_m\neq 0\) and \(m\) is odd. Then \[ f(x)=x^m\Bigl(a_m+\frac{a_{m-1}}{x}+\cdots+\frac{a_0}{x^m}\Bigr),\qquad x\neq 0. \] As \(x\to+\infty\) the parenthesis tends to \(a_m\), and as \(x\to-\infty\) likewise; since \(m\) is odd, \(x^m\) changes sign. Thus \(f(x)\) tends to \(+\infty\) at one infinity and to \(-\infty\) at the other (the two infinities according to the sign of \(a_m\)).

(a) Choose \(R>0\) large enough that \(f(-R)\) and \(f(R)\) have opposite signs. Theorem 3.3 on \([-R,R]\) (applied to \(f\) or to \(-f\)) yields a root.

(b) Let \(c\in\mathbb{R}^1\) be arbitrary. The same limits show that \(f-c\) takes both positive and negative values, so (a) gives a root of \(f-c=0\). Thus \(c\) is in the range. (Alternatively: \(f\) is continuous and nonconstant on \(\mathbb{R}^1\), so Theorem 3.9 says the range is an interval; that interval is unbounded above and below, hence equals \(\mathbb{R}^1\).)

Exercise §3.1.3

注记Stem (abridged)

Even-degree polynomial. If \(a_m a_0<0\), then \(f(x)=0\) has at least two real roots.

提示Solution

Now \(m\) is even and \(a_m\neq 0\), so \(f(x)\to+\infty\) as \(x\to\pm\infty\) if \(a_m>0\), and \(f(x)\to-\infty\) as \(x\to\pm\infty\) if \(a_m<0\). Also \(f(0)=a_0\). The hypothesis \(a_m a_0<0\) means \(a_m\) and \(a_0\) have opposite signs, so \(f(0)\) has the opposite sign from the values of \(f\) at both infinities. Choose \(R>0\) large enough that \(f(-R)\) and \(f(R)\) have the sign of \(a_m\). Theorem 3.3 on \([-R,0]\) and on \([0,R]\) produces two roots, one in \((-R,0)\) and one in \((0,R)\). (Neither root can be \(0\), since \(a_0\neq 0\).)

The odd-answer key records only the case \(a_0<0\) (hence \(a_m>0\)) and the symmetric case \(a_0>0\); that is the same dichotomy.

Exercise §3.1.4

注记Stem (abridged)

Prove the last sentence of Theorem 3.2: if \(x_n\in[a,b]\), \(x_n\to x_0\), and \(x_0\) is an endpoint, then \(f(x_n)\to f(x_0)\).

提示Solution

The closedness \(x_0\in[a,b]\) is already proved in the text by the limit of inequalities. Suppose \(x_0=a\) (the case \(x_0=b\) is identical). Continuity of \(f\) at \(a\) on the domain \([a,b]\) means: for every \(\varepsilon>0\) there is \(\delta>0\) such that if \(x\in[a,b]\) and \(\lvert x-a\rvert<\delta\), then \(\lvert f(x)-f(a)\rvert<\varepsilon\). Since \(x_n\to a\) and \(x_n\in[a,b]\), there is \(N\) such that \(n>N\) implies \(\lvert x_n-a\rvert<\delta\), hence \(\lvert f(x_n)-f(a)\rvert<\varepsilon\).

Exercise §3.1.5

注记Stem (abridged)

\(f\) on \(I=[a,b]\) is increasing: \(x_1>x_2\) implies \(f(x_1)>f(x_2)\). It has the intermediate-value property. Show \(f\) is continuous.

提示Solution

We prove continuity at an interior point \(x_0\in(a,b)\); the endpoints are one-sided and the same. Since \(f\) is increasing, \[ L_-:=\sup\{f(x):a\le x<x_0\}\le f(x_0)\le\inf\{f(x):x_0<x\le b\}=:L_+. \] (The sets are nonempty and bounded, so the infimum and supremum exist by Theorem 3.5.)

If \(L_-<f(x_0)\), pick \(c\) with \(L_-<c<f(x_0)\). Then \(f(a)\le L_-<c<f(x_0)\le f(b)\), so the intermediate-value property supplies \(x_1\in I\) with \(f(x_1)=c\). The point \(x_1\) cannot satisfy \(x_1<x_0\) (else \(f(x_1)\le L_-<c\)), cannot equal \(x_0\) (else \(f(x_0)=c\)), and cannot satisfy \(x_1>x_0\) (else \(f(x_1)>f(x_0)>c\)). Contradiction. Thus \(L_-=f(x_0)\). A symmetric argument gives \(L_+=f(x_0)\).

Now let \(\varepsilon>0\). There is \(x'<x_0\) with \(f(x')>f(x_0)-\varepsilon\), and \(x''>x_0\) with \(f(x'')<f(x_0)+\varepsilon\). Set \(\delta=\min(x_0-x',x''-x_0)\). If \(0<\lvert x-x_0\rvert<\delta\) and \(x\in I\), then \(x'\le x\le x''\), so \[ f(x_0)-\varepsilon<f(x')\le f(x)\le f(x'')<f(x_0)+\varepsilon. \] Hence \(f\) is continuous at \(x_0\).

Exercise §3.1.6

注记Stem (abridged)

Example of a function continuous on \([0,1]\) except at \(x=1/2\), for which the Intermediate-value theorem fails.

提示Solution

Define \[ f(x)=\begin{cases} 0,& 0\le x<1/2,\\ 1,& 1/2\le x\le 1. \end{cases} \] Then \(f\) is continuous on \([0,1/2)\) and on \([1/2,1]\), hence on \([0,1]\) except at \(x=1/2\). But \(f(0)=0<1/2<1=f(1)\), and \(f\) never takes the value \(1/2\).

Exercise §3.1.7

注记Stem (abridged)

Nonconstant continuous \(f\) for which Theorem 3.3 holds and there are infinitely many \(x_0\) with \(f(x_0)=c\).

提示Solution

On \(I=[0,1]\) set \(f(0)=0\) and \(f(x)=x\sin(1/x)\) for \(0<x\le 1\). Then \(\lvert f(x)\rvert\le x\), so \(f\) is continuous at \(0\) and on \((0,1]\), hence on \([0,1]\). It is nonconstant. Theorem 3.3 applies. For \(c=0\), the points \(x_n=1/(n\pi)\), \(n=1,2,\ldots\), all lie in \((0,1]\) and satisfy \(f(x_n)=0\). (The odd-answer key records this example.)

§3.2 Least Upper Bound; Greatest Lower Bound

Printed pp. 67–68; PDF pp. 83–84.

In Problems 1–8, \(U=\operatorname{l.u.b.}S\) and \(L=\operatorname{g.l.b.}S\); we state whether each lies in \(S\).

Exercise §3.2.1

注记Stem (abridged)

\(S=\{x:0<x\le 3\}\).

提示Solution

\(S=(0,3]\). Every \(x\in S\) satisfies \(x\le 3\), and \(3\in S\), so \(U=3\in S\). Every \(x\in S\) satisfies \(x>0\), and for every \(\varepsilon>0\) the point \(\min(3,\varepsilon/2)\) lies in \(S\), so \(L=0\notin S\).

(Agrees with the odd key: \(3\), yes; \(0\), no.)

Exercise §3.2.2

注记Stem (abridged)

\(S=\{x:x^2-3<0\}\).

提示Solution

\(S=(-\sqrt{3},\sqrt{3})\). Thus \(U=\sqrt{3}\notin S\) and \(L=-\sqrt{3}\notin S\).

Exercise §3.2.3

注记Stem (abridged)

\(S=\{x:x^2-2x-3<0\}\).

提示Solution

\(x^2-2x-3=(x-3)(x+1)\), so \(S=(-1,3)\). Hence \(U=3\notin S\) and \(L=-1\notin S\).

(Agrees with the odd key: \(3\), no; \(-1\), no.)

Exercise §3.2.4

注记Stem (abridged)

\(S=\{y:y=x/(x+1),\,x\ge 0\}\).

提示Solution

For \(x\ge 0\) one has \(0\le x/(x+1)<1\), and \(x/(x+1)\to 1\) as \(x\to+\infty\), while \(x=0\) gives \(y=0\). Thus \(S=[0,1)\), so \(U=1\notin S\) and \(L=0\in S\).

Exercise §3.2.5

注记Stem (abridged)

\(S=\{s_n:s_n=\sum_{i=1}^n 1/2^i,\,n=1,2,\ldots\}\).

提示Solution

Geometric sums: \(s_n=1-2^{-n}\). The sequence is increasing, \(s_1=1/2\), and \(s_n\to 1\) with \(s_n<1\). Thus \(U=1\notin S\) and \(L=1/2\in S\).

(Agrees with the odd key: \(1\), no; \(1/2\), yes.)

Exercise §3.2.6

注记Stem (abridged)

\(S=\{s_n:s_n=1+\sum_{i=1}^n((-1)^i/i!),\,n=1,2,\ldots\}\).

提示Solution

\(s_n=\sum_{i=0}^n (-1)^i/i!\), the partial sums of \(e^{-1}\). Then \(s_1=0\) and \(s_2=1/2\). The alternating-series remainder implies that the even terms decrease to \(e^{-1}\) and the odd terms (from \(n=1\)) increase to \(e^{-1}\): \[ s_1<s_3<s_5<\cdots<e^{-1}<\cdots<s_6<s_4<s_2. \] Hence the smallest element of \(S\) is \(s_1=0\) and the largest is \(s_2=1/2\). So \(U=1/2\in S\) and \(L=0\in S\).

Exercise §3.2.7

注记Stem (abridged)

\(S=\{x:0<x<5,\,\cos x=0\}\).

提示Solution

\(\cos x=0\) at \(x=\pi/2+k\pi\). The solutions in \((0,5)\) are \(\pi/2\) and \(3\pi/2\) (since \(5\pi/2>5\)). Thus \(S=\{\pi/2,\,3\pi/2\}\), so \(U=3\pi/2\in S\) and \(L=\pi/2\in S\).

(Agrees with the odd key: \(3\pi/2\), yes; \(\pi/2\), yes.)

Exercise §3.2.8

注记Stem (abridged)

\(S=\{x:-10<x<10,\,\sin x=1/2\}\).

提示Solution

\(\sin x=1/2\) at \(x=\pi/6+2k\pi\) or \(x=5\pi/6+2k\pi\). The solutions in \((-10,10)\) are \[ -\frac{19\pi}{6},\; -\frac{11\pi}{6},\; -\frac{7\pi}{6},\; \frac{\pi}{6},\; \frac{5\pi}{6},\; \frac{13\pi}{6},\; \frac{17\pi}{6}. \] (The next candidates \(-23\pi/6<-10\) and \(25\pi/6>10\).) The set is finite, so \(U=17\pi/6\in S\) and \(L=-19\pi/6\in S\).

Exercise §3.2.9

注记Stem (abridged)

\(S=\{s_n:s_n=1+\sum_{i=1}^n 1/i!,\,n=1,2,\ldots\}\). Show that \(3\) is an upper bound.

提示Solution

For \(i\ge 1\), \(i!\ge 2^{i-1}\), so \(1/i!\le 2^{1-i}\). Therefore \[ s_n=1+\sum_{i=1}^n\frac1{i!}\le 1+\sum_{i=1}^n 2^{1-i}=1+\sum_{k=0}^{n-1}2^{-k}=1+\frac{1-2^{-n}}{1-1/2}=3-2^{1-n}<3. \] Thus \(3\) is an upper bound for \(S\).

Exercise §3.2.10

注记Stem (abridged)

\(B_i=\operatorname{l.u.b.}S_i\), \(b_i=\operatorname{g.l.b.}S_i\). If \(S_1\subset S_2\), show \(B_1\le B_2\) and \(b_2\le b_1\).

提示Solution

\(B_2\) is an upper bound for \(S_2\), hence for the subset \(S_1\), so the least upper bound of \(S_1\) satisfies \(B_1\le B_2\). Likewise \(b_2\) is a lower bound for \(S_1\), so \(b_2\le b_1\).

Exercise §3.2.11

注记Stem (abridged)

\(S=S_1\cup\cdots\cup S_n\), \(B_i=\sup S_i\), \(b_i=\inf S_i\).

  1. \(\sup S=\max(B_1,\ldots,B_n)\) and \(\inf S=\min(b_1,\ldots,b_n)\).

  2. If \(S\) is an infinite union, relate \(\inf S\), \(\sup S\) to \(\{b_i\}\), \(\{B_i\}\).

提示Solution

(a) Let \(B=\max_i B_i\). Every \(x\in S\) lies in some \(S_j\), so \(x\le B_j\le B\); thus \(B\) is an upper bound for \(S\) and \(\sup S\le B\). Conversely \(S_i\subset S\) so \(B_i=\sup S_i\le\sup S\) for each \(i\), hence \(B\le\sup S\). Equality follows. The identity \(\inf S=\min_i b_i\) is the same argument with \(-S\).

(b) For \(S=\bigcup_{i=1}^\infty S_i\) the same comparison gives \[ \sup S=\sup_i B_i,\qquad \inf S=\inf_i b_i, \] where the right-hand sides are allowed to be \(+\infty\) or \(-\infty\) (if a \(B_i\) fails to exist because \(S_i\) is unbounded above, then \(S\) is unbounded above). Equivalently: \(\inf S=\inf\{b_i\}\) provided the right-hand side exists as a real number, and \(\sup S=\sup\{B_i\}\) provided that exists.

(Agrees with the odd key for (b).)

Exercise §3.2.12

注记Stem (abridged)

\(S=S_1\cap\cdots\cap S_n\neq\varnothing\). Relate \(\sup S\) and \(\inf S\) to \(\{b_i\}\), \(\{B_i\}\).

提示Solution

\(S\subset S_i\) for each \(i\), so \(\sup S\le B_i\) and \(\inf S\ge b_i\). Therefore \[ \sup S\le \min_{1\le i\le n}B_i,\qquad \inf S\ge \max_{1\le i\le n}b_i. \] Either inequality may be strict. Example: \(S_1=[0,1]\cup[3,4]\) and \(S_2=[0,1]\cup[5,6]\) give \(S=[0,1]\), so \(\sup S=1<\min(4,6)=4\).

Exercise §3.2.13

注记Stem (abridged)

Prove Theorem 3.4.

提示Solution

If \(\lvert x\rvert\le K\) for all \(x\in S\), then \(-K\le x\le K\), so \(S\) is bounded below by \(-K\) and above by \(K\). Conversely, if \(m\le x\le M\) for all \(x\in S\), set \(K=\max(\lvert m\rvert,\lvert M\rvert)\); then \(\lvert x\rvert\le K\).

A function \(f\) is bounded above by \(M\) on \(S\) if and only if \(f(x)\le M\) for all \(x\in S\), by definition of the range of \(f\vert_S\). The statements for bounded below and for boundedness are the same applied to the range, together with the first paragraph.

Exercise §3.2.14

注记Stem (abridged)

Use the Corollary to Theorem 3.5 to deduce Axiom C from Theorem 3.5. Hint: let \(B=\operatorname{l.u.b.}\{x_n\}\) for an increasing sequence, and show \(x_n\to B\).

提示Solution

Let \(\{x_n\}\) be increasing and bounded above by \(M\). The set \(T=\{x_n:n\in\mathbb{N}\}\) is nonempty and bounded above, so Theorem 3.5 supplies \(B=\sup T\), and \(B\le M\). The Corollary gives: for every \(\varepsilon>0\) there is some \(x_N\in T\) with \(x_N>B-\varepsilon\). Increasingness yields \(B-\varepsilon<x_N\le x_n\le B\) for all \(n\ge N\), so \(\lvert x_n-B\rvert<\varepsilon\). Thus \(x_n\to B\) with \(x_n\le B\le M\), which is Axiom C. The decreasing case follows by applying the same argument to \(\{-x_n\}\).

Exercise §3.2.15

注记Stem (abridged)

Prove Theorem 3.6.

提示Solution

Let \(T=\{f(x):a<x<b\}\). The set \(T\) is nonempty and bounded above by \(M\), so \(C:=\sup T\) exists and \(C\le M\). We claim \(f(x)\to C\) as \(x\to b^-\). Let \(\varepsilon>0\). There exists \(x_1\in(a,b)\) with \(f(x_1)>C-\varepsilon\). If \(x_1<x<b\), nondecreasingness gives \(C-\varepsilon<f(x_1)\le f(x)\le C\), hence \(\lvert f(x)-C\rvert<\varepsilon\).

Exercise §3.2.16

注记Stem (abridged)

Prove Theorem 3.7.

提示Solution

Assume \(f\) is bounded and nondecreasing on an interval \(I\) (the nonincreasing case is \(-f\)). Let \(c\) be an interior point, so there exist \(a,b\in I\) with \(a<c<b\). Then \(f\) is nondecreasing and bounded above by \(f(c)\) on \((a,c)\), so Theorem 3.6 gives a left-hand limit at \(c\). On \((c,b)\) the function is nondecreasing and bounded below by \(f(c)\); equivalently \(-f\) is nondecreasing and bounded above on the reversed interval, so a right-hand limit exists at \(c\).

If \(I\) has a right endpoint \(b\) belonging to \(I\) or not, the same application of Theorem 3.6 on a left neighborhood in \(I\) produces \(f(x)\to C\) as \(x\to b^-\). A left endpoint is similar.

If \(I\) is unbounded above, then \(f\) is nondecreasing and bounded above on \((a,+\infty)\) for any \(a\in I\), so Theorem 3.6 (with \(b=+\infty\) in the same supremum argument: \(C=\sup\{f(x):x>a\}\)) yields a limit as \(x\to+\infty\). Unboundedness below is similar.

Exercise §3.2.17

注记Stem (abridged)

Complete the proof of Theorem 3.8 for unbounded \(S\).

提示Solution

The text treats the bounded case and the case unbounded above but bounded below. It remains to treat \(S\) unbounded both above and below. (The case unbounded below and bounded above is symmetric to the text’s Case 2.)

Let \(x\in\mathbb{R}^1\) be arbitrary. Since \(S\) has no lower bound there is \(x_1\in S\) with \(x_1<x\), and since \(S\) has no upper bound there is \(x_2\in S\) with \(x_2>x\). Property (ii) puts \(x\in(x_1,x_2)\subset S\). Thus \(S=\mathbb{R}^1\), which is an interval.

Exercise §3.2.18

注记Stem (abridged)

\(S=\{x=x_1+x_2:x_1\in S_1,\,x_2\in S_2\}\). Find \(\operatorname{l.u.b.}S\) and \(\operatorname{g.l.b.}S\) in terms of those of \(S_1,S_2\). In particular, if \(-S_1=\{-x:x\in S_1\}\), the book prints \(\operatorname{l.u.b.}(-S_1)=\operatorname{g.l.b.}S_1\).

提示Solution

Assume \(S_1,S_2\) nonempty and bounded, and write \(B_i=\sup S_i\), \(b_i=\inf S_i\). For any \(x_1\in S_1\), \(x_2\in S_2\) one has \(x_1+x_2\le B_1+B_2\), so \(B_1+B_2\) is an upper bound for \(S\) and \(\sup S\le B_1+B_2\). Conversely, given \(\varepsilon>0\) there exist \(x_1\in S_1\), \(x_2\in S_2\) with \(x_1>B_1-\varepsilon/2\) and \(x_2>B_2-\varepsilon/2\), so \(x_1+x_2>B_1+B_2-\varepsilon\). Thus no smaller number is an upper bound, and \(\sup S=B_1+B_2\). The same argument with \(-S\) gives \(\inf S=b_1+b_2\).

If \(S_1\) is unbounded above then so is \(S\); if \(S_1\) is unbounded below then so is \(S\).

For \(-S_1\), the identity is \[ \sup(-S_1)=-\inf S_1, \] not the printed formula \(\operatorname{l.u.b.}(-S_1)=\operatorname{g.l.b.}S_1\) (a missing minus sign). Indeed \(x\in S_1\) if and only if \(-x\in -S_1\), and \(x\ge\inf S_1\) if and only if \(-x\le -\inf S_1\), with sharpness preserved.

Exercise §3.2.19

注记Stem (abridged)

\(S\) is a finite union of closed bounded intervals, any two of which share at most one point. If \(f\) is monotone on each piece, prove Theorem 3.7 on \(S\). Give two counterexamples for an infinite union: one with \(S\) unbounded, one with \(S\) bounded.

提示Solution

Write \(S=\bigcup_{i=1}^n I_i\) with each \(I_i=[a_i,b_i]\). The interior points of \(S\) (points possessing a neighborhood meeting \(S\) in a full interval) lie in the interior of some \(I_j\), except possibly at a shared endpoint of two adjacent intervals. On each \(I_j\) the restriction of \(f\) is monotone and bounded (a continuous image of a compact interval is unnecessary: a monotone function on a closed bounded interval is bounded by its one-sided endpoint values). Theorem 3.7 on \(I_j\) gives left and right limits at interior points of \(I_j\). At a shared endpoint \(c=I_j\cap I_k\), the left-hand limit exists from the left-hand interval and the right-hand limit from the right-hand interval. Endpoints of \(S\) have the corresponding one-sided limits. Since \(S\) is bounded, there is no question of limits at infinity.

Unbounded infinite union. Let \(I_i=[(i-1)\pi,i\pi]\) for \(i=1,2,\ldots\), and \(f(x)=\cos x\). Then \(f\) is monotone on each \(I_i\) (cosine is monotone on each interval of length \(\pi\)) and bounded, but \(f(x)\) has no limit as \(x\to+\infty\).

Bounded infinite union. Let \(I_1=[-1,0]\) and \(I_i=[1/(i\pi),1/((i-1)\pi)]\) for \(i=2,3,\ldots\). Then \(S=[-1,1/\pi]\). Set \(f(x)=0\) for \(x\le 0\) and \(f(x)=\cos(1/x)\) for \(x>0\). On each \(I_i\) with \(i\ge 2\), the map \(x\mapsto 1/x\) sends \(I_i\) onto \([(i-1)\pi,i\pi]\), so \(f\) is monotone on \(I_i\); \(f\) is constant on \(I_1\). But \(f\) has no right-hand limit at the interior point \(0\).

(The odd key records these two examples.)

§3.3 The Bolzano–Weierstrass Theorem

Printed p. 70; PDF p. 86.

In Problems 1–7, decide convergence; if the sequence diverges, exhibit a convergent subsequence. Index \(n=1,2,\ldots\).

Exercise §3.3.1

注记Stem (abridged)

\(x_n=(-1)^n(1-1/n)\).

提示Solution

Even terms: \(x_{2n}=1-1/(2n)\to 1\). Odd terms: \(x_{2n-1}=-(1-1/(2n-1))\to -1\). The sequence diverges (two distinct subsequential limits). The even subsequence converges.

(Agrees with the odd key: No; \(\{x_{2n}\}\).)

Exercise §3.3.2

注记Stem (abridged)

\(x_n=1+((-1)^n)/n\).

提示Solution

\(\lvert x_n-1\rvert=1/n\to 0\), so \(x_n\to 1\).

Exercise §3.3.3

注记Stem (abridged)

\(x_n=(-1)^n(2-2^{-n})\).

提示Solution

Even terms: \(x_{2n}=2-2^{-2n}\to 2\). Odd terms: \(x_{2n-1}=-(2-2^{-(2n-1)})\to -2\). Diverges; \(\{x_{2n}\}\) converges.

(Agrees with the odd key: No; \(\{x_{2n}\}\).)

Exercise §3.3.4

注记Stem (abridged)

\(x_n=\sum_{i=1}^n (-1)^i/2^i\).

提示Solution

Geometric series: \[ x_n=\sum_{i=1}^n\Bigl(-\frac12\Bigr)^i=-\frac12\cdot\frac{1-(-1/2)^n}{1-(-1/2)}=-\frac13\bigl(1-(-1/2)^n\bigr)\to -\frac13. \] The sequence converges.

Exercise §3.3.5

注记Stem (abridged)

\(x_n=\sum_{j=1}^n 1/j!\).

提示Solution

The series \(\sum 1/j!\) converges (e.g. compare with the geometric series as in §3.2.9), so the partial sums \(x_n\) converge (to \(e-1\)).

(Agrees with the odd key: Yes.)

Exercise §3.3.6

注记Stem (abridged)

\(x_n=\sin(n\pi/2)+\cos(n\pi)\).

提示Solution

The sequence is periodic of period \(4\): \(0,1,-2,1,0,1,-2,1,\ldots\). It diverges. Convergent subsequences include \(\{x_{4n}\}\) (constant \(1\)), \(\{x_{4n-3}\}\) (constant \(0\)), and \(\{x_{4n-1}\}\) (constant \(-2\)).

Exercise §3.3.7

注记Stem (abridged)

\(x_n=\bigl(\sin(n\pi/3)\bigr)(1-1/n)\).

提示Solution

The factor \(\sin(n\pi/3)\) cycles through \(\sqrt{3}/2,\,\sqrt{3}/2,\,0,\,-\sqrt{3}/2,\,-\sqrt{3}/2,\,0\). Along \(n=3k\) one has \(x_{3k}=0\). The full sequence has subsequential limits \(\pm\sqrt{3}/2\) and \(0\), so it diverges. The subsequence \(\{x_{3n}\}\) converges to \(0\).

(Agrees with the odd key: No; \(\{x_{3n}\}\).)

Exercise §3.3.8

注记Stem (abridged)

Prove Theorem 3.10’: every infinite subsequence of a convergent sequence converges to the same limit.

提示Solution

Let \(x_n\to x_0\) and let \(y_n=x_{k_n}\) with \(k_1<k_2<\cdots\). The increasing positive integers satisfy \(k_n\ge n\) for every \(n\) (induction: \(k_1\ge 1\), and \(k_{n+1}\ge k_n+1\ge n+1\)). Given \(\varepsilon>0\), choose \(N\) so that \(m>N\) implies \(\lvert x_m-x_0\rvert<\varepsilon\). Then \(n>N\) implies \(k_n\ge n>N\), so \(\lvert y_n-x_0\rvert=\lvert x_{k_n}-x_0\rvert<\varepsilon\).

Exercise §3.3.9

注记Stem (abridged)

The sequence \(1\tfrac12,\,2\tfrac12,\,3\tfrac12,\,1\tfrac13,\,2\tfrac13,\,3\tfrac13,\,1\tfrac14,\ldots\) has subsequences converging to \(1,2,3\).

  1. A sequence with subsequences converging to \(N\) distinct numbers, \(N\) any positive integer.

(*b) A sequence with subsequences converging to infinitely many distinct numbers.

提示Solution

The displayed sequence is \(k+1/n\) for \(n=2,3,\ldots\) and \(k=1,2,3\) in turn. For each fixed \(k\in\{1,2,3\}\), the terms \(k+1/n\to k\).

(a) Enumerate \(k+1/n\) for \(k=1,\ldots,N\) and \(n=1,2,\ldots\) (e.g. by diagonals, or by blocks of \(N\) at each \(n\)). For each fixed \(k\), the subsequence with that \(k\) tends to \(k\).

**(*b)** Enumerate \(k+1/n\) for all integers \(k\ge 1\) and \(n\ge 1\) (countable union of countable sets). For each fixed \(k\) the subsequence \(k+1/n\to k\), giving infinitely many distinct subsequential limits.

(Agrees with the odd key.)

§§3.4–3.5 Boundedness, extreme values, and uniform continuity

The book prints a single PROBLEMS list after §3.5 (printed p. 75; PDF p. 91), covering the material of §§3.4–3.5. Numbered here as in that list (the odd-answer appendix labels it Section 3.5).

Exercise §3.5.1

注记Stem (abridged)

\(f\) continuous and increasing on \([a,b]\). Show that the range is \([f(a),f(b)]\).

提示Solution

Increasing means \(x_1>x_2\) implies \(f(x_1)>f(x_2)\), so \(f(a)\le f(x)\le f(b)\) for all \(x\in[a,b]\), and \(f(a)<f(b)\) unless \(f\) is constant (in which case the range is the singleton \(\{f(a)\}=[f(a),f(b)]\)). Thus the range \(J\) is contained in \([f(a),f(b)]\). If \(f(a)<c<f(b)\), Theorem 3.3 supplies \(x_0\in[a,b]\) with \(f(x_0)=c\). The endpoints \(f(a),f(b)\) are attained. Hence \(J=[f(a),f(b)]\).

Exercise §3.5.2

注记Stem (abridged)

Prove the Extreme-value theorem using Bolzano–Weierstrass (cf. the Remark after Theorem 3.12).

提示Solution

By Theorem 3.11 the range of \(f\) on \(I=[a,b]\) is bounded. Let \(M=\sup_{x\in I}f(x)\). The Corollary to Theorem 3.5 produces a sequence \(\{y_n\}\) in the range with \(y_n\to M\) (if \(M\) is already in the range we are done for the maximum; otherwise the Corollary applies directly). Write \(y_n=f(z_n)\) with \(z_n\in I\). Bolzano–Weierstrass yields a subsequence \(z_{k_n}\to x_1\in I\). Continuity (Theorem 3.2) gives \(f(z_{k_n})\to f(x_1)\). But \(f(z_{k_n})=y_{k_n}\to M\), so \(f(x_1)=M\). The infimum is attained by the same argument applied to \(-f\).

Exercise §3.5.3

注记Stem (abridged)

\(f\) continuous and bounded on \(\{x:0\le x<\infty\}\). Example showing that the Extreme-value theorem fails.

提示Solution

Take \(f(x)=x/(x+1)\) on \([0,+\infty)\). Then \(0\le f(x)<1\), so \(f\) is bounded, and \(f\) is continuous. The range is \([0,1)\), so \(\sup f=1\) is not attained, and there is no maximum value.

(Agrees with the odd key.)

Exercise §3.5.4

注记Stem (abridged)

\(f\) uniformly continuous on closed intervals \(I_1\) and \(I_2\). Show \(f\) is uniformly continuous on \(S=I_1\cup I_2\).

提示Solution

Let \(\varepsilon>0\). There exist \(\delta_1,\delta_2>0\) serving as uniform moduli on \(I_1\) and on \(I_2\) respectively. If \(I_1\cap I_2=\varnothing\), the two compact intervals are a positive distance \(d\) apart; set \(\delta=\min(\delta_1,\delta_2,d)\). Then \(\lvert x-y\rvert<\delta\) with \(x,y\in S\) forces \(x,y\) into the same \(I_j\), and \(\lvert f(x)-f(y)\rvert<\varepsilon\).

If \(I_1\cap I_2\neq\varnothing\), the intersection is a closed interval or a point \(c\). Set \(\delta=\min(\delta_1,\delta_2)\). If \(x,y\in S\) and \(\lvert x-y\rvert<\delta\), then either both lie in one \(I_j\), or (after labelling) \(x\in I_1\), \(y\in I_2\), in which case the segment from \(x\) to \(y\) meets \(I_1\cap I_2\) at some \(c\), and \(\lvert x-c\rvert<\delta\), \(\lvert y-c\rvert<\delta\), so \[ \lvert f(x)-f(y)\rvert\le\lvert f(x)-f(c)\rvert+\lvert f(c)-f(y)\rvert<\varepsilon. \] (If \(I_1\cap I_2\) is a nondegenerate interval one may pick \(c\) in that intersection between \(x\) and \(y\).) Thus \(f\) is uniformly continuous on \(S\).

Exercise §3.5.5

注记Stem (abridged)

\(f(x)=1/x\) is uniformly continuous on \(S=\{x:1\le x<\infty\}\).

提示Solution

For \(x,y\ge 1\), \[ \biggl\lvert\frac1x-\frac1y\biggr\rvert=\frac{\lvert x-y\rvert}{xy}\le\lvert x-y\rvert. \] Given \(\varepsilon>0\), take \(\delta=\varepsilon\). Then \(\lvert x-y\rvert<\delta\) implies \(\lvert f(x)-f(y)\rvert<\varepsilon\).

Exercise §3.5.6

注记Stem (abridged)

\(f(x)=\sin x\) is uniformly continuous on \(\mathbb{R}^1\). Hint: \(\sin A-\sin B=2\sin((A-B)/2)\cos((A+B)/2)\).

提示Solution

\[ \lvert\sin x-\sin y\rvert=\bigl\lvert 2\sin\tfrac{x-y}{2}\cos\tfrac{x+y}{2}\bigr\rvert\le 2\Bigl\lvert\sin\tfrac{x-y}{2}\Bigr\rvert\le\lvert x-y\rvert, \] using \(\lvert\sin\theta\rvert\le\lvert\theta\rvert\) and \(\lvert\cos\rvert\le 1\). Given \(\varepsilon>0\), take \(\delta=\varepsilon\).

Exercise §3.5.7

注记Stem (abridged)

\(f\) continuous on \((a,b)\), with limits at \(a^+\) and \(b^-\). Extending by those limits, \(f_0\) is uniformly continuous on \([a,b]\).

提示Solution

Define \(f_0(a)=\lim_{x\to a^+}f(x)\), \(f_0(b)=\lim_{x\to b^-}f(x)\), and \(f_0=f\) on \((a,b)\). Continuity of \(f_0\) at interior points is that of \(f\). Continuity at \(a\): given \(\varepsilon>0\), the meaning of \(f(x)\to f_0(a)\) as \(x\to a^+\) supplies \(\delta>0\) such that \(a<x<a+\delta\) implies \(\lvert f_0(x)-f_0(a)\rvert<\varepsilon\); the same holds at \(b\). Thus \(f_0\) is continuous on the compact interval \([a,b]\), hence uniformly continuous by Theorem 3.13.

Exercise §3.5.8

注记Stem (abridged)

\(f(x)=\sin(1/x)\) on \(I=\{x:0<x\le 1\}\). Uniformly continuous or not?

提示Solution

Not uniformly continuous. Let \(\varepsilon=1\), and set \[ x_n=\frac1{\pi/2+2n\pi},\qquad y_n=\frac1{3\pi/2+2n\pi}. \] Then \(f(x_n)=1\), \(f(y_n)=-1\), so \(\lvert f(x_n)-f(y_n)\rvert=2\ge\varepsilon\), while \[ \lvert x_n-y_n\rvert=\frac{\pi}{(\pi/2+2n\pi)(3\pi/2+2n\pi)}\to 0. \] For any candidate \(\delta>0\), choose \(n\) large enough that \(\lvert x_n-y_n\rvert<\delta\).

Exercise §3.5.9

注记Stem (abridged)

From the definition, \(f(x)=\sqrt{x}\) is uniformly continuous on \([0,1]\).

提示Solution

For \(x,y\ge 0\), \(\lvert\sqrt{x}-\sqrt{y}\rvert\le\sqrt{x}+\sqrt{y}\), so \[ \lvert\sqrt{x}-\sqrt{y}\rvert^2\le\lvert\sqrt{x}-\sqrt{y}\rvert\cdot(\sqrt{x}+\sqrt{y})=\lvert x-y\rvert. \] Hence \(\lvert\sqrt{x}-\sqrt{y}\rvert\le\sqrt{\lvert x-y\rvert}\). Given \(\varepsilon>0\), take \(\delta=\varepsilon^2\). Then \(\lvert x-y\rvert<\delta\) implies \(\lvert\sqrt{x}-\sqrt{y}\rvert<\varepsilon\).

Exercise §3.5.10

注记Stem (abridged)

\(f\) uniformly continuous on \(I=\{x:0<x\le 1\}\). Is \(f\) bounded on \(I\)?

提示Solution

Yes. Take \(\varepsilon=1\) and let \(\delta>0\) be a corresponding modulus. The restriction of \(f\) to the compact interval \([\delta,1]\) is continuous, hence bounded, say \(\lvert f\rvert\le M\) there. On \((0,\delta)\), every \(x\) satisfies \(\lvert x-\delta/2\rvert<\delta\) (since \(\delta/2<\delta\)), so \(\lvert f(x)-f(\delta/2)\rvert<1\), hence \(\lvert f(x)\rvert<\lvert f(\delta/2)\rvert+1\). Therefore \(f\) is bounded on \(I\) by \(\max\bigl(M,\lvert f(\delta/2)\rvert+1\bigr)\).

Exercise §3.5.11

注记Stem (abridged)

A general polynomial \(f(x)=a_n x^n+\cdots+a_0\) is uniformly continuous on \(0\le x\le 1\).

提示Solution

A polynomial is continuous on \(\mathbb{R}^1\), hence on the compact interval \([0,1]\). Theorem 3.13 gives uniform continuity.

(Directly: \(\lvert x^k-y^k\rvert=\lvert x-y\rvert\cdot\lvert x^{k-1}+\cdots+y^{k-1}\rvert\le k\lvert x-y\rvert\) for \(x,y\in[0,1]\), so \(\lvert f(x)-f(y)\rvert\le\bigl(\sum_{k=1}^n k\lvert a_k\rvert\bigr)\lvert x-y\rvert\), a Lipschitz estimate.)

Exercise §3.5.12

注记Stem (abridged)

\(f(x)=x\sin(1/x)\) for \(0<x\le 1\), \(f(0)=0\), is uniformly continuous on \([0,1]\).

提示Solution

For \(x>0\), \(\lvert f(x)-f(0)\rvert=\lvert x\sin(1/x)\rvert\le x\), so \(f\) is continuous at \(0\). Continuity on \((0,1]\) is that of a composite of continuous functions. Thus \(f\) is continuous on \([0,1]\), hence uniformly continuous by Theorem 3.13.

§§3.6–3.7 The Cauchy criterion; Heine–Borel and Lebesgue

The book prints a single PROBLEMS list after §3.7 (printed pp. 81–82; PDF pp. 97–98), covering §§3.6–3.7. Numbered here as in that list (the odd-answer appendix labels it Section 3.7).

In Problems 1–6, decide whether \(\{x_n\}\) is Cauchy; if not, exhibit a Cauchy subsequence. Index \(n=1,2,\ldots\).

Exercise §3.7.1

注记Stem (abridged)

\(x_n=\sum_{j=1}^n (-1)^j/(2j)\).

提示Solution

\(x_n=-(1/2)\sum_{j=1}^n (-1)^{j-1}/j\), a constant multiple of the alternating harmonic partial sums, which converge (to \(\log 2\)). A convergent sequence is Cauchy (Theorem 3.14, necessity).

(Agrees with the odd key: Yes.)

Exercise §3.7.2

注记Stem (abridged)

\(x_n=\sum_{j=1}^n 1/j!\).

提示Solution

The series \(\sum 1/j!\) converges, so \(\{x_n\}\) converges, hence is Cauchy.

Exercise §3.7.3

注记Stem (abridged)

\(x_n=\sum_{i=1}^n (-1)^i/i!\).

提示Solution

The series \(\sum (-1)^i/i!\) converges (absolutely, or by the alternating-series test), so \(\{x_n\}\) is Cauchy.

(Agrees with the odd key: Yes.)

Exercise §3.7.4

注记Stem (abridged)

\(x_n=1+(-1)^n+(1/n)\).

提示Solution

Even terms: \(x_{2n}=2+1/(2n)\to 2\). Odd terms: \(x_{2n-1}=1/(2n-1)\to 0\). The sequence is not Cauchy: \(\lvert x_{2n}-x_{2n-1}\rvert\to 2\). The odd subsequence is Cauchy (it converges to \(0\)).

Exercise §3.7.5

注记Stem (abridged)

\(x_n=\sin(n\pi/3)+(1/n)\).

提示Solution

\(\sin(n\pi/3)\) cycles through \(\sqrt{3}/2,\,\sqrt{3}/2,\,0,\,-\sqrt{3}/2,\,-\sqrt{3}/2,\,0\). Subsequential limits include \(\sqrt{3}/2\), \(0\), and \(-\sqrt{3}/2\), so \(\{x_n\}\) is not Cauchy. Along multiples of \(3\), \(x_{3n}=1/(3n)\), which is Cauchy.

(Agrees with the odd key: No; \(\{x_{3n}\}\).)

Exercise §3.7.6

注记Stem (abridged)

\(x_n=(1+(-1)^n)n+(1/n)\).

提示Solution

Even terms: \(x_{2n}=4n+1/(2n)\to+\infty\). Odd terms: \(x_{2n-1}=1/(2n-1)\to 0\). Not Cauchy. The odd subsequence is Cauchy.

Exercise §3.7.7

注记Stem (abridged)

\(s_n=\sum_{j=1}^n u_j\), \(S_n=\sum_{j=1}^n \lvert u_j\rvert\). If \(S_n\to S\), show that \(s_n\) tends to a limit.

提示Solution

\(\{S_n\}\) converges, hence is Cauchy: given \(\varepsilon>0\) there is \(N\) such that \(m>n>N\) implies \(\lvert S_m-S_n\rvert<\varepsilon\). But \[ \lvert s_m-s_n\rvert=\biggl\lvert\sum_{j=n+1}^m u_j\biggr\rvert\le\sum_{j=n+1}^m \lvert u_j\rvert=S_m-S_n<\varepsilon. \] Thus \(\{s_n\}\) is Cauchy, so Theorem 3.14 yields a limit.

Exercise §3.7.8

注记Stem (abridged)

Prove Theorem 3.1 as a consequence of the Cauchy criterion. Hint: nested \(I_n=[a_n,b_n]\) makes \(\{a_n\}\) and \(\{b_n\}\) Cauchy; \(b_n-a_n\to 0\) forces the same limit; sandwiching puts the limit in every \(I_n\).

提示Solution

Nested closed intervals mean \(a_n\le a_{n+1}\le b_{n+1}\le b_n\). Given \(\varepsilon>0\), choose \(N\) so that \(n>N\) implies \(b_n-a_n<\varepsilon\) (possible since \(b_n-a_n\to 0\)). For \(m\ge n>N\) one has \(a_n\le a_m\le b_n\), so \(\lvert a_m-a_n\rvert\le b_n-a_n<\varepsilon\). Thus \(\{a_n\}\) is Cauchy, and Theorem 3.14 gives \(a_n\to x_0\) for some \(x_0\). Likewise \(\{b_n\}\) is Cauchy, so \(b_n\to x_0'\). Then \(b_n-a_n\to x_0'-x_0\), and \(b_n-a_n\to 0\), so \(x_0'=x_0\). For each fixed \(k\), the inequalities \(a_k\le a_n\le b_n\le b_k\) for \(n\ge k\) pass to the limit and give \(a_k\le x_0\le b_k\). Thus \(x_0\in\bigcap_n I_n\). Uniqueness: a second point \(x_1\) in every \(I_n\) would satisfy \(\lvert x_1-x_0\rvert\le b_n-a_n\to 0\), so \(x_1=x_0\).

Exercise §3.7.9

注记Stem (abridged)

\(f(x)\to L\) as \(x\to b^-\), domain containing \(I=(a,b)\). Prove: for each \(\varepsilon>0\) there is \(\delta>0\) such that \(\lvert f(x)-f(y)\rvert<\varepsilon\) whenever \(b-\delta<x<b\) and \(b-\delta<y<b\). (3.13)

提示Solution

Given \(\varepsilon>0\), choose \(\delta>0\) so that \(b-\delta<t<b\) implies \(\lvert f(t)-L\rvert<\varepsilon/2\). Then for all \(x,y\) in \((b-\delta,b)\), \[ \lvert f(x)-f(y)\rvert\le\lvert f(x)-L\rvert+\lvert L-f(y)\rvert<\varepsilon. \]

Exercise §3.7.10

注记Stem (abridged)

Converse of Problem 9: if (3.13) holds for every \(\varepsilon>0\), then \(f(x)\) tends to a limit as \(x\to b^-\).

提示Solution

Pick any sequence \(t_n\in(a,b)\) with \(t_n\to b^-\) (e.g. \(t_n=b-(b-a)/(n+1)\)). Condition (3.13) implies that \(\{f(t_n)\}\) is Cauchy: given \(\varepsilon>0\), choose \(\delta\) as in (3.13), then choose \(N\) so that \(n>N\) implies \(t_n>b-\delta\); for \(m,n>N\) both \(t_m,t_n\) lie in \((b-\delta,b)\), so \(\lvert f(t_m)-f(t_n)\rvert<\varepsilon\). Theorem 3.14 gives \(f(t_n)\to L\) for some \(L\).

To see \(f(x)\to L\) as \(x\to b^-\), let \(\varepsilon>0\) and choose \(\delta\) as in (3.13). Fix one \(t\in(b-\delta,b)\). For every \(x\in(b-\delta,b)\) one has \(\lvert f(x)-f(t)\rvert<\varepsilon\). Also \(t_n\to b^-\) so \(t_n\in(b-\delta,b)\) for large \(n\), whence \(\lvert f(t_n)-f(t)\rvert<\varepsilon\) and therefore \(\lvert L-f(t)\rvert\le\varepsilon\). Thus \(\lvert f(x)-L\rvert\le\lvert f(x)-f(t)\rvert+\lvert f(t)-L\rvert<2\varepsilon\) for \(x\in(b-\delta,b)\). Replacing \(\varepsilon\) by \(\varepsilon/2\) completes the argument.

Exercise §3.7.11

注记Stem (abridged)

The result of Problem 9 holds if \(I\) is replaced by \(J=\{a<x<\infty\}\) and limits are as \(x\to+\infty\). Show that the result of Problem 10 does not hold.

提示Solution

Analogue of Problem 9. Suppose \(f(x)\to L\) as \(x\to+\infty\). Given \(\varepsilon>0\), choose \(A\) so that \(t>A\) implies \(\lvert f(t)-L\rvert<\varepsilon/2\). Then \(x,y>A\) implies \(\lvert f(x)-f(y)\rvert<\varepsilon\). This is the natural form of (3.13) at \(+\infty\).

On the converse. Under that same analogue — for every \(\varepsilon>0\) there exists \(A\) such that \(x,y>A\) implies \(\lvert f(x)-f(y)\rvert<\varepsilon\) — the converse does hold. Indeed \(f(n)\) (for integers \(n>a\)) is a Cauchy sequence, so \(f(n)\to L\) by Theorem 3.14, and the same comparison as in Problem 10 yields \(f(x)\to L\) as \(x\to+\infty\). Completeness of \(\mathbb{R}^1\) is what makes the implication true.

The printed instruction to show that “the result in Problem 10 does not hold” is therefore not correct for this analogue of (3.13). A weaker pairing condition, \(\lvert x-y\rvert\) small rather than both \(x,y\) in a tail, does fail to force a limit: \(f(x)=\sin x\) is uniformly continuous on \(J\) (§3.5.6) but has no limit at \(+\infty\). If the book intended that weaker reading, \(\sin x\) is the counterexample; it is not the analogue of (3.13).

Exercise §3.7.12

注记Stem (abridged)

If \(f\) is uniformly continuous on \((a,b)\), then \(f\) has limits as \(x\to b^-\) and as \(x\to a^+\). Extending by those limits, \(f_0\) is uniformly continuous on \([a,b]\). Use Problem 10.

提示Solution

Let \(\varepsilon>0\) and let \(\delta>0\) be a uniform modulus on \((a,b)\). If \(x,y\in(b-\delta,b)\cap(a,b)\), then \(\lvert x-y\rvert<\delta\), so \(\lvert f(x)-f(y)\rvert<\varepsilon\). This is (3.13). Problem 10 supplies \(L=\lim_{x\to b^-}f(x)\). The left endpoint is the same.

Define \(f_0(a)\) and \(f_0(b)\) as those limits and \(f_0=f\) on \((a,b)\). Problem 7 of the §§3.4–3.5 list (or the argument given there) shows that \(f_0\) is continuous on \([a,b]\), hence uniformly continuous by Theorem 3.13.

(Alternatively, without Theorem 3.13: given \(\varepsilon>0\), take a modulus \(\delta\) for \(f\) on \((a,b)\). If \(x,y\in[a,b]\) and \(\lvert x-y\rvert<\delta\), the interior case is already controlled; if one argument is an endpoint, pass to the limit in the interior estimate.)

Exercise §3.7.13

注记Stem (abridged)

\(\mathscr{F}=\{I_n:I_n=(1/(n+2),1/n),\,n=1,2,\ldots\}\).

  1. \(\mathscr{F}\) covers \(J=(0,1/2)\).

  2. No finite subfamily covers \(J\).

提示Solution

(a) Let \(x\in(0,1/2)\). Choose an integer \(n\ge 2\) with \(1/n>x\ge 1/(n+1)\) (possible: the intervals \([1/(k+1),1/k)\) for \(k\ge 2\) fill \((0,1/2]\)). Then \(1/(n+2)<1/(n+1)\le x<1/n\), so \(x\in I_n\). (The endpoint \(x=1/(n+1)\) of that comparison lies in \(I_n\) because \(1/(n+2)<1/(n+1)<1/n\). Directly: \(I_1=(1/3,1)\) meets \(J\) in \((1/3,1/2)\); \(I_2=(1/4,1/2)\); \(I_3=(1/5,1/3)\); and so on, chaining down to \(0\).)

(b) Let \(\{I_{n_1},\ldots,I_{n_k}\}\) be finite and set \(N=\max n_j\). Each selected interval satisfies \(x>1/(n_j+2)\ge 1/(N+2)\). The point \(x=1/(N+3)\) lies in \(J\) (since \(N\ge 1\) implies \(1/(N+3)<1/2\)) but is not in any \(I_{n_j}\).

(Agrees with the odd key for (b).)

Exercise §3.7.14

注记Stem (abridged)

Adjoin \((-1/6,1/6)\) to the family of Problem 13, obtaining \(\mathscr{G}\). Exhibit a finite subfamily covering \(K=[0,1/2]\).

提示Solution

Write \(J_0=(-1/6,1/6)\). The six intervals \(J_0,I_1,I_2,I_3,I_4,I_5\) cover \(K\): \[ \begin{aligned} J_0&=(-1/6,1/6),& I_5&=(1/7,1/5),& I_4&=(1/6,1/4),\\ I_3&=(1/5,1/3),& I_2&=(1/4,1/2),& I_1&=(1/3,1). \end{aligned} \] Their union is \((-1/6,1)\), which contains \([0,1/2]\). (The point \(1/6\) lies in \(I_5\), the point \(1/2\) lies in \(I_1\), and \(0\) lies in \(J_0\).)

Exercise §3.7.15

注记Stem (abridged)

\(\mathscr{F}_1=\{I_n:I_n=(1/2^n,2),\,n=1,2,\ldots\}\). Does \(\mathscr{F}_1\) cover \(J=(0,1)\)? Does a finite subfamily cover \(J\)?

提示Solution

If \(0<x<1\), choose \(n\) with \(2^n>1/x\), i.e. \(1/2^n<x\). Then \(x\in I_n\). Thus \(\mathscr{F}_1\) covers \(J\).

No finite subfamily covers \(J\). If \(N\) is the largest index in a finite subfamily, every selected \(I_n\) is contained in \((1/2^N,2)\), so the point \(1/2^{N+1}\in J\) is missed.

(Agrees with the odd key: No.)

Exercise §3.7.16

注记Stem (abridged)

\(f(x)=1/x\) on \(D=(0,1]\). The solution set of \(\lvert f(x)-f(a)\rvert<1/3\) is \(L_a\) as in (3.12). The family \(\{L_a\}\) covers \(D\); no finite subfamily covers \(D\).

提示Solution

For \(a\in D\) one has \(1/a\ge 1>1/3\), so \(1/a-1/3>0\). The inequality \(\lvert 1/x-1/a\rvert<1/3\) is \[ \frac1a-\frac13<\frac1x<\frac1a+\frac13. \] Since \(t\mapsto 1/t\) reverses inequalities on \((0,+\infty)\), \[ \frac{3a}{3+a}<x<\frac{3a}{3-a}, \] which is (3.12). Each \(a\in D\) satisfies \(a\in L_a\), so \(\{L_a\}_{a\in D}\) covers \(D\).

Suppose \(L_{a_1},\ldots,L_{a_k}\) is a finite subfamily and \(a_*=\min\{a_1,\ldots,a_k\}>0\). The map \(a\mapsto 3a/(3+a)\) is increasing on \((0,+\infty)\), so every left endpoint is at least \(3a_*/(3+a_*)>0\). Any \(x\in D\) with \(0<x\le 3a_*/(3+a_*)\) lies in none of the selected \(L_{a_j}\).

Exercise §3.7.17

注记Stem (abridged)

\(f(x)=1/x\) on \(E=[1,+\infty)\). Let \(I_a\) be the interval of \(x\) with \(\lvert f(x)-f(a)\rvert<1/3\). Find \(I_a\). Does \(\{I_a\}_{a\in E}\) cover \(E\)? Is there a finite subcover?

提示Solution

The inequality \(\lvert 1/x-1/a\rvert<1/3\) with \(a\ge 1\) splits according to whether \(1/a>1/3\) or not.

  • If \(1\le a<3\), then \(1/a>1/3\), and as in (3.12) \[ I_a=\Bigl(\frac{3a}{3+a},\,\frac{3a}{3-a}\Bigr). \]
  • If \(a=3\), then \(1/x>0=1/a-1/3\) is automatic and \(1/x<1/3+1/3=2/3\) gives \(x>3/2\), so \(I_3=(3/2,+\infty)\).
  • If \(a>3\), then \(1/a-1/3<0\), so the left constraint is automatic and \(I_a=(3a/(3+a),+\infty)\).

Each \(a\in E\) lies in \(I_a\), so the family covers \(E\).

A finite subcover exists. For instance \[ I_1=\Bigl(\frac34,\frac32\Bigr),\qquad I_2=(6/5,6),\qquad I_3=(3/2,+\infty) \] satisfy \(I_1\cup I_2\cup I_3=(3/4,+\infty)\supset E\). (Intersecting with \(E\) if one prefers \(I_a\subset E\) does not change the covering.)

Odd-key disagreement. The appendix (printed p. 517) says “Finite subfamilies which cover \(E\) are \(I_{4/3}\) and \(I_{3/2}\).” Those two intervals are \[ I_{4/3}=\bigl(12/13,\,12/5\bigr),\qquad I_{3/2}=(1,3), \] and their union is \((12/13,3)\), which does not contain \([3,+\infty)\). The existence of a finite subcover is correct; the listed pair is not a cover.

Exercise §3.7.18

注记Stem (abridged)

Prove the Boundedness theorem (Theorem 3.11) using Heine–Borel (Theorem 3.15).

提示Solution

Let \(f\) be continuous on \(I=[a,b]\). For each \(c\in I\) there is \(\delta_c>0\) such that \(\lvert x-c\rvert<\delta_c\) and \(x\in I\) imply \(\lvert f(x)-f(c)\rvert<1\), hence \(\lvert f(x)\rvert<\lvert f(c)\rvert+1\). The open intervals \((c-\delta_c,c+\delta_c)\) cover \(I\). Theorem 3.15 yields finitely many centres \(c_1,\ldots,c_n\) whose intervals cover \(I\). Then for every \(x\in I\), \[ \lvert f(x)\rvert<\max_{1\le i\le n}\lvert f(c_i)\rvert+1. \]

Exercise §3.7.19

注记Stem (abridged)

Prove the Uniform continuity theorem (Theorem 3.13) using the Lemma of Lebesgue (Theorem 3.16). Hint as in the text.

提示Solution

Let \(f\) be continuous on \(I=[a,b]\) and let \(\varepsilon>0\). For each \(x_0\in I\) there is \(\delta_{x_0}>0\) such that \(\lvert x-x_0\rvert<\delta_{x_0}\) and \(x\in I\) imply \(\lvert f(x)-f(x_0)\rvert<\varepsilon/2\). The open intervals \(I_{x_0}=(x_0-\delta_{x_0},x_0+\delta_{x_0})\) cover \(I\). Let \(\rho>0\) be a Lebesgue number for this covering (Theorem 3.16). We claim that \(\delta=\rho\) is a uniform modulus.

Take \(x_1,x_2\in I\) with \(\lvert x_1-x_2\rvert<\rho\). The interval with centre \(x_1\) and length \(2\rho\) is contained in some member \(I_{x_0}\). In particular \(x_1,x_2\in I_{x_0}\) (since \(\lvert x_2-x_1\rvert<\rho\)), so \[ \lvert f(x_1)-f(x_2)\rvert\le\lvert f(x_1)-f(x_0)\rvert+\lvert f(x_0)-f(x_2)\rvert<\frac\varepsilon2+\frac\varepsilon2=\varepsilon. \]

Exercise §3.7.20

注记Stem (abridged)

Enumerate the rationals in \([0,1]\) as \(0,1,1/2,1/3,2/3,1/4,\ldots\) (by increasing denominator). Let \(I_n\) be the open interval of length \(\varepsilon/2^n\) centred at the \(n\)th rational. The family covers all rationals in \(I=[0,1]\); the sum of the lengths is \(\varepsilon\). If \(\varepsilon\) is small, \(\mathscr{F}\) does not cover \(I\).

提示Solution

Every rational in \([0,1]\) appears in the list (non-reduced fractions included), so it is the centre of some \(I_n\) and is covered.

The lengths sum to \[ \sum_{n=1}^\infty \frac{\varepsilon}{2^n}=\varepsilon. \]

Now suppose \(0<\varepsilon<1\). If \(\mathscr{F}\) covered \(I=[0,1]\), Theorem 3.15 would supply a finite subcover \(I_{n_1},\ldots,I_{n_k}\). Any finite collection of open intervals covering \([0,1]\) has total length strictly greater than \(1\) (their union is open and contains \([0,1]\), hence contains an interval \((-\eta,1+\eta')\) with \(\eta,\eta'>0\), and the sum of lengths is at least the length of the union). But the sum of the lengths of \(I_{n_1},\ldots,I_{n_k}\) is \(\varepsilon\sum_j 2^{-n_j}<\varepsilon<1\), a contradiction. Thus for small \(\varepsilon\) the family does not cover \(I\).

Exercise §3.7.21

注记Stem (abridged)

Show that \(\cos(\sqrt{n\pi})\), \(n=1,2,\ldots\), is dense in \((-1,1)\).

提示Solution

It is enough to show that the subsequence along perfect squares is already dense in \([-1,1]\), hence in \((-1,1)\). For \(n=k^2\), \[ \cos\bigl(\sqrt{k^2\pi}\bigr)=\cos(k\sqrt{\pi}). \] The sequence \(\{k\alpha\}\) with \(\alpha=\sqrt{\pi}/(2\pi)=1/(2\sqrt{\pi})\) is dense in \([0,1)\) modulo \(1\) if and only if \(\alpha\) is irrational. If \(1/(2\sqrt{\pi})\) were rational then \(\sqrt{\pi}\) would be rational, hence \(\pi\) would be the square of a rational, which it is not. Therefore \(\{k\sqrt{\pi}\}\) is dense modulo \(2\pi\): for every \(\theta\in\mathbb{R}^1\) and every \(\eta>0\) there are infinitely many \(k\) with \(\lvert k\sqrt{\pi}-\theta-2\pi m\rvert<\eta\) for some integer \(m\). Continuity of cosine gives that \(\{k\sqrt{\pi}\}\) produces values of \(\cos\) dense in \([-1,1]\). A fortiori \(\{\cos(\sqrt{n\pi}):n\in\mathbb{N}\}\) is dense in \((-1,1)\).