Connected space Created 2026-09-24 Updated 2026-10-13
A topological space is connected when it has no separation of a topological space: no partition of a set into two nonempty open subsets satisfying
Here the union covers all of , and the intersection is the empty set, so no point belongs to both pieces. For a subset of a larger topological space, "open" means open in the subspace topology: each piece is the intersection of with an ambient open set. Both pieces must be open; merely dividing a drawing into two colours does not establish a separation of a topological space. [ref]
For example, the closed interval with its usual subspace topology from the real line is connected. The proposed split fails: the second subset is not open in , since every neighbourhood of in contains points less than . More generally, a connected subset of the real line is precisely a real interval. In contrast, for the union
the open intervals and exhibit as nonempty open subsets in the subspace topology of . Their intersection is empty and their union is , so is not connected. Although are closed intervals in the real line, they are also open within .
Why is connectedness useful? A continuous image of a connected space is connected: a proposed separation of a topological space in the image would pull back through the continuous map to a forbidden separation of a topological space in its source. Thus a continuous map from a real interval to the real line cannot skip values between two attained values. This is the intermediate value theorem. For a computed example, the continuous function on has image ; the value occurs at . Connectedness guarantees an input attaining that value even when we have no formula for it.
Path connectedness is a stronger condition: it supplies a continuous path between every pair of points. The topologist's sine curve below shows that a connected space need not be a path-connected space.
Path component Created 2026-09-24 Updated 2026-10-14
A path component of a topological space is a nonempty subset maximal among its path-connected subsets. The path component through can be described as
Every point along such a continuous path also belongs to : the initial part of the path reaches that point. Thus the paths witnessing membership stay inside . This makes path components useful for deciding which allowed positions can be reached from one another by continuous motion.
Every path component lies inside one connected component, because every path-connected space is connected. Thus each connected component is a union of path components. In a locally path-connected space the two classifications agree, by connected locally path-connected spaces are path-connected. For a subset of the real line with its usual subspace topology, the classifications also agree: every connected component is a real interval, and interpolation supplies a continuous path within it.
The topologist's sine curve shows why the distinction matters in general. Use specifically the closed version
with the subspace topology from the usual Euclidean plane. It has one connected component, , but two path components, and . The graph of a function is a continuous image of a connected space, and its closure is , so closure of a connected set gives connectedness. Each of is path-connected, but a continuous path crossing from into would force its second coordinate to oscillate between and arbitrarily near its departure time, contradicting continuity; the topologist's sine curve article gives the short argument. Also is not closed in , so path components need not be closed, unlike connected components.[ref]
Being joined by a continuous path is an equivalence relation. Proof outline: the constant path joins a point to itself; reverses a path; and a path from to followed by one from to gives a path from to . For the last construction, run each path on half of ; their values agree at , so the pasting lemma for closed subspaces gives continuity. The equivalence classes are path-connected, are maximal, and form a partition of a set of into path components.[ref]
Path-connected space Created 2026-09-24 Updated 2026-10-13
A topological space is path-connected if, for every , there is a continuous map
This continuous path must stay within for its entire duration. Its parameter need not represent physical time, and continuity does not require a derivative or finite arc length. [ref]
In the closed interval , any are joined by . For and , this becomes , so , , and . All its values stay in . In the union , however, a continuous path from to would attain by the intermediate value theorem, although . Thus is not path-connected.
Every path-connected space is a connected space. Proof outline: if admitted a separation of a topological space, choose and . A continuous path between them would have nonempty open inverse images with empty intersection and union . This contradicts the connectedness of that closed interval.
The converse fails: the topologist's sine curve is connected but has two path components. Path connectedness is useful when we need an actual continuous path of allowed positions, rather than only the absence of a separation of a topological space. For instance, when modelling allowed positions as a topological space, membership in the same path component answers whether one can move continuously between two positions while remaining in that topological space.
Topologist's sine curve 2026-10-14
Consider the graph of a function , using the sine of the multiplicative inverse of , together with a vertical closed interval:
Give the subspace topology from the Euclidean plane. The symbol denotes a Cartesian product. The right endpoint belongs to . The continuous map sends the connected real interval onto . Hence is connected, and its closure is connected by closure of a connected set. Every height in is approached as tends to zero; for example,
For , these inputs are and . For any other height , choose with ; then the sequence lies in and has limit of a sequence .
Nevertheless, has exactly two path components, and . Within , join inputs by the continuous path . Within , use for heights .
The obstruction to a continuous path between and is persistent oscillation, not a visible gap. Proof outline: suppose such a path exists, directed from to , and take its last time in . Immediately afterwards its first coordinate approaches zero and its second coordinate is . The intermediate value theorem forces the first coordinate to pass through inputs of both displayed types arbitrarily close to that departure time. The second coordinate therefore takes both values and arbitrarily close to that time, contradicting continuity. [ref]
Figure 1.
The topologist's sine curve has one connected component and two path components; the graph of a function is drawn only for , with further oscillations omitted near the vertical closed interval
. Details.
The sampled graph of a function illustrates the formulas; it does not prove connectedness or the failure of path connectedness. Taking a closure preserves connectedness, but this example shows that it can destroy path connectedness.