How to Show That X Is Path Connected
At a glance
- 1. Find a rational coordinate
For each point in X, use whichever coordinate is rational; at least one is rational by definition.
- 2. Join the origin
Move along a segment that keeps the rational coordinate fixed, then along an axis to the origin.
- 3. Join two points
Connect each point to the origin and reverse one of the paths to get a path between them.
Let
To prove that is path connected, it is enough to show that any two of its points can be joined by a continuous path lying entirely in . The useful feature of the definition is that every point has at least one rational coordinate. Keep that coordinate fixed while moving to an axis, then use an axis segment to reach the origin.
Join any point to the origin
Take an arbitrary point . There are two cases.
If , first move vertically from to . Every point on this segment has first coordinate , so it belongs to . Then move horizontally from to . Along this second segment the second coordinate is , which is rational, so it too lies in .
If instead , first move horizontally from to . The second coordinate remains the rational number , so this segment lies in . Then move vertically from to . Here the first coordinate is , so this segment lies in as well.
If both coordinates are rational, either construction works. Thus every point in can be joined to the origin by a path contained in .
Turn the paths into a path between two points
Let . Choose a path from to the origin, and a path from to the origin, as above. Travel from to the origin, then follow the second path backward to :
The two formulas agree at , where both give the origin. Each part is continuous, so the joined path is continuous; its image stays in because each of the original paths does. It starts at and ends at . Since and were arbitrary, is path connected.
A concrete example
Consider and . The first point has rational second coordinate. Join it to the origin using
The first segment stays on the horizontal line , and the second stays on the vertical line . The second point has rational first coordinate, so use
This path stays on the vertical line and then the horizontal line . Following the first route backward from the origin and then the second route forward gives a path from to in .
Why the axis segments always work
The set can be written as the union
It contains every vertical line whose -coordinate is rational and every horizontal line whose -coordinate is rational. In particular, the entire -axis and the entire -axis lie in . The point is where these two axes meet, making it a convenient common point for the paths.
The proof does not depend on rational numbers being dense, nor does it require a complicated curve. It uses only the coordinate condition defining and the fact that a line segment with one fixed rational coordinate remains in the set.
Common mistakes
- Assuming the straight segment between any two points works. It need not. For example, and belong to , but their straight segment contains points with both coordinates irrational, such as . Use the two-segment route through the origin instead.
- Checking only the endpoints of a segment. Membership in must hold at every point along the path. The construction guarantees this by keeping one coordinate rational throughout each segment.
- Showing only that the set is connected. Path connectedness asks for a continuous map from an interval between each pair of points. Constructing the paths explicitly proves the stronger, requested property.
Because path-connected spaces are connected, this also shows that is connected.
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.