Chapter 6 Exercises

Protter & Morrey, A First Course in Real Analysis (2nd ed.) §§6.1–6.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: all section PROBLEMS in Chapter 6: §6.1: 1–17; §6.2: 1–23; §6.3: 1–12; §6.4: 1–14; §6.5: 1–16; §6.6: 1–13; §6.7: 1–19.
  • Pages: printed pp. 130–172; PDF pp. 146–188 (body offset PDF = printed + 16).
  • Principle: stems follow the scan; solutions are independent. Numbers were recomputed. Odd answers in the back matter (printed pp. 518–519; PDF pp. 533–534) were compared only after solving. Disagreements are recorded in the relevant solutions.
  • Companion notes: ch06-notes.qmd.

Numbering is §section.problem, matching the book. Starred theorems appearing as exercises are still solved in full.

§6.1 The Schwarz and Triangle Inequalities; Metric Spaces

Printed pp. 134–136; PDF pp. 150–152.

Exercise §6.1.1

注记Stem (abridged)

Show that \((\mathbb{R}^N,d_1)\) is a metric space, where \(d_1(x,y)=\max_{1\le i\le N}\lvert x_i-y_i\rvert\).

提示Solution

Nonnegativity is clear, and \(d_1(x,y)=0\) if and only if \(\lvert x_i-y_i\rvert=0\) for every \(i\), hence \(x=y\). Symmetry is immediate from \(\lvert x_i-y_i\rvert=\lvert y_i-x_i\rvert\). For the triangle inequality, for each \(i\), \[ \lvert x_i-z_i\rvert\le \lvert x_i-y_i\rvert+\lvert y_i-z_i\rvert\le d_1(x,y)+d_1(y,z), \] so the maximum over \(i\) is at most \(d_1(x,y)+d_1(y,z)\).

Exercise §6.1.2

注记Stem (abridged)

