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 , 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 with : topology can distinguish dimensions.
6.1 Topologies, open sets, continuity
Definition 6.1
A topology on a set is a family of subsets of — called open sets — such that: ; any union of open sets is open; any finite intersection of open sets is open. The pair is a topological space. Complements of open sets are closed. A neighborhood of is a set containing an open set containing .
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 . (c) The cofinite topology on an infinite set: open empty or cofinite. Not metrizable, as we shall see (Exercise 6.3). (d) On , the usual topology; on , the order topology generated by rays — making “” an instance of plain convergence.
Definition 6.3
For : the interior is the largest open set inside (union of all of them); the closure the smallest closed set containing ; the boundary . is dense if . One has iff every neighborhood of meets (if some neighborhood misses , its open core’s complement is a smaller closed set around ; conversely).
Definition 6.4
A basis of is a family such that every open set is a union of members of (e.g. open balls in a metric space; open intervals in ). A family of subsets of is a basis of some topology iff it covers and, for and , some has — then “unions of members” is a topology, the topology generated by .
Definition 6.5
is continuous if is open for every open — equivalently, preimages of closed sets are closed; equivalently, for every and neighborhood of , is a neighborhood of (continuity at each ). It suffices to check on a basis of . 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) is continuous iff for all . (b) If with closed and restricts continuously to each , then is continuous.
Proof. (a) If continuous: is closed and contains , hence contains . Conversely apply the criterion to , closed: , so : preimages of closed sets are closed. (b) For closed: , a union of two sets closed in , resp. , hence closed in ( closed: closed-in-closed is closed). ∎
Definition 6.7
is Hausdorff (or separated) if any two distinct points have disjoint neighborhoods. Metric spaces are Hausdorff (balls of radius ). A sequence converges to if every neighborhood of contains all but finitely many ; 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: iff some sequence of converges to (take ), and 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:
- Subspace: on , the open sets are the , open in — the coarsest topology making the inclusion continuous.
- Product: on (and finite products), the topology with basis the open boxes ; on an infinite product , the basis consists of boxes with for all but finitely many — the coarsest topology making every projection continuous.
- Quotient: if is an equivalence on and the projection, declare open iff is open — the finest topology making continuous.
Proposition 6.10 (Universal properties)
(a) is continuous iff both components , are (same for arbitrary products). (b) is continuous iff is.
Proof. (a) Necessity: compositions. Sufficiency: it is enough to check preimages of basis boxes: , open (finitely many factors in the infinite case). (b) Necessity: composition. Sufficiency: for open, is open, which by definition of the quotient topology means is open. ∎
Example 6.11
The quotient (identify and ) is homeomorphic to the circle : the map passes to a continuous bijection (Proposition 6.10(b)); its inverse is continuous by the compactness argument of Corollary 6.14 below (Exercise 6.5 details everything, including why is Hausdorff and compact). Likewise with endpoints glued is , 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 is a family of open sets with . 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 be compact.
- A closed subset of is compact; a compact subset of a Hausdorff space is closed.
- A continuous image of a compact space in a Hausdorff space is compact. In particular a continuous is bounded and attains its bounds.
- A decreasing sequence of nonempty closed subsets of has nonempty intersection.
Proof. (1) Let closed and an open cover of (by opens of ): adding gives an open cover of ; a finite subcover, minus , covers . Subspace Hausdorff is clear. Conversely let compact, Hausdorff, and : for each pick disjoint open , ; finitely many cover , and the intersection of the corresponding is a neighborhood of disjoint from ’s cover, hence from : the complement of is open.
(2) If covers , then covers ; a finite subcover downstairs comes from the finite subcover upstairs. The image is Hausdorff as a subspace. For real: is compact in , hence closed and bounded (cover by for boundedness; closed by (1)), and a closed bounded set contains its supremum.
(3) If , the opens cover ; finitely many suffice, so some (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 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 . Hausdorff is inherited (separate in one coordinate). Let be an open cover of ; we may assume the are basis boxes (refine: each point sits in a box inside some ; a finite subcover of boxes yields one of ’s). Fix : the slice is compact, so finitely many boxes cover it, with for all ; then is an open neighborhood of with covered by finitely many boxes (the tube lemma: for , for some since the boxes covered at level , and , so ). Now finitely many cover the compact ; the corresponding finite collections of boxes cover . ∎
Theorem 6.16 (Compactness in metric spaces)
For a metric space , the following are equivalent:
- is compact (Borel–Lebesgue);
- every sequence in has a convergent subsequence (sequential compactness — Year 2’s definition);
- is complete and totally bounded: for every , finitely many balls of radius cover .
Proof. (1)(2): Let have no convergent subsequence. Then each has an open ball containing for only finitely many (otherwise a subsequence converges to : take radii ). Finitely many cover , so only finitely many indices exist: absurd.
(2)(3): Completeness: a Cauchy sequence with a convergent subsequence converges (Year 2). Total boundedness: if some admits no finite cover, choose inductively outside : the sequence has for , no Cauchy subsequence, no convergent one.
(3)(1): First, (3) implies (2): given , cover by finitely many balls of radius : one, , contains a subsequence; cover by balls of radius : one contains a further subsequence; iterate and diagonalize: the diagonal subsequence is Cauchy (two terms beyond stage lie in a common ball of radius , up to the usual ), hence converges. Now let be an open cover and suppose no finite subcover. Lebesgue number argument: for each , some ball is not covered by finitely many — indeed, cover by finitely many balls of radius ; if each were finitely covered, so would be. By (2), a subsequence ; pick with and with . For large , : covered by one — contradiction. ∎
Corollary 6.17 (Heine–Borel; Heine)
(a) A subset of 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 contained in a cube , which is compact: 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 , . The balls with cover ; extract a finite subcover and set . If : for some , and then both , so . ∎
Definition 6.18
is locally compact if it is Hausdorff and every point has a compact neighborhood (; open subsets of ; discrete spaces — but not , see Exercise 6.9). Every locally compact space embeds in a compact one: the one-point compactification , whose opens are those of together with the complements (in ) of compact subsets of . One checks the axioms directly; is compact (a cover has a member containing , whose complement is compact, covered by finitely many others) and Hausdorff (separate from by a compact neighborhood of and its complement). Example: , and by stereographic projection (Exercise 6.11).
6.4 Connectedness
Definition 6.19
is connected if it is not the union of two disjoint nonempty open sets — equivalently, its only subsets both open and closed are and ; equivalently, every continuous map (discrete) is constant. A subset is connected if it is as a subspace.
Theorem 6.20
- The connected subsets of are exactly the intervals.
- 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).
- If are connected with a common point, is connected. If is connected and , then is connected.
- Finite products of connected spaces are connected.
Proof. Throughout we use the -criterion: continuous must be constant.
(1) A non-interval misses some between : disconnects. Conversely let be an interval and continuous with , , . Let ; continuity at forces (limit of values : every neighborhood of meets ; is closed) and then with on , so by the same closure argument on : contradiction.
(2) A continuous yields constant, so is constant on the image.
(3) A continuous is constant on each , with the same value at the common point. For the closure: is constant on ; any is in the closure of , and is a neighborhood of (preimage of open), which must meet : .
(4) For and : any two points are joined by the “elbow” , a union of two connected sets (homeomorphic to , ) meeting at : by (3) and (2), agrees on the two points. ∎
Definition 6.21
is path-connected if any two points are joined by a path (continuous ). Path-connected implies connected: two values of a continuous at are values of the constant (Theorem 6.20(1)–(2)). Convex subsets of normed spaces are path-connected (segments); so are for (go around the origin), and for (project paths from ).
Example 6.22 (The topologist’s sine curve)
Let and (every point , , is a limit of points of : solve near ). Then is connected — closure of the connected , a continuous image of (Theorem 6.20(3)) — but not path-connected: a path from to would have to traverse abscissas while the ordinate oscillates between ; Exercise 6.9 makes this rigorous. Connectedness and path-connectedness genuinely differ.
Definition 6.23
The connected component of is the union of all connected subsets containing — the largest one (Theorem 6.20(3)). Components partition and are closed (closures of connected sets are connected). is totally disconnected if all components are singletons (; the Cantor set of the weekend problem).
Theorem 6.24
is homeomorphic to no with .
Proof. Suppose is a homeomorphism. Removing a point: is homeomorphic to . But is disconnected, while is path-connected for (Definition 6.21; translate the point to ): connectedness is a homeomorphism invariant (Theorem 6.20(2)) — contradiction. (That requires finer invariants — algebraic topology; the weekend problem shows the danger: continuous surjections 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 and ).
6.5 Exercises
Exercise 6.1 ★
(a) List all topologies on , classify them up to homeomorphism, and determine which ones are connected and which are Hausdorff. (b) In (usual topology), compute interior, closure and boundary of , of , and of .
Solution
Solution of Exercise 6.1.
(a) Four topologies on : indiscrete ; discrete; the two Sierpiński topologies and . The last two are homeomorphic (swap ): 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, ’s only neighborhood is , or ’s).
(b) : interior (every interval contains irrationals), closure (density), boundary . : interior , closure , boundary . : interior , closure , boundary the closure itself.
Exercise 6.2 ★
(a) Show that is continuous iff is open for every in a fixed basis of . (b) Show that is not continuous but is right-continuous. Verify that the half-open intervals form a basis of a topology on the source (the Sorgenfrey line), that this topology is strictly finer than the usual one, and that a function (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 is a union of basis sets, and : if the latter are open, so is the former; the converse is trivial.
(b) is not open: is not continuous; right-continuity at each point is clear ( is locally constant on the right of every point). The sets satisfy the basis criterion (Definition 6.4): . The Sorgenfrey topology is finer than the usual one, since ; strictly: is Sorgenfrey-open, not usual-open. Continuity from the Sorgenfrey line at : a Sorgenfrey neighborhood of contains a basis set , hence contains — so the continuity condition reads: for every there is with whenever . That is exactly right-continuity at .
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 be injective and arbitrary: a neighborhood of contains a cofinite open ; the finitely many points of are hit by at most finitely many indices (injectivity), so a tail of the sequence lies in : , for every . The uniqueness proof needs two disjoint neighborhoods to separate two alleged limits — precisely what fails here.
Exercise 6.4 ★★
(a) Show that the projections of a product are continuous and open (images of opens are open), but not closed in general ( in ). (b) Show that a sequence in a countable product of metric spaces converges iff each coordinate converges, and that metrizes the product topology. (c) On , show that the “box topology” (all products of opens are open) is strictly finer: the sequence converges to 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 is a union of boxes , and (nonempty boxes project onto their factors), open. Not closed: is closed in (preimage of under the continuous product), but is not closed.
(b) () Projections are continuous. () Let componentwise and a basis neighborhood of , with except for finite. For each , for ; for , . The formula defines a metric (each summand is one, up to the standard verification that is); its balls: contains the basis box for suitable (the tail is small), and conversely every basis box contains a -ball: the two topologies have the same neighborhoods of each point.
(c) In the product topology, by (b). The box-open set contains , but for every (the -th coordinate when ): no tail enters . 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) ; (ii) (quotient topology); (iii) . (For (ii): show is Hausdorff — lift two classes to representatives at distance — and that is everything, so the quotient is compact; then use Corollary 6.14.)
Solution
Solution of Exercise 6.5.
, , is continuous, surjective, and constant on classes mod : it induces a continuous bijection (Proposition 6.10(b)). The projection is open: for open, is open, so is open. Hausdorff: let ; choose representatives with ; the images of the intervals of radius around and are open (openness of ), contain , and are disjoint (two preimage points would be apart mod ). Compact: , a continuous image of a compact space (Theorem 6.13(2)). Now is a continuous bijection from a compact space to the Hausdorff : a homeomorphism (Corollary 6.14).
For (iii): the composite is continuous, surjective, and identifies exactly : it induces a continuous bijection from a compact space (continuous image of under the quotient projection) to a Hausdorff one: a homeomorphism. Composing: all three spaces are homeomorphic.
Exercise 6.6 ★★
Let be a metric space. (a) Show that a finite union of compact subsets is compact, and that an arbitrary intersection is. (b) If is compact, closed, , show ; give a counterexample with two disjoint closed sets. (c) Show that is compact iff every continuous is bounded. (If some sequence has no convergent subsequence, build an unbounded continuous function supported near its terms; or use -type functions — one clean route: if has no cluster point, the set is closed and discrete, and extends continuously by Tietze-free means: for small enough .)
Solution
Solution of Exercise 6.6.
(a) A cover of restricts to a cover of each : finitely many opens per piece suffice. An intersection is closed in the compact (compacts are closed in the ambient metric space), hence compact.
(b) is continuous (-Lipschitz) and strictly positive on ( means ); on the compact it attains a minimum : . Counterexample without compactness: and are closed, disjoint, at distance .
(c) If is compact, every continuous is bounded (Theorem 6.13(2)). Conversely, if is not compact, take with no convergent subsequence (Theorem 6.16); passing to a subsequence we may assume the pairwise distinct, and no point of is a cluster point of the sequence, so
and the balls are pairwise disjoint (a common point of the -th and -th would give ). Define
at each at most one summand is nonzero, and . Continuity at : let ; each value is either or a single bump value . If some index occurs infinitely often, along that subsequence , which equals (if , the whole tail lies in this open ball and no other index occurs; if then , since , adherent to the -th ball, lies in no other open ball). If : , so , making a cluster point of — excluded; so this case concerns finitely many only. In every case : is continuous, and unbounded.
Exercise 6.7 ★★
(Lebesgue number) Let be an open cover of a compact metric space . Show there is such that every subset of diameter lies in a single . (Otherwise pick of diameter in no , and a cluster point of chosen .) Deduce Heine’s theorem (Corollary 6.17(b)) again.
Solution
Solution of Exercise 6.7.
Suppose no works: for each there is of diameter contained in no single ; pick . By compactness (Theorem 6.16), a subsequence ; pick and with . For large : and , so — contradiction. Heine: given , cover by balls ; the preimages form an open cover of ; let be a Lebesgue number: if , the pair has diameter , lies in one preimage, and .
Exercise 6.8 ★★
(a) Show that is an open, dense subset of , and that it is disconnected: the sign of the determinant separates it into (at least) two pieces. Show on the other hand that is path-connected. (For : is a polynomial, not identically zero, so it has finitely many roots in : pick a path of ’s in from to avoiding them.) (b) Prove density: is invertible for small .
Solution
Solution of Exercise 6.8.
(a) is open ( is polynomial, continuous). Disconnected: maps it onto , and a connected space has connected continuous images (Theorem 6.20(2)); is not an interval. : for invertible, is a polynomial in with , hence not identically zero: it has finitely many roots in . The plane minus finitely many points is path-connected (avoid the points by going around), so there is a path from to with : is a path in .
(b) vanishes for at most values of : invertible matrices as : density.
Exercise 6.9 ★★
(a) Show that the connected components of are the singletons, and that is not locally compact (a compact neighborhood of in would contain , whose closure in is not compact: cut at an irrational). (b) Complete Example 6.22: no path joins to . (If is such a path, let ; for the point moves on the graph; choose with hitting abscissas where is alternately — the intermediate value theorem supplies them — contradicting continuity of at .)
Solution
Solution of Exercise 6.9.
(a) Let contain and pick an irrational : splits into two nonempty relatively open pieces: is disconnected. Components are singletons. Local compactness fails: a compact neighborhood of in contains for some , which is closed in , hence compact; but a sequence of rationals in converging (in ) to an irrational has no subsequence converging in : contradiction with Theorem 6.16.
(b) Let be a path with and . The set is closed and does not contain ; let be its supremum, so and on . By continuity of at , choose with for . Fix (may assume ): , and takes every value of on (intermediate value theorem, Theorem 6.20). Choose large with and : there are with , ; since the points lie on the graph, and . Both cannot be within of : contradiction. is connected but not path-connected.
Exercise 6.10 ★★★
The middle-thirds Cantor set , where and removes the open middle third of each interval of . (a) Show , and that is compact, with empty interior, and has no isolated point (perfect). (b) Show that is totally disconnected. (c) Show that is a homeomorphism (product topology on the discrete two-point space); deduce that is uncountable, and that .
Solution
Solution of Exercise 6.10.
(a) consists exactly of the admitting a ternary expansion with digits in up to rank (induction: removing middle thirds removes first digit , etc.; endpoints have two expansions, one avoiding s), so is the set of sums , . Compact: each is a finite union of closed intervals; is closed in . Empty interior: , a union of intervals of length ; an interior interval of length would fit in one of them for all . Perfect: given and , flip the digit : the new point is in , distinct, within of .
(b) If , their expansions first differ at some rank ; between them lies a removed middle-third interval (the gap at rank separating digit from digit ), providing a point , (say): splits any subset containing both points. Components are singletons.
(c) The digit map is a bijection onto (existence and uniqueness of -expansions: distinct digit sequences give points at distance where they first differ, as in Problem 6.1, question 1). It is continuous: forces agreement of the first digits (same computation), so maps small balls into basis boxes. A continuous bijection from the compact to the Hausdorff product is a homeomorphism (Corollary 6.14; the product is Hausdorff: separate at a differing coordinate). Uncountability: Cantor’s diagonal on . Finally by interleaving digits (a homeomorphism: componentwise continuity both ways), so .
Exercise 6.11 ★★★
Stereographic projection: from the north pole of , the map is a homeomorphism (give the inverse explicitly). Deduce that is homeomorphic to the one-point compactification , and that removing any point of leaves a space homeomorphic to .
Solution
Solution of Exercise 6.11.
For , set
One checks , , and , : and are mutually inverse, both continuous (rational formulas with nonvanishing denominators): . Extend to by : a bijection, continuous at every point of , and at : a basis neighborhood of is , compact, ; since as , the set maps outside for small : continuity. A continuous bijection from the compact to the Hausdorff is a homeomorphism. Removing another point : a rotation of maps to (rotations are homeomorphisms), reducing to the computed case: .
Exercise 6.12 ★★★
(The topologist’s sine curve) Let
(a) Show that is compact, and that it is the closure of the graph part. (b) Show that is connected (the graph is connected as a continuous image; its closure remains connected). (c) Show that is not path-connected: no continuous path joins to . (If is such a path, let ; just after , takes all small positive values (intermediate value theorem), so oscillates between on every interval — contradict continuity at .) (d) Conclude that path-connectedness is strictly stronger than connectedness, and show that no such example can be open in : an open connected subset of 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) is bounded, and closed: a limit of points of with abscissas stays on the (locally closed) graph by continuity of on ; a limit with abscissas has ordinate in , hence lies in the segment. Compact by Heine–Borel (Corollary 6.17). Closure of the graph : every point , , is a limit of graph points — solve near (the function sweeps on each interval ): .
(b) is the continuous image of the connected under : connected; and the closure of a connected set is connected (Theorem 6.20): is connected.
(c) Suppose is continuous with , , and let : by continuity and on . For every , the interval has taking all values in some (intermediate value theorem, ); in particular it contains abscissas of the form and for arbitrarily large , at which . So on every right-neighborhood of , takes both values and : has no limit at , contradicting continuity. No path exists.
(d) is connected but not path-connected: the two notions differ. For open connected and , let be the set of points of joinable to by a path in . is open: around a ball is starlike, and concatenating the path to with a segment reaches every point of the ball. is closed in : if , the same ball argument shows (a point of in the ball would join to ). Nonempty (), open and closed in the connected : . The sine curve evades this by being closed with empty interior: its “bad” point has no ball inside 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 : a curve filling a square. We build one with bare hands from the Cantor set 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 are written with digits .
Part I — Reading off digits continuously.
- Show that if satisfy , then for all . (If the first differing digit is , then .)
- Deduce that each digit function is continuous, and re-derive the homeomorphism of Exercise 6.10(c).
Part II — A continuous surjection .
- Define by (read the Cantor digits as binary). Show that is continuous (use question 1) and surjective. Is it injective?
Define by
(odd digits give the abscissa, even digits the ordinate). Show that is continuous and surjective.
Part III — Filling the gaps: the Peano curve.
The complement is a countable union of disjoint open intervals (the removed middle thirds) whose endpoints lie in . Define by on , extended affinely on each gap:
Show that is well defined and surjective onto .
- Show that is continuous at every point of (locally affine), and at every point of : given , pick with and use question 1 to control on near , then check that the affine interpolation cannot escape: on a gap , the values lie on the segment , both ends close to . Conclude: is a continuous surjection .
- Deduce continuous surjections for every , and .
Part IV — But never injective.
- Show that a continuous injection would be a homeomorphism onto its image (Corollary 6.14).
- Show that and are not homeomorphic: remove a well-chosen point and compare connectedness (Method 6.25).
- Conclude: a continuous surjection can never be injective — an injective one would make homeomorphic to by question 8, contradicting question 9. Where exactly did compactness of enter the argument?
- (Culmination) Assemble the moral: there is a continuous surjection but no continuous bijection . 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.
- Prove that : given , write with digits and split each digit as with ; conclude that (which subset of is , in terms of ternary digits?), then rescale. No carries are ever needed — say why this is the crux.
- Interpret geometrically: the “Cantor dust” , of empty interior, casts a full shadow on the diagonal: the projection maps it onto . Also record the self-similarity , the equation behind every picture of .
- Show that digit interleaving defines a homeomorphism , and deduce for every — the Cantor set is its own square, cube, … Which familiar spaces share this property?
- Show that (compute its ternary expansion: ) although is an endpoint of no removed interval; deduce — counting endpoints — that endpoints form a countable, proper subset of .
- Show that the binary-reading map of question 3 is at most -to-, and describe exactly which points of have two preimages. ( collapses onto 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 is perfect if it has no isolated point.
- Let be perfect compact and let , . Show that the ball contains two points of , and hence two disjoint closed balls , inside , centered at points of , of radius 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.
- Iterate: build closed sets indexed by finite binary words , with disjoint and . Show that for every infinite word the intersection is a single point (finite intersection property of the compact ).
- Show that is injective and continuous, and conclude: every perfect compact metric space is uncountable — in fact of cardinality at least that of . Recover: and are uncountable.
- Show that 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.
- Deduce that every countable compact metric space has an isolated point, and exhibit one where the isolated points are dense but not everything: .
- (Cantor–Bendixson for ) Let be closed. Call a condensation point of if every neighborhood of meets uncountably. Show that the condensation points of an uncountable closed form a nonempty perfect closed set , and is countable (cover the non-condensation points by countably many rational intervals meeting countably). Conclude: every closed subset of 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.
(Hölder regularity of the curve) Set , and note the identity . Using question 1, show that
then propagate the estimate through the affine gaps: show that the Peano curve of question 6 satisfies on all of (treat a pair in the same gap by interpolation, then a general pair by passing through the extreme points of ).
- (The exponent is a wall) Show that no surjection can be -Hölder with : cut into intervals, bound the diameters of their images, and count the points of the grid , , that a set of diameter can contain; choose of order and let . Locate our curve () relative to the wall, and record without proof that Hilbert’s curve achieves the critical exponent .
(Derived sets: measuring imperfection) For closed in , let be the set of limit points of (a closed subset), and iterate: , . Verify that
is a countable compact set with , , (check that the -th cluster lives in the interval , so the clusters do not interleave), and that its isolated points are dense in , as question 21 predicts. Describe the induction producing, for every , a countable compact with and , 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 first differ at rank , say , . Then
contrapositive: forces agreement up to rank .
2. By question 1, is constant on : locally constant, hence continuous. The map is continuous (componentwise, Proposition 6.10(a)) and bijective (unique -digit expansions); from the compact to a Hausdorff space, it is a homeomorphism (Corollary 6.14).
3. Continuity: if , the first digits agree, so . Surjectivity: every has a binary expansion , and . Not injective: identifies the two Cantor points with digits and — both map to (the dyadic ambiguity ).
4. Each component of is continuous by the same estimate (its digits are a subsequence of the ). Surjectivity: given , choose binary digits of and of , and interleave: the point with , satisfies .
5. The gaps are pairwise disjoint with endpoints in , so the formula defines unambiguously on ; at the endpoints of a gap the affine formula returns , : consistent with on . Surjectivity: already .
6. At : lies in an open gap on which is affine: continuous. At : we first record two estimates.
(i) On : if , , then the digits agree up to , so each component of is at most .
(ii) Across a gap: a gap removed at stage has length , and its endpoints have digits agreeing up to rank (they differ from rank on), so .
Now let with in a gap of stage , and say is the endpoint on ’s side, so and . Then
For the last term is ; for , since ,
(the middle quantity increases in ). In all cases with an absolute constant : letting proves continuity at (points are covered by (i)). Hence is a continuous surjection — indeed the estimates show it is Hölder of exponent -flavor, but continuity is all we claimed.
7. For : split the digits of into interleaved subsequences and repeat questions 4–6 verbatim. For : let be a continuous surjection (rescale ). Define on () as a copy of rescaled to fill for (and symmetrically for ), and on as the affine segment joining the endpoint values: is continuous (gluing on closed pieces, Proposition 6.6(b)) and its image contains .
8. is compact and Hausdorff: a continuous injection is a homeomorphism onto its image (Corollary 6.14 applied to the corestriction).
9. Remove : is disconnected. If were a homeomorphism, 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: .
10. By question 8, an injective continuous surjection 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: is a continuous bijection that is not a homeomorphism.
11. Proved here: there is a continuous surjection, but no continuous bijection, from onto ; in particular . 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 versus dimensions, where connectedness-after-deletion suffices. The general statement — invariance of domain: implies , and a continuous injection is open — is true but requires algebraic topology (homology), beyond this course.
12. In ternary, (halving digits gives digits ). For , pick any ternary expansion , , and split every digit as with (, , ): then . The crux is that each digit splits within , so no carry ever propagates and the digits can be treated independently. The reverse inclusion is clear (digit sums stay ). Rescaling by : .
13. The map sends onto : 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 or , and stripping it gives — the fixed-point equation that generates every picture of .
14. Through (question 2), the interleaving is a bijection , continuous both ways (each output coordinate depends on a single input coordinate; product topology). Hence and inductively . Familiar spaces do not share this: and (question 11); infinite products do: by the same interleaving.
15. : the ternary expansion of is , with digits in , so ; being neither a finite expansion nor an eventually- tail, it is an endpoint of no removed middle third. Endpoints form a countable set (two per removed interval, countably many intervals), while is uncountable (diagonal argument, or question 19): almost every Cantor point is, like , invisible in the usual endpoint picture.
16. means that the binary sequences , represent the same real. Distinct binary sequences representing the same number occur exactly in the dyadic ambiguity : at most two preimages, and exactly two precisely at the dyadic rationals of . So collapses onto by gluing countably many pairs — the combinatorial skeleton of the Cantor staircase of Chapter 9.
17. is not isolated in , so contains some ; is not isolated either, so contains a second point . Any makes and disjoint and contained in . Both are centered at points of , 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 by induction on the word length: , and inside each ball question 17 yields two disjoint closed balls of radius centered at points of ; set : nonempty (its center) and compact. For infinite , the nested nonempty compacts have nonempty intersection (finite intersection property in the compact ), of diameter : a single point .
19. Words differing first at rank send their images into the two disjoint sets (common prefix ): is injective. If two words agree to rank , both images lie in a set of diameter : is continuous. So the uncountable injects into : every perfect compact metric space is uncountable — and among them.
20. is a continuous injection from the compact to the Hausdorff (metric) : Corollary 6.14 upgrades it to a homeomorphism onto its image; and (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 every point is isolated and is not: isolated points can even be dense without the space being discrete — compactness keeps their limit inside.
22. Let be the set of condensation points of and the countable family of open intervals with rational endpoints. Every non-condensation point of lies in some with countable, so is contained in the union of these countably many countable traces: countable. Since is uncountable, ; is closed (if , the witnessing interval contains no condensation point at all: countable) and ( closed: a condensation point is in particular adherent). is perfect: were for some interval , then would be countable, contradicting . Now the tree construction of questions 17–19 runs verbatim inside : the pieces are compact (closed bounded subsets of ), every center is non-isolated in , and the argument never used more. Hence , and trivially: an uncountable closed has cardinality exactly . Closed sets cannot witness a failure of the continuum hypothesis.
23. Let in and choose with . By question 1 the digits agree for ; the first coordinate of uses , the second , so in each coordinate the two points share at least leading binary digits:
using (take logarithms); and : the bound on . Same gap : is affine there, so for ,
since when . General : if meets , let and be the smallest and largest points of the compact ; then lies in a gap (or at a point of ) whose right endpoint is , in one with left endpoint , and
if misses , the same-gap case applies. So is -Hölder with .
24. Suppose with surjective and . Cut into intervals of length : each image has diameter . Two distinct points of the grid are at distance , so a set of diameter contains at most one of them. Choose (with large): then , and surjectivity puts every one of the grid points into some , whence
and fails for large when : contradiction. Our curve, with , sits below the wall, as it must; Hilbert’s curve (admitted) is -Hölder, so the critical exponent is attained — Hölder regularity, unlike injectivity, is a matter of degree, and is exactly the frontier that dimension imposes on a map from dimension .
25. The -th cluster lies in for , because (and the first cluster lies in ): the clusters occupy disjoint intervals. Limit points of : inside the -th interval, only (the cluster converges to it and is discrete in itself); globally, (every neighborhood of contains whole clusters). So , then (each is isolated in ), ; contains its limit points, hence is closed, bounded, countable, compact, and its isolated points — the cluster points — are dense in : every element of is their limit, as question 21’s mechanism predicts. Induction: has ; given a countable compact with and , set
with small enough that the -th copy lies in . Derivation acts copy by copy (the copies live in disjoint open intervals), so for ; at this reads , then and . Every finite rank occurs. A perfect set is the other extreme: , 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.