Read connectedness, paths and compact Hausdorff spaces first. No separation axiom is assumed unless stated. The compact-Hausdorff normality theorem was proved in the separation chapter and will be used explicitly. The examples carry their subspace topologies from the plane or line.
Motivation
A disconnected space may contain many maximal connected pieces, but those pieces need not be open. Paths give another partition, which may be strictly finer. A third test uses clopen sets: can the point be separated from another point by an open-and-closed neighborhood?
These tests coincide in familiar Euclidean open sets, concealing their different meanings. We will construct the partitions carefully, identify the exact local hypotheses that make their pieces open, and prove a compactness theorem under which clopen separation completely detects connected components.
Definitions
Definition 4.2.1
(Connected, path-connected and clopen sets)
A subset is connected if its subspace topology has no separation into two nonempty disjoint open sets. It is path connected if any two points are joined by a continuous map from into it. A set is clopen when it is both open and closed.
Definition 4.2.2
(Components, path components and quasicomponents)
For in , let be the union of all connected subsets containing . Let be the set of points joined to by paths. The quasicomponent is
itself belongs to that family, so the intersection is defined. Saying belongs to means no clopen set separates the pair: a clopen set containing but not would have a complement containing but not .
Concept lensStructural
Quasicomponents through maps to a two-point space
Give the discrete topology. A set is clopen exactly when its indicator function is continuous. Hence
In the same language, is connected exactly when every such is constant. A quasicomponent collects the points that no two-valued continuous test can tell apart from .
Definition 4.2.3
(Local connectedness and total disconnectedness)
is locally connected if every neighborhood of every point contains a connected open neighborhood of that point. It is locally path connected if one may require a path-connected open neighborhood instead. Here a neighborhood need not itself be open, but contains an open set about the point. is totally disconnected if its connected components are singletons; this does not mean it is discrete.
Theorem/proposition
Theorem 4.2.4
(Three component tests)
is the unique maximal connected set containing , and connected components partition into closed sets. Path components also partition , and
Quasicomponents partition into closed sets too. Path components need not be closed, and connected components need not be open.
Theorem 4.2.5
(Local connectedness through open subsets)
is locally connected exactly when every component of every open subset of is open in . Replacing both occurrences of connectedness by path connectedness gives the corresponding characterization of local path connectedness. In a locally path-connected space, connected components and path components coincide and are open.
Theorem 4.2.6
(Compact Hausdorff spaces: components equal quasicomponents)
If is compact Hausdorff, then for every . Consequently a compact Hausdorff totally disconnected space has a basis of clopen sets. Conversely a Hausdorff space with a clopen basis is totally disconnected. These statements do not make the space discrete.
Proof sketch or proof idea
Proof
(Unions, closures and clopen traps)
A union of connected sets sharing is connected. Indeed a separation of the union would place on one side, and connectedness forces each member entirely onto that side. Thus is connected. Any connected set meeting has connected union with it, so maximality forces that set into . Hence intersecting components agree, giving a partition.
The closure of a connected set is connected. If its closure had a separation, every nonempty relatively open side would meet by density. The two sides would then separate , impossible. Applying this to a component makes its closure a connected superset, hence equal to itself. Components are therefore closed without a Hausdorff hypothesis.
Constant paths, reversal and concatenation make path-joining an equivalence relation. is itself path connected: concatenate a path to with a path from . Every path image is connected, since is connected and continuous images preserve connectedness, so lies in . A connected set containing lies entirely inside every clopen containing ; otherwise and its complement separate it. This proves lies in . Having the same membership pattern in all clopen sets is an equivalence relation, whose classes are the . Each is closed by its intersection definition.
Proof
(Components of open subsets)
Suppose is locally connected and is a component of an open . For each in , choose a connected open neighborhood with . It meets and so lies in . Their union shows is open. Conversely, the component of in any given open is a connected open neighborhood contained in , giving local connectedness. The same proof with paths uses maximal path components and proves the path version.
In a locally path-connected space every path component of is open; its complement is the union of the other open path components. A connected component cannot meet two such relatively clopen pieces. Since each path component already lies in a connected component, they coincide. Checking only that the components of are open would be insufficient: the criterion concerns every open subset.
Proof
(Normality, then a finite clopen intersection)
Now let be compact Hausdorff and fix . is closed and hence compact. Suppose it were disconnected, with a partition into two nonempty relatively closed sets, and label so belongs to . Both and are compact, hence closed in . Compact-Hausdorff normality supplies disjoint open containing respectively. Put , a compact set disjoint from .
For every in , the definition of gives a clopen containing but not . Their complements cover , so finitely many suffice. Their intersection is clopen, contains , and lies in . If is empty take . Now
is both open and closed in : openness uses and , closedness uses the expression on the right. It contains but excludes , contradicting that every clopen neighborhood of contains . Thus is connected, so maximality gives ; the reverse inclusion was already proved.
Proof X-ray
Compactness turns infinitely many separations into one
A quasicomponent is an intersection over all clopen neighborhoods. To prove it connected, separate two hypothetical pieces by ordinary open sets, then use compactness of the leftover region to replace infinitely many clopen exclusions by one finite intersection. Without this finite reduction the desired clopen separator need not exist.
Each hypothesis has a definite job. Hausdorffness makes the compact pieces and closed in and, together with compactness, gives the normality that separates them by and . Compactness makes the leftover set compact, so finitely many suffice and their intersection is still open. The decisive move is the identity , valid because lies in the disjoint union of and : one side shows the set is open, the other that it is closed. The deleted-segment counterexample below shows the conclusion failing once compactness is removed.
Proof
(Clopen bases from singleton components)
If all components are singletons, fix with open. For each , equality gives a clopen containing and excluding . Compactness of the closed complement allows a finite intersection with ; if the complement is empty use . These form a clopen basis. Conversely, in a Hausdorff space distinct have an open neighborhood of missing ; refine it to a clopen basis element. No connected set can contain both points, proving total disconnectedness.
Worked examples
Worked example 4.2.7
(Rationals: singleton components without isolated points)
If rational numbers lie in a connected subset of the rational line, choose an irrational between them. The rational sets below and above are clopen and separate that subset. Thus components are singletons. Rational intervals with irrational endpoints give a clopen basis, but no singleton is open. The space is not locally connected: a connected open neighborhood would have to be a singleton. Total disconnectedness is therefore different from being discrete or locally connected.
Worked example 4.2.8
(The closed sine curve has two path components but one component)
Let
is path connected by varying continuously, and its closure is ; hence is connected. The vertical segment is path connected too, but no path joins it to . Suppose a path does. Its horizontal coordinate starts at zero and ends positive. Let be the last time it is zero, which exists by compactness of the zero set. On the remaining interval it is positive and tends to zero as time decreases to . In every interval immediately after , the intermediate value theorem supplies horizontal values of the forms and for sufficiently large integers. The corresponding heights are respectively 1 and , contradicting continuity of the height at . Thus the two displayed pieces are exactly the path components. is not closed, proving that path components need not be closed.
For local connectedness fix and take the open subset about . Any connected subset of containing cannot meet positive horizontal coordinate : its projection would contain , but some coordinates in that interval have sine height 1 and no point in . The component at is therefore just the middle vertical segment. It is not open in , since graph zeros approach . The open-subset criterion proves is not locally connected, even though its sole component is open in itself.
Worked example 4.2.9
(A convergent sequence is compact, not discrete)
For , components and quasicomponents are singletons. Each nonzero point is isolated. At zero, tails are clopen neighborhoods and form a basis. Yet is not open. Thus compact Hausdorff total disconnectedness yields a clopen basis, not openness of all components. If all components of a compact space were open, their open cover would admit a finite subcover, so there could only be finitely many components.
Common mistakes
Common mistake
(Components need not be open)
Components are maximal connected subsets, not maximal open connected subsets. They always are closed, but may fail to be open. Path components have a different maximality and may even fail to be closed.
Common mistake
(Local connectedness is about small neighborhoods)
Local connectedness asks for arbitrarily small connected open neighborhoods. Connectedness of , or openness of its whole-space components, does not meet that requirement. The sine curve exhibits both failures.
Common mistake
(A clopen basis does not make points isolated)
A clopen basis does not mean every singleton is clopen. Infinite compact totally disconnected spaces commonly have nonisolated points, as the convergent sequence shows.
Counterexample mode
Without compactness a quasicomponent can be disconnected
Claim: in every Hausdorff space, quasicomponents equal components. In the plane let
Projection to the horizontal convergent sequence shows every connected subset has constant horizontal coordinate. Thus each vertical segment is a component, while the two points at horizontal zero are distinct singleton components. Any clopen containing contains for all large by openness. Connectedness of the entire nth segment forces that segment into . Closedness then puts the limit in . So the two zero-coordinate points lie in the same quasicomponent. Each separate vertical segment is itself clopen, excluding all positive coordinates from that quasicomponent. It is exactly the disconnected pair. is Hausdorff but not compact: it omits the ambient limit point , although it is bounded. Compactness is the repair: in a compact Hausdorff space the finite-intersection argument above applies.
Summary
Connected, path and clopen separation produce three related partitions. Local connectedness and local path connectedness are characterized through openness of components in every open subset. Compact Hausdorff spaces make components equal quasicomponents, turning total disconnectedness into a clopen basis. The rational line, sine curve and deleted limit segments keep each hypothesis visible.
Exercises
Quick check
(Prove a continuous map sends each connected component into one connected component, and each path component into one path component. Must the image equal that target component?)
Solution · Answer
A continuous image of a connected set is connected; hence the image of a component lies in the component containing any of its image points. A path between two source points composes with the map to a path, proving the path version. Equality need not hold: inclusion of a one-point space into the real line sends its sole component to a point inside the entire connected real line.
Quick check
(Prove a locally connected totally disconnected space is discrete. Explain why the rational line does not contradict this result.)
Solution · Answer
Components are open by local connectedness applied to . Total disconnectedness makes them singletons, so every singleton is open and the space is discrete. The rational line is totally disconnected but fails local connectedness, exactly as the worked example proved.
Quick check
(Prove an open subset of a locally connected space is locally connected, and prove the corresponding path statement.)
Solution · Answer
If is open in an open , it is open in . For in choose a connected open neighborhood in contained in ; it is also open in . These form the required local basis in . Replace connected by path connected for the second assertion. The openness of is used to treat as open in .
Quick check
(In the deleted-segment example, prove explicitly that the nth vertical segment is clopen and that the quasicomponent of is exactly the two zero-coordinate points.)
Solution · Answer
A small horizontal interval about avoiding every other value of the convergent sequence makes its segment open in . It is closed because it is the inverse image of the closed singleton under horizontal projection. A clopen containing the top zero point eventually meets each segment at its top; its clopen intersection with a connected segment must be the whole segment, and closedness gives the lower zero point. Conversely the complements of the individual clopen segments contain the top zero point and exclude every positive-coordinate point. Their intersection leaves exactly the two claimed points.
Quick check
(Let be compact Hausdorff and totally disconnected, and let be disjoint closed subsets. Prove there is a clopen with and . Include empty-set cases.)
Solution · Answer
If is empty use empty; if is empty use . Otherwise for each in , the proved clopen basis supplies a clopen neighborhood contained in . Compactness of gives finitely many covering it. Their finite union is clopen, contains and misses . The argument uses both the clopen basis and compactness of the closed set , rather than assuming an arbitrary union of closed sets is closed.