If \((S,d)\) is a metric space, show that \(d'(x,y)=d(x,y)/(1+d(x,y))\) is a metric. [Hint: first write \(d(x,z)=\lambda[d(x,y)+d(y,z)]\) for some \(\lambda\in[0,1]\).]

提示Solution

The map \(t\mapsto t/(1+t)\) on \([0,\infty)\) is nonnegative, vanishes only at \(0\), and is strictly increasing. Thus \(d'\ge 0\) and \(d'(x,y)=0\Leftrightarrow d(x,y)=0\Leftrightarrow x=y\). Symmetry is inherited from \(d\).

For the triangle inequality, let \(a=d(x,y)\), \(b=d(y,z)\), \(s=a+b\). The hint applies: \(d(x,z)\le s\), so \(d(x,z)=\lambda s\) for some \(\lambda\in[0,1]\). Since \(t/(1+t)\) is increasing, \[ d'(x,z)=\frac{\lambda s}{1+\lambda s}\le \frac{s}{1+s}. \] It remains to check \(s/(1+s)\le a/(1+a)+b/(1+b)\). The difference has numerator \[ a(1+b)(1+a+b)+b(1+a)(1+a+b)-(a+b)(1+a)(1+b)=ab(a+b+2)\ge 0. \] Hence \(d'(x,z)\le d'(x,y)+d'(y,z)\).

Exercise §6.1.3

注记Stem (abridged)

On \(\mathbb{R}^N\), let \(d\) be Euclidean and let \(d'\) be as in Problem 2. Are \(d\) and \(d'\) equivalent?

提示Solution

They are not equivalent in the book’s sense. Equivalence would require positive constants \(c,C\) with \(c\,d\le d'\le C\,d\) for all pairs. But \(d'\le 1\) identically, while \(d\) is unbounded (e.g. \(d(0,ne_1)=n\)). If \(c\,d\le d'\) held, then \(c n\le 1\) for all \(n\), which is impossible.

(They do induce the same topology, because \(t\mapsto t/(1+t)\) is a homeomorphism of \([0,\infty)\) onto \([0,1)\); the book’s definition is the stronger bi-Lipschitz comparison.)

Odd-key: “Not equivalent.” Agrees.

Exercise §6.1.4

注记Stem (abridged)

Show that the Euclidean metric \(d\) and the max metric \(d_1\) of Example 2 are equivalent.

提示Solution

Write \(\delta_i=\lvert x_i-y_i\rvert\). Then \(d_1=\max_i\delta_i\) and \(d=(\sum\delta_i^2)^{1/2}\). For each \(i\), \(\delta_i\le d\), so \(d_1\le d\). Also \(\sum\delta_i^2\le N d_1^2\), so \(d\le\sqrt{N}\,d_1\). Thus \[ d_1(x,y)\le d(x,y)\le \sqrt{N}\,d_1(x,y). \] Take \(c=1\) and \(C=\sqrt{N}\) in the definition of equivalence (or interchange the roles of \(d\) and \(d_1\)).

Exercise §6.1.5

注记Stem (abridged)

Show that \((\mathbb{R}^N,d_2)\) is a metric space, \(d_2(x,y)=\sum_{i=1}^N\lvert x_i-y_i\rvert\). Is \(d_2\) equivalent to \(d_1\) of Problem 1?

提示Solution

Nonnegativity, vanishing precisely on the diagonal, and symmetry are immediate. The triangle inequality is the sum of the one-dimensional inequalities \(\lvert x_i-z_i\rvert\le\lvert x_i-y_i\rvert+\lvert y_i-z_i\rvert\).

Equivalence with \(d_1\): \(d_1\le d_2\le N d_1\), so yes, they are equivalent.

Odd-key: “Yes.” Agrees.

Exercise §6.1.6

注记Stem (abridged)

On \(\mathbb{R}^2\) define \[ d_3\bigl((x_1,x_2),(x_1',x_2')\bigr) = \begin{cases} \lvert x_2\rvert+\lvert x_2'\rvert+\lvert x_1-x_1'\rvert & \text{if }x_1\neq x_1',\\ \lvert x_2-x_2'\rvert & \text{if }x_1=x_1'. \end{cases} \] Show that \((\mathbb{R}^2,d_3)\) is a metric space.

提示Solution

This is the path metric in which vertical travel is free on each line \(x_1=\mathrm{const}\), while travel between distinct vertical lines must go through the \(x_1\)-axis. Equivalently, \[ d_3(p,p')=\inf\bigl\{\lvert x_2-t\rvert+\lvert x_1-x_1'\rvert+\lvert t-x_2'\rvert:t\in\mathbb{R}^1\bigr\} \] when one allows a via-axis path; the infimum is \(\lvert x_2\rvert+\lvert x_1-x_1'\rvert+\lvert x_2'\rvert\) unless \(x_1=x_1'\), in which case the vertical segment of length \(\lvert x_2-x_2'\rvert\) is shorter.

Nonnegativity is clear. If \(d_3(p,p')=0\) then either \(x_1=x_1'\) and \(x_2=x_2'\), or \(\lvert x_2\rvert+\lvert x_2'\rvert+\lvert x_1-x_1'\rvert=0\), which again forces \(p=p'\). Symmetry is visible from the formula.

Triangle inequality: \(d_3\) is a path length, so concatenating a \(p\to q\) path with a \(q\to r\) path yields a \(p\to r\) path of length \(d_3(p,q)+d_3(q,r)\), hence \(d_3(p,r)\le d_3(p,q)+d_3(q,r)\). (A fully algebraic case-split on whether pairs share an \(x_1\)-coordinate gives the same bound: the only delicate case is three distinct abscissae, where \(d_3(p,r)=\lvert y_p\rvert+\lvert y_r\rvert+\lvert x_p-x_r\rvert\le (\lvert y_p\rvert+\lvert y_q\rvert+\lvert x_p-x_q\rvert)+(\lvert y_q\rvert+\lvert y_r\rvert+\lvert x_q-x_r\rvert)\).)

Exercise §6.1.7

注记Stem (abridged)

For \(x,y\in\mathbb{R}^1\), define \(d_4(x,y)=\lvert x-3y\rvert\). Is \((\mathbb{R}^1,d_4)\) a metric space?

提示Solution

No. Already \(d_4(1,1)=\lvert 1-3\rvert=2\neq 0\), so axiom (i) fails. (Symmetry also fails: \(d_4(0,1)=3\) while \(d_4(1,0)=1\).)

Odd-key: “No.” Agrees.

Exercise §6.1.8

注记Stem (abridged)

Let \(\mathscr{C}\) be the continuous real functions on \(I=\{x:0\le x\le 1\}\). Show that \((\mathscr{C},d)\) is a metric space, where \(d(f,g)=\max_{0\le x\le 1}\lvert f(x)-g(x)\rvert\).

提示Solution

The maximum exists: \(x\mapsto\lvert f(x)-g(x)\rvert\) is continuous on the compact interval \(I\). Nonnegativity is clear, and \(d(f,g)=0\) if and only if \(f(x)=g(x)\) for every \(x\in I\). Symmetry is immediate. If \(h\in\mathscr{C}\) as well, then for each \(x\), \[ \lvert f(x)-h(x)\rvert\le \lvert f(x)-g(x)\rvert+\lvert g(x)-h(x)\rvert\le d(f,g)+d(g,h), \] and taking the maximum over \(x\) yields the triangle inequality.

Exercise §6.1.9

注记Stem (abridged)

On the same \(\mathscr{C}\), define \(\bar d(f,g)=\int_0^1\lvert f(x)-g(x)\rvert\,dx\). Show that \((\mathscr{C},\bar d)\) is a metric space.

提示Solution

The integrand is continuous, so the integral exists and is nonnegative. Symmetry is obvious. If \(\bar d(f,g)=0\) and \(f\neq g\), then \(\lvert f-g\rvert\) is continuous, nonnegative, and not identically zero, hence (by continuity) is at least some \(\varepsilon>0\) on a nonempty open subinterval of \(I\), making the integral at least \(\varepsilon\) times the length of that subinterval, a contradiction. Thus \(\bar d(f,g)=0\Leftrightarrow f=g\). The triangle inequality follows by integrating \(\lvert f-h\rvert\le\lvert f-g\rvert+\lvert g-h\rvert\).

Exercise §6.1.10

注记Stem (abridged)

If \(\sum x_i^2\) and \(\sum y_i^2\) converge, prove that \(\sum x_i y_i\) converges and the Schwarz inequality (6.4) holds.

提示Solution

For each \(n\), Theorem 6.1 gives \[ \biggl\lvert\sum_{i=1}^n x_i y_i\biggr\rvert \le \Bigl(\sum_{i=1}^n x_i^2\Bigr)^{1/2} \Bigl(\sum_{i=1}^n y_i^2\Bigr)^{1/2} \le \Bigl(\sum_{i=1}^\infty x_i^2\Bigr)^{1/2} \Bigl(\sum_{i=1}^\infty y_i^2\Bigr)^{1/2}. \] The partial sums of \(\sum x_i y_i\) are therefore bounded. Applying the same bound to the tails \(\sum_{i=m}^n\) shows that those tails tend to \(0\) as \(m,n\to\infty\) (the tail of a convergent series of squares tends to \(0\)), so \(\sum x_i y_i\) is Cauchy, hence converges. Passing to the limit \(n\to\infty\) in the displayed inequality yields (6.4).

Exercise §6.1.11

注记Stem (abridged)

State and prove the equality cases in (6.4).

提示Solution

Equality holds in (6.4) if and only if either \(x_i=0\) for every \(i\), or there is a real \(\lambda\) such that \(y_i=\lambda x_i\) for every \(i\).

If \(x=0\) or \(y=\lambda x\), both sides of (6.4) reduce to \(\lvert\lambda\rvert\sum x_i^2\) (or \(0\)), so equality holds.

Conversely, write \(A=\sum x_i^2\), \(B=\sum x_i y_i\), \(C=\sum y_i^2\) (all convergent by Problem 10). If \(A=0\) then \(x=0\). If \(A>0\), set \(\lambda=B/A\). Then \[ \sum_{i=1}^n (y_i-\lambda x_i)^2 = \sum_{i=1}^n y_i^2 - 2\lambda\sum_{i=1}^n x_i y_i +\lambda^2\sum_{i=1}^n x_i^2. \] Let \(n\to\infty\): the right-hand side tends to \(C-2\lambda B+\lambda^2 A=C-B^2/A\). But (6.4) says \(B^2\le AC\), so this limit is nonnegative, and it vanishes if and only if \(\lvert B\rvert=\sqrt{A}\sqrt{C}\). Vanishing forces \(\sum(y_i-\lambda x_i)^2=0\), hence \(y_i=\lambda x_i\) for all \(i\).

Odd-key: “Either all \(x_i\) are zero or there is a number \(\lambda\) such that \(y_i=\lambda x_i\) for \(i=1,2,\ldots\).” Agrees.

Exercise §6.1.12

注记Stem (abridged)

If \(\sum x_i^2\) and \(\sum y_i^2\) converge, show that \(\sum(x_i+y_i)^2\) converges and prove the triangle inequality (6.5), with equality if and only if \(x=0\) or \(y_i=\lambda x_i\) for some \(\lambda\ge 0\) and all \(i\).

提示Solution

Expand \((x_i+y_i)^2=x_i^2+2x_i y_i+y_i^2\). The series \(\sum x_i y_i\) converges absolutely enough for this purpose by (6.4), so \(\sum(x_i+y_i)^2\) converges. For partial sums, Theorem 6.2 gives \[ \Bigl(\sum_{i=1}^n (x_i+y_i)^2\Bigr)^{1/2} \le \Bigl(\sum_{i=1}^n x_i^2\Bigr)^{1/2} + \Bigl(\sum_{i=1}^n y_i^2\Bigr)^{1/2}. \] Let \(n\to\infty\) to obtain (6.5).

Equality in (6.5): squaring both sides (both nonnegative) and using (6.4) shows that equality holds if and only if \(\sum x_i y_i=\bigl(\sum x_i^2\bigr)^{1/2}\bigl(\sum y_i^2\bigr)^{1/2}\) (the cross term must be as large as possible and nonnegative). By Problem 11 this happens if and only if \(x=0\) or \(y=\lambda x\), and the matching of signs forces \(\lambda\ge 0\).

Exercise §6.1.13

注记Stem (abridged)

Let \(l_2\) be the set of real sequences with \(\sum x_i^2<\infty\), and \(d(x,y)=\bigl(\sum(x_i-y_i)^2\bigr)^{1/2}\). Show that \((l_2,d)\) is a metric space.

提示Solution

If \(x,y\in l_2\) then \(x-y\in l_2\) by Problem 12 (applied to \(x\) and \(-y\)), so \(d(x,y)\) is a well-defined real number. Axioms (i) and (ii) are immediate. The triangle inequality is Problem 12 applied to the sequences \(x-y\) and \(y-z\): \[ d(x,z)=\bigl(\sum\bigl((x_i-y_i)+(y_i-z_i)\bigr)^2\bigr)^{1/2}\le d(x,y)+d(y,z). \] Thus \((l_2,d)\) is a metric space (real numerical Hilbert space).

Exercise §6.1.14

注记Stem (abridged)

Let \(M\) be the collection of all bounded real sequences, with \(d(x,y)=\sup_i\lvert x_i-y_i\rvert\). Show that \((M,d)\) is a metric space.

提示Solution

If \(\lvert x_i\rvert\le m\) and \(\lvert y_i\rvert\le m'\) for all \(i\), then \(\lvert x_i-y_i\rvert\le m+m'\), so the supremum is finite. Nonnegativity, symmetry, and \(d(x,y)=0\Leftrightarrow x=y\) are as for \(d_1\) in Problem 1. For each \(i\), \[ \lvert x_i-z_i\rvert\le \lvert x_i-y_i\rvert+\lvert y_i-z_i\rvert\le d(x,y)+d(y,z), \] and taking the supremum yields the triangle inequality.

Exercise §6.1.15

注记Stem (abridged)

Let \(B\) be the collection of all absolutely convergent series, with \(d(x,y)=\sum_{i=1}^\infty\lvert x_i-y_i\rvert\). Show that \((B,d)\) is a metric space.

提示Solution

If \(\sum\lvert x_i\rvert<\infty\) and \(\sum\lvert y_i\rvert<\infty\) then \(\sum\lvert x_i-y_i\rvert\le\sum\lvert x_i\rvert+\sum\lvert y_i\rvert<\infty\), so \(d\) is finite. Nonnegativity, symmetry, and \(d=0\Leftrightarrow x=y\) are clear. The triangle inequality is the termwise estimate \(\lvert x_i-z_i\rvert\le\lvert x_i-y_i\rvert+\lvert y_i-z_i\rvert\) summed over \(i\).

Exercise §6.1.16

注记Stem (abridged)

Let \(C\subset\mathbb{R}^2\) consist of the pairs \((\cos\theta,\sin\theta)\) for \(0\le\theta<2\pi\), and set \(d^*(p_1,p_2)=\lvert\theta_1-\theta_2\rvert\). Show that \((C,d^*)\) is a metric space. Is \(d^*\) equivalent to \(d_1\) of Problem 1 restricted to \(C\)?

提示Solution

The parameterization \(\theta\in[0,2\pi)\mapsto(\cos\theta,\sin\theta)\) is bijective, so \(\theta\) is a well-defined coordinate on \(C\). Then \(d^*\ge 0\), \(d^*(p,p)=0\), and \(d^*(p_1,p_2)=0\Leftrightarrow\theta_1=\theta_2\Leftrightarrow p_1=p_2\). Symmetry and the triangle inequality are those of absolute value on \(\mathbb{R}^1\). Hence \((C,d^*)\) is a metric space.

It is not equivalent to \(d_1|_C\). Let \(p=(1,0)\) (so \(\theta=0\)) and \(p_\varepsilon=(\cos(2\pi-\varepsilon),\sin(2\pi-\varepsilon))\) for small \(\varepsilon>0\). Then \(d^*(p,p_\varepsilon)=2\pi-\varepsilon\to 2\pi\), while \[ d_1(p,p_\varepsilon)=\max\bigl\{\lvert 1-\cos\varepsilon\rvert,\lvert\sin\varepsilon\rvert\bigr\}\to 0 \] (using \(\cos(2\pi-\varepsilon)=\cos\varepsilon\)). No constant \(C\) can satisfy \(d^*\le C\,d_1\) on \(C\).

Exercise §6.1.17

注记Stem (abridged)

Let \(d:S\times S\to\mathbb{R}^1\) satisfy (i) \(d(x,y)=0\) if and only if \(x=y\), and (ii) \(d(x,z)\le d(x,y)+d(z,y)\) for all \(x,y,z\in S\). Show that \(d\) is a metric.

提示Solution

Set \(x=z\) in (ii): \(d(x,x)\le d(x,y)+d(x,y)\), so \(0\le 2d(x,y)\) by (i), hence \(d\ge 0\). For symmetry, set \(z=x\) in (ii) after swapping names: \(d(x,y)\le d(x,x)+d(y,x)=d(y,x)\), and the symmetric argument gives \(d(y,x)\le d(x,y)\). Thus \(d(x,y)=d(y,x)\). The triangle inequality is then (ii) with the second summand rewritten by symmetry: \(d(x,z)\le d(x,y)+d(y,z)\). Combined with (i) and nonnegativity, \(d\) is a metric.

§6.2 Elements of Point Set Topology

Printed pp. 144–145; PDF pp. 160–161.

Exercise §6.2.1

注记Stem (abridged)

If \(p_n\to p_0\) and \(q_n\to q_0\) in a metric space \(S\), and \(d(p_n,q_n)<a\) for all \(n\), show that \(d(p_0,q_0)\le a\).

提示Solution

For every \(n\), \[ d(p_0,q_0)\le d(p_0,p_n)+d(p_n,q_n)+d(q_n,q_0)< d(p_0,p_n)+a+d(q_n,q_0). \] Let \(n\to\infty\): the first and third terms tend to \(0\), so \(d(p_0,q_0)\le a\).

Exercise §6.2.2

注记Stem (abridged)

If \(p_n\to p_0\) and \(p_n\to q_0\) in a metric space \(S\), show that \(p_0=q_0\) (Theorem 6.3).

提示Solution

\(d(p_0,q_0)\le d(p_0,p_n)+d(p_n,q_0)\). Given \(\varepsilon>0\), choose \(N\) so that both distances on the right are \(<\varepsilon/2\) for \(n\ge N\). Then \(d(p_0,q_0)<\varepsilon\). Since \(\varepsilon\) is arbitrary, \(d(p_0,q_0)=0\), so \(p_0=q_0\).

Exercise §6.2.3

注记Stem (abridged)

On \(\mathbb{R}^2\) with \(d(x,y)=\lvert y_1-x_1\rvert+\lvert y_2-x_2\rvert\), describe (and sketch) the ball of center \((0,0)\) and radius \(1\).

提示Solution

\(B((0,0),1)=\{(x_1,x_2):\lvert x_1\rvert+\lvert x_2\rvert<1\}\) is the open diamond (square rotated \(45^\circ\)) with vertices \((1,0)\), \((0,1)\), \((-1,0)\), \((0,-1)\). The closed ball includes the boundary \(\lvert x_1\rvert+\lvert x_2\rvert=1\).

Odd-key: “The square with vertices at \((1,0)\), \((0,1)\), \((-1,0)\), \((0,-1)\).” Agrees (the key names the square; the open ball is its interior).

Exercise §6.2.4

注记Stem (abridged)

In \(\mathbb{R}^1\) with \(d(x,y)=\lvert x-y\rvert\), find a set which is neither open nor closed.

提示Solution

Take \(A=[0,1)\). It is not open: \(0\in A\) but no ball \(B(0,r)\) is contained in \(A\). It is not closed: \(1\) is a limit point (e.g. \(1-1/n\to 1\)) but \(1\notin A\).

Exercise §6.2.5

注记Stem (abridged)

In \(\mathbb{R}^1\) with \(\lvert x-y\rvert\), show that a finite set consists only of isolated points. Must a set consisting only of isolated points be finite?

提示Solution

Let \(A=\{a_1,\ldots,a_k\}\) with distinct \(a_i\). For each \(j\), let \(r_j=\min_{i\neq j}\lvert a_j-a_i\rvert>0\). Then \(B(a_j,r_j)\cap A=\{a_j\}\), so each point is isolated.

The converse is false: \(A=\{1/n:n=1,2,\ldots\}\) consists entirely of isolated points (about \(1/n\), take radius \(\frac12\bigl(1/n-1/(n+1)\bigr)\)), but \(A\) is infinite.

Odd-key: “No. The set \(\{1/n\}\), \(n=1,2,\ldots\), is an infinite set of isolated points.” Agrees.

Exercise §6.2.6

注记Stem (abridged)

Give an example of a set in \(\mathbb{R}^1\) with exactly four limit points.

提示Solution

Let \[ A=\{1,2,3,4\}\cup\bigcup_{k=1}^4\Bigl\{k+\frac1n:n=2,3,\ldots\Bigr\}. \] The points \(k+1/n\) are isolated in \(A\), while each of \(1,2,3,4\) is a limit point, and no other real number is (any point outside a small neighborhood of \(\{1,2,3,4\}\) is at positive distance from \(A\)).

Exercise §6.2.7

注记Stem (abridged)

In \(\mathbb{R}^1\), \(A=\{x:0\le x\le 1\text{ and }x\text{ is rational}\}\). Describe \(\bar A\).

提示Solution

Every point of \([0,1]\) is a limit point of \(A\) (rationals are dense), and no point outside \([0,1]\) is (a ball of radius \(\mathrm{dist}(x,[0,1])\) misses \(A\)). Also \(A\subset[0,1]\), so \(\bar A=A\cup A'=[0,1]\).

Odd-key: “\(\bar A=\{x:0\le x\le 1\}\).” Agrees.

Exercise §6.2.8

注记Stem (abridged)

\(S=\{(x,y):0<x^2+y^2<1\}\) in Euclidean \(\mathbb{R}^2\) is open. Describe \(S^{(0)}\), \(S'\), \(\partial S\), \(\bar S\), \(\mathscr{C}(S)\).

提示Solution

\(S\) is the open unit disk with the origin removed. It is open: if \(0<r^2<1\) with \(r^2=x^2+y^2\), the ball of radius \(\min(r,1-r)\) about \((x,y)\) stays in \(S\).

  • Interior: \(S^{(0)}=S\) (open).
  • Derived set: \(S'=\overline{B((0,0),1)}=\{x^2+y^2\le 1\}\), since the origin and the unit circle consist of limit points of \(S\), as does \(S\) itself.
  • Closure: \(\bar S=S\cup S'=\{x^2+y^2\le 1\}\).
  • Boundary: \(\partial S=\bar S-S^{(0)}=\{(0,0)\}\cup\{x^2+y^2=1\}\).
  • Complement: \(\mathscr{C}(S)=\{(0,0)\}\cup\{x^2+y^2\ge 1\}\).

Exercise §6.2.9

注记Stem (abridged)

If \(S\) is any space and \(\mathscr{F}\) a family of sets, show \(\mathscr{C}\bigl[\bigcap_{A\in\mathscr{F}}A\bigr]=\bigcup_{A\in\mathscr{F}}\mathscr{C}(A)\) (de Morgan).

提示Solution

\(x\) lies in the left-hand side if and only if \(x\) fails to belong to every member of \(\mathscr{F}\), if and only if there is some \(A\in\mathscr{F}\) with \(x\notin A\), if and only if \(x\in\mathscr{C}(A)\) for some \(A\), if and only if \(x\) lies in the right-hand side.

Exercise §6.2.10

注记Stem (abridged)

For sets \(A,B,C\) in a space \(S\), prove (a) \(\mathscr{C}(A-B)=B\cup\mathscr{C}(A)\); (b) \(A-(A-B)=A\cap B\); (c) \(A\cap(B-C)=(A\cap B)-(A\cap C)\); (d) \(A\cup(B-A)=A\cup B\); (e) \((A-C)\cup(B-C)=(A\cup B)-C\).

提示Solution

Throughout \(X-Y=X\cap\mathscr{C}(Y)\).

  1. \(\mathscr{C}(A\cap\mathscr{C}(B))=\mathscr{C}(A)\cup B\).

  2. \(A\cap\mathscr{C}(A\cap\mathscr{C}(B))=A\cap\bigl(\mathscr{C}(A)\cup B\bigr)=A\cap B\).

  3. Left: \(A\cap B\cap\mathscr{C}(C)\). Right: \((A\cap B)\cap\mathscr{C}(A\cap C)=(A\cap B)\cap\bigl(\mathscr{C}(A)\cup\mathscr{C}(C)\bigr)=A\cap B\cap\mathscr{C}(C)\).

  4. \(A\cup(B\cap\mathscr{C}(A))=(A\cup B)\cap(A\cup\mathscr{C}(A))=A\cup B\).

  5. Both sides equal \((A\cup B)\cap\mathscr{C}(C)\).

Exercise §6.2.11

注记Stem (abridged)

In Euclidean \(\mathbb{R}^2\), find an infinite collection of open sets \(\{A_n\}\) whose intersection is the closed ball \(\overline{B(0,1)}\).

提示Solution

Set \(A_n=\bigl\{(x,y):x^2+y^2<1+1/n\bigr\}\) for \(n=1,2,\ldots\). Each \(A_n\) is an open ball (hence open). If \(x^2+y^2\le 1\) then \(x^2+y^2<1+1/n\) for every \(n\), so \(\overline{B(0,1)}\subset\bigcap A_n\). If \(x^2+y^2=1+\delta\) with \(\delta>0\), choose \(n>1/\delta\); then the point misses \(A_n\). Thus \(\bigcap_n A_n=\overline{B(0,1)}\).

Odd-key disagreement: the key prints \(A_n=\{(x,y):0\le x^2+y^2<1/n\}\), whose intersection is \(\{0\}\), not the closed unit ball. That family is the text’s example (near Figure 6.4) that an infinite intersection of open sets need not be open. We keep the family whose intersection is \(\overline{B(0,1)}\).

Exercise §6.2.12

注记Stem (abridged)

In a metric space \(S\), show that a set \(A\) is closed if \(\mathscr{C}(A)\) is open (Theorem 6.8).

提示Solution

(The full Theorem 6.8 is the equivalence \(A\) closed \(\Leftrightarrow\) \(\mathscr{C}(A)\) open, together with \(S\) and \(\varnothing\) being both open and closed. We prove the direction asked, and record the converse.)

Suppose \(\mathscr{C}(A)\) is open. Let \(p_0\) be a limit point of \(A\). If \(p_0\notin A\) then \(p_0\in\mathscr{C}(A)\), so some ball \(B(p_0,r)\) lies in \(\mathscr{C}(A)\) and therefore contains no point of \(A\), contradicting that \(p_0\) is a limit point. Hence \(p_0\in A\), so \(A\) is closed.

Conversely, if \(A\) is closed and \(p\in\mathscr{C}(A)\), then \(p\) is not a limit point of \(A\) and \(p\notin A\), so some ball about \(p\) misses \(A\) and lies in \(\mathscr{C}(A)\). Thus \(\mathscr{C}(A)\) is open.

\(S\) has empty complement, which is open, so \(S\) is closed; \(S\) is open because every ball about each of its points lies in \(S\). The empty set is the complement of \(S\), hence closed, and is open because the requirement “every point is the center of a ball in the set” is vacuously true.

Exercise §6.2.13

注记Stem (abridged)

Show that the intersection of any family \(\mathscr{F}\) of closed sets is closed.

提示Solution

Let \(F=\bigcap_{A\in\mathscr{F}}A\). Then \(\mathscr{C}(F)=\bigcup_{A\in\mathscr{F}}\mathscr{C}(A)\) by de Morgan. Each \(\mathscr{C}(A)\) is open (Theorem 6.8), and an arbitrary union of open sets is open (Theorem 6.7(a)). Thus \(\mathscr{C}(F)\) is open, so \(F\) is closed.

Exercise §6.2.14

注记Stem (abridged)

Show that a finite union of closed sets is closed.

提示Solution

If \(A_1,\ldots,A_n\) are closed then \(\mathscr{C}(\bigcup_{i=1}^n A_i)=\bigcap_{i=1}^n\mathscr{C}(A_i)\) is a finite intersection of open sets, hence open (Theorem 6.7(b)). Thus the union is closed.

Exercise §6.2.15

注记Stem (abridged)

Let \(B=\bigcup_i A_i\). Show \(\bar B\supset\bigcup_i\bar A_i\), and give an example where equality fails.

提示Solution

Each \(\bar A_i\) is closed and contains \(A_i\), hence contains \(A_i\) as a subset of \(B\), so \(\bar A_i\subset\bar B\) because \(\bar B\) is the smallest closed set containing \(B\) (Theorem 6.11(e)). Thus \(\bigcup_i\bar A_i\subset\bar B\).

For a strict inclusion, work in \(\mathbb{R}^1\) and set \(A_i=\{x:1/i<x\le 1\}\). Then \(B=\bigcup A_i=(0,1]\), so \(\bar B=[0,1]\). But \(\bar A_i=[1/i,1]\) and \(\bigcup_i\bar A_i=(0,1]\neq[0,1]\).

Odd-key: the same example. Agrees.

Exercise §6.2.16

注记Stem (abridged)

In Euclidean \(\mathbb{R}^1\), give a sequence with two subsequences converging to different limits, and a sequence with infinitely many subsequences converging to different limits.

提示Solution

The sequence \(0,1,0,1,0,1,\ldots\) has even terms \(\to 1\) and odd terms \(\to 0\).

Enumerate the rationals in \([0,1]\) as \(\{r_n\}\) (or simply concatenate the finite lists \(\{0,1/k,2/k,\ldots,1\}\) over \(k=1,2,\ldots\)). For each \(x\in[0,1]\) there is a subsequence \(\to x\) (density of the values). In particular there are infinitely many subsequences with distinct limits; e.g. \(p_n=n-\lfloor n/2\rfloor\cdot 2\) already only gives two limits, while \(p_n=\) the fractional part of \(n\alpha\) for irrational \(\alpha\) is not needed: the explicit sequence \[ 0,\;1,\;0,\tfrac12,1,\;0,\tfrac13,\tfrac23,1,\;\ldots \] has, for each fixed \(q\in\mathbb{Q}\cap[0,1]\), a constant subsequence equal to \(q\).

Exercise §6.2.17

注记Stem (abridged)

Using only the definition of closed set, prove that the intersection of any family of closed sets is closed (Theorem 6.9(a)).

提示Solution

Let \(F=\bigcap_{A\in\mathscr{F}}A\) with each \(A\) closed, and let \(p\) be a limit point of \(F\). Then every ball about \(p\) contains a point of \(F\) distinct from \(p\), hence contains a point of each \(A\) distinct from \(p\). Thus \(p\) is a limit point of each \(A\), so \(p\in A\) because \(A\) is closed. Therefore \(p\in F\), and \(F\) is closed.

Exercise §6.2.18

注记Stem (abridged)

\(f\) continuous on \(I=\{a\le x\le b\}\) with \(f>0\) on \(I\). Let \(S=\{(x,y)\in\mathbb{R}^2:a\le x\le b,\;0\le y\le f(x)\}\) (Euclidean metric). (a) \(S\) is closed. (b) Find \(S'\) and \(\bar S\). (c) Find \(S^{(0)}\). (d) Find \(\partial S\).

提示Solution
  1. Let \((x_n,y_n)\in S\) with \((x_n,y_n)\to(x,y)\). Then \(a\le x\le b\) and \(0\le y\), and \(y_n\le f(x_n)\). Continuity of \(f\) gives \(y\le f(x)\). Thus \((x,y)\in S\), so \(S\) is closed. (Alternatively \(S\) is the image of the compact set \(I\times[0,1]\) under the continuous map \((x,t)\mapsto(x,tf(x))\), hence compact, hence closed.)

  2. Since \(f>0\) on a compact interval, \(m=\min_I f>0\), so \(S\) has nonempty interior in every vertical fiber. Every point of \(S\) is a limit point of \(S\) (approach along a short vertical or horizontal segment remaining in \(S\)). Thus \(S'=S\), and \(\bar S=S\).

  3. A point \((x,y)\) is interior if and only if a whole disk about it lies in \(S\), which happens precisely when \(a<x<b\) and \(0<y<f(x)\). (On \(x=a\) or \(x=b\), every disk meets \(x<a\) or \(x>b\); on \(y=0\) or \(y=f(x)\), every disk meets \(y<0\) or \(y>f(x)\).)

  4. \(\partial S=\bar S-S^{(0)}\) consists of the graph \(y=f(x)\), the base \(y=0\), and the two vertical ends \(\{a\}\times[0,f(a)]\) and \(\{b\}\times[0,f(b)]\).

Exercise §6.2.19

注记Stem (abridged)

If \(A\) is a set in a metric space, show that \(A'\) and \(\bar A\) are closed (Theorem 6.11(a),(b)).

提示Solution
  1. Let \(p\) be a limit point of \(A'\). Every ball \(B(p,r)\) contains a point \(q\in A'\) with \(q\neq p\). The ball \(B(q,r')\) with \(r'<\min\bigl(d(p,q),r-d(p,q)\bigr)\) lies in \(B(p,r)\) and, because \(q\in A'\), contains a point of \(A\) distinct from \(p\). Thus every ball about \(p\) contains a point of \(A\) other than \(p\), so \(p\in A'\). Hence \(A'\) contains its limit points and is closed.

  2. \(\bar A=A\cup A'\). The union of two closed sets is closed once \(A'\) is closed and we know \(\bar A\) is closed by a direct argument: if \(p\) is a limit point of \(\bar A\), every ball about \(p\) contains a point of \(A\cup A'\) other than \(p\), hence (as in (a)) contains a point of \(A\) other than \(p\), so \(p\in A'\). Thus \(p\in\bar A\).

Exercise §6.2.20

注记Stem (abridged)

Show that \(\partial A\) is closed and \(A^{(0)}\) is open (Theorem 6.11(c),(d)).

提示Solution
  1. \(\partial A=\bar A-A^{(0)}=\bar A\cap\mathscr{C}(A^{(0)})\). Once (d) is proved, \(\mathscr{C}(A^{(0)})\) is closed, and the intersection of closed sets is closed.

  2. If \(p\in A^{(0)}\) then some ball \(B(p,r)\subset A\). For \(q\in B(p,r)\), the ball \(B(q,r-d(p,q))\) lies in \(B(p,r)\subset A\), so \(q\in A^{(0)}\). Thus \(B(p,r)\subset A^{(0)}\), and \(A^{(0)}\) is open.

Alternatively \(\partial A=\bar A\cap\overline{\mathscr{C}(A)}\), an intersection of closed sets.

Exercise §6.2.21

注记Stem (abridged)

If \(A\subset B\) and \(B\) is closed, then \(\bar A\subset B\) (Theorem 6.11(e)).

提示Solution

\(A\subset B\) implies \(A'\subset B'\) because every limit point of \(A\) is a limit point of \(B\). Since \(B\) is closed, \(B'\subset B\), so \(\bar A=A\cup A'\subset B\cup B'=B\).

Exercise §6.2.22

注记Stem (abridged)

If \(B\subset A\) and \(B\) is open, then \(B\subset A^{(0)}\) (Theorem 6.11(f)).

提示Solution

If \(p\in B\) and \(B\) is open, some ball \(B(p,r)\) lies in \(B\), hence in \(A\). Thus \(p\) is an interior point of \(A\).

Exercise §6.2.23

注记Stem (abridged)

\(A\) is open \(\Leftrightarrow\) \(\mathscr{C}(A)\) is closed (Theorem 6.11(h)).

提示Solution

By Theorem 6.8, a set is closed if and only if its complement is open. Applying that statement to \(\mathscr{C}(A)\) (whose complement is \(A\)) yields: \(\mathscr{C}(A)\) is closed if and only if \(A\) is open.

§6.3 Countable and Uncountable Sets

Printed pp. 149–150; PDF pp. 165–166.

Exercise §6.3.1

注记Stem (abridged)

Show that the rational points in \(\mathbb{R}^2\) (both coordinates rational) form a denumerable set.

提示Solution

The set in question is \(\mathbb{Q}\times\mathbb{Q}\). The map \((p,q)\mapsto\) the corresponding pair of integers in lowest terms identifies \(\mathbb{Q}\) with a subset of \(\mathbb{Z}\times\mathbb{N}\) (or use \(\mathbb{Q}\cong\mathbb{Z}\times\mathbb{N}/\sim\)). Theorem 6.13 says a countable union of countable sets is countable, so \(\mathbb{Z}\) is denumerable, \(\mathbb{Q}\) is denumerable, and \(\mathbb{Q}\times\mathbb{Q}=\bigcup_{q\in\mathbb{Q}}(\mathbb{Q}\times\{q\})\) is a denumerable union of denumerable sets, hence denumerable. Equivalently, arrange the pairs as in Figure 6.5 (the diagonal enumeration of \(\mathbb{N}\times\mathbb{N}\)) after enumerating \(\mathbb{Q}=\{r_1,r_2,\ldots\}\).

Odd-key: “Arrange the rational points as shown in Figure 6.5.” Agrees.

Exercise §6.3.2

注记Stem (abridged)

Show that the rational points in \(\mathbb{R}^N\) form a denumerable set.

提示Solution

\(\mathbb{Q}^N=\mathbb{Q}\times\cdots\times\mathbb{Q}\) (\(N\) factors). Proceed by induction on \(N\): the case \(N=1\) is the denumerability of \(\mathbb{Q}\), and \(\mathbb{Q}^{N}=\mathbb{Q}^{N-1}\times\mathbb{Q}\) is a countable union of copies of \(\mathbb{Q}^{N-1}\).

Exercise §6.3.3

注记Stem (abridged)

Let \(S\) be the set of infinite sequences of the form \((r_1,\ldots,r_n,0,0,\ldots)\) with rational \(r_i\). Show that \(S\) is denumerable.

提示Solution

Let \(S_n\) be the set of sequences whose entries after the \(n\)th place are zero (the first \(n\) entries rational, possibly already zero). Then \(S_n\) is in bijection with \(\mathbb{Q}^n\), hence denumerable by Problem 2. Also \(S=\bigcup_{n=1}^\infty S_n\), a countable union of denumerable sets, hence denumerable (Theorem 6.13).

Exercise §6.3.4

注记Stem (abridged)

An algebraic number is a root of \(a_0 x^n+\cdots+a_n=0\) with \(a_i\in\mathbb{Z}\), \(a_0\neq 0\). (a) The real algebraic numbers are countable. (b) The algebraic numbers (complex) are countable.

提示Solution

Let \(P_n\) be the set of polynomials of degree \(n\) with integer coefficients and \(a_0\neq 0\). Then \(P_n\) injects into \(\mathbb{Z}^{n+1}\) (the coefficient tuple), so \(P_n\) is countable. Let \(P=\bigcup_{n\ge 1}P_n\), a countable union, hence countable. Each \(p\in P\) has at most \(\deg p\) roots in \(\mathbb{C}\). The set of all algebraic numbers is \(\bigcup_{p\in P}\{\text{roots of }p\}\), a countable union of finite sets, hence countable. The real algebraic numbers form a subset, hence are countable (Theorem 6.12(b)).

Exercise §6.3.5

注记Stem (abridged)

Show that any family of pairwise disjoint open intervals in \(\mathbb{R}^1\) is countable. [Hint: pair each interval with a rational.]

提示Solution

Let \(\mathscr{F}\) be such a family. For each \(I\in\mathscr{F}\) choose a rational \(r_I\in I\) (possible because every nonempty open interval contains a rational). The map \(I\mapsto r_I\) is injective because the intervals are pairwise disjoint. Thus \(\mathscr{F}\) is in one-to-one correspondence with a subset of \(\mathbb{Q}\), hence countable.

Exercise §6.3.6

注记Stem (abridged)

Show that any family of disjoint open sets in \(\mathbb{R}^N\) is countable (Theorem 6.15(b)).

提示Solution

Each nonempty open set in \(\mathbb{R}^N\) contains a point with all coordinates rational (an open ball contains a rational point). Let \(\mathscr{F}\) be a family of pairwise disjoint nonempty open sets. Choose, for each \(U\in\mathscr{F}\), a rational point \(q_U\in U\). The map \(U\mapsto q_U\) is injective because the sets are disjoint. The set of rational points in \(\mathbb{R}^N\) is denumerable (Problem 2), so \(\mathscr{F}\) is countable.

Exercise §6.3.7

注记Stem (abridged)

Prove Theorem 6.16: a monotone function on an interval has a countable set of discontinuities. [Hint: pair jumps with disjoint open intervals.]

提示Solution

Assume \(f\) is nondecreasing on \(I\) (the nonincreasing case is the same after replacing \(f\) by \(-f\)). At an interior point \(c\in I\) the one-sided limits \(f(c-)\) and \(f(c+)\) exist in \(\mathbb{R}^1\cup\{\pm\infty\}\), and \(f\) is discontinuous at \(c\) if and only if \(f(c-)<f(c+)\). In that case the open interval \(J_c=\bigl(f(c-),f(c+)\bigr)\) is nonempty. If \(c<c'\) are two discontinuities then \(f(c+)\le f(c'-)\), so \(J_c\cap J_{c'}=\varnothing\). The family \(\{J_c\}\) is therefore a family of pairwise disjoint nonempty open intervals in \(\mathbb{R}^1\), hence countable by Problem 5. The (at most two) endpoints of \(I\) do not affect countability.

Exercise §6.3.8

注记Stem (abridged)

Show that every infinite set contains a denumerable subset.

提示Solution

Let \(A\) be infinite. Pick \(a_1\in A\) (nonempty). The remainder \(A\setminus\{a_1\}\) is still infinite, so pick \(a_2\in A\setminus\{a_1\}\). Inductively, having chosen distinct \(a_1,\ldots,a_n\), the remainder is nonempty (else \(A\) would be finite), so pick \(a_{n+1}\) in the remainder. The set \(\{a_n:n\in\mathbb{N}\}\) is denumerable and contained in \(A\).

Exercise §6.3.9

注记Stem (abridged)

Let \(G\) be open in \(\mathbb{R}^1\). Show that \(G\) is a union of open intervals with rational endpoints.

提示Solution

By Theorem 6.17, \(G\) is a countable union of pairwise disjoint open intervals \(I_k=(a_k,b_k)\) (possibly unbounded). Each such interval is itself the union of all open intervals \((p,q)\) with \(p,q\in\mathbb{Q}\) and \(a_k\le p<q\le b_k\) (or \(p<a_k\) is forbidden; more cleanly: all \((p,q)\) with \(p,q\in\mathbb{Q}\) and \([p,q]\subset I_k\)). The collection of all open intervals with rational endpoints is countable, and \(G\) is the union of those among them that are contained in \(G\).

Exercise §6.3.10

注记Stem (abridged)

Let \(G=\{(x,y):0<x<1,\;0<y<1\}\subset\mathbb{R}^2\). (a) Give explicitly a family of closed cells as in Theorem 6.18 whose union is \(G\). (b) Show that the choice may be made in infinitely many ways.

提示Solution
  1. For \(n=2,3,\ldots\) and integers \(i,j\) with \(1\le i,j\le 2^n-2\), let \[ C_{n,i,j}=\Bigl[\frac{i}{2^n},\frac{i+1}{2^n}\Bigr]\times\Bigl[\frac{j}{2^n},\frac{j+1}{2^n}\Bigr]. \] Each \(C_{n,i,j}\) is a closed cell contained in \(G\) (the indices keep the cell off the boundary of the unit square). The interiors of cells of a fixed generation that we retain from the construction of Theorem 6.18 (keep a second-generation square only if it is not already inside a first-generation square that was kept, and so on) are pairwise disjoint, and every point of \(G\) has a positive distance to \(\partial G\), hence lies in some dyadic closed square contained in \(G\). The union of all such retained squares is \(G\).

  2. Replacing \(2^n\) by \(3^n\) throughout gives a different family. Alternatively, translating the grid by \((2^{-n-1},0)\) at generation \(n\), or discarding one particular square and subdividing it into four smaller closed squares, yields another decomposition. There are infinitely many such modifications.

Exercise §6.3.11

注记Stem (abridged)

Let \(I=(0,1)\) and let \(S\) be all functions \(f:I\to I\). Prove that \(S\) cannot be put in one-to-one correspondence with any subset of \(\mathbb{R}^1\).

提示Solution

The subset \(T\subset S\) of functions taking only the two values \(1/3\) and \(2/3\) is in bijection with the power set of \(I\) (send \(f\) to \(f^{-1}(\{1/3\})\)). If \(S\) injected into a subset of \(\mathbb{R}^1\), then so would \(T\), and \(\mathscr{P}(I)\) would inject into \(\mathbb{R}^1\). But \(I\) is in bijection with \(\mathbb{R}^1\) (e.g. \(x\mapsto\tan(\pi(x-1/2))\)), so \(\mathscr{P}(\mathbb{R}^1)\) would inject into \(\mathbb{R}^1\). Cantor’s theorem says there is no injection \(\mathscr{P}(X)\to X\) for any set \(X\): given \(g:X\to\mathscr{P}(X)\), the diagonal set \(\{x:x\notin g(x)\}\) is not in the image of \(g\). Contradiction.

Exercise §6.3.12

注记Stem (abridged)

Let \(I=(0,1)\) and \(J=\{(x,y):0<x<1,\;0<y<1\}\). Show that \(I\) and \(J\) can be put in one-to-one correspondence. Extend to the \(N\)-cell \(K=\{0<x_i<1\}\).

提示Solution

The map \(x\mapsto(x,1/2)\) injects \(I\) into \(J\). For an injection \(J\to I\), expand \(x=0.x_1 x_2\ldots\) and \(y=0.y_1 y_2\ldots\) in non-terminating decimal expansions (forbid infinite tails of \(9\)s) and send \((x,y)\) to \(0.x_1 y_1 x_2 y_2\ldots\). This is injective. By the Schröder–Bernstein theorem there is a bijection \(I\leftrightarrow J\).

For \(K\subset\mathbb{R}^N\), inject \(I\to K\) by \(t\mapsto(t,1/2,\ldots,1/2)\) and inject \(K\to I\) by interleaving \(N\) decimal expansions. Schröder–Bernstein again yields a bijection. (Inductively, \(I\sim I^2\) implies \(I\sim I^N\).)

§6.4 Compact Sets and the Heine–Borel Theorem

Printed pp. 155–156; PDF pp. 171–172.

Exercise §6.4.1

注记Stem (abridged)

Show that the union of a compact set and a finite set is compact.

提示Solution

Let \(A\) be compact and \(F=\{q_1,\ldots,q_m\}\). Let \(\{p_n\}\) be a sequence in \(A\cup F\). If infinitely many terms lie in \(A\), a subsequence lies in \(A\) and, by compactness of \(A\), has a further subsequence converging to a point of \(A\subset A\cup F\). If only finitely many terms lie in \(A\), then some \(q_j\) occurs infinitely often, and the corresponding constant subsequence converges to \(q_j\in A\cup F\).

Exercise §6.4.2

注记Stem (abridged)
  1. The intersection of any family of compact sets is compact. (b) A finite union of compact sets is compact. (c) An infinite union of compact sets need not be compact.
提示Solution
  1. Let \(\{K_\alpha\}\) be compact, \(K=\bigcap K_\alpha\). Each \(K_\alpha\) is closed (Theorem 6.19), so \(K\) is closed. Fix one \(K_{\alpha_0}\); then \(K\) is a closed subset of the compact set \(K_{\alpha_0}\), hence compact (Theorem 6.21).

  2. Let \(K=\bigcup_{i=1}^m K_i\) with each \(K_i\) compact, and let \(\{p_n\}\) be a sequence in \(K\). Some \(K_{i_0}\) contains infinitely many terms (pigeonhole), and that subsequence has a further subsequence converging to a point of \(K_{i_0}\subset K\).

  3. In \(\mathbb{R}^1\), each \(\{n\}\) is compact, but \(\bigcup_{n=1}^\infty\{n\}=\mathbb{N}\) is unbounded, hence not compact (Theorem 6.19). Alternatively \(\bigcup_n[0,1-1/n]=[0,1)\) is not closed.

Exercise §6.4.3

注记Stem (abridged)

In Euclidean \(\mathbb{R}^2\), \(A=[0,1]\times[0,1]\) and \(B=A\setminus\{(1,1)\}\). Cover \(B\) by an infinite family \(\mathscr{F}\) of open rectangles with no finite subfamily covering \(B\).

提示Solution

(The printed stem writes \(A\setminus\{P(1,1)\}\); this is the corner point \((1,1)\).) For \(n=2,3,\ldots\) let \[ U_n=\bigl\{(x,y):x<1-1/n\text{ or }y<1-1/n\bigr\}\cap W, \] where \(W=\{(x,y):-1<x<2,\;-1<y<2\}\) is a large open rectangle, or more explicitly take the open rectangles \[ R_n=\bigl(-1,1-1/n\bigr)\times(-1,2),\qquad S_n=\bigl(-1,2\bigr)\times\bigl(-1,1-1/n\bigr). \] The family \(\mathscr{F}=\{R_n,S_n:n\ge 2\}\) covers \(B\): a point of \(B\) has either \(x<1\) or \(y<1\) (in fact both cannot fail unless the point is \((1,1)\)), so it falls into some \(R_n\) or \(S_n\). No finite subfamily covers \(B\). A finite subfamily has a largest index \(N\), and the point \(\bigl(1-1/(2N),1-1/(2N)\bigr)\) of \(B\) misses every \(R_n\) and \(S_n\) with \(n\le N\).

Exercise §6.4.4

注记Stem (abridged)

In \(l_2\), let \(e_n\) be the sequence with \(1\) in place \(n\) and \(0\) elsewhere. Show that \(\{e_n\}\) is bounded and not compact.

提示Solution

\(d(e_n,0)=\bigl(\sum_i (e_n)_i^2\bigr)^{1/2}=1\), so \(\{e_n\}\subset\overline{B(0,1)}\) and the set is bounded. For \(n\neq m\), \[ d(e_n,e_m)=\bigl(1+1\bigr)^{1/2}=\sqrt{2}. \] No subsequence is Cauchy, hence none converges. The set is therefore not compact.

Exercise §6.4.5

注记Stem (abridged)

Cover \(A=[0,1]\) by \(I_a=\{x:a/2<x<2\}\) for \(0<a\le 1\) and \(I_0=\{x:-1/5\le x\le 1/5\}\). Find a Lebesgue number \(\rho\) for \(\mathscr{F}=\{I_0\}\cup\{I_a:0<a\le 1\}\).

提示Solution

The printed \(I_0\) uses closed inequalities; for Theorem 6.27 the cover must consist of open sets. We read \(I_0\) as the open interval \((-1/5,1/5)\), which still covers a neighborhood of \(0\) in \(A\). (If \(I_0\) is taken closed, \(\mathscr{F}\) is not an open cover.)

Claim: \(\rho=1/10\) works. Let \(p\in A\).

  • If \(0\le p\le 1/10\), then \(B(p,1/10)\subset(-1/10,1/5)\subset I_0\).
  • If \(1/10<p\le 1\), then \(B(p,1/10)=(p-1/10,p+1/10)\). Choose \(a\) with \(0<a\le 1\) and \(a/2<p-1/10\) (possible because \(p-1/10>0\)); also \(p+1/10\le 1+1/10<2\). Thus \(B(p,1/10)\subset I_a\).

Odd-key: “Choose \(\rho=1/10\).” Agrees with this choice.

Exercise §6.4.6

注记Stem (abridged)

If \(\mathscr{F}\) is an open cover of a rectangle \(R=\{a\le x\le b,\;c\le y\le d\}\) in \(\mathbb{R}^2\), show that \(R\) may be divided into finitely many subrectangles, no two with common interior points, each closed subrectangle contained in some member of \(\mathscr{F}\).

提示Solution

\(R\) is closed and bounded, hence compact (Theorem 6.20). Let \(\rho>0\) be a Lebesgue number for \(\mathscr{F}\) (Theorem 6.27). Choose integers \(m,n\) large enough that the mesh \(\max\bigl((b-a)/m,(d-c)/n\bigr)<\rho/\sqrt{2}\). Partition \(R\) by the \(m\times n\) grid of closed rectangles \(R_{ij}\) obtained from equally spaced lines parallel to the sides. Distinct \(R_{ij}\) meet at most along an edge, so interiors are pairwise disjoint. The Euclidean diameter of \(R_{ij}\) is \(<\rho\), so \(R_{ij}\subset B(p,\rho)\) for any \(p\in R_{ij}\), and \(B(p,\rho)\) lies in some member of \(\mathscr{F}\). Thus \(R_{ij}\) lies in that member.

Exercise §6.4.7

注记Stem (abridged)

Let \(\mathscr{A}\) be the space of finitely supported real sequences, with \(d(x,y)=\max_i\lvert x_i-y_i\rvert\). (a) \(\mathscr{A}\) is a metric space. (b) Find a closed bounded noncompact subset.

提示Solution
  1. The max is actually attained and is finite because only finitely many coordinates of \(x\) and of \(y\) are nonzero. The metric axioms are the same as for the \(\sup\) metric on bounded sequences (Problem 6.1.14), restricted to \(\mathscr{A}\).

  2. Let \(e_n\) be the sequence with \(1\) in place \(n\) and \(0\) elsewhere, and let \(K=\{e_n:n\in\mathbb{N}\}\). Then \(d(e_n,e_m)=1\) for \(n\neq m\), so \(K\) is bounded (it lies in \(\overline{B(0,1)}\)) and has no limit point, hence is closed. No subsequence converges, so \(K\) is not compact.

Odd-key: “Choose \(x^n\) so that \(x_k^n=1\) if \(k=n\), and \(0\) otherwise.” Agrees (the set of these points).

Exercise §6.4.8

注记Stem (abridged)

If \(\mathscr{F}\) is an open cover of the circle \(C=\{x^2+y^2=1\}\) in \(\mathbb{R}^2\), show there is \(\rho>0\) such that \(\mathscr{F}\) covers the annulus \(A=\{(1-\rho)^2\le x^2+y^2\le(1+\rho)^2\}\).

提示Solution

\(C\) is closed and bounded, hence compact. Let \(\rho_0\) be a Lebesgue number for \(\mathscr{F}\) on \(C\): every ball \(B(p,\rho_0)\) with \(p\in C\) lies in some member of \(\mathscr{F}\). Take \(0<\rho<\rho_0\). If \(q\in A\) then \(q\) has a radial projection \(p=q/\lvert q\rvert\in C\) (writing \(\lvert q\rvert\) for the Euclidean norm), and \[ d(q,p)=\bigl\lvert\lvert q\rvert-1\bigr\rvert\le\rho<\rho_0, \] so \(q\in B(p,\rho_0)\), which lies in some set of \(\mathscr{F}\). Thus \(\mathscr{F}\) covers \(A\).

Exercise §6.4.9

注记Stem (abridged)

Show that a closed subset of a compact set is compact (Theorem 6.21).

提示Solution

Let \(A\) be compact and \(F\subset A\) closed. Let \(\{p_n\}\) be a sequence in \(F\). Compactness of \(A\) yields a subsequence \(p_{n_k}\to p_0\in A\). Because \(F\) is closed and the subsequence lies in \(F\), the limit \(p_0\) lies in \(F\). Thus \(F\) is compact.

Exercise §6.4.10

注记Stem (abridged)

Give an example of a compact set of points in \(\mathbb{R}^1\) whose set of limit points is countable.

提示Solution

The set \(K=\{0\}\cup\{1/n:n\in\mathbb{N}\}\) is closed and bounded, hence compact, and \(K'=\{0\}\) is countable. If a countably infinite derived set is wanted, take \[ K=\{0\}\cup\Bigl\{\frac1m:m\ge 1\Bigr\}\cup\Bigl\{\frac1m+\frac1{m^2 n}:m,n\ge 1\Bigr\}. \] Then \(K\) is closed and bounded (the only extra limit points are the points \(1/m\) and \(0\)), hence compact, and \(K'=\{0\}\cup\{1/m:m\ge 1\}\) is denumerable.

Exercise §6.4.11

注记Stem (abridged)

Show that a convergent sequence in a metric space is Cauchy (Theorem 6.22).

提示Solution

Let \(p_n\to p_0\). Given \(\varepsilon>0\), choose \(N\) so that \(n>N\) implies \(d(p_n,p_0)<\varepsilon/2\). Then for \(n,m>N\), \[ d(p_n,p_m)\le d(p_n,p_0)+d(p_0,p_m)<\varepsilon. \]

Exercise §6.4.12

注记Stem (abridged)

A Cauchy sequence in a compact set \(A\) converges to a point of \(A\) (Theorem 6.23).

提示Solution

Let \(\{p_n\}\) be Cauchy in compact \(A\). Compactness yields a subsequence \(p_{n_k}\to p_0\in A\). Given \(\varepsilon>0\), choose \(N\) so that \(n,m>N\) implies \(d(p_n,p_m)<\varepsilon/2\), and choose \(k\) so that \(n_k>N\) and \(d(p_{n_k},p_0)<\varepsilon/2\). Then for \(n>N\), \[ d(p_n,p_0)\le d(p_n,p_{n_k})+d(p_{n_k},p_0)<\varepsilon. \] Thus \(p_n\to p_0\in A\).

Exercise §6.4.13

注记Stem (abridged)

If \(S_n\) are nonempty closed subsets of a compact set \(A\) with \(S_n\supset S_{n+1}\), then \(\bigcap_n S_n\neq\varnothing\) (Theorem 6.24).

提示Solution

Pick \(p_n\in S_n\). Compactness of \(A\) yields a subsequence \(p_{n_k}\to p_0\in A\). For each fixed \(m\), the tail \(n_k\ge m\) lies in \(S_m\) (nested), and \(S_m\) is closed, so \(p_0\in S_m\). Thus \(p_0\) belongs to every \(S_m\).

Exercise §6.4.14

注记Stem (abridged)

In Euclidean \(\mathbb{R}^3\), consider the surface \(x_1^2+x_2^2-x_3^2=1\). Is it compact?

提示Solution

No. The set is closed (it is \(f^{-1}(\{1\})\) for the continuous \(f(x)=x_1^2+x_2^2-x_3^2\)), but it is unbounded: the points \(\bigl(\sqrt{1+n^2},0,n\bigr)\) lie on the surface and recede to infinity. A compact set is bounded (Theorem 6.19). (Geometrically this is a hyperboloid of one sheet.)

§6.5 Functions on Compact Sets

Printed pp. 159–160; PDF pp. 175–176.

In Problems 1–7 the functions are real-valued on a subset \(A\) of a metric space \(S\).

Exercise §6.5.1

注记Stem (abridged)

If \(f(p)=c\) for all \(p\in A\) and \(p_0\) is a limit point of \(A\), then \(\lim_{p\to p_0,\,p\in A}f(p)=c\).

提示Solution

Given \(\varepsilon>0\), any \(\delta>0\) works: if \(p\in A\) and \(0<d(p,p_0)<\delta\) then \(\lvert f(p)-c\rvert=0<\varepsilon\).

Exercise §6.5.2

注记Stem (abridged)

If \(f=g\) on \(A\setminus\{p_0\}\) with \(p_0\) a limit point of \(A\), and \(f(p)\to l\) as \(p\to p_0\) through \(A\), then \(g(p)\to l\) as \(p\to p_0\) through \(A\).

提示Solution

The \(\varepsilon\)–\(\delta\) condition for \(f\) never uses the value at \(p_0\). For \(p\in A\) with \(0<d(p,p_0)<\delta\) we have \(p\neq p_0\), so \(g(p)=f(p)\) and \(\lvert g(p)-l\rvert=\lvert f(p)-l\rvert<\varepsilon\).

Exercise §6.5.3

注记Stem (abridged)

If \(f_1(p)\to l_1\) and \(f_2(p)\to l_2\) as \(p\to p_0\) through \(A\), then \(f_1+f_2\to l_1+l_2\).

提示Solution

Given \(\varepsilon>0\), choose \(\delta_i\) so that \(0<d(p,p_0)<\delta_i\) and \(p\in A\) imply \(\lvert f_i(p)-l_i\rvert<\varepsilon/2\). Let \(\delta=\min(\delta_1,\delta_2)\). Then \[ \lvert (f_1+f_2)(p)-(l_1+l_2)\rvert\le \lvert f_1(p)-l_1\rvert+\lvert f_2(p)-l_2\rvert<\varepsilon. \]

Exercise §6.5.4

注记Stem (abridged)

Under the hypotheses of Problem 3, \(f_1 f_2\to l_1 l_2\).

提示Solution

Write \[ f_1 f_2-l_1 l_2=f_1(f_2-l_2)+l_2(f_1-l_1). \] First choose \(\delta'\) so that \(\lvert f_1(p)-l_1\rvert<1\) on \(0<d(p,p_0)<\delta'\), whence \(\lvert f_1(p)\rvert<\lvert l_1\rvert+1\). Then choose \(\delta\) smaller so that \(\lvert f_2-l_2\rvert\) and \(\lvert f_1-l_1\rvert\) are small enough that the displayed combination is \(<\varepsilon\).

Exercise §6.5.5

注记Stem (abridged)

If in addition \(l_2\neq 0\), then \(f_1/f_2\to l_1/l_2\).

提示Solution

First arrange \(\lvert f_2(p)-l_2\rvert<\lvert l_2\rvert/2\), so \(\lvert f_2(p)\rvert\ge\lvert l_2\rvert/2>0\) and the quotient is defined near \(p_0\) on \(A\). Then \[ \frac{f_1}{f_2}-\frac{l_1}{l_2}=\frac{f_1 l_2-l_1 f_2}{f_2 l_2}=\frac{l_2(f_1-l_1)-l_1(f_2-l_2)}{f_2 l_2}, \] whose numerator is small and whose denominator is bounded away from \(0\).

Exercise §6.5.6

注记Stem (abridged)

If \(f\le g\) on \(A\), \(f\to L\) and \(g\to M\) as \(p\to p_0\) through \(A\), then \(L\le M\). The same holds if \(f\le g\) only on some ball about \(p_0\).

提示Solution

If \(L>M\), set \(\varepsilon=(L-M)/2>0\) and choose \(\delta\) so that \(\lvert f-L\rvert<\varepsilon\) and \(\lvert g-M\rvert<\varepsilon\) for \(p\in A\) with \(0<d(p,p_0)<\delta\). Then \(f(p)>L-\varepsilon=(L+M)/2\) and \(g(p)<M+\varepsilon=(L+M)/2\), so \(f(p)>g(p)\), a contradiction. The argument only uses points of \(A\) in a punctured ball about \(p_0\), so a local inequality \(f\le g\) suffices.

Exercise §6.5.7

注记Stem (abridged)

State and prove an analog of the Sandwiching theorem (Theorem 2.10) for real functions on a subset \(A\) of a metric space.

提示Solution

Statement. Let \(f,g,h\) be real-valued on \(A\), and let \(p_0\) be a limit point of \(A\). Suppose \(f(p)\le g(p)\le h(p)\) for all \(p\in A\) in some punctured ball about \(p_0\), and \(f(p)\to L\), \(h(p)\to L\) as \(p\to p_0\) through \(A\). Then \(g(p)\to L\) as \(p\to p_0\) through \(A\).

Proof. Given \(\varepsilon>0\), choose \(\delta\) so that \(0<d(p,p_0)<\delta\) and \(p\in A\) imply \(\lvert f(p)-L\rvert<\varepsilon\) and \(\lvert h(p)-L\rvert<\varepsilon\), and also so that the sandwich inequality holds. Then \(L-\varepsilon<f(p)\le g(p)\le h(p)<L+\varepsilon\), so \(\lvert g(p)-L\rvert<\varepsilon\).

Odd-key: the same statement (with the inequality on all of \(A\)). Agrees.

Exercise §6.5.8

注记Stem (abridged)

Composite function theorem: \(f:\mathbb{R}^1\to\mathbb{R}^1\) continuous at \(L\), \(g:S\to\mathbb{R}^1\), \(g(p)\to L\) as \(p\to p_0\) through \(S\). Then \(f\bigl(g(p)\bigr)\to f(L)\).

提示Solution

Given \(\varepsilon>0\), continuity of \(f\) at \(L\) yields \(\eta>0\) such that \(\lvert u-L\rvert<\eta\) implies \(\lvert f(u)-f(L)\rvert<\varepsilon\). Then \(g(p)\to L\) yields \(\delta>0\) such that \(p\in S\) and \(0<d(p,p_0)<\delta\) imply \(\lvert g(p)-L\rvert<\eta\), hence \(\lvert f(g(p))-f(L)\rvert<\varepsilon\).

Exercise §6.5.9

注记Stem (abridged)

Let \(f:S_1\to S_2\) be a map of metric spaces. (a) Define continuity at \(p_0\in S_1\). (b) Define continuity at \(p_0\) with respect to \(A\subset S_1\). (c) Define \(f(p)\to q_0\) as \(p\to p_0\) through \(A\).

提示Solution

Write \(d_1,d_2\) for the metrics.

  1. \(f\) is continuous at \(p_0\) if for every \(\varepsilon>0\) there is \(\delta>0\) such that \(d_1(p,p_0)<\delta\) implies \(d_2\bigl(f(p),f(p_0)\bigr)<\varepsilon\).

  2. \(f\) is continuous with respect to \(A\) at \(p_0\in A\) if \(f(p_0)\) is defined and either \(p_0\) is isolated in \(A\), or \(p_0\) is a limit point of \(A\) and \(f(p)\to f(p_0)\) as \(p\to p_0\) through \(A\). Equivalently: for every \(\varepsilon>0\) there is \(\delta>0\) such that \(p\in A\) and \(d_1(p,p_0)<\delta\) imply \(d_2\bigl(f(p),f(p_0)\bigr)<\varepsilon\).

  3. \(p_0\) is a limit point of \(A\), and for every \(\varepsilon>0\) there is \(\delta>0\) such that \(p\in A\) and \(0<d_1(p,p_0)<\delta\) imply \(d_2\bigl(f(p),q_0\bigr)<\varepsilon\).

Odd-key: the same three \(\varepsilon\)–\(\delta\) clauses. Agrees.

Exercise §6.5.10

注记Stem (abridged)

Uniqueness of limits for \(f:A\to\mathbb{R}^2\) (Euclidean). Does the result hold with \(\mathbb{R}^2\) replaced by a general metric space \(S_2\)?

提示Solution

Suppose \(f(p)\to q_1\) and \(f(p)\to q_2\) as \(p\to p_0\) through \(A\), with \(q_1,q_2\in\mathbb{R}^2\). If \(q_1\neq q_2\), set \(\varepsilon=d(q_1,q_2)/2>0\) and choose \(\delta\) so that \(p\in A\), \(0<d(p,p_0)<\delta\) imply \(f(p)\in B(q_1,\varepsilon)\cap B(q_2,\varepsilon)\). Those two balls are disjoint, a contradiction. The same argument uses only the metric of the codomain, so it holds for an arbitrary metric space \(S_2\).

Exercise §6.5.11

注记Stem (abridged)

If \(A\subset\mathbb{R}^1\) is not an interval and \(f:A\to\mathbb{R}^1\) is continuous on \(A\), the Intermediate-value theorem may fail. Give an example.

提示Solution

Let \(A=[0,1]\cup[2,3]\) and set \(f=0\) on \([0,1]\), \(f=1\) on \([2,3]\). Then \(f\) is continuous on \(A\) (each piece is constant, and the two pieces are separated by distance \(1\)), but \(f\) takes the values \(0\) and \(1\) and never the value \(1/2\).

Odd-key: \(A=I_1\cup I_2\) with \(I_1=\{0\le x\le 1\}\), \(I_2=\{2\le x\le 3\}\), \(f=0\) on \(I_1\), \(f=1\) on \(I_2\). Agrees.

Exercise §6.5.12

注记Stem (abridged)

If \(f:A\to\mathbb{R}^1\) is continuous on a compact set \(A\), the range contains its supremum and infimum (Theorem 6.30).

提示Solution

By Theorem 6.29 the range \(R=f(A)\) is bounded, so \(M=\sup R\) and \(m=\inf R\) exist as real numbers. Choose \(p_n\in A\) with \(f(p_n)\to M\). Compactness yields a subsequence \(p_{n_k}\to p_0\in A\). Continuity gives \(f(p_{n_k})\to f(p_0)\), so \(f(p_0)=M\). The argument for \(m\) is the same.

Exercise §6.5.13

注记Stem (abridged)

If \(f:A\to\mathbb{R}^1\) is continuous on a compact \(B\subset A\), then \(f\) is uniformly continuous on \(B\) (Theorem 6.31).

提示Solution

Suppose not. Then there is \(\varepsilon>0\) such that for every \(n\) there are \(p_n,q_n\in B\) with \(d(p_n,q_n)<1/n\) but \(\lvert f(p_n)-f(q_n)\rvert\ge\varepsilon\). Compactness of \(B\) yields a subsequence \(p_{n_k}\to p_0\in B\); then also \(q_{n_k}\to p_0\) because \(d(q_{n_k},p_0)\le d(q_{n_k},p_{n_k})+d(p_{n_k},p_0)\). Continuity at \(p_0\) gives \(f(p_{n_k})\to f(p_0)\) and \(f(q_{n_k})\to f(p_0)\), so \(\lvert f(p_{n_k})-f(q_{n_k})\rvert\to 0\), contradicting \(\ge\varepsilon\).

Exercise §6.5.14

注记Stem (abridged)

\(A=[0,1]\times[0,1]\), \(B=A\setminus\{(1,1)\}\), \(f(x,y)=(1-xy)^{-1}\). Show \(f\) is continuous on \(B\) but not uniformly continuous on \(B\).

提示Solution

On \(B\) one has \(xy<1\) (the only point of \(A\) with \(xy=1\) is \((1,1)\)), so \(f\) is a composite of continuous functions and is continuous on \(B\).

Not uniformly continuous: let \(p_n=(1,1-1/n)\) and \(q_n=(1-1/n,1-1/n)\), both in \(B\) for \(n\ge 2\). Then \(d(p_n,q_n)=1/n\to 0\), while \[ f(p_n)=n,\qquad f(q_n)=\frac{1}{1-(1-1/n)^2}=\frac{n}{2-1/n}, \] so \(\lvert f(p_n)-f(q_n)\rvert\to\infty\). Alternatively: \(B\) is totally bounded and \(f\) is unbounded, so \(f\) cannot be uniformly continuous.

Exercise §6.5.15

注记Stem (abridged)

Prove Theorem 6.29 using Heine–Borel (Theorem 6.26).

提示Solution

Let \(f:A\to\mathbb{R}^1\) be continuous on compact \(A\). For each \(p\in A\) there is \(r_p>0\) such that \(q\in A\cap B(p,r_p)\) implies \(\lvert f(q)-f(p)\rvert<1\), hence \(\lvert f(q)\rvert<\lvert f(p)\rvert+1\). The open balls \(B(p,r_p)\) cover \(A\). By Heine–Borel, finitely many \(B(p_1,r_{p_1}),\ldots,B(p_k,r_{p_k})\) cover \(A\). Then on \(A\), \[ \lvert f\rvert\le \max_{1\le i\le k}\bigl(\lvert f(p_i)\rvert+1\bigr). \]

Exercise §6.5.16

注记Stem (abridged)

Prove Theorem 6.31 by means of the Lebesgue lemma (Theorem 6.27).

提示Solution

Let \(f\) be continuous on compact \(B\). Fix \(\varepsilon>0\). For each \(p\in B\) there is \(r_p>0\) such that \(q\in B\) and \(d(p,q)<r_p\) imply \(\lvert f(q)-f(p)\rvert<\varepsilon/2\). The balls \(B(p,r_p)\) form an open cover of \(B\). Let \(\rho\) be a Lebesgue number: for every \(x\in B\), the ball \(B(x,\rho)\) lies in some \(B(p,r_p)\). Set \(\delta=\rho\). If \(x,y\in B\) and \(d(x,y)<\delta\), then \(y\in B(x,\rho)\subset B(p,r_p)\) and also \(x\in B(p,r_p)\), so \[ \lvert f(x)-f(y)\rvert\le \lvert f(x)-f(p)\rvert+\lvert f(p)-f(y)\rvert<\varepsilon. \] Thus \(f\) is uniformly continuous on \(B\).

§6.6 Connected Sets

Printed pp. 163–164; PDF pp. 179–180.

Exercise §6.6.1

注记Stem (abridged)

Prove Theorem 6.33: if \(\mathscr{F}\) is a family of connected sets any two of which have a common point, then \(A=\bigcup\{S:S\in\mathscr{F}\}\) is connected. [Hint: if \(A=\Sigma_1\cup\Sigma_2\) with \(\Sigma_i\) disjoint, nonempty, and neither containing a limit point of the other, some \(S\in\mathscr{F}\) meets both.]

提示Solution

Suppose \(A=\Sigma_1\cup\Sigma_2\) with \(\Sigma_1,\Sigma_2\) disjoint and nonempty, and neither containing a limit point of the other.

If some \(S\in\mathscr{F}\) meets both \(\Sigma_1\) and \(\Sigma_2\), then \(S=(S\cap\Sigma_1)\cup(S\cap\Sigma_2)\) is a disconnection of \(S\): both pieces are nonempty and disjoint, and a limit point of \(S\cap\Sigma_1\) in \(S\) is a limit point of \(\Sigma_1\) in \(A\), hence cannot lie in \(\Sigma_2\). This contradicts connectedness of \(S\).

Thus no member of \(\mathscr{F}\) meets both \(\Sigma_i\). Each \(S\) therefore lies wholly in \(\Sigma_1\) or wholly in \(\Sigma_2\). If there exist \(S\subset\Sigma_1\) and \(T\subset\Sigma_2\), their intersection is empty, contradicting the hypothesis that any two members of \(\mathscr{F}\) meet. Hence all members of \(\mathscr{F}\) lie in a single \(\Sigma_i\), so \(A\) lies in that \(\Sigma_i\) and the other is empty, a contradiction.

Exercise §6.6.2

注记Stem (abridged)

If \(S\) is a connected subset of a metric space, then \(\bar S\) is connected (Theorem 6.34).

提示Solution

This is the case \(A=S\), \(B=\bar S\) of Problem 7 below; we give a direct argument. Suppose \(\bar S=\Sigma_1\cup\Sigma_2\) with \(\Sigma_i\) disjoint, nonempty, and neither containing a limit point of the other. Then \(S=(S\cap\Sigma_1)\cup(S\cap\Sigma_2)\) is a decomposition of the same type unless one of \(S\cap\Sigma_i\) is empty, say \(S\cap\Sigma_2=\varnothing\). Then \(S\subset\Sigma_1\), so \(\bar S\subset\overline{\Sigma_1}\). But \(\Sigma_2\) is nonempty in \(\bar S\) and contains no limit point of \(\Sigma_1\), so no point of \(\Sigma_2\) can lie in \(\overline{\Sigma_1}\), a contradiction. Hence \(\bar S\) is connected.

Exercise §6.6.3

注记Stem (abridged)

If \(f:\mathbb{R}^1\to\mathbb{R}^1\) is continuous on an interval \(I\), the graph \(\{(x,y):x\in I,\; y=f(x)\}\) is a connected subset of \(\mathbb{R}^2\).

提示Solution

The map \(\gamma:I\to\mathbb{R}^2\) given by \(\gamma(x)=(x,f(x))\) is continuous (each component is continuous). The interval \(I\) is connected (Theorem 6.35). The continuous image of a connected set is connected (this is Theorem 6.42(b), or argue directly: a disconnection of \(\gamma(I)\) would pull back to a disconnection of \(I\)). The image is precisely the graph.

Exercise §6.6.4

注记Stem (abridged)

With \(S_1,S_2\) as in (6.9), prove \(S_1\cup S_2\) is not connected.

提示Solution

\(S_1=\{(x,\sin(1/x)):x>0\}\) and \(S_2=\{(x,\sin(1/x)):x<0\}\). These are disjoint. Neither contains a limit point of the other: the two graphs live in the open half-planes \(x>0\) and \(x<0\), and the only candidate common limit points would lie on the \(y\)-axis, which belongs to neither \(S_1\) nor \(S_2\). Thus \(S_1\cup S_2\) is a disconnection.

Exercise §6.6.5

注记Stem (abridged)

Prove \(S_1\cup S_2\cup\{(x,y):-1\le x\le 1,\; y=\eta\}\) is connected if \(\lvert\eta\rvert\le 1\).

提示Solution

Let \(L=\{(x,\eta):-1\le x\le 1\}\), a line segment, hence connected. The graph \(S_1\) is connected (Problem 3), and \(S_1\cup L\) is connected if these two connected sets meet or one contains a limit point of the other. Because \(\lvert\eta\rvert\le 1\), the point \((0,\eta)\) is a limit point of \(S_1\) (there is a sequence \(x_n\downarrow 0\) with \(\sin(1/x_n)=\eta\), or at least \(\sin(1/x_n)\to\eta\)). Thus \(S_1\cup L\) is connected (Problem 7, or Theorem 6.33 after adding the limit point). Likewise \(S_2\cup L\) is connected, and \((S_1\cup L)\cap(S_2\cup L)\supset L\neq\varnothing\), so the union \(S_1\cup S_2\cup L\) is connected by Theorem 6.33.

Exercise §6.6.6

注记Stem (abridged)

Prove \(S_1\cup S_2\cup\{(x,\eta):-1\le x\le 1\}\) is not connected if \(\lvert\eta\rvert>1\).

提示Solution

Let \(L\) be the segment \(y=\eta\), \(\lvert x\rvert\le 1\). Then \(L\) is disjoint from \(S_1\cup S_2\) because \(\lvert\sin(1/x)\rvert\le 1<\lvert\eta\rvert\). The two pieces \(S_1\cup S_2\) and \(L\) are nonempty, disjoint, and neither contains a limit point of the other: points of \(L\) have \(y\)-coordinate \(\eta\) at distance \(\lvert\eta\rvert-1>0\) from the strip \(\lvert y\rvert\le 1\) containing \(S_1\cup S_2\) and all of its limit points. Thus the union is disconnected.

Exercise §6.6.7

注记Stem (abridged)

If \(A\) is connected and \(A\subset B\subset\bar A\), then \(B\) is connected.

提示Solution

Suppose \(B=\Sigma_1\cup\Sigma_2\) with \(\Sigma_i\) disjoint, nonempty, and neither containing a limit point of the other. Then \(A=(A\cap\Sigma_1)\cup(A\cap\Sigma_2)\) is a decomposition of the same type unless one piece is empty, say \(A\cap\Sigma_2=\varnothing\). Then \(A\subset\Sigma_1\), so \(\bar A\subset\overline{\Sigma_1}\). But \(B\subset\bar A\), so \(\Sigma_2\subset\overline{\Sigma_1}\). A point of \(\Sigma_2\) is then either in \(\Sigma_1\) (impossible, disjoint) or a limit point of \(\Sigma_1\) (forbidden). Contradiction.

Exercise §6.6.8

注记Stem (abridged)

If \(S\) is a closed disconnected subset of a metric space, then \(S=S_1\cup S_2\) with \(S_1,S_2\) closed in the ambient space, disjoint, and nonempty.

提示Solution

Write \(S=\Sigma_1\cup\Sigma_2\) with \(\Sigma_i\) disjoint, nonempty, and neither containing a limit point of the other. Then each \(\Sigma_i\) contains all of its limit points that lie in \(S\), and since \(S\) is closed those are all of its limit points in the ambient space. Thus each \(\Sigma_i\) is closed in the ambient space. Take \(S_i=\Sigma_i\).

Exercise §6.6.9

注记Stem (abridged)

The set \(A\) of rationals in \(\mathbb{R}^1\) is not connected.

提示Solution

\(A=(A\cap(-\infty,\sqrt{2}))\cup(A\cap(\sqrt{2},\infty))\). These two pieces are nonempty, disjoint, and neither contains a limit point of the other within \(A\) (they are separated by a gap around \(\sqrt{2}\)).

Exercise §6.6.10

注记Stem (abridged)

The set \(B\) of points in \(\mathbb{R}^2\) with both coordinates rational is not connected.

提示Solution

\(B=\bigl(B\cap\{x<\sqrt{2}\}\bigr)\cup\bigl(B\cap\{x>\sqrt{2}\}\bigr)\) is a disconnection of the same kind as in Problem 9 (a vertical strip around \(x=\sqrt{2}\) meets \(B\) in the empty set).

Exercise §6.6.11

注记Stem (abridged)

Let \(A,B\) be connected, \(A\setminus B\) not connected, \(A\setminus B=C_1\cup C_2\) with \(\bar C_1\cap C_2=C_1\cap\bar C_2=\varnothing\). Show that \(B\cup C_1\) is connected.

提示Solution

We read \(B\subset A\) (otherwise the claim can fail: take \(A=[0,1]\), \(B=[2,3]\), \(C_1=[0,1/3]\), \(C_2=[2/3,1]\)). The hypotheses \(\bar C_1\cap C_2=C_1\cap\bar C_2=\varnothing\) say that \(C_1\) and \(C_2\) are separated. Suppose \(B\cup C_1=X\cup Y\) is a disconnection: \(X,Y\) nonempty, disjoint, and neither containing a limit point of the other. The connected set \(B\) lies wholly in one piece; relabel so that \(B\subset X\). Then \(Y\subset C_1\) and \(Y\neq\varnothing\).

Now \(A=(X\cup C_2)\cup Y\). These two pieces are nonempty and disjoint: \(Y\cap X=\varnothing\) and \(Y\cap C_2\subset C_1\cap C_2=\varnothing\). The set \(X\cup C_2\) contains no limit point of \(Y\), because no limit point of \(Y\) lies in \(X\) (disconnection of \(B\cup C_1\)) and none lies in \(C_2\) (since \(Y\subset C_1\) and \(\bar C_1\cap C_2=\varnothing\)). Likewise \(Y\) contains no limit point of \(X\cup C_2\): no limit point of \(X\) lies in \(Y\), and no limit point of \(C_2\) lies in \(C_1\) (because \(C_1\cap\bar C_2=\varnothing\)), hence none lies in \(Y\). This disconnects \(A\), a contradiction.

Exercise §6.6.12

注记Stem (abridged)

If \(f:I\to I\) is continuous on \(I=[a,b]\), then \(f\) has a fixed point. [Hint: \(F(x)=x-f(x)\); if no fixed point then \(f(a)>a\) and \(f(b)<b\).]

提示Solution

If \(f(a)=a\) or \(f(b)=b\) we are done. Otherwise \(f(a)\in I\) forces \(f(a)>a\), and \(f(b)<b\). Then \(F(a)=a-f(a)<0\) and \(F(b)=b-f(b)>0\). The function \(F\) is continuous on \([a,b]\), so the Intermediate-value theorem yields \(c\in(a,b)\) with \(F(c)=0\), i.e. \(f(c)=c\).

Exercise §6.6.13

注记Stem (abridged)

In Euclidean \(\mathbb{R}^3\), the cone \(S=\{x_1^2+x_2^2=x_3^2\}\setminus\{(0,0,0)\}\) is not connected.

提示Solution

The two nappes \(S_+=\{p\in S:x_3>0\}\) and \(S_-=\{p\in S:x_3<0\}\) are nonempty, disjoint, and exhaust \(S\) (the vertex is removed, so \(x_3\neq 0\) on \(S\)). Neither contains a limit point of the other: any sequence in \(S_+\) has \(x_3\ge 0\) in the limit, and a limit in \(S\) cannot have \(x_3=0\) (that would force \(x_1=x_2=0\)). Thus \(S\) is disconnected.

(The printed stem writes \((x_1,x_2,x_3)\neq(0,0,0)\) after the cone equation.)

§6.7 Mappings from One Metric Space to Another

Printed pp. 171–172; PDF pp. 187–188.

Exercise §6.7.1

注记Stem (abridged)

If \(f:A\to S_2\) is continuous with respect to \(A\) at \(p_0\in A\), and \(p_n\in A\), \(p_n\to p_0\), show \(f(p_n)\to f(p_0)\).

提示Solution

If \(p_0\) is isolated in \(A\) then \(p_n=p_0\) for large \(n\), so \(f(p_n)=f(p_0)\). If \(p_0\) is a limit point, continuity with respect to \(A\) means: for every \(\varepsilon>0\) there is \(\delta>0\) such that \(p\in A\) and \(d_1(p,p_0)<\delta\) imply \(d_2\bigl(f(p),f(p_0)\bigr)<\varepsilon\). Choose \(N\) so that \(n>N\) implies \(d_1(p_n,p_0)<\delta\). Then \(d_2\bigl(f(p_n),f(p_0)\bigr)<\varepsilon\).

Exercise §6.7.2

注记Stem (abridged)

If \(f\) is continuous with respect to \(A\) at \(p_0\) and \(C\subset A\) contains \(p_0\), then \(f\) is continuous with respect to \(C\) at \(p_0\).

提示Solution

The \(\varepsilon\)–\(\delta\) condition on \(A\) restricts immediately to \(C\): if \(p\in C\subset A\) and \(d_1(p,p_0)<\delta\) then \(d_2\bigl(f(p),f(p_0)\bigr)<\varepsilon\). If \(p_0\) is isolated in \(C\) the condition is vacuous in the isolated-point clause of the definition.

Exercise §6.7.3

注记Stem (abridged)

State and prove uniqueness of limits for a map \(f:(S_1,d_1)\to(S_2,d_2)\), analog of Theorem 6.28.

提示Solution

Statement. If \(f(p)\to q_1\) and \(f(p)\to q_2\) as \(p\to p_0\) through \(A\subset S_1\), then \(q_1=q_2\).

Proof. If \(q_1\neq q_2\), set \(\varepsilon=d_2(q_1,q_2)/2>0\). Choose \(\delta\) so that \(p\in A\) and \(0<d_1(p,p_0)<\delta\) imply both \(d_2(f(p),q_1)<\varepsilon\) and \(d_2(f(p),q_2)<\varepsilon\). A point \(p\) of \(A\) in that punctured ball exists because \(p_0\) is a limit point of \(A\), and then \(d_2(q_1,q_2)<2\varepsilon\), a contradiction.

Exercise §6.7.4

注记Stem (abridged)

Prove Theorem 6.36 (composite function theorem).

提示Solution
  1. Assume \(f(p)\to q_0\) as \(p\to p_0\) and \(g\) is continuous at \(q_0\). Given \(\varepsilon>0\), choose \(\eta>0\) so that \(d_2(q,q_0)<\eta\) implies \(d_3\bigl(g(q),g(q_0)\bigr)<\varepsilon\). Then choose \(\delta>0\) so that \(0<d_1(p,p_0)<\delta\) implies \(d_2\bigl(f(p),q_0\bigr)<\eta\). Combining, \(d_3\bigl(g(f(p)),g(q_0)\bigr)<\varepsilon\).

  2. Continuity of \(f\) on \(S_1\) and of \(g\) on \(S_2\) means that at each \(p_0\in S_1\), \(f(p)\to f(p_0)\) as \(p\to p_0\) (or \(p_0\) is isolated), and \(g\) is continuous at \(f(p_0)\). Part (a) gives \(g(f(p))\to g(f(p_0))\). Isolated points are immediate.

Exercise §6.7.5

注记Stem (abridged)

Give an example of a continuous \(f:\mathbb{R}^1\to\mathbb{R}^1\) which maps an open set onto a closed set.

提示Solution

Let \(f(x)=x^2\). Then \(f\) is continuous, \(\mathbb{R}^1\) is open in itself, and \(f(\mathbb{R}^1)=[0,\infty)\), which is closed in \(\mathbb{R}^1\). (A constant function maps \(\mathbb{R}^1\) onto a singleton, which is likewise closed.)

Exercise §6.7.6

注记Stem (abridged)

Let \(C\subset A\) with \(A\) closed in \((S,d)\). If \(C\) is closed in \(A\), then \(C\) is closed in \(S\).

提示Solution

By Theorem 6.41(b), \(C\) closed in \(A\) means \(C=F\cap A\) for some set \(F\) closed in \(S\). Then \(C\) is the intersection of two closed sets in \(S\), hence closed in \(S\).

Exercise §6.7.7

注记Stem (abridged)

Prove Theorem 6.41(b): \(C\) is closed in \(A\) \(\Leftrightarrow\) \(C=F\cap A\) for some \(F\) closed in \(S\).

提示Solution

Closedness in \(A\) means the complement \(A\setminus C\) is open in the subspace \(A\). By Theorem 6.41(a), \(A\setminus C=G\cap A\) for some \(G\) open in \(S\). Then \(C=A\setminus(G\cap A)=A\cap\mathscr{C}(G)\), and \(\mathscr{C}(G)\) is closed in \(S\).

Conversely, if \(C=F\cap A\) with \(F\) closed in \(S\), then \(A\setminus C=A\cap\mathscr{C}(F)\) with \(\mathscr{C}(F)\) open, so \(A\setminus C\) is open in \(A\) by 6.41(a), and \(C\) is closed in \(A\).

Exercise §6.7.8

注记Stem (abridged)

Prove Theorem 6.41(c): if \(C\) is connected in \(A\), then \(C\) is connected in \(S\).

提示Solution

The metric on the subspace \(A\) is the restriction of \(d\), so open balls in \(C\) computed in \(A\) or in \(S\) determine the same limit points of subsets of \(C\). A disconnection of \(C\) in \(S\) is therefore a disconnection of \(C\) in \(A\), and conversely. Hence connectedness in \(A\) is equivalent to connectedness in \(S\). (Limit points of a subset \(E\subset C\) in \(A\) and in \(S\) coincide because a sequence from \(E\) converges in \(A\) if and only if it converges in \(S\) to the same point, necessarily in \(A\) if we restrict to \(A\); more precisely, a point \(p\in C\) is a limit point of \(E\) in \(S\) if and only if every ambient ball about \(p\) meets \(E\setminus\{p\}\), if and only if every subspace ball \(B(p,r)\cap A\) meets \(E\setminus\{p\}\).)

Exercise §6.7.9

注记Stem (abridged)

\(f:S_1\to S_2\) is continuous if and only if \(f^{-1}(A)\) is closed in \(S_1\) for every closed \(A\subset S_2\).

提示Solution

By Theorem 6.37, \(f\) is continuous \(\Leftrightarrow\) \(f^{-1}(U)\) is open in \(S_1\) for every open \(U\subset S_2\). Closed sets are complements of open sets, and \(f^{-1}(\mathscr{C}(A))=\mathscr{C}\bigl(f^{-1}(A)\bigr)\). Thus \(f^{-1}\) preserves closed sets if and only if it preserves open sets.

Exercise §6.7.10

注记Stem (abridged)

Give a map \(\mathbb{R}^1\to\mathbb{R}^1\) continuous at every point but not uniformly continuous on \(\mathbb{R}^1\).

提示Solution

\(f(x)=x^2\). Continuity on \(\mathbb{R}^1\) is standard. Not uniformly continuous: \(p_n=n\), \(q_n=n+1/n\) satisfy \(\lvert p_n-q_n\rvert=1/n\to 0\) but \[ \lvert f(p_n)-f(q_n)\rvert=\bigl\lvert n^2-(n+1/n)^2\bigr\rvert=\bigl\lvert 2+1/n^2\bigr\rvert\to 2. \]

Exercise §6.7.11

注记Stem (abridged)

The composite of uniformly continuous maps is uniformly continuous.

提示Solution

Let \(f:S_1\to S_2\) and \(g:S_2\to S_3\) be uniformly continuous. Given \(\varepsilon>0\), choose \(\eta>0\) so that \(d_2(q,q')<\eta\) implies \(d_3\bigl(g(q),g(q')\bigr)<\varepsilon\), then \(\delta>0\) so that \(d_1(p,p')<\delta\) implies \(d_2\bigl(f(p),f(p')\bigr)<\eta\). Then \(d_1(p,p')<\delta\) implies \(d_3\bigl(g(f(p)),g(f(p'))\bigr)<\varepsilon\).

Exercise §6.7.12

注记Stem (abridged)

Prove Theorem 6.42(a): the continuous image of a compact set is compact. [Hint: Problem 1.]

提示Solution

Let \(f:A\to S_2\) be continuous on compact \(A\subset S_1\), and let \(\{q_n\}\) be a sequence in \(f(A)\). Choose \(p_n\in A\) with \(f(p_n)=q_n\). Compactness of \(A\) yields a subsequence \(p_{n_k}\to p_0\in A\). Continuity and Problem 1 give \(q_{n_k}=f(p_{n_k})\to f(p_0)\in f(A)\). Thus \(f(A)\) is compact.

Exercise §6.7.13

注记Stem (abridged)

Prove Theorem 6.42(b): the continuous image of a connected set is connected.

提示Solution

Let \(f:A\to S_2\) be continuous on connected \(A\), and suppose \(f(A)=\Sigma_1\cup\Sigma_2\) with \(\Sigma_i\) disjoint, nonempty, and neither containing a limit point of the other. Set \(T_i=f^{-1}(\Sigma_i)\cap A\). Then \(A=T_1\cup T_2\), the \(T_i\) are nonempty and disjoint, and neither contains a limit point of the other: if \(p\in T_1\) were a limit point of \(T_2\) then, by Problem 1, \(f(p)\) would be a limit point of \(\Sigma_2\) lying in \(\Sigma_1\). This disconnects \(A\), a contradiction.

Exercise §6.7.14

注记Stem (abridged)

Prove Theorem 6.42(c): a continuous map on a compact set is uniformly continuous.

提示Solution

The argument is that of Theorem 6.31 / Problem 6.5.13, with \(\lvert f(p)-f(q)\rvert\) replaced by \(d_2\bigl(f(p),f(q)\bigr)\). If uniform continuity fails, some \(\varepsilon>0\) and sequences \(p_n,q_n\) in \(A\) satisfy \(d_1(p_n,q_n)<1/n\) but \(d_2\bigl(f(p_n),f(q_n)\bigr)\ge\varepsilon\). Compactness gives \(p_{n_k}\to p_0\in A\), hence \(q_{n_k}\to p_0\), and continuity yields \(f(p_{n_k})\to f(p_0)\) and \(f(q_{n_k})\to f(p_0)\), so \(d_2\bigl(f(p_{n_k}),f(q_{n_k})\bigr)\to 0\), a contradiction.

Exercise §6.7.15

注记Stem (abridged)

Prove Theorem 6.42(d): if \(A\) is compact and \(f:A\to f(A)\) is continuous and one-to-one, then \(f^{-1}\) is continuous.

提示Solution

Let \(g=f^{-1}:f(A)\to A\). To show \(g\) is continuous, it is enough by Problem 9 (applied to the compact metric space \(f(A)\), which is compact by (a)) to show that \(g^{-1}(F)\) is closed in \(f(A)\) whenever \(F\) is closed in \(A\). But \(g^{-1}(F)=f(F)\). A closed subset \(F\) of compact \(A\) is compact (Theorem 6.21), so \(f(F)\) is compact by (a), hence closed in \(S_2\) and therefore closed in \(f(A)\).

Exercise §6.7.16

注记Stem (abridged)

If \(f,g:S_1\to S_2\) are continuous, the set \(A=\{p\in S_1:f(p)=g(p)\}\) is closed.

提示Solution

The map \(p\mapsto d_2\bigl(f(p),g(p)\bigr)\) is continuous (composite of continuous maps with the continuous metric \(d_2:S_2\times S_2\to\mathbb{R}^1\)). Then \(A\) is the inverse image of the closed set \(\{0\}\), hence closed.

Alternatively, if \(p_n\in A\) and \(p_n\to p_0\), then \(f(p_n)\to f(p_0)\) and \(g(p_n)\to g(p_0)\), but \(f(p_n)=g(p_n)\), so \(f(p_0)=g(p_0)\) by uniqueness of limits.

Exercise §6.7.17

注记Stem (abridged)

In \(\mathbb{R}^3\), \(S=\{1<x_1^2+x_2^2+x_3^2<4\}\). Give an explicit piecewise linear map \(z:I=[0,1]\to\mathbb{R}^3\) with range in \(S\), \(z(0)=p_1=(-3/2,0,0)\), \(z(1)=p_2=(3/2,0,0)\).

提示Solution

The straight segment from \(p_1\) to \(p_2\) passes through the origin, which is not in \(S\). Go via \(q=(0,3/2,0)\), which satisfies \(\lvert q\rvert=3/2\in(1,2)\). Define \(z\) on \([0,1/2]\) by linear interpolation from \(p_1\) to \(q\) and on \([1/2,1]\) from \(q\) to \(p_2\): \[ z(t)= \begin{cases} (1-2t)p_1+2t\,q = \bigl(-3/2+3t,\; 3t,\; 0\bigr), & 0\le t\le 1/2,\\ (2-2t)q+(2t-1)p_2 = \bigl(-3/2+3t,\; 3-3t,\; 0\bigr), & 1/2\le t\le 1. \end{cases} \] On the first segment, \(z(t)=(3/2)(-1+2t,\; 2t,\; 0)\) and \[ \lvert z(t)\rvert^2=\Bigl(\frac32\Bigr)^2\bigl((2t-1)^2+(2t)^2\bigr)=\frac94\bigl(8t^2-4t+1\bigr). \] The quadratic \(8t^2-4t+1\) on \([0,1/2]\) has minimum \(1/2\) at \(t=1/4\) and maximum \(1\) at the endpoints, so \(\lvert z\rvert^2\) ranges in \([9/8,9/4]\subset(1,4)\). The second segment is symmetric. Thus the range lies in \(S\), and \(z\) is piecewise linear, with \(z(0)=p_1\) and \(z(1)=p_2\).

Exercise §6.7.18

注记Stem (abridged)

Prove Theorem 6.44(b): \(S\) is connected \(\Leftrightarrow\) the only subsets of \(S\) that are both open and closed in \(S\) are \(S\) and \(\varnothing\).

提示Solution

We use part (a), already proved in the text: \(S\) is connected \(\Leftrightarrow\) \(S\) is not the union of two nonempty disjoint subsets each open in \(S\).

\((\Rightarrow)\) Suppose \(U\subset S\) is open in \(S\) and closed in \(S\), and \(U\neq\varnothing\), \(U\neq S\). Then \(S=U\cup(S\setminus U)\) with both pieces nonempty, disjoint, and both open in \(S\) (the complement of a relatively closed set is relatively open). Part (a) says \(S\) is not connected.

\((\Leftarrow)\) If \(S\) is not connected, part (a) yields \(S=T_1\cup T_2\) with \(T_i\) nonempty, disjoint, and open in \(S\). Then \(T_1\) is also closed in \(S\) (its complement \(T_2\) is open in \(S\)), and \(T_1\neq S\), \(T_1\neq\varnothing\).

Exercise §6.7.19

注记Stem (abridged)

If \(A,B\subset\mathbb{R}^N\) are compact and \(A\cap B=\varnothing\), then \(\inf\{d(p,q):p\in A,\;q\in B\}>0\).

提示Solution

The function \(f:A\to\mathbb{R}^1\) given by \(f(p)=\inf_{q\in B}d(p,q)\) is continuous (in fact \(\lvert f(p)-f(p')\rvert\le d(p,p')\)). Compactness of \(A\) yields a minimum at some \(p_0\in A\) (Theorem 6.30). If \(f(p_0)=0\) then there is a sequence \(q_n\in B\) with \(d(p_0,q_n)\to 0\), so (passing to a convergent subsequence, using compactness of \(B\)) some \(q_0\in B\) satisfies \(d(p_0,q_0)=0\), hence \(p_0=q_0\in A\cap B\), a contradiction. Thus \(\inf d(A,B)=f(p_0)>0\).