00:00Imagine there's a hotel with infinite
00:04rooms. They're numbered 1, 2, 3, 4, and so
00:09on forever. This is the Hilbert Hotel and
00:14you are the manager. Now it might seem
00:17like you could accommodate anyone who
00:18ever shows up, but there is a limit, a way
00:22to exceed even the infinity of rooms at
00:25the Hilbert Hotel. To start, let's say
00:28only one person is allowed in each room
00:30and all the rooms are full. There are an
00:33infinite number of people in an infinite
00:35number of rooms. Then someone new shows up
00:39and they want a room, but all the rooms
00:41are occupied, so what should you do? Well,
00:44a lesser manager might turn them away, but
00:46you know about infinity, so you get on the
00:49PA and you tell all the guests to move
00:51down a room. So the person in room 1 moves
00:54to room 2, the one in room 2 moves to room
00:563, and so on down the line. And now you can
00:59put the new guest in room 1. If a bus shows
01:02up with 100 people, you know exactly what
01:04to do. Just move everyone down 100 rooms
01:06and put the new guests in their vacated
01:08rooms. But now, say a bus shows up that is
01:11infinitely long and it's carrying infinitely
01:14many people. You knew what to do with a
01:17finite number of people, but what do you do
01:19with infinite people? You think about it for a
01:22minute and then come up with a plan. You tell
01:25each of your existing guests to move to
01:27the room with double their room number. So
01:30the person in room 1 moves to room 2, room 2
01:33moves to room 4, room 3 to room 6, and so on. And
01:37now all of the odd numbered rooms are
01:40available. And you know there are an
01:42infinite number of odd numbers, so you can
01:45give each person on the infinite bus a
01:47unique odd numbered room. This hotel is
01:51really starting to feel like it can fit
01:53everybody. And that's the beauty of
01:55infinity. It goes on forever. And then all
01:58of a sudden more infinite buses show up.
02:00Not just one or two, but an infinite
02:03number of infinite buses. So what can you
02:07do? Well you pull out an infinite
02:10spreadsheet of course. You make a row for
02:12each bus, bus 1, bus 2, bus 3, and so on. And a
02:16row at the top for all the people who are
02:17already in the hotel. The columns are for
02:20the position each person occupies. So
02:23you've got hotel room 1, hotel room 2, hotel
02:26room 3, etc. And then bus 1 seat 1, bus 1
02:29seat 2, bus 1 seat 3, and so on. So each
02:33person gets a unique identifier which is a
02:35combination of their vehicle and their
02:37position in it. So how do you assign the
02:40rooms? We'll start in the top left corner and
02:43draw a line that zigzags back and forth
02:46across the spreadsheet, going over each
02:48unique ID exactly once. Then imagine you
02:53pull on the opposite ends of this line
02:55straightening it out. So we've gone from an
02:58infinite-by-infinite grid to a single
03:01infinite line. It's then pretty simple just
03:05to line up each person on that line with
03:07a unique room in the hotel. So everyone
03:10fits, no problem. But now, a big bus pulls
03:14up, an infinite party bus with no seats.
03:18Instead everyone on board is identified by
03:20their unique name, which is kind of
03:22strange. So their names all consist of
03:25only two letters A and B, but each name is
03:29infinitely long. So someone is named A-B-B-A-A-A-A-A-A-A-A
03:35and so on forever. Someone else is named A-B-A-B-A-B-A-B-A-B,
03:39A-B-A-B, etc. On this bus, there's a person with every possible infinite sequence of these two
03:45letters. Now, A-B-B-A-A-A-A-A, I'll call him ABBA for short, he comes into the hotel to arrange the
03:52rooms. But you tell him, sorry, there's no way we can fit all of you in the hotel. And he's like,
04:00what do you mean? There's an infinite number of us, and you have an infinite number of rooms,
04:04why won't this work? So you show him. You pull out your infinite spreadsheet again and start
04:10assigning rooms to people on the bus. So you have room one, assign it to ABBA, and then room two to
04:16A-B-A-B-A-B-A-B repeating, and you keep going, putting a different string of A's and B's beside
04:22each room number. Now, here's the problem, you tell ABBA. Let's say we have a complete infinite list.
04:28I can still write down the name of a person who doesn't yet have a room. The way you do it is
04:35you take the first letter of the first name and flip it from an A to a B. Then take the second
04:40letter of the second name and flip it from a B to an A. And you keep doing this all the way down the
04:45list, and the name you write down is guaranteed to appear nowhere on that list. Because it won't
04:53match the first letter of the first name, or the second letter of the second name, or the third letter
04:57of the third name, it will be different from every name on the list by at least one character,
05:03the letter on the diagonal. The number of rooms in the Hilbert Hotel is infinite, sure, but it is
05:10countably infinite, meaning there are as many rooms as there are positive integers one to infinity.
05:16By contrast, the number of people on the bus is uncountably infinite. If you try to match up each
05:23one with an integer, you will still have people left over. Some infinities are bigger than others.
05:31So there's a limit to the people that you can fit in the Hilbert Hotel. This is mind-blowing enough,
05:39but what's even crazier is that the discovery of different sized infinities sparked a line of
05:45inquiry that led directly to the invention of the device you're watching this on right now.
05:50But that's a story for another time.