CW-complex, Hausdorff space, second-countable space, sober space
connected space, locally connected space, contractible space, locally contractible space
A space is connected if it can't be split up into two independent parts. Every space is a disjoint union (but not necessarily a coproduct in the category of spaces) of connected components. One often studies topological ideas first for connected spaces and then generalises to general spaces; this is especially true if one is studying such nice topological spaces that every space is a coproduct of connected components.
Speaking category-theoretically a topological space is connected if the representable functor
preserves coproducts. It's actually enough to require that it preserves binary coproducts; in that case, notice that we always have a map
so is connected if this is always a bijection. This definition generalises to the notion of connected object in an extensive category.
Here are some equivalent ways to say that is connected in more elementary terms:
Many authors allow the empty space to be connected. You can get this concept from the elementary definitions above by changing ‘exactly one’ to ‘at most one’ and changing ‘if and only if’ to ‘if’. Categorially, this version of connectedness requires only that the maps
be surjections. However, many results come out more cleanly by disqualifying the empty space (much as one disqualifies when one defines the notion of prime number). See also the discussion at empty space and too simple to be simple.
The elementary definitions above have been carefully phrased to be correct in constructive mathematics. One may also see classically equivalent forms that are constructively weaker.
The image of a connected space under a continuous map is connected.
Wide pushouts of connected spaces are connected. (This would of course be false if the empty space were considered to be connected.) This follows from the hom-functor definition of connectedness, plus the fact that coproducts in commute with wide pullbacks. More memorably: connected colimits of connected spaces are connected.
An arbitrary product of connected spaces is connected.
The interval , as a subspace of , is connected. (This is the topological underpinning of the intermediate value theorem.)
If is a connected subspace and (i.e. if is between and its closure), then is connected.
Every topological space admits an equivalence relation where means that and belong to some subspace which is connected. The equivalence class of an element is thus the union of all connected subspaces containing ; it follows readily from the basic results above that is itself connected. It is called the connected component of . It is closed, by one of the basic results above. A space is connected if and only if it has exactly one connected component (or at most one, if you allow the empty space to be connected).
There is another equivalence relation where if for every continuous mapping to a discrete space . The equivalence class of may be alternatively described as the intersection of all clopens that contain . This is called the quasi-component of , denoted here as . It is easy to prove that
and that equality holds if is compact Hausdorff or is locally connected (see below), but also in other circumstances (such as the space of rational numbers as a topological subspace of the real line).
For an example where , take to be the following subspace of :
In this example, , but .
It is not generally true that a space is the coproduct (in ) of its connected components. For example, the connected components in Cantor space (with its topology as a product of 2-point discrete spaces) are just the singletons, but the coproduct of the singleton subspaces carries the discrete topology; another example with this feature is the set of rational numbers with its absolute-value topology (the one induced as a topological subspace of the real line).
Indeed, a space is the coproduct of its connected components precisely when it is locally connected (meaning that every point has a connected neighborhood). This occurs for example if there are only finitely many connected components (because then each connected component will be both closed and open).
For more on this see locally connected topos.
A space is totally disconnected if its connected components are precisely the singletons of .
An important variation on the theme of connectedness is path-connectedness. If is a space, define the path component to be the subspace of all for which there exists a continuous map where , .
In a nice category of spaces, the set of path components (the 0th “homotopy group”) may be equivalently defined to be the coequalizer in
We say is path-connected if it has exactly one path component.
It follows easily from the basic results above that each path component is connected. However, it need not be closed (and therefore need not be the connected component of ). The topologist’s sine curve
provides a classic example of this happenstance. However, the path components and connected components coincide if is locally path-connected (meaning each point has an open neighborhood which is path-connected).
The basic categorical results 1., 2., and 3. above carry over upon replacing “connected” by “path-connected”. (As of course does 4., trivially.)
As a contrast to a path-connected space, a totally path-disconnected space is a space such that its set of path components is equal to the underlying set of the space. Equivalently, that there are no non-constant paths. This by far does not mean that the space is discrete!