Connectedness
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll define connectedness through separations, identify the connected subsets of , learn that continuous images of connected sets are connected, and use that to prove the intermediate value theorem in one line.
The Concept
Section titled “The Concept”The definition
Section titled “The definition”A separation of is a pair of nonempty disjoint open sets with .
is connected if no separation exists. Otherwise it is disconnected.
The definition is stated negatively, which is normal here: connectedness is the absence of a way to split the space.
Two equivalent formulations, both useful:
- is connected iff its only clopen subsets are and .
- is connected iff every continuous map , with discrete, is constant.
The second is the slickest for proofs. If the space cannot be split then a two-valued continuous function has nowhere to put the split, so it must be constant.
For a subset , connectedness is taken in the subspace topology. This is why is disconnected even though is not open in : it is open in the subspace.
The connected subsets of
Section titled “The connected subsets of R\mathbb{R}R”A subset of is connected if and only if it is an interval, where the term includes rays, single points, , and itself.
This is the base case everything else builds on, and it is exactly where completeness of enters topology. The proof that intervals are connected uses the supremum, and the statement is false over : the set and its complement in separate , so is totally disconnected.
The figure decomposes several subsets by merging intervals wherever there is no gap. The instructive pair is the third and fourth rows: is a single component because the point 1 is present to bridge them, while has two because it is missing. One point decides it.
Components
Section titled “Components”A connected component is a maximal connected subset.
Components partition the space, each one is closed, and they are open too when there are finitely many or when the space is nice enough. The number of components is a topological invariant, and it is usually the first one to try.
At the opposite end:
is totally disconnected if every component is a single point.
Examples: , the irrationals, any discrete space, and the Cantor set. The Cantor set is the interesting one - compact, uncountable, and totally disconnected all at once.
The theorems
Section titled “The theorems”Continuous images. If is continuous and is connected, then is connected.
Proof. If were a separation, then and would be nonempty, open, disjoint, and cover - a separation of . ∎
This is the workhorse. It says connectedness is preserved by continuous maps, which immediately makes it a topological invariant and gives the next result for free.
Intermediate value theorem. If is continuous and lies between and , then for some .
Proof. is connected, so is a connected subset of , hence an interval. An interval containing and contains everything between them, so it contains . ∎
That is the whole proof. Compare the real-analysis version, which needs a bisection argument or a supremum construction. The topological proof is shorter because it uses the right invariant.
Unions. A union of connected sets sharing a common point is connected. More generally, if any two of them intersect pairwise through a chain, the union is connected.
Closure. If is connected then is connected. Anything between and is connected too.
Products. A product of connected spaces is connected. So , the torus, and the cylinder are all connected.
Why not hereditary
Section titled “Why not hereditary”Connectedness is emphatically not inherited by subspaces. is connected and is not. This is what makes cut-point arguments work: if then removing corresponding points must leave homeomorphic - hence equally connected - spaces.
That single observation distinguishes from , distinguishes from (removing a point disconnects the line and not the plane), and distinguishes a letter Y from a letter I.
Worked Examples
Section titled “Worked Examples”Example 1: Show is disconnected.
Solution. In the subspace topology, is open, and is open. They are nonempty, disjoint, and cover .
Answer: a separation exists, so disconnected. ∎
Openness is relative to the subspace, which is what makes this work even though is not open in .
Example 2: Show is connected.
Solution. The union is simply , an interval, hence connected.
Contrast , which is . The two pieces are each open in the subspace and separate it, so it has two components. ∎
Example 3: Prove the intermediate value theorem.
Solution. Suppose is continuous and lies between and .
is an interval, hence connected. Continuous images of connected sets are connected, so is a connected subset of , hence an interval.
An interval containing both and contains , so for some . ∎
Example 4: Show is totally disconnected.
Solution. Take any two rationals and pick an irrational between them. Then
are open in , disjoint, nonempty, and cover since no rational equals .
So no subset with two points can be connected, meaning every component is a single point.
Answer: totally disconnected. ∎
The irrationals do the cutting. This is exactly the failure of completeness showing up as a topological property.
Example 5: Show .
Solution. Removing any point from leaves two components. Removing any point from leaves a connected space, since any two remaining points can be joined by a path going around the puncture.
A homeomorphism would have to preserve this behaviour.
∎
For general , proving needs more machinery, and homology is the standard tool.
Example 6: Show a continuous map from a connected space to a discrete space is constant.
Solution. Let be continuous with connected and discrete, and suppose takes two values .
Every subset of is open, so and are open, nonempty, disjoint, and cover - a separation.
∎
This is the criterion in its most usable form, and it is how connectedness is applied in practice.
Example 7: Show the topologist’s sine curve is connected.
Solution. Let and .
is a continuous image of the connected interval , so is connected. Every point of the added segment is a limit point of , because oscillates through every value in infinitely often as . Hence .
Since anything between a connected set and its closure is connected,
∎
But is not path-connected, which is the subject of the next lesson and the reason both notions are needed.
Real-World Applications
Section titled “Real-World Applications”Network reliability. Whether a communication network stays connected after failures is exactly a components question, and the components after a cut are the surviving sub-networks. Minimum cut algorithms compute how fragile the connection is.
Image segmentation. Connected component labelling is a standard first pass in computer vision, identifying distinct objects in a binary image. The 4-connected and 8-connected conventions are two different topologies on the pixel grid.
Robot motion planning. Two configurations are reachable from each other precisely when they lie in the same path component of the free configuration space. If the space is disconnected, no amount of clever planning helps.
Circuit analysis. A circuit’s connected components are its independent sub-circuits, and netlist tools compute them to detect floating nodes and unconnected pins.
Materials and percolation. Whether a porous material conducts is a question about whether a connected path spans it, and the percolation threshold is where the giant component appears.
Root-finding. Every bisection method is the intermediate value theorem in action, so every numerical solver that brackets a root is relying on connectedness of the interval.
Retrying will remove your ✅ checkmark until you pass again.