Connected component Created 2026-09-24 Updated 2026-10-14
A connected component of a topological space is a nonempty connected subset that is maximal under subset inclusion. If is a connected component and with a connected subset, then . Maximality means that no larger connected subset contains ; it does not mean largest cardinality among all connected subsets.
For example, the connected components of in the usual subspace topology of the real line are and . Each is a real interval, and no connected subset of the real line can meet both without containing the missing point . For the finite set in the same subspace topology, the three connected components are its singleton sets.
Figure 1.
An intact real interval, an interval with an interior point removed, and a finite set have one, two, and three connected components in the usual subspace topology of the real line
. Details.
Every point lies in exactly one connected component, constructed by taking the union
All members contain , so their union is connected by connected union with a connected hub. The union includes every connected subset through , so it is maximal. Equivalently, define
This is an equivalence relation: singleton sets give reflexivity, symmetry is immediate, and two connected subsets sharing the middle point have a connected union, giving transitivity. The equivalence classes are precisely the connected components. They form a partition of a set: they cover and any two are either equal or disjoint.[ref]
Every nonempty connected subset lies within one connected component. Moreover, every connected component is closed in : closure of a connected set makes its closure connected, and maximality forces that closure to equal the original connected component. A connected component need not be open. For example, in with its usual subspace topology from the real line, all connected components are singleton sets, but is not open: every neighbourhood of in contains some .[ref]
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.
Continuous image of a connected space Created 2026-09-24 Updated 2026-10-14
If is a continuous map and is a connected space, then its image , with the subspace topology from , is a connected subset of . The whole codomain need not be connected; the assertion concerns the values actually attained. No injectivity is required.[ref]
For example, the continuous function maps the connected closed interval onto the connected closed interval , even though opposite inputs have the same output. The same continuous function maps the disconnected union onto . Thus a connected image does not imply a connected source: a continuous map can merge different connected components.
For a continuous function representing a continuous reading, and force some input with . Its image is a connected subset of the real line, hence a real interval containing both endpoint readings. For the synthetic model , the missing-value test is explicit: . A step reading equal to for and for skips , but fails continuity at .
Figure 1.
A continuous function attains intermediate readings; a step that skips them violates continuity
. Synthetic mathematical models, not measured data. The continuous function attains at ; the step attains only and . Details.
Proof outline: a separation of a topological space of into nonempty open subsets pulls back under to nonempty open subsets of . Their intersection is empty and their union is , contradicting connectedness. This also shows why a continuous map sends each connected component of its source into a single connected component of its target.
Let be a real interval, and let be differentiable in its interior and continuous at any endpoints belonging to . If the derivative satisfies throughout the interior, then is a nondecreasing function on . For in , the mean value theorem supplies with
Changing to , , or gives a nonincreasing function, strictly increasing function, or strictly decreasing function, respectively. The endpoint continuity assumption lets the mean value theorem apply even when or is an endpoint. [ref].
Conversely, if a nondecreasing function on a real interval is differentiable at an interior point , then : the difference quotient is nonnegative for either sign of . A differentiable nonincreasing function has derivative . Strict monotonicity still only forces these weak signs: the strictly increasing function has derivative zero at zero. The sign of the derivative helps locate intervals of monotonicity when sketching a graph. [ref].
The real interval hypothesis matters because a connected subset of the real line contains every point between its inputs. On a disconnected domain of a function, positive derivatives need not give a nondecreasing function. For example, take
Here everywhere in , but while . Each component has a strictly increasing function, yet their outputs are ordered the wrong way across the gap. This function is neither a nondecreasing function nor a nonincreasing function on all of ; the mean value theorem cannot cross the missing interval.
Figure 1.
A zero derivative can coexist with strict increase, while a domain gap defeats the derivative test
. Left: the strictly increasing function and its derivative , both zero at the origin. Right: two separate graph segments with derivative one on , but a lower output on the right component. Open circles exclude the four component endpoints. Details.
First recall from the least-upper-bound property that every real interval is connected. For completeness, if were a separation with , let be the supremum of the points for which remains in . Relative openness rules out both and : in the first case one can move slightly to the right while staying in , and in the second one finds points of slightly to the left of , contrary to the definition of . Thus no separation exists.
Part (a) now makes a connected subset of the real line. Such a set is an interval: if it contained but omitted , its intersections with and would separate it. Since contains and , it consequently contains every number between them. Therefore for each such there is an with . This derives the intermediate value theorem from connectedness.