Mathwords logoMathwords

Hilbert's Paradox of the Grand Hotel — Definition & Example

Hilbert's Paradox of the Grand Hotel is a thought experiment about a hotel with infinitely many rooms, every one of them occupied. The hotel can still take in new guests, even infinitely many, by moving the current guests to other rooms.

Number the rooms with the natural numbers N={1,2,3,… }\mathbb{N} = \{1, 2, 3, \dots\}. The paradox is the fact that N\mathbb{N} can be matched one-to-one with proper subsets of itself. The map f(n)=n+1f(n) = n + 1 is a bijection from N\mathbb{N} onto N∖{1}\mathbb{N} \setminus \{1\}, and g(n)=2ng(n) = 2n is a bijection from N\mathbb{N} onto the even numbers. So adding one element, or adding a second countably infinite set, leaves the cardinality at ℵ0\aleph_0. It is a veridical paradox: the result feels wrong but involves no contradiction.

Key Formula

n↦n+kandn↦2nn \mapsto n + k \qquad \text{and} \qquad n \mapsto 2n
Where:
  • nn = A guest's current room number (a natural number)
  • kk = The number of new guests in a finite group; rooms 1 through k are freed for them
  • 2n2n = The new room when infinitely many guests arrive; this frees every odd-numbered room

Worked Example

Problem: The Grand Hotel is full. A van with 4 new guests arrives. Later, a bus arrives with infinitely many passengers, numbered 1, 2, 3, and so on. Fit everyone in. Where does the guest who started in room 10 end up, and which room does bus passenger 7 get?
Step 1: Fit the 4 van guests. Move every guest from room nn to room n+4n + 4. Rooms 1, 2, 3, and 4 are now empty, so the van guests take them. The guest from room 10 moves to room 14.
n↦n+4:10↦14n \mapsto n + 4: \quad 10 \mapsto 14
Step 2: Make room for the bus. Move the guest in room mm to room 2m2m. Every current guest now has an even room, and every odd room is empty. The guest in room 14 moves to room 28.
m↦2m:14↦28m \mapsto 2m: \quad 14 \mapsto 28
Step 3: Send bus passenger kk to odd room 2k−12k - 1. Each odd room receives exactly one passenger, and odd rooms never overlap even rooms, so no two people share a room.
k↦2k−1:7↦13k \mapsto 2k - 1: \quad 7 \mapsto 13
Answer: The guest who started in room 10 ends up in room 28. Bus passenger 7 gets room 13. Every room still holds exactly one person, and nobody was turned away.

Why It Matters

In discrete math and real analysis courses, you prove that sets such as the integers and the rationals are countable by matching them one-to-one with the natural numbers, the same idea the hotel uses. The paradox also shows the defining property that separates infinite sets from finite ones: an infinite set can match a proper subset of itself. The Countably Infinite page gives the formal definition, and this paradox is the standard story that shows why that definition behaves so strangely.

Common Mistakes

Mistake: Concluding that the hotel can fit any infinite crowd, such as one guest for every real number between 0 and 1.
Correction: The room moves only work for countably many guests, because each guest needs a natural-number room. Cantor's diagonal argument shows that the real numbers between 0 and 1 cannot be listed this way, so that crowd cannot fit.

Related Terms

  • Zeno's Paradoxes — An ancient puzzle where infinity also defies intuition
  • Countably Infinite — Formal definition; this page is its thought experiment
  • Cardinality — Measures set size; the hotel's size never changes
  • Countable — Describes exactly which guest groups can always fit
  • Infinite — Infinite sets, unlike finite ones, can match proper subsets
  • Finite — A full finite hotel could never take another guest
  • Partition of a Set — Even and odd rooms partition the hotel's rooms