Mathematics · Book 5 · Bachelor Year 3

University Mathematics — Year 3

University Mathematics — Year 3 · Bachelor Year 3

6General Topology

The Year 2 volume did analysis in metric spaces: distances, balls, sequences. But the fundamental notions — continuity, compactness, connectedness — never mention the numerical value of a distance, only the family of open sets it generates. This chapter takes that family as the primitive object. The gain is not generality for its own sake: quotient constructions (the circle as R/Z\R/\Z, projective spaces), products, and the weak-type topologies of functional analysis simply are not metric-first objects. We rebuild continuity, then treat compactness by open covers (proving it equivalent to Year 2’s sequential definition in metric spaces), and connectedness — closing with the theorem that a continuous bijection cannot identify R\R with R2\R^2: topology can distinguish dimensions.

6.1 Topologies, open sets, continuity

Definition 6.1

A topology on a set XX is a family T\mathcal T of subsets of XX — called open sets — such that: ,XT\varnothing, X \in \mathcal T; any union of open sets is open; any finite intersection of open sets is open. The pair (X,T)(X, \mathcal T) is a topological space. Complements of open sets are closed. A neighborhood of xx is a set containing an open set containing xx.

Example 6.2

(a) A metric space, with “open” as in Year 2 (unions of open balls): the metric topology; different metrics can give the same topology (equivalent metrics). A space whose topology arises from some metric is metrizable. (b) The discrete topology (all subsets) and the indiscrete topology {,X}\{\varnothing, X\}. (c) The cofinite topology on an infinite set: open == empty or cofinite. Not metrizable, as we shall see (Exercise 6.3). (d) On R\R, the usual topology; on Rˉ=R{±}\bar\R = \R \cup \{\pm\infty\}, the order topology generated by rays — making “xn+x_n \to +\infty” an instance of plain convergence.

Definition 6.3

For AXA \subseteq X: the interior A˚\mathring A is the largest open set inside AA (union of all of them); the closure Aˉ\bar A the smallest closed set containing AA; the boundary A=AˉA˚\partial A = \bar A \setminus \mathring A. AA is dense if Aˉ=X\bar A = X. One has xAˉx \in \bar A iff every neighborhood of xx meets AA (if some neighborhood misses AA, its open core’s complement is a smaller closed set around AA; conversely).

Definition 6.4

A basis of T\mathcal T is a family BT\mathcal B \subseteq \mathcal T such that every open set is a union of members of B\mathcal B (e.g. open balls in a metric space; open intervals in R\R). A family B\mathcal B of subsets of XX is a basis of some topology iff it covers XX and, for B1,B2BB_1, B_2 \in \mathcal B and xB1B2x \in B_1 \cap B_2, some B3BB_3 \in \mathcal B has xB3B1B2x \in B_3 \subseteq B_1\cap B_2 — then “unions of members” is a topology, the topology generated by B\mathcal B.

Definition 6.5

f ⁣:XYf \colon X \to Y is continuous if f1(V)f^{-1}(V) is open for every open VYV \subseteq Y — equivalently, preimages of closed sets are closed; equivalently, for every xx and neighborhood VV of f(x)f(x), f1(V)f^{-1}(V) is a neighborhood of xx (continuity at each xx). It suffices to check on a basis of YY. Compositions of continuous maps are continuous. A homeomorphism is a continuous bijection with continuous inverse; topology studies the properties preserved by homeomorphisms.

Proposition 6.6 (Continuity vs closure; gluing)

(a) ff is continuous iff f(Aˉ)f(A)f(\bar A) \subseteq \overline{f(A)} for all AXA \subseteq X. (b) If X=F1F2X = F_1 \cup F_2 with F1,F2F_1, F_2 closed and f ⁣:XYf\colon X \to Y restricts continuously to each FiF_i, then ff is continuous.

Proof. (a) If ff continuous: f1(f(A))f^{-1}(\overline{f(A)}) is closed and contains AA, hence contains Aˉ\bar A. Conversely apply the criterion to A=f1(F)A = f^{-1}(F), FF closed: f(Aˉ)f(f1(F))Fˉ=Ff(\bar A) \subseteq \overline{f(f^{-1}(F))} \subseteq \bar F = F, so Aˉf1(F)=A\bar A \subseteq f^{-1}(F) = A: preimages of closed sets are closed. (b) For FYF \subseteq Y closed: f1(F)=(fF1)1(F)(fF2)1(F)f^{-1}(F) = (f\restriction_{F_1})^{-1}(F) \cup (f\restriction_{F_2})^{-1} (F), a union of two sets closed in F1F_1, resp. F2F_2, hence closed in XX (FiF_i closed: closed-in-closed is closed).

Definition 6.7

XX is Hausdorff (or separated) if any two distinct points have disjoint neighborhoods. Metric spaces are Hausdorff (balls of radius d(x,y)/2d(x,y)/2). A sequence (xn)(x_n) converges to xx if every neighborhood of xx contains all but finitely many xnx_n; in a Hausdorff space, limits are unique (two limits would have disjoint neighborhoods each containing a tail). In a Hausdorff space, points — hence finite sets — are closed.

Remark 6.8

In metric spaces, sequences detect everything: xAˉx \in \bar A iff some sequence of AA converges to xx (take xnAB(x,1/n)x_n \in A \cap B(x, 1/n)), and ff is continuous iff it is sequentially continuous. In general spaces both equivalences fail; the correct sequence-substitutes (filters, nets) belong to a more advanced course. We will state sequence-based results in metric spaces and cover-based results in general — and prove them equivalent where they are.

6.2 Subspaces, products, quotients

Definition 6.9

Three ways to make new spaces from old:

  1. Subspace: on AXA \subseteq X, the open sets are the UAU \cap A, UU open in XX — the coarsest topology making the inclusion continuous.
  2. Product: on X×YX \times Y (and finite products), the topology with basis the open boxes U×VU \times V; on an infinite product iXi\prod_i X_i, the basis consists of boxes Ui\prod U_i with Ui=XiU_i = X_i for all but finitely many ii — the coarsest topology making every projection continuous.
  3. Quotient: if \sim is an equivalence on XX and π ⁣:XX/\pi\colon X \to X/{\sim} the projection, declare VX/V \subseteq X/{\sim} open iff π1(V)\pi^{-1}(V) is open — the finest topology making π\pi continuous.

Proposition 6.10 (Universal properties)

(a) f ⁣:ZX×Yf \colon Z \to X \times Y is continuous iff both components πXf\pi_X \circ f, πYf\pi_Y \circ f are (same for arbitrary products). (b) g ⁣:X/Zg \colon X/{\sim} \to Z is continuous iff gπ ⁣:XZg \circ \pi \colon X \to Z is.

Proof. (a) Necessity: compositions. Sufficiency: it is enough to check preimages of basis boxes: f1(U×V)=(πXf)1(U)(πYf)1(V)f^{-1}(U \times V) = (\pi_Xf)^{-1}(U) \cap (\pi_Yf)^{-1}(V), open (finitely many factors Xi\neq X_i in the infinite case). (b) Necessity: composition. Sufficiency: for WZW \subseteq Z open, π1(g1(W))=(gπ)1(W)\pi^{-1}(g^{-1}(W)) = (g\pi)^{-1}(W) is open, which by definition of the quotient topology means g1(W)g^{-1}(W) is open.

Example 6.11

The quotient R/Z\R/\Z (identify xx and x+nx + n) is homeomorphic to the circle S1={zC:z=1}S^1 = \{z \in \C : \abs z = 1\}: the map xe2iπxx \mapsto \eu^{2\iu\pi x} passes to a continuous bijection R/ZS1\R/\Z \to S^1 (Proposition 6.10(b)); its inverse is continuous by the compactness argument of Corollary 6.14 below (Exercise 6.5 details everything, including why R/Z\R/\Z is Hausdorff and compact). Likewise [0,1][0,1] with endpoints glued is S1S^1, the square with opposite sides glued is the torus, and gluing is finally a theorem, not a picture.

6.3 Compactness

Definition 6.12

An open cover of XX is a family (Ui)iI(U_i)_{i\in I} of open sets with Ui=X\bigcup U_i = X. XX is compact if it is Hausdorff and every open cover admits a finite subcover. Equivalently (taking complements): every family of closed sets with the finite intersection property (all finite subfamilies have nonempty intersection) has nonempty total intersection.

Theorem 6.13 (First properties)

Let XX be compact.

  1. A closed subset of XX is compact; a compact subset of a Hausdorff space is closed.
  2. A continuous image of a compact space in a Hausdorff space is compact. In particular a continuous f ⁣:XRf\colon X \to \R is bounded and attains its bounds.
  3. A decreasing sequence of nonempty closed subsets of XX has nonempty intersection.

Proof. (1) Let FXF \subseteq X closed and (Ui)(U_i) an open cover of FF (by opens of XX): adding XFX \setminus F gives an open cover of XX; a finite subcover, minus XFX \setminus F, covers FF. Subspace Hausdorff is clear. Conversely let KYK \subseteq Y compact, YY Hausdorff, and yKy \notin K: for each xKx \in K pick disjoint open UxxU_x \ni x, VxyV_x \ni y; finitely many UxU_x cover KK, and the intersection of the corresponding VxV_x is a neighborhood of yy disjoint from KK’s cover, hence from KK: the complement of KK is open.

(2) If (Vj)(V_j) covers f(X)f(X), then (f1(Vj))(f^{-1}(V_j)) covers XX; a finite subcover downstairs comes from the finite subcover upstairs. The image is Hausdorff as a subspace. For ff real: f(X)f(X) is compact in R\R, hence closed and bounded (cover by (n,n)(-n, n) for boundedness; closed by (1)), and a closed bounded set contains its supremum.

(3) If Fn=\bigcap F_n = \varnothing, the opens XFnX \setminus F_n cover XX; finitely many suffice, so some Fn0=F_{n_0} = \varnothing (the sequence decreases) — contradiction.

Corollary 6.14

A continuous bijection from a compact space to a Hausdorff space is a homeomorphism.

Proof. The inverse is continuous iff direct images of closed sets are closed; a closed FF is compact (Theorem 6.13(1)), its image is compact (2), hence closed (1) in the Hausdorff target.

Theorem 6.15 (Finite products)

A finite product of compact spaces is compact.

