Read this lesson as text
One Piece or Several?
Real Analysis · Axiom Academy
Some sets hold together as a single unbroken piece; others fall apart into separate chunks. That difference has a name — and on the number line it has a startlingly clean answer. What does it mean for a set to be "in one piece"? A solid interval like the segment from 0 to 2 feels like one connected piece. Two separated chunks like the segment from 0 to 1 together with the segment from 2 to 3 clearly do not — there is a gap between them. Topology makes that intuition exact, and the payoff is huge: a set that is in one piece cannot be torn apart by a continuous function. Watch the connected interval get carried along by a continuous map. It stretches, it bends, it bunches up — but because the map never tears, the image stays a single unbroken piece. That one fact is the whole engine behind the Intermediate Value Theorem. No tear anywhere along the way — so a single interval goes in and a single interval comes out. The continuous image of a connected set is connected. Open a gap, and one piece becomes several Start with one solid interval on the line. Drag the slider to open a gap in the middle and watch it split into separate pieces. At one special setting you get the textbook example — and the readout names exactly which gap broke it apart. A nonempty gap is exactly what disconnects a set: it splits it into two pieces that are separated, with nothing of the set in between. Try to cut a single interval in two
This is the written version of the interactive lesson above. See the full Real Analysis course.