Skip to content

Path-Connectedness

In this lesson you’ll define paths and path-connectedness, see that it implies connectedness but not conversely, work through the topologist’s sine curve, and meet local path-connectedness, which is the condition that makes the two notions agree.

A path in XX from aa to bb is a continuous map γ:[0,1]X\gamma:[0,1]\to X with γ(0)=a\gamma(0)=a and γ(1)=b\gamma(1)=b.

XX is path-connected if every pair of points is joined by a path.

This is closer to intuition than connectedness: it says you can walk from anywhere to anywhere. Note that a path is a map, not just its image, and that it may retrace itself, stop, or be nowhere injective.

Paths compose. If γ1\gamma_1 runs aba\to b and γ2\gamma_2 runs bcb\to c, then the concatenation

γ(t)={γ1(2t)0t12γ2(2t1)12t1\gamma(t) = \begin{cases}\gamma_1(2t) & 0\le t\le\tfrac12\\ \gamma_2(2t-1) & \tfrac12\le t\le1\end{cases}

is continuous by the pasting lemma, and runs aca\to c. That gives transitivity, and with the constant path and the reversal tγ(1t)t\mapsto\gamma(1-t), being joinable by a path is an equivalence relation. Its classes are the path components.

Path-connected     \implies connected.

Proof. Suppose XX is path-connected and X=UVX = U\sqcup V were a separation. Pick aUa\in U and bVb\in V and a path γ\gamma joining them. Then γ1(U)\gamma^{-1}(U) and γ1(V)\gamma^{-1}(V) separate [0,1][0,1], contradicting connectedness of the interval. ∎

The converse fails, and the counterexample is the standard one in all of topology.

Let

S={(x,sin1x):0<x1},T=S({0}×[1,1])S = \left\{\left(x,\sin\tfrac1x\right) : 0<x\le1\right\}, \qquad T = S\cup\big(\{0\}\times[-1,1]\big)

TT is connected. SS is a continuous image of (0,1](0,1], hence connected. As x0+x\to0^+ the function sin1x\sin\frac1x passes through every value in [1,1][-1,1] infinitely often, so every point of the vertical segment is a limit point of SS. Therefore STSˉS\subseteq T\subseteq\bar S, and anything between a connected set and its closure is connected.

TT is not path-connected. Suppose a path γ\gamma started on the segment at (0,y0)(0,y_0) and reached a point of SS. Consider the last time tt^* at which γ\gamma is on the segment. Just after tt^* the path is in SS with xx-coordinate positive but arbitrarily small, and on any such interval the second coordinate oscillates through the whole of [1,1][-1,1]. So γ\gamma cannot be continuous at tt^*: its values fail to settle near γ(t)\gamma(t^*).

The figure makes the obstruction concrete. Every window (0,d](0,d] contains infinitely many zeros of sin1x\sin\frac1x, at the points x=1kπx = \frac{1}{k\pi}, so there is no scale at which the oscillation calms down. A path has to cross all of them in finite time, and continuity forbids it.

T has 2 path components and 1 connected componentT \text{ has 2 path components and 1 connected component}

Those two counts differing is exactly the point. They are different invariants, and both are worth having.

XX is locally path-connected if every point has arbitrarily small path-connected neighbourhoods.

Theorem. A connected and locally path-connected space is path-connected.

This is why the distinction almost never matters in practice. Open subsets of Rn\mathbb{R}^n, manifolds, and CW-complexes are all locally path-connected, so for them connected and path-connected coincide. The topologist’s sine curve fails local path-connectedness at every point of the segment, which is precisely where it goes wrong.

A useful special case:

An open connected subset of Rn\mathbb{R}^n is path-connected, and in fact any two points can be joined by a polygonal path.

Convex sets are trivially path-connected: use the straight segment. Slightly weaker and often enough:

XRnX\subseteq\mathbb{R}^n is star-shaped about cc if the segment from cc to any point of XX stays in XX.

Star-shaped implies path-connected, and it also implies the stronger property of being simply connected, which lesson 17 needs. The chain to remember is

convex    star-shaped    path-connected    connected\text{convex} \implies \text{star-shaped} \implies \text{path-connected} \implies \text{connected}

with every implication strict.

Example 1: Show Rn\mathbb{R}^n is path-connected.

Solution. For a,bRna,b\in\mathbb{R}^n the straight-line path

γ(t)=(1t)a+tb\gamma(t) = (1-t)a+tb

is continuous and joins them.

Answer: path-connected, hence connected. ∎

Example 2: Show the circle S1S^1 is path-connected.

Solution. Given two points at angles θ1\theta_1 and θ2\theta_2, the path

γ(t)=(cos((1t)θ1+tθ2), sin((1t)θ1+tθ2))\gamma(t) = \big(\cos((1-t)\theta_1+t\theta_2),\ \sin((1-t)\theta_1+t\theta_2)\big)

travels along the circle from one to the other.

Answer: path-connected. ∎

Note the circle is path-connected but not simply connected; the loop around it cannot be contracted. Those are different questions.

Example 3: Show R2{0}\mathbb{R}^2\setminus\{0\} is path-connected.

Solution. For any two nonzero points, if the straight segment between them misses the origin, use it. If it passes through the origin, the two points are antipodal in direction; go via a third point off that line, using two segments.

Answer: path-connected. ∎

Contrast R{0}\mathbb{R}\setminus\{0\}, which is not connected. Removing a point from the plane leaves room to go around; removing one from the line does not.

Example 4: Count the components and path components of the topologist’s sine curve.

Solution. Connected components: 1, since TT is connected.

Path components: 2, namely the segment {0}×[1,1]\{0\}\times[-1,1] and the curve SS. No path crosses between them, and each piece is separately path-connected - the segment because it is convex, the curve because it is a continuous injective image of an interval.

1 component,2 path components1 \text{ component}, \quad 2 \text{ path components}

Example 5: Show path components need not be open.

Solution. In the topologist’s sine curve, the path component {0}×[1,1]\{0\}\times[-1,1] is not open in TT: every neighbourhood of a point on the segment contains points of the oscillating curve.

Connected components are always closed; path components need not be either open or closed. In a locally path-connected space path components are open, which is how the agreement theorem is proved. ∎

Example 6: Show an open connected subset of Rn\mathbb{R}^n is path-connected.

Solution. Fix aUa\in U and let AA be the set of points reachable from aa by a path in UU.

AA is open: if xAx\in A, some ball B(x,r)UB(x,r)\subseteq U, and every point of that ball is reachable by appending a straight segment.

UAU\setminus A is open by the same argument: if yy were reachable from a point of the ball around it, then yy would be reachable.

Both are open, they are disjoint, and AA\ne\varnothing. Connectedness forces UA=U\setminus A=\varnothing.

U=A, so U is path-connectedU = A, \text{ so } U \text{ is path-connected}

This is the standard open-and-closed argument, and it is worth recognizing because the same shape of proof appears throughout topology.

Example 7: Give a star-shaped set that is not convex.

Solution. Take a plus sign, the union of a horizontal and a vertical bar crossing at the origin. Every point sees the origin along a straight segment inside the set, so it is star-shaped about 0.

It is not convex: the segment joining the tip of the top arm to the tip of the right arm leaves the set.

Answer: star-shaped, not convex. ∎

Motion planning. Two robot configurations are mutually achievable exactly when they lie in the same path component of the free configuration space, and the path itself is the motion. Connectedness alone would not be enough, since it does not produce a route.

Continuous deformation in manufacturing. Whether a part can be moved into place without collision is a path-connectedness question in configuration space, and it is why some assemblies are impossible despite fitting geometrically.

Homotopy in animation. Interpolating between two poses requires a path in the space of poses, and it fails when the space is disconnected - which is why some character rigs pop instead of blending.

Phase spaces in physics. Whether a system can evolve continuously from one state to another is a path question, and disconnected phase space means a transition is forbidden without a discontinuous event.

Network routing. A route is a path in the graph, and graph connectivity is the discrete analogue. Reachability queries in a network are path-component computations.

Molecular conformation. Whether a molecule can pass between two shapes without breaking bonds is a path-connectedness question in conformation space, and energy barriers are what make some paths practically unavailable even when they exist.

What is a path in X from a to b?
What is the relationship between path-connected and connected?
Why is the topologist's sine curve connected?
Why is the topologist's sine curve NOT path-connected?
How many connected components and path components does the topologist's sine curve have?
When do connectedness and path-connectedness coincide?
Is ℝ² minus the origin path-connected?
Which chain of implications is correct?