1. Home
  2. TED-Ed

Jan 15, 2014

How a fully booked infinite hotel fits more guests

6 min → 1:31

Overview

Jeff Dekofsky explains Hilbert's Paradox of the Grand Hotel, showing how a fully booked infinite hotel can still fit infinite new guests using prime numbers and the rules of countable infinity.

3 things to know

Dekofsky: A full infinite hotel can always take more guests

Jeff Dekofsky explains Hilbert's Grand Hotel Paradox, a thought experiment showing that a fully occupied hotel with an infinite number of rooms can always find space for additional arrivals.

▶ Watch at 0:24

Moving every guest down one room frees space

Jeff Dekofsky describes how the hotel creates space by shifting the person in room n to room n+1 for one new guest, or to room n+k for k new guests.

More

The primary strategy for creating space. To accommodate 'k' new guests, the person in room 'n' moves to room 'n+k'.

▶ Watch at 1:49

Doubling room numbers frees infinite odd rooms for guests

Jeff Dekofsky shows that moving each guest from room n to room 2n fills only the even-numbered rooms, opening up an infinite number of odd-numbered rooms for an infinite group of new arrivals.

More

This fills all the even-numbered rooms and frees up all the countably infinite odd-numbered rooms for the new arrivals.

▶ Watch at 4:20

Also in this episode

Dekofsky says powers of prime numbers fit infinite buses

Jeff Dekofsky explains that an infinite number of buses with infinite passengers can fit by moving current guests to powers of 2, and assigning each bus to powers of later prime numbers like 3, 5, and 7.

More

The solution for accommodating an infinite number of buses with infinite passengers.

Countable infinity matches items one-to-one with counting numbers

Jeff Dekofsky notes that every scenario in the hotel paradox uses countable infinity, where an infinite group can be paired one-to-one with standard counting numbers like 1, 2, and 3.

More

All scenarios in the video operate within this level of infinity.

Quotes

“The night manager's strategies are only possible because while the infinite hotel is certainly a logistical nightmare, it only deals with the lowest level of infinity, namely the countable infinity of the natural numbers.”

▶ Watch at 4:20

“Each current guest moves from room number n to room number 2n, filling up only the infinite even-numbered rooms. By doing this, he has now emptied all of the infinitely many odd-numbered rooms...”

▶ Watch at 1:49

“One night, the infinite hotel is completely full, totally booked up with an infinite number of guests.”

▶ Watch at 0:24

Full summary

Episode Overview

  • The episode introduces Hilbert's Paradox of the Grand Hotel, a thought experiment designed to illustrate the counterintuitive nature of infinite sets.
  • It explores progressively complex scenarios: how a fully booked infinite hotel can accommodate one new guest, a finite number of new guests, and a countably infinite number of new guests.
  • The most complex problem, accommodating an infinite number of buses each carrying an infinite number of passengers, is solved using the properties of prime numbers.
  • The video distinguishes between countable infinity (the type used in the paradox) and higher, uncountable levels of infinity where these solutions would not work.

Key Concepts

  • Hilbert's Grand Hotel Paradox: A thought experiment showing that a fully occupied hotel with an infinite number of rooms can always accommodate more guests.
  • Countable Infinity (Aleph-null): The concept of an infinite set whose elements can be put into a one-to-one correspondence with the set of natural numbers (1, 2, 3...). All scenarios in the video operate within this level of infinity.
  • Shifting Method: The primary strategy for creating space. To accommodate a new guest, the person in room 'n' moves to room 'n+1'. To accommodate 'k' new guests, the person in room 'n' moves to room 'n+k'.
  • Odd/Even Number Strategy: To accommodate an infinite number of new guests, existing guests in room 'n' are moved to room '2n'. This fills all the even-numbered rooms and frees up all the countably infinite odd-numbered rooms for the new arrivals.
  • Prime Number Exponentiation: The solution for accommodating an infinite number of buses with infinite passengers. Existing guests are assigned rooms that are powers of the first prime number (2), while passengers from each bus are assigned rooms that are powers of subsequent prime numbers (3, 5, 7, etc.).

Quotes

  • At 00:24 - "One night, the infinite hotel is completely full, totally booked up with an infinite number of guests." - This sets up the central paradox that drives the thought experiment.
  • At 01:49 - "Each current guest moves from room number n to room number 2n, filling up only the infinite even-numbered rooms. By doing this, he has now emptied all of the infinitely many odd-numbered rooms..." - This explains the elegant solution for accommodating an infinite number of new guests from a single bus.
  • At 04:20 - "The night manager's strategies are only possible because while the infinite hotel is certainly a logistical nightmare, it only deals with the lowest level of infinity, namely the countable infinity of the natural numbers." - This quote provides crucial context, distinguishing the paradox's scope from higher orders of infinity.

Takeaways

  • Infinity behaves differently than finite numbers. A core lesson is that our intuition about finite quantities does not apply to infinite sets; a "full" infinite collection can still make room for more.
  • Systematic thinking can solve impossible problems. The night manager uses structured mathematical rules (shifting, using odd/even numbers, and leveraging prime numbers) to methodically solve problems that seem paradoxical at first glance.
  • Not all infinities are the same size. The video introduces the idea that there are different "levels" or "orders" of infinity, with the countable infinity of natural numbers being the "lowest" and easiest to manipulate in this manner.

Watch the full episode 6 min

Read along with the audio summary

Can a completely full hotel still take in more guests? This episode, which came out on January 15, 2014, explores a thought experiment known as Hilbert's Paradox of the Grand Hotel. By the end, you will understand how mathematical rules allow an infinite collection to make room for more, and why not all infinities are the same size.

A fully booked hotel that never runs out of space. This thought experiment shows that a hotel with an infinite number of rooms can always accommodate more arrivals, illustrating the counterintuitive nature of infinite sets.

This works because of the lowest level of infinity. Every scenario in the hotel operates within countable infinity, also called aleph null. This is an infinite set whose elements can be matched one to one with the natural counting numbers, like one, two, and three.

How a simple shift opens up new rooms. When new guests arrive, the night manager uses a shifting method to create space. To fit one new guest, the person in a given room moves to the room number plus one.

To accommodate an infinite number of new guests from a single bus, each current guest moves from their room number to double that number. This fills up only the infinite even numbered rooms, which empties all of the infinitely many odd numbered rooms for the new arrivals.

Prime numbers can solve the ultimate logistical nightmare. An infinite number of buses pull up, each carrying an infinite number of passengers. The night manager assigns existing guests to rooms that are powers of the first prime number, two. Passengers from each bus are then assigned rooms that are powers of the next prime numbers, like three, five, and seven.

Our intuition about finite quantities does not apply to infinite sets, where systematic rules can make room in a full collection. However, these strategies only work because the hotel deals with the lowest level of infinity, while higher, uncountable levels would not allow these solutions.

Related Episodes