Line 20: Line 20:
 
</font size>
 
</font size>
  
Hilbert's Grand Hotel Paradox
+
Hilbert's Grand Hotel
  
 
by [[user:Mhossain | Maliha Hossain]], proud member of the [[Math_squad|Math Squad]]
 
by [[user:Mhossain | Maliha Hossain]], proud member of the [[Math_squad|Math Squad]]
Line 28: Line 28:
 
----
 
----
  
 +
==The Hilbert Paradox==
  
==Intro==
+
When Georg Cantor published his work on set theory and the nature of infinity, he faced opposition from many mathematicians such as Leopold Kronecker and Henri Poincaré. Fortunately for Cantor, another leading mathematician of the time, David Hilbert, came to his aid. Hilbert devised the metaphor of the infinite hotel to illustrate the beauty of Cantor's development of the concept of cardinality as it pertains to the infinite. <br/>
 +
In Hilbert's paradox, there exists a grand hotel with infinitely many rooms and infinitely many guests. The hotel is named Hotel Infinity. It would appear that the hotel has no vacancies but can it accommodate a new guest? After all the infinite number of guests in the hotel plus one new guest is still an infinite number of guests. It would be unethical for the hotel to call itself the Hotel Infinity if it cannot in fact house an infinite number of guests.
  
Video
+
The following video describes the problem in more detail.
  
finite guests, shift one over
 
  
one bus
+
:<youtube>faQBrAQ87l4</youtube>
*even number
+
 
*odd numbers
+
 
 +
== Finitely Many New Guests ==
 +
 
 +
As seen in the video, Hotel Infinity does live up to its name. The video covers two scenarios. In the first, one new guest requests a room. All existing guests are asked to move one room over to accommodate him. In general any finite number of new guests can be accommodated. If <math>n</math> new guests arrive, current guests can be asked to move <math>n</math> rooms over to accommodate them.
 +
 
 +
 
 +
== Infinitely Many New Guests ==
 +
 
 +
In the second scenario in the video, a bus with an finite number of guests arrive. Even then, the hotel can still accommodate all guests. Note that in this paradox, we are dealing with natural numbers only. There are no negative rooms, neither are there any  fractions of a room. The same goes for the guests. In general, any function that maps N → N will solve this problem. The video mentions the mapping <math>f(n) = 2n</math>. 
 +
 
 +
 
 +
'''Prime Numbers'''<br/>
 +
In the second scenario in the video, a bus with an finite number of guests arrive. One solution for accommodating them is to ask existing guests in room <math>n+1</math>, <math>n</math> ∈ N, to move to the <math>n</math>th prime numbered room since the prime numbers form a countably infinite set. So guests in rooms 1, 2 and 3 stay put, the guest from room 4 moves to room 5, the one from 5 moves to 7, 6 moves to 11, and so on. This generates an infinite number of vacancies for new guests. There will still be vacancies between prime numbers greater than 7.
 +
 
 +
 
 +
'''Even Numbers'''<br/>
 +
The above method is not as ergonomic as the one mentioned in the video where the guest in room <math>n</math> are asked to move to <math>2n</math>. Now an infinite number of odd numbered rooms are available for the guests in the bus to occupy. Once this is done, the hotel once again has no vacancies.
 +
 
 +
 
 +
== Infinitely Many Buses, each with Infinitely Many New Guests ==
 +
 
 +
What if an infinite number of buses show up, each carrying an infinite number of passengers? Will the hotel be able to fit them in somehow? It turns out that it is possible to accommodate countably infinitely many bus-loads full of passengers and thankfully the number of buses ''is'' countably infinite since buses only come in natural numbers (no fractional or negative buses). In general, any pairing function such that N <math>X</math> N → N can be used to solve the problem. There are a number of methods to go about it. A few of them have been presented below.
 +
 
 +
'''Prime Powers Method'''<br/>
 +
