Connected Components
Statement
For any topological space and any point , the connected component of is the union of all connected subsets containing :
Three key facts hold simultaneously:
- Each is connected (the union of connected sets sharing a point is connected).
- The components partition : distinct components are disjoint, and every point belongs to exactly one component.
- Each is closed in .
A space is totally disconnected if every component is a singleton (e.g. ).
Visualization
Example 1 — has two components:
C₋ = (-∞, 0) C₊ = (0, +∞)
←──────────────────) 0 (──────────────────→
component component
of -1 of 1
Any path from -1 to 1 must cross 0, which is missing.
So no connected set straddles the gap.
Example 2 — is totally disconnected:
| Rational | Component | Size |
|---|---|---|
| singleton | ||
| singleton | ||
| (irrational, not in ) | — |
Between any two rationals lies an irrational . The open sets and disconnect any interval, so no two rationals share a component.
Closure: In , the component is open, and also closed (its complement is open). In general, components need not be open — but they are always closed.
Proof Sketch
-
Connectedness of : Write where each contains . Any two points of lie in some and both containing ; the union is connected (overlapping connected sets sharing a point). A union of connected sets with a common point is connected by induction.
-
Partition: If , then is a connected set containing both and , so it is contained in and in , forcing .
-
Closedness of : The closure is connected (closure of a connected set is connected in any topological space). Since is the maximal connected set containing , and contains and is connected, we must have , i.e. is closed.
Connections
- Heine–Borel TheoremHeine–Borel TheoremIn ℝⁿ, a subset is compact if and only if it is closed and boundedRead more → — in the connected components of an open set are open; Heine–Borel implies each compact connected component is closed and bounded.
- Tychonoff's TheoremTychonoff's TheoremAn arbitrary product of compact spaces is compact in the product topologyRead more → — the product of connected spaces is connected; equivalently, products of spaces with one component each have one component.
- Bolzano–Weierstrass TheoremBolzano–Weierstrass TheoremEvery bounded sequence in ℝⁿ has a convergent subsequenceRead more → — the real line is connected precisely because every bounded sequence has a convergent subsequence; total disconnectedness of is the obstruction Bolzano–Weierstrass cures by passing to .
Lean4 Proof
import Mathlib.Topology.Connected.Basic
/-- Each connected component is a closed set. -/
theorem connectedComponent_is_closed
{X : Type*} [TopologicalSpace X] (x : X) :
IsClosed (connectedComponent x) :=
isClosed_connectedComponent
/-- Two points share a component iff one is in the component of the other. -/
theorem same_component_iff
{X : Type*} [TopologicalSpace X] {x y : X} :
connectedComponent x = connectedComponent y ↔ y ∈ connectedComponent x :=
connectedComponent_eq_iff_mem