Connectedness
6.1 Connected and Disconnected Spaces
Section titled “6.1 Connected and Disconnected Spaces”Definition. A topological space is disconnected if there exist nonempty disjoint open sets with . Such a pair is called a separation of .
is connected if it is not disconnected.
Equivalently, is connected if and only if the only clopen subsets of are and .
Proof of the equivalence. If is a separation, then is both open and closed, and neither nor . Conversely, if is clopen with , then and are nonempty disjoint open sets with ; a separation.
Equivalently again, is connected if and only if every continuous map into the two-point space with the discrete topology is constant: preimages of and are clopen in , so a non-constant is a nontrivial clopen set, and conversely. This formulation - connectedness as the statement that there are no non-constant maps into the discrete two-point space; is the one that makes the proofs below short.
Example 6.1. is connected. is disconnected (with the subspace topology from ).
Example 6.2. with the subspace topology from is totally disconnected: the only connected subsets are singletons.
Proof. Let be connected. As a subset of (same subspace topology), is an interval by Theorem 6.1. If contained two points , it would contain every with ; including irrational , contradicting . So is a singleton.
6.2 Connected Subsets of
Section titled “6.2 Connected Subsets of R\mathbb{R}R”Theorem 6.1. A subset of (with the standard topology) is connected if and only if it is an interval.
(Here an interval is any set with the property: if and , then .)
Proof. () Intervals are connected. Let be an interval and suppose with nonempty, disjoint, and open in . Pick and ; swap the names if necessary so that . Since (interval property), define
The set is nonempty: is open in and contains , so for some . Hence , and by definition of the supremum. Since , the point lies in or in .
If : openness of in gives with . Then (the segment from the supremum, the segment from openness, both inside ), contradicting as an upper bound for the set.
So . Openness of in gives with . Choose with ; possible since . Then and , contradicting .
() Connected sets are intervals. Contrapositive: if is not an interval, there are with and . Then
are open in , nonempty (, ), disjoint, and cover (as ). So is disconnected.
This theorem is why the intermediate value theorem exists and why is dust: connected subsets of , being connected subsets of , are intervals; but an interval containing two distinct rationals contains the irrationals between them, which does not. So the only connected subsets of are singletons (Example 6.2).
6.3 Path-Connectedness
Section titled “6.3 Path-Connectedness”Definition. A space is path-connected if for any two points , there exists a continuous function with and .
Proposition 6.1. Every path-connected space is connected. The converse is false.
Proof. Let be path-connected and fix a point . For each choose a path from to . Its image is connected (Proposition 6.4 below, applied to the connected interval ), and all the images contain . So
is a union of connected sets with a common point; connected by the pencil lemma (Proposition 6.1.1 below).
Proposition 6.1.1 (Pencil lemma). If is a family of connected subsets of with , then is connected.
Proof. Let and pick . Let be continuous into the discrete two-point space. For each , the sets and are disjoint clopen subsets of covering it; connectedness of forces one of them empty, so is constant on each . The constants all agree; each equals . So is constant on , and is connected by the two-point characterisation.
Example 6.3 (Topologist’s sine curve). Let
is connected but not path-connected.
Proof that is connected. Write for the graph part and for the vertical segment. The set is the image of the interval ; connected by Theorem 6.1; under the continuous map , so is connected (Proposition 6.4). We claim , after which Proposition 6.7 (closures of connected sets are connected) finishes the proof.
: if with , then either ; in which case continuity of at forces , so the limit is in ; or , in which case forces , so the limit is in .
: take and any ball around it of radius and -reach . Since runs over a full period of as runs over any interval ; choose with for a sufficiently large integer ; there is with within of . So , and .
Proof that is not path-connected. Suppose is a continuous path with and ; write for the coordinate projections, which are continuous. The set
is closed (as is closed and continuous) and nonempty (). Let ; then , say , while for all .
Take and consider the rectangle , a neighbourhood of . By continuity of there is with . Now is continuous, and the image of the connected interval is a connected subset of ; an interval, by Theorem 6.1; containing positive values (points of map into , whose -coordinates are positive) and with infimum (as , ). Hence the image contains all of for some . So for every there is with .
Choose with ; possible because runs over a full period of on , so attains values outside any interval of length . For the corresponding : has , so ; contradicting . So no such path exists, and is not path-connected.
The moral: connectedness passes to closures (Proposition 6.7), but path-connectedness does not - no path can traverse the infinitely many oscillations and still be continuous at the vertical segment.
Example 6.4. is path-connected for all : any two points are joined by the straight-line path , continuous as each coordinate is polynomial in . The same paths work in any convex subset of .
6.4 Components
Section titled “6.4 Components”Definition. A connected component of is a maximal connected subset of . The connected components of form a partition of .
Proposition 6.2. Connected components are closed. They need not be open; in a locally connected space they are always open.
Proof. Let be a component of ; a maximal connected subset. By Proposition 6.7, is connected; it contains , so maximality of forces . So components are closed; in every topological space, no separation axioms required.
For openness: if is locally connected, let and let be any open neighbourhood of . Local connectedness gives a connected open neighbourhood of with . Now is connected (pencil lemma: and share the point ) and contains , so by maximality , i.e. . Thus every neighbourhood of contains a neighbourhood of lying in , which makes open.
Without local connectedness, components can fail to be open: the components of are singletons (Example 6.2), and no singleton is open in .
Definition. A path component of is a maximal path-connected subset. Path components also partition , and each path component is contained in a connected component.
6.5 Local Connectedness
Section titled “6.5 Local Connectedness”Definition. is locally connected if for every and every open neighbourhood of , there exists a connected open neighbourhood of with .
Proposition 6.3. Every open subset of is locally connected.
Proof. Let be open, , and let be any neighbourhood of in . Openness gives with ; shrinking along the neighbourhood , there is with . The open ball is convex; the straight-line segment between two of its points stays inside it, by the triangle inequality ; hence path-connected (linear paths), hence connected. So is the required connected open neighbourhood of inside .
Example 6.5. The topologist’s sine curve is connected but not locally connected.
Proof that is not locally connected. Let and consider the basic neighbourhood with . The set of -coordinates of graph points in the ball,
meets the condition periodically: as , the value sweeps through infinitely many full periods of , so has infinitely many connected components accumulating at . Choose a boundary point between two components of , with on both sides: then no point of has -coordinate (graph points at sit on the boundary of the ball, and vertical-segment points have ). Hence
splits into two nonempty, disjoint, open subsets; the first contains , the second contains the component of above . So is disconnected. Since every neighbourhood of in contains such an , no neighbourhood of is connected: is not locally connected at any point of .
6.6 Properties of Connected Spaces
Section titled “6.6 Properties of Connected Spaces”Proposition 6.4. The continuous image of a connected space is connected. Therefore connectedness is a topological invariant.
Proof. If is continuous and is connected, suppose with open and disjoint in . Then and are open, disjoint, and cover , contradicting connectedness.
Proposition 6.5 (Intermediate Value Theorem). If is continuous and is connected, then attains every value between any two of its values. This generalises the classical IVT from to any connected space.
Proof. is connected (Proposition 6.4) and is a subset of , so by Theorem 6.1 it is an interval. An interval containing two values contains every value between them. The classical IVT is the case , connected by Theorem 6.1.
Proposition 6.6 (Products). The product of connected spaces is connected (with the product topology), for finite and even arbitrary index sets.
Proof. Two factors. Fix . For each consider
The two pieces are homeomorphic to and respectively, hence connected, and they share the point . By the pencil lemma, is connected. Every contains the common set , and since . The pencil lemma once more: is connected.
Arbitrary products. Let with each connected, and fix . Let be the set of points agreeing with in all but finitely many coordinates, and for a finite let
which is connected by repeated application of the two-factor case. Each contains , so is connected by the pencil lemma. And is dense in : a basic open set (with for all outside some finite ) meets ; pick any point of in the restricted coordinates and elsewhere. So , and is connected by Proposition 6.7.
Note where the two factors are used: the pencil lemma welds the slices to a common spine, and the closure argument promotes finite support to arbitrary support. Neither step needs any separation axioms.
Proposition 6.7 (Closure). If is connected, then any set with is connected. In particular, the closure of a connected set is connected.
Proof. Let be continuous into the discrete two-point space; by the two-point characterisation it suffices to show is constant. The restriction is constant (say ), since is connected. The set is closed in (preimage of the closed - indeed clopen; subset of the discrete space) and contains , so it contains : every point of is a limit point of , and is on all of , so by continuity is on all of . Hence is constant, and is connected.
6.7 Total Disconnectedness and the Cantor Set
Section titled “6.7 Total Disconnectedness and the Cantor Set”Definition. A space is totally disconnected if its only connected subsets are singletons. Examples include (with the subspace topology from ) and the Cantor set .
Proposition 6.8. The Cantor set is totally disconnected, compact, uncountable, and perfect (every point is a limit point). It is homeomorphic to with the product topology.
Proof. Write , where and deletes the open middle third of each interval of . Equivalently, is the set of reals in admitting a base-3 (ternary) expansion using only the digits and : surviving stage means the first ternary digits can be chosen in , and the nested intersection is exactly those with such an expansion (the ambiguous case, a trailing digit , corresponds to an endpoint that also has an all- expansion, e.g. ).
Compact. Each is a finite union of closed intervals, hence closed, and is an intersection of closed sets, hence closed and bounded in ; compact by Heine—Borel.
Perfect. The endpoints of the deleted middle thirds belong to every ; an endpoint of a gap at stage is an endpoint of a retained interval at every later stage; so they lie in . Now let and . Choose with ; then lies in some stage- interval of length . The two endpoints of are in , and at least one of them differs from , giving a point of within of . So every point of is a limit point of .
Uncountable. Define by . This is the ternary digit map, and it is a bijection: injective, because if the sequences first differ at index , then
so no two sequences map to the same point (the usual expansion ambiguity never arises for digits restricted to ); surjective, because every point of has a ternary expansion with digits only and , and that expansion is the required preimage. So , uncountable by Cantor’s theorem.
Homeomorphism. The map is continuous: if two sequences agree on the first digits, their images differ by at most , which is exactly convergence in the product topology (a basic open set restricts finitely many coordinates). A continuous bijection from the compact space (a product of finite discrete spaces) to the Hausdorff space is a homeomorphism; the criterion proved in the compactness page. So .
Total disconnectedness. Let be connected. As a subset of , is an interval (Theorem 6.1). But contains no interval of positive length: the total length of is , which tends to , while for every . An interval of positive length cannot fit inside sets of arbitrarily small total length, so is a single point.
The digit map is the structural insight: the Cantor set is exactly the countable product of two-point spaces, with the middle-thirds construction supplying the embedding into .
6.8 Worked Example: Proving Disconnectedness
Section titled “6.8 Worked Example: Proving Disconnectedness”Problem. Show that (the set of invertible real matrices with the subspace topology from ) is disconnected.
Solution
The determinant map is continuous (it is a polynomial in the matrix entries). The image is , which is disconnected (separated by ). Since the continuous image of a connected space must be connected, cannot be connected.
In fact, has exactly two connected components: matrices with positive determinant and matrices with negative determinant.
6.9 Worked Example: Path-Connectedness of
Section titled “6.9 Worked Example: Path-Connectedness of Rn∖{0}\mathbb{R}^n \setminus \{0\}Rn∖{0}”Problem. For which is path-connected?
Solution
For , any two points can be joined by a path avoiding the origin. For example, if and are not antipodal, use the straight line segment; if they are antipodal (), take a path through a third point. Thus is path-connected for .
For , is disconnected (and hence not path-connected).
6.10 Intuition: What Does Connectedness Mean?
Section titled “6.10 Intuition: What Does Connectedness Mean?”Connectedness asks whether a space comes in separate pieces. A connected space cannot be split into two non-empty open sets that are disjoint, which means there is no “gap” that separates it. Intuitively, you can travel between any two points without leaving the space. The intermediate value theorem is the most familiar consequence: a continuous function on a connected domain must take every value between its endpoints.
Path-connectedness is a stronger and more intuitive version: a path-connected space has a continuous path between every pair of points. Every path-connected space is connected, but the converse fails for exotic spaces like the topologist’s sine curve, which is connected but has no continuous path crossing the oscillating part. In , connected subsets are exactly the intervals and their higher-dimensional analogues. Connectedness is the topological tool for proving that certain configurations are impossible: if you can show a space is disconnected, you have proven that it splits into distinct parts that cannot be continuously deformed into each other.
6.11 Common Mistakes
Section titled “6.11 Common Mistakes”Mistake 1: Assuming that connected implies path-connected. Every path-connected space is connected, but the converse is false. The topologist’s sine curve is a classic example of a connected space that is not path-connected. Do not assume that a space is path-connected just because it is connected.
Mistake 2: Confusing connectedness with convexity. Convexity is a geometric property that implies path-connectedness (and hence connectedness) in , but connectedness does not imply convexity. For example, the unit circle is connected but not convex. A set can be connected without being convex.
Mistake 3: Forgetting that the continuous image of a connected set is connected. If is continuous and is connected, then is connected. This property is often used to prove that certain sets are connected, but it is not an “if and only if” statement. The preimage of a connected set under a continuous map need not be connected.
Mistake 4: Assuming that a disconnected set can be written as a union of disjoint open sets in the ambient space. A set is disconnected if it can be written as where and are disjoint open sets in the ambient space. The sets and are open in the ambient space, not necessarily in . Do not confuse the subspace topology with the ambient topology.
Mistake 5: Confusing total disconnectedness with disconnectedness. A space is totally disconnected if its only connected subsets are singletons. A space can be disconnected without being totally disconnected. For example, is disconnected but not totally disconnected, since and are connected subsets.
Cross-References
Section titled “Cross-References”Compactness: Compactness and connectedness are both fundamental topological properties that characterize space structure.
Topological Spaces: Topological spaces provide the framework for defining connectedness through separation properties.
Continuity and Homeomorphisms: Continuous functions preserve connectedness, and homeomorphisms preserve all topological invariants.