Odd numbered rooms are emptied and their tenants are sent to room <math>2n</math>. Now all the odd numbered rooms are empty. Passengers from the first bus are assigned to rooms <math>3^n, n = 1, 2, 3,...</math>. The second bus load of passengers are assigned rooms <math>5^n</math> and so on. So passengers from bus number <math>m</math> are assigned room number <math>p^n</math> where <math>m,n</math> ∈ N and <math>p</math> is the <math>(m+1)^{th}</math> prime number. This method leaves certain rooms vacant similar to the method used to assign rooms to one bus load of new passengers.
 +
 
 +
 
 +
'''Interleaving Method'''<br/>
 +
Let <math>b</math> be the index number of the bus.<br/>
 +
Let <math>b = 0</math> for the existing guests of the hotel.<br/>
 +
let <math>n</math> be the passenger number for the <math>b^{th}</math> bus.<br/>
 +
So for the <math>14^{th}</math> passenger on bus <math>23</math>, <math>b=23</math> and <math>n = 14</math>.
 +
Now, if either number <math>b</math> or <math>n</math> is shorter, add leading zeros to the shorter number until both have the same number of digits. So if <math>n = 32</math> and <math>b = 567</math>, pad <math>n</math> wit zeros so we have that <math>n = 032</math>. <br/>
 +
Finally, interleave the digits of the two numbers to produce a new number. For example the old guest in room <math>45</math> has <math>n = 45</math> and <math>b = 00</math>. His/her new room becomes <math>0405</math> or <math>405</math>. Passenger <math>12</math> from bus number <math>8902</math> is assigned to room <math>80900122</math>. You must be careful to be consistent with your interleaving. I have used the method of <math>b_1n_1b_2n_2...</math>. You could use <math>n_1b_1b_2n_2...</math> as long as you are consistent throughout. Otherwise you could accidentally assign different guests the same room. <br/>
 +
Unlike the prime powers method, the interleaving method fills the hotel completely.
 +
 
 +
 
 +
'''Rational Numbers Method'''<br/>
 +
 
 +
[[Image:hilbert_fig1_mh.jpeg|400px|thumb|left|Fig 1: A system for passengers to disembark from the buses]]
 +
 
  
infinitely many buses
 
* prime powers method
 
*interleaving method
 
*rational numbers method
 
  
 
----
 
----
  
 
== References ==
 
== References ==
 +
 +
* J. J. Wanko in Vol. 102, No. 7. "Mathematics Teacher" March 2009.
 +
 +
* "Hilbert's Infinite Hotel - 60-Second Adventures in Thought" Youtube link: http://www.youtube.com/watch?v=faQBrAQ87l4, Oct 3, 2011. [May 20th, 2013].
  
 
* R. Kenney. MA 301. "An Introduction to Proof through Real Analysis", Lecture Notes. Faculty of the Department of Mathematics, Purdue University, Spring 2012.  
 
* R. Kenney. MA 301. "An Introduction to Proof through Real Analysis", Lecture Notes. Faculty of the Department of Mathematics, Purdue University, Spring 2012.  
  
* J. J. Wanko in Vol. 102, No. 7. "Mathematics Teacher" March 2009.
 
  
* Youtube
 
 
----
 
----
  

Revision as of 12:26, 20 May 2013

Math Squad

To Infinity and Beyond. Introduction
Review of Set Theory
Functions
Countability
Cardinality
Hilbert's Grand Hotel




To Infinity and Beyond

Hilbert's Grand Hotel

by Maliha Hossain, proud member of the Math Squad



The Hilbert Paradox

When Georg Cantor published his work on set theory and the nature of infinity, he faced opposition from many mathematicians such as Leopold Kronecker and Henri Poincaré. Fortunately for Cantor, another leading mathematician of the time, David Hilbert, came to his aid. Hilbert devised the metaphor of the infinite hotel to illustrate the beauty of Cantor's development of the concept of cardinality as it pertains to the infinite.
In Hilbert's paradox, there exists a grand hotel with infinitely many rooms and infinitely many guests. The hotel is named Hotel Infinity. It would appear that the hotel has no vacancies but can it accommodate a new guest? After all the infinite number of guests in the hotel plus one new guest is still an infinite number of guests. It would be unethical for the hotel to call itself the Hotel Infinity if it cannot in fact house an infinite number of guests.

The following video describes the problem in more detail.



