Imagine a hotel with infinitely many rooms, numbered 1, 2, 3, โฆ and tonight every single one is full. A weary traveller walks in asking for a room. At a normal hotel: "Sorry, no vacancy." But this hotel is infinite โ and that changes everything. It can always make room, even for infinitely many new guests at once. Scroll through to see how, and what it reveals about the strange arithmetic of infinity.
The rooms run off forever to the right, toward โ, and every one is occupied (a guest dot sits in each). Yet there's always space. Run a scenario and watch the guests slide to new rooms, freeing exactly the space needed โ without ever evicting anyone or running out of rooms.
The trick works because of bijection: a perfect one-to-one pairing. If you can pair every element of one set with exactly one element of โ = {1, 2, 3, โฆ}, the two sets have the same size โ the same cardinality, called โตโ ("aleph-null"). Below, each set is paired one-to-one with the counting numbers. The connecting lines never miss and never double up.
A set is countable if its members can be put in a one-to-one correspondence with the counting numbers โ โ equivalently, if you could (in principle) list them out as a 1st, 2nd, 3rd, โฆ and reach any particular one in a finite number of steps.
The hotel's three rescues are exactly three such lists:
It feels like cheating, but every step is a legitimate, well-defined function. Infinity isn't a very large number โ it's a size, and arithmetic with it follows different (yet perfectly consistent) rules. The real surprise, from Georg Cantor, is that there are different sizes of infinity: the hotel can house every countable crowd, but there is no hotel โ countable or otherwise โ that can list all the real numbers.