Return to Video

The Infinite Hotel Paradox - Jeff Dekofsky

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

View full lesson: http://ed.ted.com/lessons/the-infinite-hotel-paradox-jeff-dekofsky

The Infinite Hotel, a thought experiment created by German mathematician David Hilbert, is a hotel with an infinite number of rooms. Easy to comprehend, right? Wrong. What if it's completely booked but one person wants to check in? What about 40? Or an infinitely full bus of people? Jeff Dekofsky solves these heady lodging issues using Hilbert's paradox.

Lesson by Jeff Dekofsky, animation by The Moving Company Animation Studio.

more » « less
Video Language:
English
Team:
closed TED
Project:
TED-Ed
Duration:
06:00
  • The English transcript was updated on 3/23/2015.

  • Please note a typo in 1:19 countedly infinite => countebly infinite

  • Amendment to the previous comment:
    in 1:19, 1:23, and 2:28 should be countably infinite instead of countedly infinite. :)

English subtitles

Revisions Compare revisions