Connectedness expresses the idea that a space is in one piece. There are two natural ways to formalize this: a space cannot be split into two open parts (connectedness), or any two of its points can be joined by a continuous path (path-connectedness). The second is stronger, and the difference between them is one of the most instructive examples in elementary topology.
Motivation
The intermediate value theorem says that a continuous real function on an interval that takes the values and takes every value between them. This is not really a statement about functions of one variable; it is the combination of two facts: continuous images of connected spaces are connected, and the connected subsets of are the intervals. Once connectedness is isolated as a topological notion, the theorem extends to any connected domain. Connectedness is also a homeomorphism invariant, and so it is a tool for proving that two spaces are not homeomorphic: removing a point from disconnects it, while removing a point from does not.
Definitions
Definition 4.1.1
(Separation and connectedness)
A separation of a space is a pair of disjoint, nonempty, open subsets with . The space is connected if it has no separation. Equivalently, the only subsets of that are both open and closed are and . (If is a separation then is clopen and proper nonempty; conversely a proper nonempty clopen gives the separation .) A subset of a space is connected if it is connected in the subspace topology; the sets in a separation of a subset are then open in , not necessarily in the ambient space.
Definition 4.1.2
(Path and path-connectedness)
A path in from to is a continuous map with and . The space is path-connected if any two points are joined by a path.
Definition 4.1.3
(Interval)
A set is an interval if whenever and , then . This includes open, closed, half-open and unbounded intervals, rays, single points, the empty set and .
Definition 4.1.4
(The topologist’s sine curve)
Let , , and with the subspace topology from .
Theorem/proposition
Proposition 4.1.5
(Connected subsets of the line)
A subset of is connected if and only if it is an interval.
Proposition 4.1.6
(Continuous images of connected spaces)
If is continuous and is connected, then is connected. In particular (intermediate value theorem) if is continuous and lies between and , then .
Proposition 4.1.7
(Unions with a common point)
Let be connected subsets of a space with a point belonging to every . Then is connected.
Proposition 4.1.8
(Products of connected spaces)
If and are connected, then is connected. Hence finite products of connected spaces are connected.
Proposition 4.1.9
(Path-connected spaces are connected)
Every path-connected space is connected.
Lemma 4.1.10
(Sets between a connected set and its closure)
If in a space and is connected, then is connected.
Theorem 4.1.11
(The topologist’s sine curve)
The space is connected but not path-connected.
Proof sketch or proof idea
All proofs are given in full.
Proof
(Cut at a missing point; push a supremum)
If is not an interval, there are and with . Then and are disjoint, nonempty (containing and ), open in , and cover because . So is not connected.
Conversely let be an interval and suppose, for a contradiction, that is a separation. Pick , ; by symmetry assume . Then . Put and . These are disjoint, open in , cover , so each is also closed in (the complement of the other). Since is closed in , is closed in . It is nonempty and bounded, so belongs to . As , . Since is open in and with , there is with , contradicting .
Proof X-ray
The least-upper-bound property is the engine
The first half uses only the order of . The second half is where the real line matters. Restricting the separation to the closed bounded interval makes the open-in-subspace piece closed in , so its supremum exists and lies in . Openness of near then pushes past , which is the contradiction. Over the supremum need not exist, and indeed splits into the parts below and above .
Proof
(Pull a separation back)
Suppose is a separation of with open in . Then and are open in (continuity of viewed as a map into ), disjoint, cover , and nonempty because maps onto and are nonempty. This contradicts connectedness of . For the intermediate value theorem: is an interval, hence connected by the interval characterization, so is connected and therefore an interval, which contains every number between and .
Proof
(Every piece falls on the side of )
Let and suppose is a separation with open in . Say . For each the sets and are disjoint, open in , and cover . Since is connected, one of them is empty; is nonempty, so . Hence , a contradiction.
Proof
(Crosses through a base point)
If either factor is empty, the product is empty and connected. Otherwise fix . The slice is the image of under the continuous map (continuous by the universal property of the product), so it is connected by the continuous-image proposition; similarly each is connected. For the set is connected by the common-point proposition, because both pieces contain . All contain and their union is (a point lies in ). By the common-point proposition again, is connected. Induction gives finite products.
Proof
(Path images through a base point)
Let be path-connected and nonempty, and fix . For each choose a path from to . The image is connected by the interval characterization and the continuous-image proposition, contains , and contains . Thus is a union of connected sets with the common point , hence connected by the common-point proposition.
Proof
(A closure point forces a meeting)
Suppose is a separation with open in . Since is connected, the sets and cannot both be nonempty, so say (if is empty then and is trivially connected). Let . As is open in , with open in and . Since , the neighborhood meets ; a point of lies in , hence , contradicting . So , which is excluded in a separation.
Proof
(Density for connectedness, a last parameter against paths)
Connected. The set is the image of the connected interval under the continuous map , hence connected. We claim . Take with . Let and for large so that . Then and , so . Therefore and is connected by the closure lemma.
Not path-connected. Suppose is a path from to . The set is closed in (preimage of a closed set; is closed in ) and contains , so exists, and because . For we have , so and . Let . By continuity of at there is with and for . Put . The function is continuous on with and , so by the intermediate value theorem it takes every value in there. Choose so large that and both lie in . There are with , . Then and . Both lie within of , so , a contradiction.
Proof X-ray
Where the sine-curve proof uses each fact
Connectedness and the failure of path-connectedness are proved by different tools. The first half needs only two facts: is a continuous image of the connected interval , and every point of is a limit of the explicit points , so the closure lemma applies with and .
The second half has one non-obvious move: passing to the last parameter at which the path lies on . It exists because is a nonempty closed subset of the compact interval ; after the path lies on , where the second coordinate is determined by the first. The intermediate value theorem, applied to on , forces the first coordinate through points and where equals and , while continuity of at confines the second coordinate to an interval of length . These two requirements are incompatible. The argument never uses that is a whole segment, only that the path starts on and ends on .
Worked examples
Worked example 4.1.12
(Rational numbers)
is not connected, and any connected subset has at most one point. If lie in , pick an irrational with . Then and are a separation of . By the interval characterization connected subsets of are intervals, but intervals with more than one point contain irrationals, consistent with this conclusion.
Worked example 4.1.13
( is not homeomorphic to )
Suppose were a homeomorphism. Restricting to gives a homeomorphism onto . The former is disconnected: and form a separation. The latter is connected: after translating, is homeomorphic to by with continuous inverse , and and are connected (the circle is the continuous image of ), so the product proposition applies. Since connectedness is preserved by homeomorphism (the continuous-image proposition), this is a contradiction.
Worked example 4.1.14
(A union without a common point)
The intervals and are connected and disjoint, and is disconnected by the interval characterization since is missing. By contrast shares the point and is connected. The hypothesis of a common point in the common-point proposition can be weakened (it suffices that pairs overlap or that the family is chained) but cannot be removed.
Counterexample mode
Being in one piece need not supply a path
The false implication is that a connected space must be path-connected. In the sine curve, the graph is connected and dense in the whole space, so adding the vertical limit segment cannot create a separation. Yet any proposed path from the segment to the graph has a last parameter on the segment. Immediately afterwards its horizontal coordinate passes through every sufficiently small positive value, forcing its vertical coordinate to take both and arbitrarily near that parameter. That contradicts continuity.
The repair is to keep the two definitions separate. Connectedness forbids a separation by open sets; path-connectedness provides a particular continuous map between any chosen endpoints. The latter is additional existence information, not merely another phrasing of the former.
Common mistakes
Common mistake
(Separations are tested in the subspace)
The sets of a separation of must be open in ; they need not be open in . For instance is disconnected, with and open in the subspace.
Common mistake
(Closed pieces separate only when disjoint)
Writing with closed and nonempty does not disconnect unless : then each piece is the complement of the other, hence also open, and one has a separation. The interval is a union of two closed pieces and is connected because they overlap.
Common mistake
(A union needs a common point)
The common-point proposition needs a point shared by all the sets (or an equivalent chaining condition). Two connected sets with no point in common can have a disconnected union: is separated by and , both open in the union.
- Equating connected with path-connected. Path-connected implies connected (as proved above) but not conversely (the sine-curve theorem).
- Thinking intervals must be bounded. In the interval characterization, rays and are intervals.
Summary
A space is connected if it has no separation. Intervals are exactly the connected subsets of ; continuous images, unions with a common point, closures squeezed between a connected set and its closure, and finite products of connected sets are connected. Path-connected spaces are connected. The topologist's sine curve is connected and not path-connected, so the two notions are genuinely different.
Exercises
Quick check
(Prove that is connected if and only if every continuous function (with the discrete topology on ) is constant.)
Solution · Answer
If is connected and is continuous, then and are disjoint open sets covering , so one is empty and is constant. Conversely if is a separation, define on and on . The preimages of the open subsets of are , all open, so is continuous and non-constant.
Quick check
(Show that if is continuous, then has a fixed point.)
Solution · Answer
Let . Then and . The function is continuous on the interval , so is an interval (the interval characterization and the continuous-image proposition) that contains a nonnegative and a nonpositive number, hence . So for some .
Quick check
(Show that the circle is not homeomorphic to .)
Solution · Answer
Suppose is a homeomorphism and put . Then restricts to a homeomorphism . The right side is disconnected by the interval characterization. The left side is connected: the rotation is a homeomorphism of carrying to , so is homeomorphic to , which is the image of the connected interval under the continuous map . This contradicts invariance of connectedness.
Quick check
(Prove that a product of two path-connected spaces is path-connected.)
Solution · Answer
Let be path-connected and . Choose paths from to in and from to in . The map is continuous by the universal property of the product (its coordinates are continuous), and it joins to .
Quick check
(Let be the union of the closed segments from the origin to for together with the segment from the origin to . Show that is path-connected, and hence connected.)
Solution · Answer
Each segment from to (and to ) is path-connected via the straight-line parametrization. Any point lies on some segment; follow that segment back to the origin. For two points , concatenate the path from to the origin and the path from the origin to (given by for and for ; this is continuous by the pasting lemma for the closed sets and since both formulas give the origin at ). So is path-connected, hence connected by the path-connectedness proposition.