Connected Spaces
Can a space be torn in two without cutting through it? This deceptively simple question is the seed of one of topology's most useful ideas: connectedness. A circle cannot be split into two disjoint open arcs covering it entirely without overlap. Two separate circles, however, obviously can be split that way. Making this intuition precise — without reference to distance, dimension, or pictures — is the work of this article. Connectedness matters because it is a topological invariant: it is preserved by continuous maps and by homeomorphisms. So it can be used to distinguish spaces that look different but might otherwise be confused. It can also be used to prove facts about continuous functions, most famously the topological form of the Intermediate Value Theorem. It is also one of the cleanest illustrations of the power of point-set topology's method: define a global property purely in terms of open sets, then extract hard analytic consequences from soft combinatorial reasoning about those open sets. The big picture is this: a space is disconnected exactly when it can be exhibited as a disjoint union of two nonempty "clopen" pieces. Otherwise, it is connected. This single definition, built entirely from open sets, turns out to control an enormous amount of geometry. It governs which subsets of look like intervals, why continuous real-valued functions on connected domains cannot skip values, and why is not homeomorphic to for (a fact whose full proof needs more machinery, but whose first hints appear here). This article builds connectedness from the ground up via separations. It proves the fundamental theorems on subsets, unions, closures, and continuous images. It characterizes the connected subsets of . It closes with the classical topologist's sine curve as a cautionary tale about what connectedness does not guarantee.
- A space is disconnected if it splits into two disjoint nonempty open sets whose union is the whole space; otherwise it is connected.
- Connectedness is intrinsic to a subspace: it does not depend on the ambient space, only on the subspace topology.
- The union of a family of connected sets sharing a common point is connected — this is the "glue" lemma behind almost every connectedness argument.
- The closure (and any set squeezed between a connected set and its closure) of a connected set is connected.
- Continuous images of connected spaces are connected — this is the topological engine behind the Intermediate Value Theorem.
- The connected subsets of are exactly the intervals (including points, rays, and all of ).
- Key idea: connectedness is a purely open-set property — "cannot be split into two clopen halves" — that is invariant under continuous maps and hence detects genuine topological difference.
Where this lives today
Connectedness is a load-bearing wall of modern mathematics and its applications. In real analysis, it is the exact hypothesis behind the topological Intermediate Value Theorem: a continuous real-valued function on a connected domain has an interval (or single point) as its image, which is the abstract reason a continuous function cannot "jump over" a value. In complex analysis, connectedness of domains is a standing hypothesis for the identity theorem and analytic continuation — two analytic functions agreeing on a set with a limit point in a connected domain must agree everywhere on that domain. In algebraic topology, connectedness is the zeroth invariant computed before anything else (the number of path components is literally ), and distinguishing connected from disconnected spaces is the first, cheapest tool for proving spaces are not homeomorphic. In graph theory and computer science, "connected components" of a graph are the discrete combinatorial shadow of exactly this topological idea, underlying network reliability analysis, image segmentation (finding connected regions of pixels), and clustering algorithms. In dynamical systems, the connected components of level sets and basins of attraction organize the qualitative behavior of a system. Even in statistical mechanics and percolation theory, "connectivity" of clusters of occupied sites is a direct combinatorial analogue of point-set connectedness, studied via phase transitions in the probability that an infinite connected cluster exists.
Ask the tutor: How does connectedness generalize to path-connectedness, and why does the topologist's sine curve separate the two notions so sharply?
Let be a topological space. A separation of is a pair of subsets of such that: 1. and are open in ; 2. and ; 3. ; 4. . is disconnected if a separation of exists, and is connected if no separation of exists. For a subset , we say is a connected subset of if is connected as a topological space in the Subspace Topology inherited from . Concretely, a separation of is a pair of sets , nonempty, disjoint, with , each of which is open in — equivalently, each of the form for open in . Equivalently: is connected if and only if the only subsets of that are simultaneously open and closed (clopen) are and .
Intuition
Think of a space as a piece of material and a separation as a way of cutting it into two pieces with no shared boundary and no leftover dust — every point lands in exactly one of the two open pieces. A disk is connected: any attempt to write it as two disjoint nonempty open pieces fails, because the "cut" would have to pass through some boundary points that belong to both pieces' closures, contradicting openness of both. Two disjoint open disks together, however, form a disconnected space: each disk is one piece of a valid separation. The equivalence with clopen sets is the workhorse in practice. To show is connected, you assume some is clopen and not or , then derive a contradiction; to show is disconnected, you exhibit a proper nonempty clopen set. This clopen viewpoint also explains why connectedness is so rigid under continuous maps: a continuous map pulls back clopen sets to clopen sets, so it cannot "see" a disconnection in its target that isn't already latent in its source, and it cannot manufacture new disconnections in its image. A second key intuition is the "glue" principle: if a bunch of connected pieces all share at least one common point, gluing them along that point cannot introduce a disconnection, because any clopen set containing the common point must swallow every piece whole. This is what lets us show star-shaped or "linked" unions are connected without checking each piece individually against a separation.
Let and be topological spaces, let be continuous, and suppose is connected. Then , with the subspace topology from , is connected.
We use proof by contradiction, converting a hypothetical separation of into one of via continuity's clopen-pullback property. Suppose, for contradiction, that is disconnected. Then there is a separation
where are nonempty, disjoint, and open in (subspace topology). By definition of the subspace topology there exist sets open in with
Let be with codomain restricted to ; this is continuous because is continuous and the subspace topology on has, as its open sets, exactly the sets of the form for open in — so preimages under of open sets in coincide with preimages under of the corresponding open sets in , which are open in since is continuous. (This restriction fact is a standard consequence of the definition of the subspace topology and continuity, used here only as a bookkeeping device.) Define
Since is open in and is continuous, is open in . Similarly is open in . We check form a separation of :
- Disjoint. If then , impossible. So .
- Cover. For any , , so or , i.e. or . Hence .
- Nonempty. Since , pick ; then for some (as ), and . So . Symmetrically .
Thus is a separation of , contradicting the hypothesis that is connected. This contradiction shows our assumption was false: admits no separation, so is connected.
∎If (i.e. there is a homeomorphism ) and is connected, then is connected. Hence connectedness is a topological invariant: it cannot distinguish homeomorphic spaces, but it can be used to prove two spaces are not homeomorphic if one is connected and the other is not.
A homeomorphism is in particular a continuous surjection, so is connected by the theorem above, using connected as hypothesis.
∎A space is connected if and only if the only subsets of that are both open and closed are and .
() Suppose is connected and let be clopen. Set , . Since is open, is open; since is closed, is open. Also and by construction. If both and , then is a separation of , contradicting connectedness. Hence or . () Suppose the only clopen sets are and , and suppose toward contradiction that is a separation of . Then is open, and is closed because is open. So is clopen, nonempty, and (since forces ). This contradicts the hypothesis. Hence no separation exists and is connected.
∎Let be a topological space and let be a family of connected subsets of , indexed by a nonempty set , such that
Then is connected.
We use the Clopen criterion just proved, applied inside the subspace . Fix a point . Let be clopen in , and suppose ; we show . For each , consider . Since is open in , for some open in , so
(using ), which is open in (subspace topology restricted from , or equivalently from — subspace topologies are transitive). Likewise, since is closed in , for some closed in , and by the same computation is closed in . So is clopen in for every . Since is connected, the clopen criterion gives or , for each .
Case A: Suppose for every . Then for every in particular, but for every , and if take any ; since , for some , so , a contradiction. So this case cannot occur when .
Case B: Hence there exists some with , i.e. . In particular , so . Now for any : since , we have (it contains ). Combined with the dichotomy above (), we must have , i.e. , for every . Therefore
so . We have shown: every nonempty clopen subset of equals . By the clopen criterion, is connected.
∎Let be a topological space, let be connected, and let be any set with
(closure taken in ). Then is connected (in the subspace topology from ).
By the clopen criterion, it suffices to show that the only subset of that is clopen in and nonempty is itself. Let be clopen in and suppose . Since is open in , and closed in , in particular restricting to the subspace (subspace topologies are transitive: the subspace topology inherits from equals the one it inherits from ), the set is clopen in . We claim . Since is nonempty, pick . As is open in , write for open in ; then is an open set of containing , so by the defining property of closure, meets : there exists . Since , , so , proving . Since is a nonempty clopen subset of the connected space , the clopen criterion forces
Now we upgrade this to . Since is closed in , write for some closed in . Then , and since is closed in and contains , closure-minimality gives . Combined with (hypothesis), we get , hence
So . By the clopen criterion, is connected.
∎If is connected, then its closure (in ) is connected. (Take in the theorem.)
Worked examples
Example 1 — the connected subsets of are exactly the intervals. We prove: (with the standard order/metric topology) is connected if and only if is an interval, meaning: for all with , every with satisfies . (This includes , single points, all bounded/unbounded interval types, and itself as degenerate or full cases.) (, contrapositive) If is not an interval, is disconnected. Suppose is not an interval. Then there exist , , and with , . Define
Both are open in (as intersections of with sets open in ). They are disjoint since and are disjoint. Their union is , since . Both are nonempty: (as ) and (as ). This is a separation of , so is disconnected. () If is an interval, is connected. Suppose toward contradiction that is an interval but disconnected, with separation , nonempty, open in , disjoint. Pick , ; WLOG . Since is an interval, . Let
This set is nonempty (contains ) and bounded above by , so exists in , and , so or .
- If : since is open in , there is with . Because , no point of lies in . But is the supremum of , so there exist points of in ; since these points cannot equal , so they lie in , contradicting that this interval meets only . (Also here since , .) Contradiction.
- If : since is open in , there is with . If , then points of slightly larger than (still , since ) lie in , contradicting that is the supremum of . So we'd need ; but while we assumed , and , contradiction.
Both cases contradict, so no separation of exists: is connected. This example is the precise topological content behind "an interval cannot be cut into two pieces," and it is the exact fact used to prove the Intermediate Value Theorem topologically (foreshadowed but not developed further here).
Example 2 — an explicit non-trivial gluing. Let with the standard topology. Consider the three sets
None of these individually is trivial to certify connected from raw definitions, so instead we build up: is connected (it is the continuous image of the connected interval under , using the continuous-image theorem proved above together with Example 1's fact that is connected). and are connected for the same reason (continuous images of intervals under affine parametrizations, e.g. for ). Now: , nonempty, so is connected by the gluing lemma. Next, , since (as ) and (as ), and no other point of has -coordinate exactly except this one (points of have so is impossible, and only the endpoint of has ). Applying the gluing lemma again (family , common point ), we conclude
is connected — a circle with a "flag pole" segment attached and a vertical stick at the far end, all in one connected piece, verified without ever writing down an explicit separation-free argument for the whole complicated shape at once. This illustrates the gluing lemma's real power: connectedness of complicated finite unions reduces to connectedness of simple pieces plus a chain of shared points.
The gluing lemma requires . Without it, the conclusion fails. Take , and let , . Each is connected by Example 1 (both are intervals). But
Consider . Let
Both are open in (subspace topology), disjoint (since and are disjoint), nonempty (, ), and their union is since . This is a genuine separation, so is disconnected. This shows the hypothesis in the gluing lemma cannot be dropped: two individually connected sets with empty intersection can union to a disconnected set. The lemma's proof used the common point essentially, at the step forcing every once one of them was found inside — without a shared point that "domino" step has no anchor.
Scope, edge cases & common traps
| Situation | What holds | What can fail |
|---|---|---|
| connected, | connected | Nothing — theorem is airtight as stated |
| Union of connected sets, common point exists | Union connected | Fails badly if intersection is empty (see counterexample) |
| continuous, connected | connected | Fails if is only defined on part of or is discontinuous |
| Connected path-connected | False in general | Topologist's sine curve is connected but not path-connected |
| connected | is an interval | Only true for the order topology on ; fails in general metric spaces |
| Intersection of connected sets | Not generally connected | Two overlapping arcs can intersect in a disconnected set |
The mathematician behind it
Origins · 1 minGeorg Cantor and how this was discovered
Cantor did not phrase connectedness in the modern open-set language — that formalization came later, chiefly through Felix Hausdorff and the Polish school (Kuratowski, Sierpiński) in the early twentieth century. But Cantor's foundational work on point sets in the 1870s–1880s, especially his study of perfect sets, derived sets, and the structure of subsets of , created the conceptual vocabulary — closure, accumulation point, the continuum — without which "connectedness" could not even be asked as a precise question. His insistence on treating infinite sets of points as legitimate mathematical objects, subject to rigorous classification, is the intellectual soil from which point-set topology, and this theorem, grew.
Is connected, and is a one-point space connected?
By convention, both are connected, though this is sometimes treated as a degenerate edge case. For : a separation requires two nonempty sets, and has no nonempty subsets at all, so no separation exists — vacuously connected. For a one-point space : any separation would need two disjoint nonempty subsets of , but has only one nonempty subset, itself, so again no valid separation exists. Some authors explicitly exclude from "connected" by fiat to avoid degenerate statements in theorems about components, but as defined via separations, satisfies the definition.
Why does the definition require both and to be open, rather than one open and one closed?
If partition with open and , then is automatically closed — that is forced by set complementation, not an extra hypothesis. The real content of "separation" is that (and hence also , being its complement) is both open and closed, i.e. clopen. Requiring both to be open (rather than one open, one closed) is what encodes that neither piece touches the other's boundary: if were merely closed but not open, points of could still be limit points of , meaning isn't truly "detached." Openness of both pieces is precisely the condition ruling that out.
Does connectedness depend on the ambient space , or is it intrinsic to ?
It is intrinsic to : connectedness of is defined via the subspace topology on , which depends only on and the open sets of intersected with — not on how sits inside . Concretely, if happens to also be a subspace of some other space (via an embedding), 's connectedness as computed in and in agree, because both computations reduce to the same intrinsic open sets of . This is why we can speak of " is connected" without always specifying an ambient space, once the subspace topology on itself is fixed.
Is the intersection of two connected sets always connected?
No. Take two overlapping circular arcs in the plane that cross at two separate points but whose union of overlap is exactly those two isolated points (e.g. two arcs meeting only at and with no shared arc between). Each arc is connected (continuous image of an interval), but their intersection — two isolated points — is disconnected, since it can be separated by two disjoint open balls each containing exactly one point. This is a genuinely different phenomenon from the union case; connectedness behaves well under unions with common points but has no analogous guarantee for intersections.
How does connectedness relate to proving spaces are not homeomorphic?
Because connectedness is a topological invariant (preserved under homeomorphism, by the corollary above), it gives a fast negative test: if is connected and is not, then . For example, is connected but is not (it splits into and ), so removing a single interior point breaks a homeomorphism-detecting invariant — this is exactly the technique used to show is not homeomorphic to : removing a point from disconnects it, but removing a point from does not (a fact requiring slightly more work but built on this same idea).
What's the relationship between this and the Intermediate Value Theorem?
The topological IVT says: if is continuous and is connected, then is an interval. This follows immediately from the two results proved here — continuous images of connected sets are connected (theorem above), and connected subsets of are exactly intervals (Example 1). The classical calculus IVT (if is continuous on and then has a root) is the special case : since is an interval, it is connected, so is an interval containing both and , hence containing every value between them, including .
Can a space be both connected and disconnected under different topologies on the same underlying set?
Yes — connectedness is a property of the topology, not just the underlying set. The same set is disconnected under the discrete topology (both and are clopen) but connected under the indiscrete (trivial) topology, where the only open sets are and itself, leaving no room for a nonempty proper clopen set. This underscores that "connected" is never a property of a bare set — it always presupposes a specified topology.