Proof. It suffices to treat X×YX \times Y. Hausdorff is inherited (separate in one coordinate). Let (Wi)(W_i) be an open cover of X×YX \times Y; we may assume the WiW_i are basis boxes Ui×ViU_i \times V_i (refine: each point sits in a box inside some WiW_i; a finite subcover of boxes yields one of WiW_i’s). Fix xXx \in X: the slice {x}×YY\{x\}\times Y \cong Y is compact, so finitely many boxes U1×V1,,Uk×VkU_1\times V_1, \dots, U_k\times V_k cover it, with xUjx \in U_j for all jj; then Ux=jkUjU^x = \bigcap_{j \leq k} U_j is an open neighborhood of xx with Ux×YU^x \times Y covered by finitely many boxes (the tube lemma: for (x,y)Ux×Y(x', y) \in U^x \times Y, yVjy \in V_j for some jj since the boxes covered {x}×Y\{x\}\times Y at level yy, and xUxUjx' \in U^x \subseteq U_j, so (x,y)Uj×Vj(x', y) \in U_j \times V_j). Now finitely many UxU^x cover the compact XX; the corresponding finite collections of boxes cover X×YX \times Y.

Theorem 6.16 (Compactness in metric spaces)

For a metric space (X,d)(X, d), the following are equivalent:

  1. XX is compact (Borel–Lebesgue);
  2. every sequence in XX has a convergent subsequence (sequential compactness — Year 2’s definition);
  3. XX is complete and totally bounded: for every ε>0\varepsilon > 0, finitely many balls of radius ε\varepsilon cover XX.

Proof. (1)\Rightarrow(2): Let (xn)(x_n) have no convergent subsequence. Then each xXx \in X has an open ball BxB_x containing xnx_n for only finitely many nn (otherwise a subsequence converges to xx: take radii 1/k1/k). Finitely many BxB_x cover XX, so only finitely many indices nn exist: absurd.

(2)\Rightarrow(3): Completeness: a Cauchy sequence with a convergent subsequence converges (Year 2). Total boundedness: if some ε\varepsilon admits no finite cover, choose inductively xn+1x_{n+1} outside knB(xk,ε)\bigcup_{k\leq n} B(x_k, \varepsilon): the sequence has d(xm,xn)εd(x_m, x_n) \geq \varepsilon for mnm \neq n, no Cauchy subsequence, no convergent one.

(3)\Rightarrow(1): First, (3) implies (2): given (xn)(x_n), cover XX by finitely many balls of radius 11: one, B1B_1, contains a subsequence; cover XX by balls of radius 1/21/2: one contains a further subsequence; iterate and diagonalize: the diagonal subsequence is Cauchy (two terms beyond stage kk lie in a common ball of radius 2k2^{-k}, up to the usual 22\cdot), hence converges. Now let (Ui)(U_i) be an open cover and suppose no finite subcover. Lebesgue number argument: for each nn, some ball B(yn,2n)B(y_n, 2^{-n}) is not covered by finitely many UiU_i — indeed, cover XX by finitely many balls of radius 2n2^{-n}; if each were finitely covered, so would XX be. By (2), a subsequence ynkyy_{n_k} \to y; pick ii with yUiy \in U_i and r>0r > 0 with B(y,r)UiB(y, r) \subseteq U_i. For large kk, B(ynk,2nk)B(y,r)UiB(y_{n_k}, 2^{-n_k}) \subseteq B(y, r) \subseteq U_i: covered by one UiU_i — contradiction.

Corollary 6.17 (Heine–Borel; Heine)

(a) A subset of Rn\R^n is compact iff it is closed and bounded. (b) A continuous map from a compact metric space to a metric space is uniformly continuous.

Proof. (a) Closed and bounded \Rightarrow contained in a cube [M,M]n[-M,M]^n, which is compact: [M,M][-M, M] is (sequentially, by Bolzano–Weierstrass — or directly by dichotomy for covers), and Theorem 6.15 handles the product; then apply Theorem 6.13(1). Conversely a compact subset is closed (Theorem 6.13(1)) and bounded (cover by concentric balls).

(b) Let f ⁣:XYf \colon X \to Y, ε>0\varepsilon > 0. The balls B(x,δx)B\bigl(x, \delta_x\bigr) with f(B(x,2δx))B(f(x),ε/2)f\bigl(B(x, 2\delta_x)\bigr)\subseteq B\bigl(f(x), \varepsilon/2\bigr) cover XX; extract a finite subcover B(xj,δxj)B(x_j, \delta_{x_j}) and set δ=minjδxj\delta = \min_j \delta_{x_j}. If d(x,x)<δd(x, x') < \delta: xB(xj,δxj)x \in B(x_j, \delta_{x_j}) for some jj, and then both x,xB(xj,2δxj)x, x' \in B(x_j, 2\delta_{x_j}), so d(f(x),f(x))<εd(f(x), f(x')) < \varepsilon.

Definition 6.18

XX is locally compact if it is Hausdorff and every point has a compact neighborhood (Rn\R^n; open subsets of Rn\R^n; discrete spaces — but not Q\Q, see Exercise 6.9). Every locally compact space embeds in a compact one: the one-point compactification X^=X{}\hat X = X \cup \{\infty\}, whose opens are those of XX together with the complements (in X^\hat X) of compact subsets of XX. One checks the axioms directly; X^\hat X is compact (a cover has a member containing \infty, whose complement is compact, covered by finitely many others) and Hausdorff (separate xx from \infty by a compact neighborhood of xx and its complement). Example: R^S1\hat\R \cong S^1, and Rn^Sn\widehat{\R^n} \cong S^n by stereographic projection (Exercise 6.11).

6.4 Connectedness

Definition 6.19

XX is connected if it is not the union of two disjoint nonempty open sets — equivalently, its only subsets both open and closed are \varnothing and XX; equivalently, every continuous map X{0,1}X \to \{0, 1\} (discrete) is constant. A subset is connected if it is as a subspace.

Theorem 6.20

  1. The connected subsets of R\R are exactly the intervals.
  2. Continuous images of connected sets are connected (whence the intermediate value theorem: a continuous real map on a connected space has an interval as image).
  3. If (Ai)(A_i) are connected with a common point, Ai\bigcup A_i is connected. If AA is connected and ABAˉA \subseteq B \subseteq \bar A, then BB is connected.
  4. Finite products of connected spaces are connected.

Proof. Throughout we use the {0,1}\{0,1\}-criterion: f ⁣:X{0,1}f \colon X \to \{0,1\} continuous must be constant.

(1) A non-interval AA misses some cc between a,bAa, b \in A: A=(A(,c))(A(c,+))A = (A \cap (-\infty, c)) \sqcup (A \cap (c, +\infty)) disconnects. Conversely let II be an interval and f ⁣:I{0,1}f \colon I \to \{0,1\} continuous with f(a)=0f(a) = 0, f(b)=1f(b) = 1, a<ba < b. Let c=sup{x[a,b]:f(x)=0}c = \sup\{x \in [a,b] : f(x) = 0\}; continuity at cc forces f(c)=0f(c) = 0 (limit of values 00: every neighborhood of cc meets {f=0}\{f = 0\}; {f=0}\{f=0\} is closed) and then c<bc < b with f1f \equiv 1 on (c,b](c, b], so f(c)=1f(c) = 1 by the same closure argument on {f=1}c\{f = 1\} \ni c: contradiction.

(2) A continuous g ⁣:f(X){0,1}g \colon f(X) \to \{0,1\} yields gfg \circ f constant, so gg is constant on the image.

(3) A continuous f ⁣:Ai{0,1}f\colon \bigcup A_i \to \{0,1\} is constant on each AiA_i, with the same value at the common point. For the closure: f ⁣:B{0,1}f \colon B \to \{0,1\} is constant =c= c on AA; any xBAˉx \in B \subseteq \bar A is in the closure of AA, and f1(f(x))f^{-1} (f(x)) is a neighborhood of xx (preimage of open), which must meet AA: f(x)=cf(x) = c.

(4) For X×YX \times Y and f ⁣:X×Y{0,1}f\colon X\times Y \to \{0,1\}: any two points (x,y),(x,y)(x,y), (x',y') are joined by the “elbow” {x}×YX×{y}\{x\}\times Y \cup X \times \{y'\}, a union of two connected sets (homeomorphic to YY, XX) meeting at (x,y)(x, y'): by (3) and (2), ff agrees on the two points.

Definition 6.21

XX is path-connected if any two points are joined by a path (continuous γ ⁣:[0,1]X\gamma \colon [0,1] \to X). Path-connected implies connected: two values of a continuous f ⁣:X{0,1}f \colon X \to \{0,1\} at x,yx, y are values of the constant fγf\circ\gamma (Theorem 6.20(1)–(2)). Convex subsets of normed spaces are path-connected (segments); so are Rn{0}\R^n \setminus \{0\} for n2n \geq 2 (go around the origin), and SnS^n for n1n \geq 1 (project paths from Rn+1{0}\R^{n+1}\setminus \{0\}).

Example 6.22 (The topologist’s sine curve)

Let Γ={(x,sin1x):0<x1}\Gamma = \{(x, \sin\frac1x) : 0 < x \leq 1\} and S=Γˉ=Γ({0}×[1,1])S = \bar\Gamma = \Gamma \cup (\{0\}\times[-1,1]) (every point (0,y)(0, y), y1\abs y \leq 1, is a limit of points of Γ\Gamma: solve sin1x=y\sin\frac1x = y near 00). Then SS is connectedclosure of the connected Γ\Gamma, a continuous image of (0,1](0, 1] (Theorem 6.20(3)) — but not path-connected: a path from (1,sin1)(1, \sin 1) to (0,0)(0,0) would have to traverse abscissas 0\to 0 while the ordinate oscillates between ±1\pm1; Exercise 6.9 makes this rigorous. Connectedness and path-connectedness genuinely differ.

The topologist’s sine curve: the graph of 1x (red) accumulates on the whole segment \0\×[-1,1] (blue). The union is connected but not path-connected: no continuous path can cross the infinitely many oscillations in finite parameter time.
The topologist’s sine curve: the graph of sin1x\sin\frac1x (red) accumulates on the whole segment {0}×[1,1]\{0\}\times[-1,1] (blue). The union is connected but not path-connected: no continuous path can cross the infinitely many oscillations in finite parameter time.

Definition 6.23

The connected component of xXx \in X is the union of all connected subsets containing xx — the largest one (Theorem 6.20(3)). Components partition XX and are closed (closures of connected sets are connected). XX is totally disconnected if all components are singletons (Q\Q; the Cantor set of the weekend problem).

Theorem 6.24

R\R is homeomorphic to no Rn\R^n with n2n \geq 2.

Proof. Suppose h ⁣:RRnh \colon \R \to \R^n is a homeomorphism. Removing a point: R{0}\R \setminus \{0\} is homeomorphic to Rn{h(0)}\R^n \setminus \{h(0)\}. But R{0}\R\setminus\{0\} is disconnected, while Rn{point}\R^n\setminus\{\text{point}\} is path-connected for n2n \geq 2 (Definition 6.21; translate the point to 00): connectedness is a homeomorphism invariant (Theorem 6.20(2)) — contradiction. (That R2≇R3\R^2 \not\cong \R^3 requires finer invariants — algebraic topology; the weekend problem shows the danger: continuous surjections RR2\R \to \R^2 do exist.)

Method 6.25

To prove a set is connected: exhibit it as a continuous image, a union of overlapping connected sets, a closure, or a product (Theorem 6.20); for subsets of normed spaces, prove path-connectedness with explicit paths (segments, arcs, elbows). To prove two spaces are not homeomorphic: find a topological invariant that differs — compactness, connectedness, number of components, or components after deleting a well-chosen finite set (the trick of Theorem 6.24: it also proves [0,1)≇(0,1)[0,1) \not\cong (0,1) and S1≇[0,1]S^1 \not\cong [0,1]).

6.5 Exercises

Exercise 6.1

(a) List all topologies on {a,b}\{a, b\}, classify them up to homeomorphism, and determine which ones are connected and which are Hausdorff. (b) In R\R (usual topology), compute interior, closure and boundary of Q\Q, of [0,1){2}[0,1) \cup \{2\}, and of {1/n:n1}\{1/n : n \geq 1\}.

Solution

Solution of Exercise 6.1.

(a) Four topologies on {a,b}\{a,b\}: indiscrete {,X}\{\varnothing, X\}; discrete; the two Sierpiński topologies {,{a},X}\{\varnothing, \{a\}, X\} and {,{b},X}\{\varnothing, \{b\}, X\}. The last two are homeomorphic (swap a,ba, b): three classes. Connected: all except the discrete one (only the discrete topology contains a proper nonempty clopen set). Hausdorff: only the discrete one (in the others, bb’s only neighborhood is XX, or aa’s).

(b) Q\Q: interior \varnothing (every interval contains irrationals), closure R\R (density), boundary R\R. [0,1){2}[0,1) \cup \{2\}: interior (0,1)(0,1), closure [0,1]{2}[0,1]\cup\{2\}, boundary {0,1,2}\{0, 1, 2\}. {1/n}\{1/n\}: interior \varnothing, closure {1/n}{0}\{1/n\}\cup\{0\}, boundary the closure itself.

Exercise 6.2

(a) Show that f ⁣:XYf\colon X \to Y is continuous iff f1(B)f^{-1}(B) is open for every BB in a fixed basis of YY. (b) Show that f=1[0,) ⁣:RRf = \mathbf 1_{[0,\infty)} \colon \R \to \R is not continuous but is right-continuous. Verify that the half-open intervals [a,b)[a, b) form a basis of a topology on the source R\R (the Sorgenfrey line), that this topology is strictly finer than the usual one, and that a function RR\R \to \R (usual target) is continuous from the Sorgenfrey line iff it is right-continuous at every point.

Solution

Solution of Exercise 6.2.

(a) Every open VYV \subseteq Y is a union Bj\bigcup B_j of basis sets, and f1(V)=f1(Bj)f^{-1}(V) = \bigcup f^{-1}(B_j): if the latter are open, so is the former; the converse is trivial.

(b) f1((12,32))=[0,)f^{-1}\bigl(\intoo{\frac12}{\frac32}\bigr) = [0, \infty) is not open: ff is not continuous; right-continuity at each point is clear (ff is locally constant on the right of every point). The sets [a,b)[a, b) satisfy the basis criterion (Definition 6.4): [a,b)[c,d)=[max(a,c),min(b,d))[a,b)\cap[c,d) = [\max(a,c), \min(b,d)). The Sorgenfrey topology is finer than the usual one, since (a,b)=a<c<b[c,b)(a, b) = \bigcup_{a < c < b}[c, b); strictly: [0,1)[0,1) is Sorgenfrey-open, not usual-open. Continuity from the Sorgenfrey line at xx: a Sorgenfrey neighborhood of xx contains a basis set [a,b)x[a, b) \ni x, hence contains [x,b)[x, b) — so the continuity condition reads: for every ε>0\varepsilon > 0 there is δ>0\delta > 0 with f(t)f(x)<ε\abs{f(t) - f(x)} < \varepsilon whenever xt<x+δx \leq t < x + \delta. That is exactly right-continuity at xx.

Exercise 6.3

On an infinite set with the cofinite topology, show: any two nonempty open sets meet (so the space is not Hausdorff, hence not metrizable); every injective sequence converges to every point. Where does the uniqueness-of-limits proof use Hausdorff?

Solution

Solution of Exercise 6.3.

Two nonempty opens have finite complements, so their intersection has finite complement: nonempty (the set is infinite) — no two points have disjoint neighborhoods: not Hausdorff, hence not metrizable (Definition 6.7). Let (xn)(x_n) be injective and xx arbitrary: a neighborhood of xx contains a cofinite open UU; the finitely many points of XUX\setminus U are hit by at most finitely many indices (injectivity), so a tail of the sequence lies in UU: xnxx_n \to x, for every xx. The uniqueness proof needs two disjoint neighborhoods to separate two alleged limits — precisely what fails here.

Exercise 6.4 ★★

(a) Show that the projections πX,πY\pi_X, \pi_Y of a product are continuous and open (images of opens are open), but not closed in general ({xy=1}\{xy = 1\} in R2\R^2). (b) Show that a sequence in a countable product nXn\prod_n X_n of metric spaces converges iff each coordinate converges, and that d(x,y)=n2nmin(1,dn(xn,yn))d(x, y) = \sum_n 2^{-n}\min(1, d_n(x_n, y_n)) metrizes the product topology. (c) On RN\R^\N, show that the “box topology” (all products of opens are open) is strictly finer: the sequence x(k)=(1/k,1/k,)x^{(k)} = (1/k, 1/k, \dots) converges to 00 in the product topology but not in the box topology.

Solution

Solution of Exercise 6.4.

(a) Continuity is by construction (Definition 6.9). Openness: an open WX×YW \subseteq X \times Y is a union of boxes Ui×ViU_i\times V_i, and πX(W)=Ui\pi_X(W) = \bigcup U_i (nonempty boxes project onto their factors), open. Not closed: H={(x,y):xy=1}H = \{(x,y) : xy = 1\} is closed in R2\R^2 (preimage of {1}\{1\} under the continuous product), but πX(H)=R{0}\pi_X(H) = \R\setminus\{0\} is not closed.

(b) (\Rightarrow) Projections are continuous. (\Leftarrow) Let x(k)xx^{(k)} \to x componentwise and W=UnW = \prod U_n a basis neighborhood of xx, with Un=XnU_n = X_n except for nFn \in F finite. For each nFn \in F, xn(k)Unx_n^{(k)} \in U_n for kKnk \geq K_n; for kmaxFKnk \geq \max_F K_n, x(k)Wx^{(k)} \in W. The formula dd defines a metric (each summand is one, up to the standard verification that min(1,dn)\min(1, d_n) is); its balls: Bd(x,2N)B_d(x, 2^{-N}) contains the basis box {y:dn(xn,yn)<2N, nN}\{y : d_n(x_n,y_n) < 2^{-N},\ n \leq N'\} for suitable NN' (the tail n>N2n\sum_{n > N'} 2^{-n} is small), and conversely every basis box contains a dd-ball: the two topologies have the same neighborhoods of each point.

(c) In the product topology, x(k)0x^{(k)} \to 0 by (b). The box-open set U=n(1n,1n)U = \prod_n \intoo{-\tfrac1n}{\tfrac1n} contains 00, but x(k)Ux^{(k)} \notin U for every kk (the nn-th coordinate 1/k1/n1/k \geq 1/n when nkn \geq k): no tail enters UU. The box topology is strictly finer and not a product-type topology for convergence purposes.

Exercise 6.5 ★★

The circle, three ways. Show that the following are pairwise homeomorphic, with explicit maps: (i) S1R2S^1 \subseteq \R^2; (ii) R/Z\R/\Z (quotient topology); (iii) [0,1]/(01)[0,1]/(0 \sim 1). (For (ii): show R/Z\R/\Z is Hausdorff — lift two classes to representatives at distance 12\leq \frac12 — and that π([0,1])\pi([0,1]) is everything, so the quotient is compact; then use Corollary 6.14.)

Solution

Solution of Exercise 6.5.

φ ⁣:RS1\varphi \colon \R \to S^1, xe2iπxx \mapsto \eu^{2\iu\pi x}, is continuous, surjective, and constant on classes mod Z\Z: it induces a continuous bijection φˉ ⁣:R/ZS1\bar\varphi \colon \R/\Z \to S^1 (Proposition 6.10(b)). The projection π\pi is open: for URU \subseteq \R open, π1(π(U))=n(U+n)\pi^{-1}(\pi(U)) = \bigcup_{n}(U + n) is open, so π(U)\pi(U) is open. Hausdorff: let xˉyˉ\bar x \neq \bar y; choose representatives with δ=minnxyn>0\delta = \min_{n}\abs{x - y - n} > 0; the images of the intervals of radius δ/3\delta/3 around xx and yy are open (openness of π\pi), contain xˉ,yˉ\bar x, \bar y, and are disjoint (two preimage points would be <2δ/3< 2\delta/3 apart mod Z\Z). Compact: R/Z=π([0,1])\R/\Z = \pi([0,1]), a continuous image of a compact space (Theorem 6.13(2)). Now φˉ\bar\varphi is a continuous bijection from a compact space to the Hausdorff S1S^1: a homeomorphism (Corollary 6.14).

For (iii): the composite [0,1]RπR/Z[0,1] \hookrightarrow \R \xrightarrow{\pi} \R/\Z is continuous, surjective, and identifies exactly 010 \sim 1: it induces a continuous bijection [0,1]/(01)R/Z[0,1]/(0\sim1) \to \R/\Z from a compact space (continuous image of [0,1][0,1] under the quotient projection) to a Hausdorff one: a homeomorphism. Composing: all three spaces are homeomorphic.

Exercise 6.6 ★★

Let XX be a metric space. (a) Show that a finite union of compact subsets is compact, and that an arbitrary intersection is. (b) If KK is compact, FF closed, KF=K \cap F = \varnothing, show d(K,F)=inf{d(x,y):xK,yF}>0d(K, F) = \inf\{d(x,y) : x \in K, y \in F\} > 0; give a counterexample with two disjoint closed sets. (c) Show that XX is compact iff every continuous f ⁣:XRf \colon X \to \R is bounded. (If some sequence has no convergent subsequence, build an unbounded continuous function supported near its terms; or use xd(x,)x \mapsto d(x, \cdot)-type functions — one clean route: if (xn)(x_n) has no cluster point, the set {xn}\{x_n\} is closed and discrete, and f(xn)=nf(x_n) = n extends continuously by Tietze-free means: f(x)=nnmax(0,1d(x,xn)rn)f(x) = \sum_n n\,\max\bigl(0, 1 - \frac{d(x, x_n)}{r_n}\bigr) for small enough rnr_n.)

Solution

Solution of Exercise 6.6.

(a) A cover of K1KmK_1 \cup \dots \cup K_m restricts to a cover of each KjK_j: finitely many opens per piece suffice. An intersection Ki\bigcap K_i is closed in the compact Ki0K_{i_0} (compacts are closed in the ambient metric space), hence compact.

(b) xd(x,F)x \mapsto d(x, F) is continuous (11-Lipschitz) and strictly positive on KK (d(x,F)=0d(x, F) = 0 means xFˉ=Fx \in \bar F = F); on the compact KK it attains a minimum m>0m > 0: d(K,F)md(K, F) \geq m. Counterexample without compactness: F1={n:n2}F_1 = \{n : n \geq 2\} and F2={n+1n:n2}F_2 = \{n + \frac1n : n \geq 2\} are closed, disjoint, at distance infn1n=0\inf_n \frac1n = 0.

(c) If XX is compact, every continuous ff is bounded (Theorem 6.13(2)). Conversely, if XX is not compact, take (xn)(x_n) with no convergent subsequence (Theorem 6.16); passing to a subsequence we may assume the xnx_n pairwise distinct, and no point of XX is a cluster point of the sequence, so

rn=min(2n, 13d(xn,{xm:mn}))>0,r_n = \min\Bigl(2^{-n},\ \tfrac13\,d\bigl(x_n, \{x_m : m \neq n\}\bigr)\Bigr) > 0,

and the balls B(xn,rn)B(x_n, r_n) are pairwise disjoint (a common point of the nn-th and mm-th would give d(xn,xm)<rn+rm23d(xn,xm)d(x_n, x_m) < r_n + r_m \leq \frac23 d(x_n, x_m)). Define

f(x)=nnmax(0, 1d(x,xn)rn):f(x) = \sum_{n} n\,\max\Bigl(0,\ 1 - \frac{d(x, x_n)}{r_n}\Bigr):

at each xx at most one summand is nonzero, and f(xn)=nf(x_n) = n. Continuity at xx: let ykxy_k \to x; each value f(yk)f(y_k) is either 00 or a single bump value bumpnk(yk)\mathrm{bump}_{n_k}(y_k). If some index nn occurs infinitely often, along that subsequence f(yk)=bumpn(yk)bumpn(x)f(y_k) = \mathrm{bump}_n(y_k) \to \mathrm{bump}_n(x), which equals f(x)f(x) (if xB(xn,rn)x \in B(x_n, r_n), the whole tail lies in this open ball and no other index occurs; if xB(xn,rn)x \notin B(x_n, r_n) then bumpn(x)=0=f(x)\mathrm{bump}_n(x) = 0 = f(x), since xx, adherent to the nn-th ball, lies in no other open ball). If nkn_k \to \infty: d(yk,xnk)<rnk2nk0d(y_k, x_{n_k}) < r_{n_k} \leq 2^{-n_k} \to 0, so xnkxx_{n_k} \to x, making xx a cluster point of (xn)(x_n) — excluded; so this case concerns finitely many kk only. In every case f(yk)f(x)f(y_k) \to f(x): ff is continuous, and unbounded.

Exercise 6.7 ★★

(Lebesgue number) Let (Ui)(U_i) be an open cover of a compact metric space XX. Show there is δ>0\delta > 0 such that every subset of diameter <δ< \delta lies in a single UiU_i. (Otherwise pick AnA_n of diameter <1/n< 1/n in no UiU_i, and a cluster point of chosen xnAnx_n \in A_n.) Deduce Heine’s theorem (Corollary 6.17(b)) again.

Solution

Solution of Exercise 6.7.

Suppose no δ\delta works: for each nn there is AnA_n of diameter <1/n< 1/n contained in no single UiU_i; pick xnAnx_n \in A_n. By compactness (Theorem 6.16), a subsequence xnkxx_{n_k} \to x; pick ii and r>0r > 0 with B(x,r)UiB(x, r) \subseteq U_i. For large kk: d(xnk,x)<r/2d(x_{n_k}, x) < r/2 and 1/nk<r/21/n_k < r/2, so AnkB(xnk,1/nk)B(x,r)UiA_{n_k} \subseteq B(x_{n_k}, 1/n_k) \subseteq B(x, r) \subseteq U_i — contradiction. Heine: given ε\varepsilon, cover YY by balls B(y,ε/2)B(y, \varepsilon/2); the preimages form an open cover of XX; let δ\delta be a Lebesgue number: if d(x,x)<δd(x, x') < \delta, the pair {x,x}\{x, x'\} has diameter <δ< \delta, lies in one preimage, and d(f(x),f(x))<εd(f(x), f(x')) < \varepsilon.

Exercise 6.8 ★★

(a) Show that GLn(R)GL_n(\R) is an open, dense subset of Mn(R)M_n(\R), and that it is disconnected: the sign of the determinant separates it into (at least) two pieces. Show on the other hand that GLn(C)GL_n(\C) is path-connected. (For A,BGLn(C)A, B \in GL_n(\C): λdet((1λ)A+λB)\lambda \mapsto \det\bigl((1 - \lambda)A + \lambda B\bigr) is a polynomial, not identically zero, so it has finitely many roots in C\C: pick a path of λ\lambda’s in C\C from 00 to 11 avoiding them.) (b) Prove density: A+εIA + \varepsilon I is invertible for small ε>0\varepsilon > 0.

Solution

Solution of Exercise 6.8.

(a) GLn(R)=det1(R{0})GL_n(\R) = \det^{-1}(\R\setminus\{0\}) is open (det\det is polynomial, continuous). Disconnected: det\det maps it onto R{0}\R\setminus\{0\}, and a connected space has connected continuous images (Theorem 6.20(2)); R{0}\R\setminus\{0\} is not an interval. GLn(C)GL_n(\C): for A,BA, B invertible, p(λ)=det((1λ)A+λB)p(\lambda) = \det\bigl((1-\lambda)A + \lambda B\bigr) is a polynomial in λ\lambda with p(0),p(1)0p(0), p(1) \neq 0, hence not identically zero: it has finitely many roots in C\C. The plane minus finitely many points is path-connected (avoid the points by going around), so there is a path λ(t)\lambda(t) from 00 to 11 with p(λ(t))0p(\lambda(t)) \neq 0: t(1λ(t))A+λ(t)Bt \mapsto (1-\lambda(t))A + \lambda(t)B is a path in GLn(C)GL_n(\C).

(b) det(A+εI)=χA(ε)(±1)\det(A + \varepsilon I) = \chi_A(-\varepsilon)\cdot(\pm1) vanishes for at most nn values of ε\varepsilon: invertible matrices A+εIAA + \varepsilon I \to A as ε0\varepsilon \to 0: density.

Exercise 6.9 ★★

(a) Show that the connected components of Q\Q are the singletons, and that Q\Q is not locally compact (a compact neighborhood of 00 in Q\Q would contain [r,r]Q[-r, r]\cap\Q, whose closure in Q\Q is not compact: cut at an irrational). (b) Complete Example 6.22: no path joins (0,0)(0,0) to Γ\Gamma. (If γ=(γ1,γ2)\gamma = (\gamma_1, \gamma_2) is such a path, let t=sup{t:γ1(t)=0}t^* = \sup\{t : \gamma_1(t) = 0\}; for t>tt > t^* the point moves on the graph; choose tktt_k \downarrow t^* with γ1(tk)0\gamma_1(t_k) \to 0 hitting abscissas where sin\sin is alternately ±1\pm1 — the intermediate value theorem supplies them — contradicting continuity of γ2\gamma_2 at tt^*.)

Solution

Solution of Exercise 6.9.

(a) Let AQA \subseteq \Q contain p<qp < q and pick an irrational α(p,q)\alpha \in (p, q): A=(A(,α))(A(α,+))A = (A \cap (-\infty, \alpha)) \sqcup (A\cap(\alpha, +\infty)) splits AA into two nonempty relatively open pieces: AA is disconnected. Components are singletons. Local compactness fails: a compact neighborhood VV of 00 in Q\Q contains [r,r]Q[-r, r]\cap\Q for some r>0r > 0, which is closed in VV, hence compact; but a sequence of rationals in [r,r][-r,r] converging (in R\R) to an irrational has no subsequence converging in Q\Q: contradiction with Theorem 6.16.

(b) Let γ=(γ1,γ2) ⁣:[0,1]S\gamma = (\gamma_1, \gamma_2) \colon [0,1] \to S be a path with γ(0)=(0,0)\gamma(0) = (0,0) and γ(1)Γ\gamma(1) \in \Gamma. The set {t:γ1(t)=0}\{t : \gamma_1(t) = 0\} is closed and does not contain 11; let tt^* be its supremum, so γ1(t)=0\gamma_1(t^*) = 0 and γ1>0\gamma_1 > 0 on (t,1](t^*, 1]. By continuity of γ2\gamma_2 at tt^*, choose δ\delta with γ2(t)γ2(t)<12\abs{\gamma_2(t) - \gamma_2(t^*)} < \tfrac12 for t[t,t+δ]t \in [t^*, t^* + \delta]. Fix t0=t+δt_0 = t^* + \delta (may assume 1\leq 1): γ1(t0)>0\gamma_1(t_0) > 0, and γ1\gamma_1 takes every value of (0,γ1(t0)](0, \gamma_1(t_0)] on [t,t0][t^*, t_0] (intermediate value theorem, Theorem 6.20). Choose kk large with ak=1π/2+2kπ<γ1(t0)a_k = \frac1{\pi/2 + 2k\pi} < \gamma_1(t_0) and bk=13π/2+2kπ<γ1(t0)b_k = \frac1{3\pi/2 + 2k\pi} < \gamma_1(t_0): there are s,s(t,t0]s, s' \in (t^*, t_0] with γ1(s)=ak\gamma_1(s) = a_k, γ1(s)=bk\gamma_1(s') = b_k; since the points lie on the graph, γ2(s)=sin(1/ak)=1\gamma_2(s) = \sin(1/a_k) = 1 and γ2(s)=1\gamma_2(s') = -1. Both cannot be within 12\frac12 of γ2(t)\gamma_2(t^*): contradiction. SS is connected but not path-connected.

Exercise 6.10 ★★★

The middle-thirds Cantor set C=nCnC = \bigcap_n C_n, where C0=[0,1]C_0 = [0,1] and Cn+1C_{n+1} removes the open middle third of each interval of CnC_n. (a) Show C={n1an3n:an{0,2}}C = \bigl\{\sum_{n\geq1} a_n3^{-n} : a_n \in \{0,2\}\bigr\}, and that CC is compact, with empty interior, and has no isolated point (perfect). (b) Show that CC is totally disconnected. (c) Show that x(an(x))nx \mapsto (a_n(x))_n is a homeomorphism C{0,2}NC \to \{0,2\}^\N (product topology on the discrete two-point space); deduce that CC is uncountable, and that C×CCC \times C \cong C.

Solution

Solution of Exercise 6.10.

(a) CnC_n consists exactly of the xx admitting a ternary expansion with digits in {0,2}\{0, 2\} up to rank nn (induction: removing middle thirds removes first digit 11, etc.; endpoints have two expansions, one avoiding 11s), so C=CnC = \bigcap C_n is the set of sums an3n\sum a_n3^{-n}, an{0,2}a_n \in \{0,2\}. Compact: each CnC_n is a finite union of closed intervals; CC is closed in [0,1][0,1]. Empty interior: CCnC \subseteq C_n, a union of intervals of length 3n3^{-n}; an interior interval of length >0\ell > 0 would fit in one of them for all nn. Perfect: given xCx \in C and mm, flip the digit ama_m: the new point is in CC, distinct, within 23m2\cdot3^{-m} of xx.

(b) If xyCx \neq y \in C, their expansions first differ at some rank kk; between them lies a removed middle-third interval (the gap at rank kk separating digit 00 from digit 22), providing a point cCc \notin C, x<c<yx < c < y (say): C=(C(,c))(C(c,))C = (C \cap (-\infty, c)) \sqcup (C \cap (c, \infty)) splits any subset containing both points. Components are singletons.

(c) The digit map β ⁣:x(an(x))\beta\colon x \mapsto (a_n(x)) is a bijection onto {0,2}N\{0,2\}^\N (existence and uniqueness of {0,2}\{0,2\}-expansions: distinct digit sequences give points at distance 3k>0\geq 3^{-k} > 0 where they first differ, as in Problem 6.1, question 1). It is continuous: xy<3m\abs{x - y} < 3^{-m} forces agreement of the first mm digits (same computation), so β\beta maps small balls into basis boxes. A continuous bijection from the compact CC to the Hausdorff product is a homeomorphism (Corollary 6.14; the product is Hausdorff: separate at a differing coordinate). Uncountability: Cantor’s diagonal on {0,2}N\{0,2\}^\N. Finally {0,2}N×{0,2}N{0,2}N\{0,2\}^\N \times \{0,2\}^\N \cong \{0,2\}^\N by interleaving digits (a homeomorphism: componentwise continuity both ways), so C×CCC \times C \cong C.

Exercise 6.11 ★★★

Stereographic projection: from the north pole N=(0,,0,1)N = (0, \dots, 0, 1) of SnRn+1S^n \subseteq \R^{n+1}, the map σ(x)=(x1,,xn)1xn+1\sigma(x) = \frac{(x_1, \dots, x_n)}{1 - x_{n+1}} is a homeomorphism Sn{N}RnS^n \setminus \{N\} \to \R^n (give the inverse explicitly). Deduce that SnS^n is homeomorphic to the one-point compactification Rn^\widehat{\R^n}, and that removing any point of SnS^n leaves a space homeomorphic to Rn\R^n.

Solution

Solution of Exercise 6.11.

For yRny \in \R^n, set

τ(y)=(2yy2+1, y21y2+1)Rn×R=Rn+1.\tau(y) = \Bigl(\frac{2y}{\norm y^2 + 1},\ \frac{\norm y^2 - 1}{\norm y^2 + 1}\Bigr) \in \R^n\times\R = \R^{n+1}.

One checks τ(y)=1\norm{\tau(y)} = 1, τ(y)N\tau(y) \neq N, and σ(τ(y))=y\sigma(\tau(y)) = y, τ(σ(x))=x\tau(\sigma(x)) = x: σ\sigma and τ\tau are mutually inverse, both continuous (rational formulas with nonvanishing denominators): Sn{N}RnS^n\setminus\{N\} \cong \R^n. Extend to σ^ ⁣:SnRn^\hat\sigma \colon S^n \to \widehat{\R^n} by NN \mapsto \infty: a bijection, continuous at every point of Sn{N}S^n\setminus\{N\}, and at NN: a basis neighborhood of \infty is Rn^K\widehat{\R^n}\setminus K, KK compact, KBˉ(0,R)K \subseteq \bar B(0, R); since σ(x)2=1+xn+11xn+1\norm{\sigma(x)}^2 = \frac{1 + x_{n+1}}{1 - x_{n+1}} \to \infty as xn+11x_{n+1} \to 1, the set {xSn:xn+1>1η}\{x \in S^n : x_{n+1} > 1 - \eta\} maps outside Bˉ(0,R)\bar B(0,R) for small η\eta: continuity. A continuous bijection from the compact SnS^n to the Hausdorff Rn^\widehat{\R^n} is a homeomorphism. Removing another point pp: a rotation of SnS^n maps pp to NN (rotations are homeomorphisms), reducing to the computed case: Sn{p}RnS^n \setminus \{p\} \cong \R^n.

Exercise 6.12 ★★★

(The topologist’s sine curve) Let

T={(x,sin1x):0<x1}({0}×[1,1])R2.T = \bigl\{(x, \sin\tfrac1x) : 0 < x \leq 1\bigr\} \cup \bigl(\{0\}\times\intcc{-1}1\bigr) \subseteq \R^2 .

(a) Show that TT is compact, and that it is the closure of the graph part. (b) Show that TT is connected (the graph is connected as a continuous image; its closure remains connected). (c) Show that TT is not path-connected: no continuous path joins (0,0)(0,0) to (1,sin1)(1, \sin1). (If γ=(γ1,γ2)\gamma = (\gamma_1, \gamma_2) is such a path, let t=sup{t:γ1(t)=0}t^* = \sup\{t : \gamma_1(t) = 0\}; just after tt^*, γ1\gamma_1 takes all small positive values (intermediate value theorem), so γ2\gamma_2 oscillates between ±1\pm1 on every interval (t,t+δ)(t^*, t^* + \delta) — contradict continuity at tt^*.) (d) Conclude that path-connectedness is strictly stronger than connectedness, and show that no such example can be open in Rn\R^n: an open connected subset of Rn\R^n is path-connected (the set of points joinable to a base point by a path is open and closed in the domain).

Solution

Solution of Exercise 6.12.

(a) TT is bounded, and closed: a limit of points of TT with abscissas x0>0\to x_0 > 0 stays on the (locally closed) graph by continuity of sin1x\sin\frac1x on (0,1]\intoc01; a limit with abscissas 0\to 0 has ordinate in [1,1]\intcc{-1}1, hence lies in the segment. Compact by Heine–Borel (Corollary 6.17). Closure of the graph Γ\Gamma: every point (0,y)(0, y), y[1,1]y \in \intcc{-1}1, is a limit of graph points — solve sin1x=y\sin\frac1x = y near 00 (the function sweeps [1,1]\intcc{-1}1 on each interval [1(k+1)π,1kπ][\frac1{(k+1)\pi}, \frac1{k\pi}]): Γˉ=T\bar\Gamma = T.

(b) Γ\Gamma is the continuous image of the connected (0,1]\intoc01 under x(x,sin1x)x \mapsto (x, \sin\frac1x): connected; and the closure of a connected set is connected (Theorem 6.20): T=ΓˉT = \bar\Gamma is connected.

(c) Suppose γ ⁣:[0,1]T\gamma\colon\intcc01\to T is continuous with γ(0)=(0,0)\gamma(0) = (0,0), γ(1)=(1,sin1)\gamma(1) = (1, \sin1), and let t=sup{t:γ1(t)=0}t^* = \sup\{t : \gamma_1(t) = 0\}: by continuity γ1(t)=0\gamma_1(t^*) = 0 and γ1>0\gamma_1 > 0 on (t,1]\intoc{t^*}1. For every δ>0\delta > 0, the interval (t,t+δ]\intoc{t^*}{t^*+\delta} has γ1\gamma_1 taking all values in some (0,η]\intoc0\eta (intermediate value theorem, γ1(t+δ)>0\gamma_1(t^* + \delta) > 0); in particular it contains abscissas of the form 1π/2+2kπ\frac1{\pi/2 + 2k\pi} and 1π/2+2kπ\frac1{-\pi/2 + 2k\pi} for arbitrarily large kk, at which γ2=±1\gamma_2 = \pm1. So on every right-neighborhood of tt^*, γ2\gamma_2 takes both values 11 and 1-1: γ2\gamma_2 has no limit at t+t^{*+}, contradicting continuity. No path exists.

(d) TT is connected but not path-connected: the two notions differ. For open URnU \subseteq \R^n connected and aUa \in U, let VV be the set of points of UU joinable to aa by a path in UU. VV is open: around xVx \in V a ball B(x,r)UB(x, r) \subseteq U is starlike, and concatenating the path to xx with a segment reaches every point of the ball. VV is closed in UU: if xUVx \in U \setminus V, the same ball argument shows B(x,r)V=B(x, r) \cap V = \varnothing (a point of VV in the ball would join aa to xx). Nonempty (aVa \in V), open and closed in the connected UU: V=UV = U. The sine curve evades this by being closed with empty interior: its “bad” point (0,0)(0,0) has no ball inside TT to bridge the oscillations.

6.6 Problem: the Cantor set and a space-filling curve

Problem 6.1

Weekend problem — Peano curves exist, and why they are not homeomorphisms

In 1890 Peano stunned analysis with a continuous surjection [0,1][0,1]2[0,1] \to [0,1]^2: a curve filling a square. We build one with bare hands from the Cantor set CC of Exercise 6.10 (whose results may be used freely), and then prove that no such map can be injective: squares are not curves. Throughout, elements of CC are written x=n12bn(x)3nx = \sum_{n \geq 1} \frac{2b_n(x)}{3^n} with digits bn(x){0,1}b_n(x) \in \{0, 1\}.

Part I — Reading off digits continuously.

  1. Show that if x,yCx, y \in C satisfy xy<3m\abs{x - y} < 3^{-m}, then bn(x)=bn(y)b_n(x) = b_n(y) for all nmn \leq m. (If the first differing digit is bkb_k, then xy23kj>k23j=13k\abs{x - y} \geq \frac{2}{3^k} - \sum_{j>k}\frac2{3^j} = \frac1{3^k}.)
  2. Deduce that each digit function bn ⁣:C{0,1}b_n \colon C \to \{0, 1\} is continuous, and re-derive the homeomorphism C{0,1}NC \cong \{0,1\}^\N of Exercise 6.10(c).

Part II — A continuous surjection C[0,1]2C \to [0,1]^2.

  1. Define g ⁣:C[0,1]g \colon C \to [0,1] by g(x)=n1bn(x)2ng(x) = \sum_{n\geq1} b_n(x)\,2^{-n} (read the Cantor digits as binary). Show that gg is continuous (use question 1) and surjective. Is it injective?
  2. Define Φ ⁣:C[0,1]2\Phi \colon C \to [0,1]^2 by

    Φ(x)=( n1b2n1(x)2n, n1b2n(x)2n )\Phi(x) = \Bigl(\ \sum_{n\geq1} b_{2n-1}(x)\,2^{-n},\ \sum_{n\geq1} b_{2n}(x)\,2^{-n}\ \Bigr)

    (odd digits give the abscissa, even digits the ordinate). Show that Φ\Phi is continuous and surjective.

Part III — Filling the gaps: the Peano curve.

  1. The complement [0,1]C[0,1] \setminus C is a countable union of disjoint open intervals (u,v)(u, v) (the removed middle thirds) whose endpoints lie in CC. Define f ⁣:[0,1][0,1]2f \colon [0,1] \to [0,1]^2 by f=Φf = \Phi on CC, extended affinely on each gap:

    f(t)=vtvuΦ(u)+tuvuΦ(v),t(u,v).f(t) = \frac{v - t}{v - u}\,\Phi(u) + \frac{t - u}{v - u}\,\Phi(v), \qquad t \in (u, v).

    Show that ff is well defined and surjective onto [0,1]2[0,1]^2.

  2. Show that ff is continuous at every point of [0,1]C[0,1] \setminus C (locally affine), and at every point of CC: given ε\varepsilon, pick mm with 2m<ε/22^{-m} < \varepsilon/2 and use question 1 to control Φ\Phi on CC near xx, then check that the affine interpolation cannot escape: on a gap (u,v)(x3m,x+3m)(u,v) \subseteq (x - 3^{-m}, x + 3^{-m}), the values f(t)f(t) lie on the segment [Φ(u),Φ(v)][\Phi(u), \Phi(v)], both ends close to Φ(x)\Phi(x). Conclude: ff is a continuous surjection [0,1][0,1]2[0,1] \to [0,1]^2.
  3. Deduce continuous surjections [0,1][0,1]n[0,1] \to [0,1]^n for every n2n \geq 2, and RR2\R \to \R^2.

Part IV — But never injective.

  1. Show that a continuous injection f ⁣:[0,1][0,1]2f \colon [0,1] \to [0,1]^2 would be a homeomorphism onto its image (Corollary 6.14).
  2. Show that [0,1][0,1] and [0,1]2[0,1]^2 are not homeomorphic: remove a well-chosen point and compare connectedness (Method 6.25).
  3. Conclude: a continuous surjection [0,1][0,1]2[0,1] \to [0,1]^2 can never be injective — an injective one would make [0,1]2=f([0,1])[0,1]^2 = f([0,1]) homeomorphic to [0,1][0,1] by question 8, contradicting question 9. Where exactly did compactness of [0,1][0,1] enter the argument?
  4. (Culmination) Assemble the moral: there is a continuous surjection but no continuous bijection [0,1][0,1]2[0,1] \to [0,1]^2. What does this say about “dimension” as a topological notion? Formulate precisely one theorem proved in this problem and one plausible statement that remains beyond our tools (invariance of domain).

Part V — The arithmetic of the Cantor set.

  1. Prove that C+C=[0,2]C + C = [0, 2]: given t[0,1]t \in [0, 1], write t=ndn3nt = \sum_n d_n3^{-n} with digits dn{0,1,2}d_n \in \{0, 1, 2\} and split each digit as dn=an+bnd_n = a_n + b_n with an,bn{0,1}a_n, b_n \in \{0, 1\}; conclude that C2+C2=[0,1]\frac C2 + \frac C2 = [0, 1] (which subset of [0,1][0,1] is C2\frac C2, in terms of ternary digits?), then rescale. No carries are ever needed — say why this is the crux.
  2. Interpret geometrically: the “Cantor dust” C×CR2C \times C \subseteq \R^2, of empty interior, casts a full shadow on the diagonal: the projection (x,y)x+y(x, y) \mapsto x + y maps it onto [0,2][0, 2]. Also record the self-similarity C=C3(C3+23)C = \frac C3 \cup \bigl(\frac C3 + \frac23\bigr), the equation behind every picture of CC.
  3. Show that digit interleaving defines a homeomorphism CC×CC \to C \times C, and deduce CCnC \cong C^n for every nn — the Cantor set is its own square, cube, … Which familiar spaces share this property?
  4. Show that 14C\frac14 \in C (compute its ternary expansion: 14=k1232k\frac14 = \sum_{k\geq1} 2\cdot3^{-2k}) although 14\frac14 is an endpoint of no removed interval; deduce — counting endpoints — that endpoints form a countable, proper subset of CC.
  5. Show that the binary-reading map gg of question 3 is at most 22-to-11, and describe exactly which points of [0,1][0,1] have two preimages. (gg collapses CC onto [0,1][0,1] by gluing countably many pairs: the combinatorial shadow of the Cantor staircase met again in Chapter 9.)

Part VI — Perfect compact sets: Cantor everywhere. A nonempty compact metric space PP is perfect if it has no isolated point.

  1. Let PP be perfect compact and let xPx \in P, r>0r > 0. Show that the ball B(x,r)B(x, r) contains two points y0y1y_0 \neq y_1 of PP, and hence two disjoint closed balls Bˉ(y0,ρ)\bar B(y_0, \rho), Bˉ(y1,ρ)\bar B(y_1, \rho) inside B(x,r)B(x, r), centered at points of PP, of radius ρr/4\rho \leq r/4 as small as desired. Explain why perfection (no isolated points) is exactly what allows this splitting to be repeated inside each of the two new balls.
  2. Iterate: build closed sets FwF_w \neq \varnothing indexed by finite binary words ww, with Fw0,Fw1FwF_{w0}, F_{w1} \subseteq F_w disjoint and diamFw2wdiamP\operatorname{diam}F_w \leq 2^{-\abs w} \operatorname{diam}P. Show that for every infinite word ε{0,1}N\varepsilon \in \{0,1\}^\N the intersection mFε1εm\bigcap_mF_{\varepsilon_1\cdots\varepsilon_m} is a single point h(ε)h(\varepsilon) (finite intersection property of the compact PP).
  3. Show that h ⁣:{0,1}NPh\colon\{0,1\}^\N \to P is injective and continuous, and conclude: every perfect compact metric space is uncountable — in fact of cardinality at least that of {0,1}N\{0,1\}^\N. Recover: [0,1][0,1] and CC are uncountable.
  4. Show that hh is a homeomorphism onto its image (continuous injection from a compact, Corollary 6.14): every perfect compact metric space contains a homeomorphic copy of the Cantor set. The Cantor set is not an oddity but the universal germ of compact perfection.
  5. Deduce that every countable compact metric space has an isolated point, and exhibit one where the isolated points are dense but not everything: K={0}{1n:n1}K = \{0\} \cup \{\frac1n : n \geq 1\}.
  6. (Cantor–Bendixson for R\R) Let FRF \subseteq \R be closed. Call xx a condensation point of FF if every neighborhood of xx meets FF uncountably. Show that the condensation points of an uncountable closed FF form a nonempty perfect closed set PP, and FPF \setminus P is countable (cover the non-condensation points by countably many rational intervals meeting FF countably). Conclude: every closed subset of R\R is countable or has the cardinality of the continuum — the continuum hypothesis holds for closed sets.

Part VII — Codas: how regular, and how far from perfect.

  1. (Hölder regularity of the curve) Set α=ln22ln30.3155\alpha = \frac{\ln 2}{2\ln 3} \approx 0.3155, and note the identity 3α=23^\alpha = \sqrt2. Using question 1, show that

    Φ(x)Φ(y)2xyα(x,yC),\norm{\Phi(x) - \Phi(y)}_\infty \leq 2\,\abs{x - y}^\alpha \qquad (x, y \in C),

    then propagate the estimate through the affine gaps: show that the Peano curve ff of question 6 satisfies f(t)f(s)6tsα\norm{f(t) - f(s)}_\infty \leq 6\abs{t - s}^\alpha on all of [0,1][0,1] (treat a pair in the same gap by interpolation, then a general pair by passing through the extreme points of C[t,s]C \cap [t, s]).

  2. (The exponent 12\frac12 is a wall) Show that no surjection F ⁣:[0,1][0,1]2F \colon [0,1] \to [0,1]^2 can be α\alpha-Hölder with α>12\alpha > \frac12: cut [0,1][0,1] into NN intervals, bound the diameters of their images, and count the points of the grid (iM,jM)\bigl(\frac iM, \frac jM\bigr), 0i,jM0 \leq i, j \leq M, that a set of diameter <1M< \frac1M can contain; choose MM of order NαN^\alpha and let NN \to \infty. Locate our curve (α0.3155\alpha \approx 0.3155) relative to the wall, and record without proof that Hilbert’s curve achieves the critical exponent 12\frac12.
  3. (Derived sets: measuring imperfection) For FF closed in R\R, let FF' be the set of limit points of FF (a closed subset), and iterate: F(0)=FF^{(0)} = F, F(i+1)=(F(i))F^{(i+1)} = (F^{(i)})'. Verify that

    K={0}{1m}m1{1m+1n:m1, n>m2}K = \{0\} \cup \Bigl\{\frac1m\Bigr\}_{m \geq 1} \cup \Bigl\{\frac1m + \frac1n : m \geq 1,\ n > m^2\Bigr\}

    is a countable compact set with K={0}{1m}K' = \{0\} \cup \{\frac1m\}, K={0}K'' = \{0\}, K=K''' = \varnothing (check that the mm-th cluster lives in the interval (1m,1m1)(\frac1m, \frac1{m-1}), so the clusters do not interleave), and that its isolated points are dense in KK, as question 21 predicts. Describe the induction producing, for every jj, a countable compact KjK_j with Kj(j)={0}K_j^{(j)} = \{0\} and Kj(j+1)=K_j^{(j+1)} = \varnothing, and contrast with the perfect sets of question 22, for which the derivation never moves: finite rank is the exact opposite of perfection.

Solution

Solution of Problem 6.1.

1. Suppose the expansions of x,yCx, y \in C first differ at rank kmk \leq m, say bk(x)=1b_k(x) = 1, bk(y)=0b_k(y) = 0. Then

xy    23kj>k23j=23k13k=13k13m:x - y \;\geq\; \frac{2}{3^k} - \sum_{j > k}\frac{2}{3^j} = \frac{2}{3^k} - \frac{1}{3^k} = \frac1{3^k} \geq \frac1{3^m}:

contrapositive: xy<3m\abs{x - y} < 3^{-m} forces agreement up to rank mm.

2. By question 1, bnb_n is constant on C(x3n,x+3n)C \cap (x - 3^{-n}, x + 3^{-n}): locally constant, hence continuous. The map x(bn(x))n{0,1}Nx \mapsto (b_n(x))_n \in \{0,1\}^\N is continuous (componentwise, Proposition 6.10(a)) and bijective (unique {0,2}\{0,2\}-digit expansions); from the compact CC to a Hausdorff space, it is a homeomorphism (Corollary 6.14).

3. Continuity: if xy<3m\abs{x - y} < 3^{-m}, the first mm digits agree, so g(x)g(y)n>m2n=2m\abs{g(x) - g(y)} \leq \sum_{n > m}2^{-n} = 2^{-m}. Surjectivity: every t[0,1]t \in [0,1] has a binary expansion t=bn2nt = \sum b_n2^{-n}, and t=g(2bn3n)t = g\bigl(\sum 2b_n3^{-n}\bigr). Not injective: gg identifies the two Cantor points with digits (0,1,1,1,)(0,1,1,1,\dots) and (1,0,0,)(1,0,0,\dots) — both map to 12\frac12 (the dyadic ambiguity 0.01112=0.100020.0111\ldots_2 = 0.1000\ldots_2).

4. Each component of Φ\Phi is continuous by the same estimate (its digits are a subsequence of the bnb_n). Surjectivity: given (s,t)[0,1]2(s, t) \in [0,1]^2, choose binary digits (cn)(c_n) of ss and (dn)(d_n) of tt, and interleave: the point xCx \in C with b2n1(x)=cnb_{2n-1}(x) = c_n, b2n(x)=dnb_{2n}(x) = d_n satisfies Φ(x)=(s,t)\Phi(x) = (s,t).

5. The gaps are pairwise disjoint with endpoints in CC, so the formula defines ff unambiguously on [0,1][0,1]; at the endpoints of a gap the affine formula returns Φ(u)\Phi(u), Φ(v)\Phi(v): consistent with f=Φf = \Phi on CC. Surjectivity: already f(C)=Φ(C)=[0,1]2f(C) = \Phi(C) = [0,1]^2.

6. At t0Ct_0 \notin C: t0t_0 lies in an open gap on which ff is affine: continuous. At xCx \in C: we first record two estimates.

(i) On CC: if yx3M\abs{y - x} \leq 3^{-M}, yCy \in C, then the digits agree up to MM, so each component of Φ(y)Φ(x)\Phi(y) - \Phi(x) is at most n>M/22n=2M/2\sum_{n > \lfloor M/2\rfloor} 2^{-n} = 2^{-\lfloor M/2\rfloor}.

(ii) Across a gap: a gap (u,v)(u,v) removed at stage kk has length 3k3^{-k}, and its endpoints have digits agreeing up to rank k1k - 1 (they differ from rank kk on), so Φ(v)Φ(u)2(k1)/2\norm{\Phi(v) - \Phi(u)}_\infty \leq 2^{-\lfloor (k-1)/2\rfloor}.

Now let tx<3M\abs{t - x} < 3^{-M} with tt in a gap (u,v)(u, v) of stage kk, and say uu is the endpoint on xx’s side, so ux<3M\abs{u - x} < 3^{-M} and 0<tu<3M0 < t - u < 3^{-M}. Then

f(t)Φ(x)Φ(u)Φ(x)+tuvuΦ(v)Φ(u)2M/2+min(1, 3kM)2(k1)/2.\norm{f(t) - \Phi(x)}_\infty \leq \norm{\Phi(u) - \Phi(x)}_\infty + \frac{t - u}{v - u}\,\norm{\Phi(v) - \Phi(u)}_\infty \leq 2^{-\lfloor M/2\rfloor} + \min\bigl(1,\ 3^{k - M}\bigr)\, 2^{-\lfloor(k-1)/2\rfloor} .

For kMk \geq M the last term is 2(M1)/2\leq 2^{-\lfloor(M-1)/2 \rfloor}; for k<Mk < M, since 2(k1)/222k/22^{-\lfloor(k-1)/2\rfloor} \leq \sqrt2\,\cdot 2^{-k/2},

3kM2(k1)/22(32)k3M2(32)M3M=2  2M/23^{k-M}\,2^{-\lfloor(k-1)/2\rfloor} \leq \sqrt2\,\Bigl(\frac{3}{\sqrt2}\Bigr)^{k} 3^{-M} \leq \sqrt2\,\Bigl(\frac{3}{\sqrt2}\Bigr)^{M} 3^{-M} = \sqrt2\; 2^{-M/2}

(the middle quantity increases in kk). In all cases f(t)Φ(x)C2M/2\norm{f(t) - \Phi(x)}_\infty \leq C\,2^{-M/2} with an absolute constant CC: letting MM \to \infty proves continuity at xx (points tCt \in C are covered by (i)). Hence ff is a continuous surjection [0,1][0,1]2[0,1] \to [0,1]^2 — indeed the estimates show it is Hölder of exponent log2/(2log3)\log 2/(2\log 3)-flavor, but continuity is all we claimed.

7. For [0,1]n[0,1]^n: split the digits of xCx \in C into nn interleaved subsequences and repeat questions 4–6 verbatim. For RR2\R \to \R^2: let h ⁣:[0,1][1,1]2h \colon [0,1] \to [-1,1]^2 be a continuous surjection (rescale ff). Define FF on [m,m+12][m, m + \frac12] (mZm \in \Z) as a copy of hh rescaled to fill [(m+1),m+1]2[-(m+1), m+1]^2 for m0m \geq 0 (and symmetrically for m<0m < 0), and on [m+12,m+1][m + \frac12, m + 1] as the affine segment joining the endpoint values: FF is continuous (gluing on closed pieces, Proposition 6.6(b)) and its image contains m[(m+1),m+1]2=R2\bigcup_m [-(m+1), m+1]^2 = \R^2.

8. [0,1][0,1] is compact and [0,1]2[0,1]^2 Hausdorff: a continuous injection is a homeomorphism onto its image (Corollary 6.14 applied to the corestriction).

9. Remove 12\frac12: [0,1]{12}[0,1]\setminus\{\frac12\} is disconnected. If h ⁣:[0,1][0,1]2h \colon [0,1] \to [0,1]^2 were a homeomorphism, [0,1]2{h(12)}[0,1]^2\setminus\{h(\frac12)\} would be disconnected too (homeomorphic images of disconnected spaces are disconnected); but the square minus a point is path-connected: join two points by a two-segment path avoiding the puncture. Contradiction: [0,1]≇[0,1]2[0,1] \not\cong [0,1]^2.

10. By question 8, an injective continuous surjection [0,1][0,1]2[0,1] \to [0,1]^2 would be a homeomorphism, contradicting question 9. Compactness entered exactly in Corollary 6.14: it is what makes the continuous bijection’s inverse continuous (images of closed sets are compact, hence closed). Without compactness the conclusion genuinely fails: [0,2π)S1[0, 2\pi) \to S^1 is a continuous bijection that is not a homeomorphism.

11. Proved here: there is a continuous surjection, but no continuous bijection, from [0,1][0,1] onto [0,1]2[0,1]^2; in particular [0,1]≇[0,1]2[0,1] \not\cong [0,1]^2. So “dimension” is not preserved by continuous surjections — cardinality and even continuity cannot see it — but it is a topological invariant at the level of homeomorphisms, at least for 11 versus 22 dimensions, where connectedness-after-deletion suffices. The general statement — invariance of domain: RmRn\R^m \cong \R^n implies m=nm = n, and a continuous injection RnRn\R^n \to \R^n is open — is true but requires algebraic topology (homology), beyond this course.

12. In ternary, C2={nan3n:an{0,1}}\frac C2 = \{\sum_na_n3^{-n} : a_n \in \{0, 1\}\} (halving digits {0,2}\{0,2\} gives digits {0,1}\{0,1\}). For t[0,1]t \in [0,1], pick any ternary expansion t=ndn3nt = \sum_nd_n3^{-n}, dn{0,1,2}d_n \in \{0,1,2\}, and split every digit as dn=an+bnd_n = a_n + b_n with an,bn{0,1}a_n, b_n \in \{0,1\} (0=0+00 = 0{+}0, 1=1+01 = 1{+}0, 2=1+12 = 1{+}1): then tC2+C2t \in \frac C2 + \frac C2. The crux is that each digit splits within {0,1}\{0,1\}, so no carry ever propagates and the digits can be treated independently. The reverse inclusion is clear (digit sums stay 2\leq 2). Rescaling by 22: C+C=[0,2]C + C = [0,2].

13. The map (x,y)x+y(x, y) \mapsto x + y sends C×CC \times C onto C+C=[0,2]C + C = [0,2]: the dust, which contains no square (empty interior: Exercise 6.10), projects along the antidiagonal onto a full segment. Self-similarity: the first ternary digit of a Cantor point is 00 or 22, and stripping it gives C=C3(C3+23)C = \frac C3 \cup \bigl(\frac C3 + \frac23\bigr) — the fixed-point equation that generates every picture of CC.

14. Through C{0,1}NC \cong \{0,1\}^\N (question 2), the interleaving (ε,ε)(ε1,ε1,ε2,ε2,)(\varepsilon, \varepsilon') \mapsto (\varepsilon_1, \varepsilon_1', \varepsilon_2, \varepsilon_2', \dots) is a bijection {0,1}N×{0,1}N{0,1}N\{0,1\}^\N\times\{0,1\}^\N \to \{0,1\}^\N, continuous both ways (each output coordinate depends on a single input coordinate; product topology). Hence C×CCC\times C \cong C and inductively CnCC^n \cong C. Familiar spaces do not share this: R2≇R\R^2 \not\cong \R and [0,1]2≇[0,1][0,1]^2 \not\cong [0,1] (question 11); infinite products do: ([0,1]N)2[0,1]N([0,1]^\N)^2 \cong [0,1]^\N by the same interleaving.

15. k1232k=21/911/9=14\sum_{k\geq1}2\cdot3^{-2k} = 2\cdot\frac{1/9}{1 - 1/9} = \frac14: the ternary expansion of 14\frac14 is 0.020.\overline{02}, with digits in {0,2}\{0,2\}, so 14C\frac14 \in C; being neither a finite expansion nor an eventually-22 tail, it is an endpoint of no removed middle third. Endpoints form a countable set (two per removed interval, countably many intervals), while C{0,1}NC \cong \{0,1\}^\N is uncountable (diagonal argument, or question 19): almost every Cantor point is, like 14\frac14, invisible in the usual endpoint picture.

16. g(x)=g(y)g(x) = g(y) means that the binary sequences (bn(x))(b_n(x)), (bn(y))(b_n(y)) represent the same real. Distinct binary sequences representing the same number occur exactly in the dyadic ambiguity 0.w01=0.w100.w01^\infty = 0.w10^\infty: at most two preimages, and exactly two precisely at the dyadic rationals of (0,1)(0,1). So gg collapses CC onto [0,1][0,1] by gluing countably many pairs — the combinatorial skeleton of the Cantor staircase of Chapter 9.

17. xx is not isolated in PP, so B(x,r/2)B(x, r/2) contains some y0P{x}y_0 \in P \setminus \{x\}; y0y_0 is not isolated either, so B(x,r/2)B(x, r/2) contains a second point y1Py_1 \in P. Any ρmin(d(y0,y1)3,r4)\rho \leq \min\bigl(\frac{d(y_0,y_1)}3, \frac r4\bigr) makes Bˉ(y0,ρ)\bar B(y_0, \rho) and Bˉ(y1,ρ)\bar B(y_1, \rho) disjoint and contained in B(x,r)B(x, r). Both are centered at points of PP, where the same two-point extraction can be repeated: perfection is the inexhaustible supply of nearby points that keeps the recursion alive forever.

18. Build FwF_w by induction on the word length: F=PF_\varnothing = P, and inside each ball B(yw,ρw)B(y_w, \rho_w) question 17 yields two disjoint closed balls of radius min(ρw/2, 2w1diamP)\leq \min(\rho_w/2,\ 2^{-\abs w-1}\operatorname{diam}P) centered at points of PP; set Fwi=Bˉ(ywi,ρwi)PF_{wi} = \bar B(y_{wi}, \rho_{wi}) \cap P: nonempty (its center) and compact. For infinite ε\varepsilon, the nested nonempty compacts Fε1εmF_{\varepsilon_1\cdots\varepsilon_m} have nonempty intersection (finite intersection property in the compact PP), of diameter 00: a single point h(ε)h(\varepsilon).

19. Words differing first at rank mm send their images into the two disjoint sets Fw0,Fw1F_{w0}, F_{w1} (common prefix ww): hh is injective. If two words agree to rank mm, both images lie in a set of diameter 2mdiamP\leq 2^{-m}\operatorname{diam}P: hh is continuous. So the uncountable {0,1}N\{0,1\}^\N injects into PP: every perfect compact metric space is uncountable — [0,1][0,1] and CC among them.

20. hh is a continuous injection from the compact {0,1}N\{0,1\}^\N to the Hausdorff (metric) PP: Corollary 6.14 upgrades it to a homeomorphism onto its image; and {0,1}NC\{0,1\}^\N \cong C (question 2). Every perfect compact metric space contains a copy of the Cantor set: perfection has a universal germ, and it is Cantor’s.

21. A countable compact metric space cannot be perfect (question 19), so it has an isolated point. In K={0}{1n:n1}K = \{0\}\cup\{\frac1n : n \geq 1\} every point 1n\frac1n is isolated and 00 is not: isolated points can even be dense without the space being discrete — compactness keeps their limit inside.

22. Let PP be the set of condensation points of FF and B\mathcal B the countable family of open intervals with rational endpoints. Every non-condensation point of FF lies in some IBI \in \mathcal B with IFI \cap F countable, so FPF \setminus P is contained in the union of these countably many countable traces: countable. Since FF is uncountable, PP \neq \varnothing; PP is closed (if xPx \notin P, the witnessing interval II contains no condensation point at all: IFI \cap F countable) and PFP \subseteq F (FF closed: a condensation point is in particular adherent). PP is perfect: were IP={x}I \cap P = \{x\} for some interval II, then IF{x}(FP)I \cap F \subseteq \{x\} \cup (F \setminus P) would be countable, contradicting xPx \in P. Now the tree construction of questions 17–19 runs verbatim inside PP: the pieces Bˉ(y,ρ)P\bar B(y, \rho) \cap P are compact (closed bounded subsets of R\R), every center is non-isolated in PP, and the argument never used more. Hence P{0,1}N=c\abs P \geq \abs{\{0,1\}^\N} = \mathfrak c, and Fc\abs F \leq \mathfrak c trivially: an uncountable closed FRF \subseteq \R has cardinality exactly c\mathfrak c. Closed sets cannot witness a failure of the continuum hypothesis.

23. Let xyx \neq y in CC and choose m0m \geq 0 with 3(m+1)xy<3m3^{-(m+1)} \leq \abs{x - y} < 3^{-m}. By question 1 the digits bn(x)=bn(y)b_n(x) = b_n(y) agree for nmn \leq m; the first coordinate of Φ\Phi uses b1,b3,b_1, b_3, \dots, the second b2,b4,b_2, b_4, \dots, so in each coordinate the two points share at least m/2\lfloor m/2\rfloor leading binary digits:

Φ(x)Φ(y)k>m/22k=2m/222m/2=2(3m)α2(3xy)α,\norm{\Phi(x) - \Phi(y)}_\infty \leq \sum_{k > \lfloor m/2\rfloor}2^{-k} = 2^{-\lfloor m/2\rfloor} \leq \sqrt2\cdot2^{-m/2} = \sqrt2\,\bigl(3^{-m}\bigr)^\alpha \leq \sqrt2\,\bigl(3\abs{x-y}\bigr)^\alpha,

using 2m/2=3mα2^{-m/2} = 3^{-m\alpha} (take logarithms); and 23α=22=2\sqrt2\cdot3^\alpha = \sqrt2\cdot\sqrt2 = 2: the bound 2xyα2\abs{x-y}^\alpha on CC. Same gap (u,v)(u, v): ff is affine there, so for t,s[u,v]t, s \in [u, v],

f(t)f(s)=tsvuΦ(v)Φ(u)tsvu2(vu)α2tsα,\norm{f(t) - f(s)} = \frac{\abs{t-s}}{v-u}\, \norm{\Phi(v) - \Phi(u)} \leq \frac{\abs{t-s}}{v-u}\,2(v-u)^\alpha \leq 2\abs{t-s}^\alpha,

since tsvu(tsvu)α\frac{\abs{t-s}}{v-u} \leq \bigl(\frac{\abs{t-s}} {v-u}\bigr)^\alpha when tsvu\abs{t-s} \leq v - u. General t<st < s: if [t,s][t, s] meets CC, let uu' and vv' be the smallest and largest points of the compact C[t,s]C \cap [t, s]; then tt lies in a gap (or at a point of CC) whose right endpoint is uu', ss in one with left endpoint vv', and

f(t)f(s)2tuα+2vuα+2svα6tsα;\norm{f(t) - f(s)} \leq 2\abs{t - u'}^\alpha + 2\abs{v' - u'}^\alpha + 2\abs{s - v'}^\alpha \leq 6\abs{t - s}^\alpha ;

if [t,s][t, s] misses CC, the same-gap case applies. So ff is α\alpha-Hölder with α=ln22ln3\alpha = \frac{\ln2}{2\ln3}.

24. Suppose F(t)F(s)Ctsα\norm{F(t) - F(s)} \leq C\abs{t-s}^\alpha with FF surjective and α>12\alpha > \frac12. Cut [0,1][0,1] into NN intervals I1,,INI_1, \dots, I_N of length 1N\frac1N: each image F(Ij)F(I_j) has diameter CNα\leq CN^{-\alpha}. Two distinct points of the grid GM={(iM,jM)}0i,jMG_M = \bigl\{\bigl(\frac iM, \frac jM\bigr)\bigr\}_{0 \leq i, j \leq M} are at distance 1M\geq \frac1M, so a set of diameter <1M< \frac1M contains at most one of them. Choose M=Nα/(2C)M = \lfloor N^\alpha/(2C)\rfloor (with NN large): then CNα12M<1MCN^{-\alpha} \leq \frac1{2M} < \frac1M, and surjectivity puts every one of the (M+1)2(M+1)^2 grid points into some F(Ij)F(I_j), whence

N2α4C2(M+1)2N,\frac{N^{2\alpha}}{4C^2} \leq (M + 1)^2 \leq N,

and N2α14C2N^{2\alpha - 1} \leq 4C^2 fails for large NN when 2α>12\alpha > 1: contradiction. Our curve, with α0.3155\alpha \approx 0.3155, sits below the wall, as it must; Hilbert’s curve (admitted) is 12\frac12-Hölder, so the critical exponent 12\frac12 is attained — Hölder regularity, unlike injectivity, is a matter of degree, and 12\frac12 is exactly the frontier that dimension 22 imposes on a map from dimension 11.

25. The mm-th cluster {1m+1n:n>m2}\{\frac1m + \frac1n : n > m^2\} lies in (1m,1m+1m2](1m,1m1)\bigl(\frac1m, \frac1m + \frac1{m^2}\bigr] \subseteq \bigl(\frac1m, \frac1{m-1}\bigr) for m2m \geq 2, because 1m11m=1m(m1)>1m2\frac1{m-1} - \frac1m = \frac1{m(m-1)} > \frac1{m^2} (and the first cluster lies in (1,32](1, \frac32]): the clusters occupy disjoint intervals. Limit points of KK: inside the mm-th interval, only 1m\frac1m (the cluster converges to it and is discrete in itself); globally, 00 (every neighborhood of 00 contains whole clusters). So K={0}{1m}K' = \{0\} \cup \{\frac1m\}, then K={0}K'' = \{0\} (each 1m\frac1m is isolated in KK'), K=K''' = \varnothing; KK contains its limit points, hence is closed, bounded, countable, compact, and its isolated points — the cluster points 1m+1n\frac1m + \frac1n — are dense in KK: every element of KK' is their limit, as question 21’s mechanism predicts. Induction: K1={0}{1n}K_1 = \{0\}\cup\{\frac1n\} has K1(1)={0}K_1^{(1)} = \{0\}; given a countable compact Kj[0,1]K_j \subseteq [0, 1] with Kj(j)={0}K_j^{(j)} = \{0\} and Kj(j+1)=K_j^{(j+1)} = \varnothing, set

Kj+1={0}m1(1m+εmKj),K_{j+1} = \{0\} \cup \bigcup_{m \geq 1} \Bigl(\frac1m + \varepsilon_m K_j\Bigr),

with εm\varepsilon_m small enough that the mm-th copy lies in (1m,1m1)\bigl(\frac1m, \frac1{m-1}\bigr). Derivation acts copy by copy (the copies live in disjoint open intervals), so Kj+1(i)={0}m(1m+εmKj(i))K_{j+1}^{(i)} = \{0\} \cup \bigcup_m\bigl(\frac1m + \varepsilon_mK_j^{(i)}\bigr) for iji \leq j; at i=ji = j this reads {0}{1m}\{0\} \cup \{\frac1m\}, then Kj+1(j+1)={0}K_{j+1}^{(j+1)} = \{0\} and Kj+1(j+2)=K_{j+1}^{(j+2)} = \varnothing. Every finite rank occurs. A perfect set is the other extreme: P=PP' = P, the derivation never moves — and Cantor–Bendixson (question 22) says precisely that every closed set splits into a perfect core, invisible to derivation, and a countable remainder that derivation eats away.