Finitely Many New Guests

As seen in the video, Hotel Infinity does live up to its name. The video covers two scenarios. In the first, one new guest requests a room. All existing guests are asked to move one room over to accommodate him. In general any finite number of new guests can be accommodated. If $ n $ new guests arrive, current guests can be asked to move $ n $ rooms over to accommodate them.


Infinitely Many New Guests

In the second scenario in the video, a bus with an finite number of guests arrive. Even then, the hotel can still accommodate all guests. Note that in this paradox, we are dealing with natural numbers only. There are no negative rooms, neither are there any fractions of a room. The same goes for the guests. In general, any function that maps N → N will solve this problem. The video mentions the mapping $ f(n) = 2n $.


Prime Numbers
In the second scenario in the video, a bus with an finite number of guests arrive. One solution for accommodating them is to ask existing guests in room $ n+1 $, $ n $ ∈ N, to move to the $ n $th prime numbered room since the prime numbers form a countably infinite set. So guests in rooms 1, 2 and 3 stay put, the guest from room 4 moves to room 5, the one from 5 moves to 7, 6 moves to 11, and so on. This generates an infinite number of vacancies for new guests. There will still be vacancies between prime numbers greater than 7.


Even Numbers
The above method is not as ergonomic as the one mentioned in the video where the guest in room $ n $ are asked to move to $ 2n $. Now an infinite number of odd numbered rooms are available for the guests in the bus to occupy. Once this is done, the hotel once again has no vacancies.


Infinitely Many Buses, each with Infinitely Many New Guests

What if an infinite number of buses show up, each carrying an infinite number of passengers? Will the hotel be able to fit them in somehow? It turns out that it is possible to accommodate countably infinitely many bus-loads full of passengers and thankfully the number of buses is countably infinite since buses only come in natural numbers (no fractional or negative buses). In general, any pairing function such that N $ X $ N → N can be used to solve the problem. There are a number of methods to go about it. A few of them have been presented below.

Prime Powers Method
Odd numbered rooms are emptied and their tenants are sent to room $ 2n $. Now all the odd numbered rooms are empty. Passengers from the first bus are assigned to rooms $ 3^n, n = 1, 2, 3,... $. The second bus load of passengers are assigned rooms $ 5^n $ and so on. So passengers from bus number $ m $ are assigned room number $ p^n $ where $ m,n $ ∈ N and $ p $ is the $ (m+1)^{th} $ prime number. This method leaves certain rooms vacant similar to the method used to assign rooms to one bus load of new passengers.


Interleaving Method
Let $ b $ be the index number of the bus.
Let $ b = 0 $ for the existing guests of the hotel.
let $ n $ be the passenger number for the $ b^{th} $ bus.
So for the $ 14^{th} $ passenger on bus $ 23 $, $ b=23 $ and $ n = 14 $. Now, if either number $ b $ or $ n $ is shorter, add leading zeros to the shorter number until both have the same number of digits. So if $ n = 32 $ and $ b = 567 $, pad $ n $ wit zeros so we have that $ n = 032 $.
Finally, interleave the digits of the two numbers to produce a new number. For example the old guest in room $ 45 $ has $ n = 45 $ and $ b = 00 $. His/her new room becomes $ 0405 $ or $ 405 $. Passenger $ 12 $ from bus number $ 8902 $ is assigned to room $ 80900122 $. You must be careful to be consistent with your interleaving. I have used the method of $ b_1n_1b_2n_2... $. You could use $ n_1b_1b_2n_2... $ as long as you are consistent throughout. Otherwise you could accidentally assign different guests the same room.
Unlike the prime powers method, the interleaving method fills the hotel completely.


Rational Numbers Method

Fig 1: A system for passengers to disembark from the buses



References

  • J. J. Wanko in Vol. 102, No. 7. "Mathematics Teacher" March 2009.
  • R. Kenney. MA 301. "An Introduction to Proof through Real Analysis", Lecture Notes. Faculty of the Department of Mathematics, Purdue University, Spring 2012.



Questions and comments

If you have any questions, comments, etc. please post them below:

  • Comment / question 1



Back to Math Squad page

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood