Connectedness is a topological property that encodes the intuitive notion of being all in one piece. In the picture below, the subspaces A, B, C & D of \( \mathbb{R}^2 \) are connected in the induced topology because they are somehow in one piece. Formally, we define a topological space to be connected if it is not the union of two disjoint non-empty open sets.
"Simply connected, connected, and non-connected spaces" by Gazilion
The maximal connected subsets of a topological space are called its connected components. These are the âseparate bitsâ of the topological space; in the picture above, each \( E_i \) is a connected component of the whole space, \( E \) (which is the union of the connected components).
A related notion is path-connectedness. A topological space, \(X\), is said to be path-connected if any two points in it can be joined by a path, i.e. for any \( a, b \in X \) there is a continuous map \( f : [0,1] \rightarrow X \), such that \( f(0) = a \) and \( f(1) = b \). Itâs important that this be a continuous map, otherwise we could always connect two points with the path
$$ f(t) = \left\{ \begin{array}{cc} a, & t \in [0, 1/2) \\\\ b, & t \in [1/2, 1], \end{array} \right. $$
no matter the nature of the space. It turns out that path-connectedness implies connectedness. We will show this later.
The Topologistâs Sine Curve
Perhaps surprisingly, connectedness does not imply path-connectedness; there exist spaces that are connected but not path-connected. The standard example of this is the topologistâs sine curve, \(T\) (see figure). This is the graph of the function \( \sin(1/x) \), with the origin added. It is given the subspace topology from \(\mathbb{R}^2\). Its period of oscillation increases as \(x\) approaches zero because \(1/x\) goes faster and faster. No matter how close to the origin we get, there are still infinitely many oscillations to go.
"Topologist's sine curve" by Morn the Gorn - Own work. Licensed under CC.
In order to show that the topologistâs sine curve is connected, we want the following lemma: if a topological space, \(A\), is connected, so is itâs closure, \(\bar{A}\). Suppose \(A\) is connected but \(\bar{A}\) isnât, then there must be some open subset of \(\bar{A}\) that is disjoint with \(A\). This open set would necessarily be a neighbourhood of some point in \(\bar{A}\) and would therefore intersect \(A\), by the definition of closure. This proves the lemma.
Label the topologistâs sine curve without the origin, \( T^* \), that is,
$$ T^* = \{ ( t, \sin (1/t): t \in ( 0, 1 ] \}. $$ We can see that the origin is in the closure of \(T^*\), since any neighbourhood of \( (0,0) \) must intersect the rest of the curve (if we want to be more careful about this, we can look at open balls around \( (0,0) \)). Hence, by the lemma above, the topologistâs sine curve is connected.
How do we know it isnât path-connected? Remember, a path is a continuous mapping of \( [ 0, 1 ] \) into \( T \). The issue is joining \( ( 0, 0 ) \) to the other points on the curve. Suppose we have a path, \( f: [ 0, 1 ] \rightarrow T \), joining \( ( 0, 0 ) \) to some other point of \( T \). We may assume that only \( f( 0 ) = ( 0, 0 ) \), since if some other points satisfied \( f(t) = 0 \), we could just rescale our interval so that only \( f( 0 ) = ( 0, 0 ) \).
Our path, therefore, has to look like this
$$ f(t) = \left\{ \begin{array}{cc} \left( g(t), \sin \left( \frac{1}{g(t)} \right) \right), & t \in ( 0, 1] \\\\ ( 0, 0 ), & t =0. \end{array} \right. $$
Since \( f(t) = ( f_1 ( t ), f_2 ( t ) ) \) is continuous, each of its components must be continuous. We will show that \( f_2 \) cannot be continuous at \( t = 0 \). Continuity at \( t = 0\) implies that for any \( \epsilon > 0 \), there exists \( \delta > 0 \), such that \( t < \delta \) implies \( \left| f_2 ( t ) \right| < \epsilon \). Take \( \epsilon = 1/2 \) (or anything between \(-1\) and \(1\)). Then we can never find a \( \delta > 0 \), such that \( t < \delta \) implies \( \left| f_2 ( t ) \right| < 1/2 \) because the function keeps oscillating so much; given any \( \delta > 0 \), we can always find a \( t < \delta \) such that, for example, \( f_2 ( t ) = 1 \). This can be done by taking \( 1/g(t) = 2 \pi n \) for large enough \( n \in \mathbb{N} \). The function \( g(t) \) has to attain this value by the intermediate value theorem.
Hence, since there can be no continuous path from the origin to another point in \( T \), weâve shown that \( T \) is not path-connected, and we have our example of a space that is connected but not path-connected.
Path-Connectedness Implies Connectedness
We will show now that path-connectedness implies connectedness; note that this is equivalent to not connected implies not path-connected. This is what weâll show. Let \( X \) be our non-connected topological space; we can write it as the union of two disjoint non-empty open sets, \( A \) and \( B \). We will show that if we take one point, \( a \in A \), and another point, \( b \in B \), there can be no continuous path joining them.
Suppose we have such a path, i.e. a continuous map \( f: [0,1] \rightarrow X \), with \( f(0) = a \) and \( f(1) = b \). Consider \( f^{-1} ( A ) \) and \( f^{-1} ( B ) \). These must be open in \( [0,1] \), where \( [0,1] \ \) has the subspace topology from \( \mathbb{R} \). However, since \( A \) and \( B \) are disjoint, \( f^{-1} ( A ) \) and \( f^{-1} ( B ) \) must be disjoint and we can never make \( [0,1] \) by taking unions of disjoint of open sets in \( [0,1] \). Since the domain of \( f \) needs to be the whole of \( [0,1] \), we have shown there can be no path connecting \( a \) and \( b \).
For Manifolds, Connectedness Implies Path-Connectedness
It turns out that manifolds are well-behaved enough that if they are connected, they must be path-connected. In fact, this is one of the instances in which manifolds being second countable is important and we need this to show the above.
Let \( M \) be connected. Define an equivalence class on the charts for \( M \) by \( AÂ \sim B \) if \( A \cap B \neq \varnothing \) i.e. if the charts overlap. The union of all the sets in each equivalence class is a connected component of \(M\). Since \( M \) is connected, there must only be one equivalence class.
Since \( M \) is second countable i.e. it has a countable base, we can construct another atlas for \( M \) by restricting each chart to the sets in the base that it is a union of.
We can now connect two points, \(a\) and \(b\), in overlapping charts by picking a third point, \(c\) in the overlap, going to co-ordinates, joining \(a\) to \(c\) and then joining \(b\) to \(c\) in co-ordinates. We can then join any two points in \(M\) by repeatedly doing this, since all the charts are in the same equivalence class. We may need to do this countably many times but we can just divide \( [0,1] \) up into \( [0,1/2] \), \( [1/2, 3/4] \), \( [3/4,7/8] \) etc. and fit them all in.