The Infinite Hotel Paradox - Jeff Dekofsky — Transcript
Full transcript
- 0:06In the 1920's,
- 0:07the German mathematician David Hilbert
- 0:10devised a famous thought experiment
- 0:12to show us just how hard it is
- 0:14to wrap our minds around the concept of infinity.
- 0:18Imagine a hotel with an infinite number of rooms
- 0:21and a very hardworking night manager.
- 0:24One night, the Infinite Hotel is completely full,
- 0:27totally booked up with an infinite number of guests.
- 0:31A man walks into the hotel and asks for a room.
- 0:34Rather than turn him down,
- 0:35the night manager decides to make room for him.
- 0:37How?
- 0:38Easy, he asks the guest in room number 1
- 0:41to move to room 2,
- 0:43the guest in room 2 to move to room 3,
- 0:46and so on.
- 0:47Every guest moves from room number "n"
- 0:49to room number "n+1".
- 0:52Since there are an infinite number of rooms,
- 0:54there is a new room for each existing guest.
- 0:57This leaves room 1 open for the new customer.
- 0:59The process can be repeated
- 1:01for any finite number of new guests.
- 1:03If, say, a tour bus unloads 40 new people looking for rooms,
- 1:07then every existing guest just moves
- 1:09from room number "n"
- 1:11to room number "n+40",
- 1:13thus, opening up the first 40 rooms.
- 1:17But now an infinitely large bus
- 1:19with a countably infinite number of passengers
- 1:21pulls up to rent rooms.
- 1:23countably infinite is the key.
- 1:26Now, the infinite bus of infinite passengers
- 1:28perplexes the night manager at first,
- 1:30but he realizes there's a way
- 1:32to place each new person.
- 1:33He asks the guest in room 1 to move to room 2.
- 1:36He then asks the guest in room 2
- 1:38to move to room 4,
- 1:40the guest in room 3 to move to room 6,
- 1:42and so on.
- 1:44Each current guest moves from room number "n"
- 1:47to room number "2n" --
- 1:50filling up only the infinite even-numbered rooms.
- 1:54By doing this, he has now emptied
- 1:55all of the infinitely many odd-numbered rooms,
- 1:58which are then taken by the people filing off the infinite bus.
- 2:03Everyone's happy and the hotel's business is booming more than ever.
- 2:06Well, actually, it is booming exactly the same amount as ever,
- 2:10banking an infinite number of dollars a night.
- 2:14Word spreads about this incredible hotel.
- 2:16People pour in from far and wide.
- 2:18One night, the unthinkable happens.
- 2:20The night manager looks outside
- 2:23and sees an infinite line of infinitely large buses,
- 2:27each with a countably infinite number of passengers.
- 2:30What can he do?
- 2:31If he cannot find rooms for them, the hotel will lose out
- 2:34on an infinite amount of money,
- 2:35and he will surely lose his job.
- 2:37Luckily, he remembers that around the year 300 B.C.E.,
- 2:41Euclid proved that there is an infinite quantity
- 2:44of prime numbers.
- 2:47So, to accomplish this seemingly impossible task
- 2:49of finding infinite beds for infinite buses
- 2:52of infinite weary travelers,
- 2:54the night manager assigns every current guest
- 2:57to the first prime number, 2,
- 2:59raised to the power of their current room number.
- 3:01So, the current occupant of room number 7
- 3:04goes to room number 2^7,
- 3:07which is room 128.
- 3:10The night manager then takes the people on the first of the infinite buses
- 3:13and assigns them to the room number
- 3:15of the next prime, 3,
- 3:18raised to the power of their seat number on the bus.
- 3:21So, the person in seat number 7 on the first bus
- 3:25goes to room number 3^7
- 3:28or room number 2,187.
- 3:31This continues for all of the first bus.
- 3:34The passengers on the second bus
- 3:35are assigned powers of the next prime, 5.
- 3:39The following bus, powers of 7.
- 3:41Each bus follows:
- 3:42powers of 11, powers of 13,
- 3:44powers of 17, etc.
- 3:47Since each of these numbers
- 3:48only has 1 and the natural number powers
- 3:50of their prime number base as factors,
- 3:53there are no overlapping room numbers.
- 3:55All the buses' passengers fan out into rooms
- 3:58using unique room-assignment schemes
- 4:00based on unique prime numbers.
- 4:03In this way, the night manager can accommodate
- 4:05every passenger on every bus.
- 4:07Although, there will be many rooms that go unfilled,
- 4:11like room 6,
- 4:12since 6 is not a power of any prime number.
- 4:15Luckily, his bosses weren't very good in math,
- 4:17so his job is safe.
- 4:19The night manager's strategies are only possible
- 4:22because while the Infinite Hotel is certainly a logistical nightmare,
- 4:26it only deals with the lowest level of infinity,
- 4:29mainly, the countable infinity of the natural numbers,
- 4:331, 2, 3, 4, and so on.
- 4:36Georg Cantor called this level of infinity aleph-zero.
- 4:40We use natural numbers for the room numbers
- 4:43as well as the seat numbers on the buses.
- 4:45If we were dealing with higher orders of infinity,
- 4:48such as that of the real numbers,
- 4:49these structured strategies would no longer be possible
- 4:52as we have no way to systematically include every number.
- 4:57The Real Number Infinite Hotel
- 4:58has negative number rooms in the basement,
- 5:00fractional rooms,
- 5:02so the guy in room 1/2 always suspects
- 5:04he has less room than the guy in room 1.
- 5:07Square root rooms, like room radical 2,
- 5:10and room pi,
- 5:11where the guests expect free dessert.
- 5:14What self-respecting night manager would ever want to work there
- 5:17even for an infinite salary?
- 5:19But over at Hilbert's Infinite Hotel,
- 5:20where there's never any vacancy
- 5:22and always room for more,
- 5:24the scenarios faced by the ever-diligent
- 5:26and maybe too hospitable night manager
- 5:28serve to remind us of just how hard it is
- 5:31for our relatively finite minds
- 5:33to grasp a concept as large as infinity.
- 5:37Maybe you can help tackle these problems
- 5:39after a good night's sleep.
- 5:40But honestly, we might need you
- 5:42to change rooms at 2 a.m.
About this transcript
This page contains the full transcript of The Infinite Hotel Paradox - Jeff Dekofsky by TED-Ed, generated from the public captions YouTube serves with the video. The transcript has 931 words across 135 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.