HOME

TheInfoList



OR:

Hilbert's paradox of the Grand Hotel (
colloquial Colloquialism (), also called colloquial language, everyday language or general parlance, is the linguistic style used for casual (informal) communication. It is the most common functional style of speech, the idiom normally employed in conve ...
: Infinite Hotel Paradox or Hilbert's Hotel) is a
thought experiment A thought experiment is a hypothetical situation in which a hypothesis, theory, or principle is laid out for the purpose of thinking through its consequences. History The ancient Greek ''deiknymi'' (), or thought experiment, "was the most anc ...
which illustrates a
counterintuitive A paradox is a logically self-contradictory statement or a statement that runs contrary to one's expectation. It is a statement that, despite apparently valid reasoning from true premises, leads to a seemingly self-contradictory or a logically u ...
property of
infinite set In set theory, an infinite set is a set that is not a finite set. Infinite sets may be countable or uncountable. Properties The set of natural numbers (whose existence is postulated by the axiom of infinity) is infinite. It is the only s ...
s. It is demonstrated that a fully occupied hotel with infinitely many rooms may still accommodate additional guests, even infinitely many of them, and this process may be repeated infinitely often. The idea was introduced by
David Hilbert David Hilbert (; ; 23 January 1862 – 14 February 1943) was a German mathematician, one of the most influential mathematicians of the 19th and early 20th centuries. Hilbert discovered and developed a broad range of fundamental ideas in many ...
in a 1924 lecture "Über das Unendliche", reprinted in , and was popularized through
George Gamow George Gamow (March 4, 1904 – August 19, 1968), born Georgiy Antonovich Gamov ( uk, Георгій Антонович Гамов, russian: Георгий Антонович Гамов), was a Russian-born Soviet and American polymath, theoret ...
's 1947 book '' One Two Three... Infinity''.


The paradox

Consider a hypothetical hotel with a
countably infinite In mathematics, a set is countable if either it is finite or it can be made in one to one correspondence with the set of natural numbers. Equivalently, a set is ''countable'' if there exists an injective function from it into the natural number ...
number of rooms, all of which are occupied. One might be tempted to think that the hotel would not be able to accommodate any newly arriving guests, as would be the case with a finite number of rooms, where the
pigeonhole principle In mathematics, the pigeonhole principle states that if items are put into containers, with , then at least one container must contain more than one item. For example, if one has three gloves (and none is ambidextrous/reversible), then there mu ...
would apply.


Finitely many new guests

Suppose a new guest arrives and wishes to be accommodated in the hotel. We can (simultaneously) move the guest currently in room 1 to room 2, the guest currently in room 2 to room 3, and so on, moving every guest from their current room ''n'' to room ''n''+1. After this, room 1 is empty and the new guest can be moved into that room. By repeating this procedure, it is possible to make room for any finite number of new guests. In general, assume that ''k'' guests seek a room. We can apply the same procedure and move every guest from room ''n'' to room ''n + k''. In a similar manner, if ''k'' guests wished to leave the hotel, every guest moves from room ''n'' to room ''n − k''.


Infinitely many new guests

It is also possible to accommodate a ''countably infinite'' number of new guests: just move the person occupying room 1 to room 2, the guest occupying room 2 to room 4, and, in general, the guest occupying room ''n'' to room 2''n'' (2 times ''n''), and all the odd-numbered rooms (which are countably infinite) will be free for the new guests.


Infinitely many coaches with infinitely many guests each

It is possible to accommodate countably infinitely many
coach Coach may refer to: Guidance/instruction * Coach (sport), a director of athletes' training and activities * Coaching, the practice of guiding an individual through a process ** Acting coach, a teacher who trains performers Transportation * Coac ...
loads of countably infinite passengers each, by several different methods. Most methods depend on the seats in the coaches being already numbered (or use the axiom of countable choice). In general any
pairing function In mathematics, a pairing function is a process to uniquely encode two natural numbers into a single natural number. Any pairing function can be used in set theory to prove that integers and rational numbers have the same cardinality as natural ...
can be used to solve this problem. For each of these methods, consider a passenger's seat number on a coach to be n, and their coach number to be c, and the numbers n and c are then fed into the two arguments of the
pairing function In mathematics, a pairing function is a process to uniquely encode two natural numbers into a single natural number. Any pairing function can be used in set theory to prove that integers and rational numbers have the same cardinality as natural ...
.


Prime powers method

Send the guest in room i to room 2^i, then put the first coach's load in rooms 3^n, the second coach's load in rooms 5^n; for coach number c we use the rooms p^n where p is the cth odd
prime number A prime number (or a prime) is a natural number greater than 1 that is not a Product (mathematics), product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime ...
. This solution leaves certain rooms empty (which may or may not be useful to the hotel); specifically, all numbers that are not prime powers, such as 15 or 847, will no longer be occupied. (So, strictly speaking, this shows that the number of arrivals is ''less than or equal to'' the number of vacancies created. It is easier to show, by an independent means, that the number of arrivals is also ''greater than or equal to'' the number of vacancies, and thus that they are ''equal'', than to modify the algorithm to an exact fit.) (The algorithm works equally well if one interchanges n and c, but whichever choice is made, it must be applied uniformly throughout.)


Prime factorization method

Each person of a certain seat s and coach c can be put into room 2^s 3^c (presuming ''c''=0 for the people already in the hotel, 1 for the first coach, etc.). Because every number has a unique
prime factorization In number theory, integer factorization is the decomposition of a composite number into a product of smaller integers. If these factors are further restricted to prime numbers, the process is called prime factorization. When the numbers are s ...
, it is easy to see all people will have a room, while no two people will end up in the same room. For example, the person in room 2592 (2^5 3^4) was sitting in on the 4th coach, on the 5th seat. Like the prime powers method, this solution leaves certain rooms empty. This method can also easily be expanded for infinite nights, infinite entrances, etc. ( 2^s 3^c 5^n 7^e... )


Interleaving method

For each passenger, compare the lengths of n and c as written in any positional
numeral system A numeral system (or system of numeration) is a writing system for expressing numbers; that is, a mathematical notation for representing numbers of a given set, using digits or other symbols in a consistent manner. The same sequence of symbo ...
, such as
decimal The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral ...
. (Treat each hotel resident as being in coach #0.) If either number is shorter, add
leading zero A leading zero is any 0 digit that comes before the first nonzero digit in a number string in positional notation.. For example, James Bond's famous identifier, 007, has two leading zeros. Any zeroes appearing to the left of the first non-zero d ...
es to it until both values have the same number of digits. Interleave the digits to produce a room number: its digits will be irst digit of coach number irst digit of seat number econd digit of coach number econd digit of seat numberetc. The hotel (coach #0) guest in room number 1729 moves to room 01070209 (i.e., room 1,070,209). The passenger on seat 1234 of coach 789 goes to room 01728394 (i.e., room 1,728,394). Unlike the prime powers solution, this one fills the hotel completely, and we can reconstruct a guest's original coach and seat by reversing the interleaving process. First add a leading zero if the room has an odd number of digits. Then de-interleave the number into two numbers: the coach number consists of the odd-numbered digits and the seat number is the even-numbered ones. Of course, the original encoding is arbitrary, and the roles of the two numbers can be reversed (seat-odd and coach-even), so long as it is applied consistently.


Triangular number method

Those already in the hotel will be moved to room (n^2+n)/2, or the nth
triangular number A triangular number or triangle number counts objects arranged in an equilateral triangle. Triangular numbers are a type of figurate number, other examples being square numbers and cube numbers. The th triangular number is the number of dots i ...
. Those in a coach will be in room ((c+n-1)^2+c+n-1)/2+n, or the (c+n-1) triangular number plus n. In this way all the rooms will be filled by one, and only one, guest. This pairing function can be demonstrated visually by structuring the hotel as a one-room-deep, infinitely tall
pyramid A pyramid (from el, πυραμίς ') is a structure whose outer surfaces are triangular and converge to a single step at the top, making the shape roughly a pyramid in the geometric sense. The base of a pyramid can be trilateral, quadrilate ...
. The pyramid's topmost row is a single room: room 1; its second row is rooms 2 and 3; and so on. The column formed by the set of rightmost rooms will correspond to the triangular numbers. Once they are filled (by the hotel's redistributed occupants), the remaining empty rooms form the shape of a pyramid exactly identical to the original shape. Thus, the process can be repeated for each infinite set. Doing this one at a time for each coach would require an infinite number of steps, but by using the prior formulas, a guest can determine what their room "will be" once their coach has been reached in the process, and can simply go there immediately.


Arbitrary enumeration method

Let S := \. S is countable since \mathbb is countable, hence we may enumerate its elements s_1, s_2, \dots. Now if s_n = (a, b), assign the bth guest of the ath coach to the nth room (consider the guests already in the hotel as guests of the 0th coach). Thus we have a function assigning each person to a room; furthermore, this assignment does not skip over any rooms.


Further layers of infinity

Suppose the hotel is next to an ocean, and an infinite number of car ferries arrive, each bearing an infinite number of coaches, each with an infinite number of passengers. This is a situation involving three "levels" of
infinity Infinity is that which is boundless, endless, or larger than any natural number. It is often denoted by the infinity symbol . Since the time of the ancient Greeks, the philosophical nature of infinity was the subject of many discussions am ...
, and it can be solved by extensions of any of the previous solutions. The
prime factorization In number theory, integer factorization is the decomposition of a composite number into a product of smaller integers. If these factors are further restricted to prime numbers, the process is called prime factorization. When the numbers are s ...
method can be applied by adding a new prime number for every additional layer of infinity ( 2^s 3^c 5^f, with f the ferry). The prime power solution can be applied with further
exponentiation Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to ...
of prime numbers, resulting in very large room numbers even given small inputs. For example, the passenger in the second seat of the third bus on the second ferry (address 2-3-2) would raise the 2nd odd prime (5) to 49, which is the result of the 3rd odd prime (7) being raised to the power of his seat number (2). This room number would have over thirty decimal digits. The interleaving method can be used with three interleaved "strands" instead of two. The passenger with the address 2-3-2 would go to room 232, while the one with the address 4935-198-82217 would go to room #008,402,912,391,587 (the leading zeroes can be removed). Anticipating the possibility of any number of layers of infinite guests, the hotel may wish to assign rooms such that no guest will need to move, no matter how many guests arrive afterward. One solution is to convert each arrival's address into a
binary number A binary number is a number expressed in the base-2 numeral system or binary numeral system, a method of mathematical expression which uses only two symbols: typically "0" ( zero) and "1" (one). The base-2 numeral system is a positional notati ...
in which ones are used as separators at the start of each layer, while a number within a given layer (such as a guest's coach number) is represented with that many zeroes. Thus, a guest with the prior address 2-5-1-3-1 (five infinite layers) would go to room 10010000010100010 (decimal 295458). As an added step in this process, one zero can be removed from each section of the number; in this example, the guest's new room is 101000011001 (decimal 2585). This ensures that every room could be filled by a hypothetical guest. If no infinite sets of guests arrive, then only rooms that are a power of two will be occupied.


Infinite layers of nesting

Although a room can be found for any finite number of nested infinities of people, the same is not always true for an infinite number of layers, even if a finite number of elements exists at each layer.


Analysis

Hilbert's paradox is a veridical paradox: it leads to a counter-intuitive result that is provably true. The statements "there is a guest to every room" and "no more guests can be accommodated" are not equivalent when there are infinitely many rooms. Initially, this state of affairs might seem to be counter-intuitive. The properties of infinite collections of things are quite different from those of finite collections of things. The paradox of Hilbert's Grand Hotel can be understood by using Cantor's theory of
transfinite number In mathematics, transfinite numbers are numbers that are " infinite" in the sense that they are larger than all finite numbers, yet not necessarily absolutely infinite. These include the transfinite cardinals, which are cardinal numbers used to q ...
s. Thus, in an ordinary (finite) hotel with more than one room, the number of odd-numbered rooms is obviously smaller than the total number of rooms. However, in Hilbert's aptly named Grand Hotel, the quantity of odd-numbered rooms is not smaller than the total "number" of rooms. In mathematical terms, the
cardinality In mathematics, the cardinality of a set is a measure of the number of elements of the set. For example, the set A = \ contains 3 elements, and therefore A has a cardinality of 3. Beginning in the late 19th century, this concept was generalized ...
of the
subset In mathematics, set ''A'' is a subset of a set ''B'' if all elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they are unequal, then ''A'' is a proper subset of ...
containing the odd-numbered rooms is the same as the cardinality of the
set Set, The Set, SET or SETS may refer to: Science, technology, and mathematics Mathematics *Set (mathematics), a collection of elements *Category of sets, the category whose objects and morphisms are sets and total functions, respectively Electro ...
of all rooms. Indeed, infinite sets are characterized as sets that have proper subsets of the same cardinality. For countable sets (sets with the same cardinality as the
natural number In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country"). Numbers used for counting are called '' cardinal ...
s) this cardinality is \aleph_0. Rephrased, for any countably infinite set, there exists a
bijective In mathematics, a bijection, also known as a bijective function, one-to-one correspondence, or invertible function, is a function between the elements of two sets, where each element of one set is paired with exactly one element of the other ...
function which maps the countably infinite set to the set of natural numbers, even if the countably infinite set contains the natural numbers. For example, the set of rational numbers—those numbers which can be written as a quotient of integers—contains the natural numbers as a subset, but is no bigger than the set of natural numbers since the rationals are countable: there is a bijection from the naturals to the rationals.


References in fiction

*
BBC Learning Zone The BBC Learning Zone (previously The Learning Zone) was an educational strand run by the BBC as an overnight service on BBC Two. It shows programming aimed at students in Primary, Secondary and Higher Education and to adult learners. Viewers a ...
repeatedly screened a 1996 one-off educational
docudrama Docudrama (or documentary drama) is a genre of television and film, which features dramatized re-enactments of actual events. It is described as a hybrid of documentary and drama and "a fact-based representation of real event". Docudramas typic ...
''Hotel Hilbert'' set in the hotel as seen through the eyes of a young female guest Fiona Knight, her name a pun on "finite". The programme was designed to educate viewers about the concept of infinity. * The novel ''
White Light White is the lightest color and is achromatic (having no hue). It is the color of objects such as snow, chalk, and milk, and is the opposite of black. White objects fully reflect and scatter all the visible wavelengths of light. White on ...
'' by
mathematician A mathematician is someone who uses an extensive knowledge of mathematics in their work, typically to solve mathematical problems. Mathematicians are concerned with numbers, data, quantity, structure, space, models, and change. History On ...
/
science fiction Science fiction (sometimes shortened to Sci-Fi or SF) is a genre of speculative fiction which typically deals with imaginative and futuristic concepts such as advanced science and technology, space exploration, time travel, parallel uni ...
writer
Rudy Rucker Rudolf von Bitter Rucker (; born March 22, 1946) is an American mathematician, computer scientist, science fiction author, and one of the founders of the cyberpunk literary movement. The author of both fiction and non-fiction, he is best known ...
includes a hotel based on Hilbert's paradox, and where the protagonist of the story meets
Georg Cantor Georg Ferdinand Ludwig Philipp Cantor ( , ;  – January 6, 1918) was a German mathematician. He played a pivotal role in the creation of set theory, which has become a fundamental theory in mathematics. Cantor established the importance o ...
. * Stephen Baxter's science fiction novel '' Transcendent'' has a brief discussion on the nature of infinity, with an explanation based on the paradox, modified to use soldiers rather than hotels. *
Geoffrey A. Landis Geoffrey Alan Landis (; born May 28, 1955) is an American aerospace engineer and author, working for the National Aeronautics and Space Administration (NASA) on planetary exploration, interstellar propulsion, solar power and photovoltaics. He h ...
'
Nebula Award The Nebula Awards annually recognize the best works of science fiction or fantasy published in the United States. The awards are organized and awarded by the Science Fiction and Fantasy Writers of America (SFWA), a nonprofit association of prof ...
-winning short story "
Ripples in the Dirac Sea "Ripples in the Dirac Sea" is a science fiction short story by American writer Geoffrey Landis. It was first published in ''Asimov's Science Fiction'' in October 1988. Synopsis The inventor of time travel cannot escape dying in a hotel fire, no m ...
" uses the Hilbert hotel as an explanation of why an infinitely-full Dirac sea can nevertheless still accept particles. * In
Peter Høeg Peter Høeg (born 17 May 1957) is a Danish writer of fiction. He is best known for his novel '' Miss Smilla's Feeling for Snow'' (1992). Early life Høeg was born in Copenhagen, Denmark. Before becoming a writer, he worked variously as a sailor ...
's novel ''
Miss Smilla's Feeling for Snow ''Miss Smilla's Feeling for Snow'' (published in America as ''Smilla's Sense of Snow'') (Danish: ''Frøken Smillas fornemmelse for sne'') is a 1992 novel by Danish author Peter Høeg tracing the investigation into the suspicious death of a Green ...
'', the titular heroine reflects that it is admirable for the hotel's manager and guests to go to all that trouble so that the latecomer can have his own room and some privacy. * In Ivar Ekeland's novel for children, '' The Cat in Numberland'', a "Mr. Hilbert" and his wife run an infinite hotel for all the integers. The story progresses through the triangular method for the rationals. * In Will Wiles's novel ''The Way Inn'', about an infinitely large motel, the villain's name is Hilbert. * In Reginald Hill's novel "The Stranger House" the character Sam refers to the Hilbert Hotel paradox. * The short story by
Naum Ya. Vilenkin Naum Yakovlevich Vilenkin (russian: Наум Яковлевич Виленкин, October 30, 1920 in Moscow – October 19, 1991 in Moscow) was a Soviet mathematician, an expert in representation theory, the theory of special functions, functional ...
''The Extraordinary Hotel'' (often erroneously attributed to Stanislaw Lem) shows the way in which Hilbert's Grand Hotel may be reshuffled when infinite new hosts arrive. * The comic book saga '' The Tempest'' from the '' League of Extraordinary Gentlemen'' series by
Alan Moore Alan Moore (born 18 November 1953) is an English author known primarily for his work in comic books including '' Watchmen'', ''V for Vendetta'', '' The Ballad of Halo Jones'', ''Swamp Thing'', ''Batman:'' ''The Killing Joke'', and '' From He ...
and Kevin O'Neill shows a villain called Infinity. In the story it is suggested that the villain goes to the hotel based on Hilbert's paradox.
Georg Cantor Georg Ferdinand Ludwig Philipp Cantor ( , ;  – January 6, 1918) was a German mathematician. He played a pivotal role in the creation of set theory, which has become a fundamental theory in mathematics. Cantor established the importance o ...
is mentioned as well.


See also

* * * * *


References

*


External links


Hilbert infinite hotel
M. Hazewinkel. ''Encyclopedia of Mathematics'', Springer. Accessed May 25, 2007. * Nancy Casey
Welcome to the Hotel Infinity!
nbsp;— The paradox told as a humorous narrative, featuring a hotel owner and a building contractor based on the feuding 19th-century mathematicians
Georg Cantor Georg Ferdinand Ludwig Philipp Cantor ( , ;  – January 6, 1918) was a German mathematician. He played a pivotal role in the creation of set theory, which has become a fundamental theory in mathematics. Cantor established the importance o ...
and
Leopold Kronecker Leopold Kronecker (; 7 December 1823 – 29 December 1891) was a German mathematician who worked on number theory, algebra and logic. He criticized Georg Cantor's work on set theory, and was quoted by as having said, "'" ("God made the integers, ...
* Steven Strogatz
The Hilbert Hotel
NY Times, May 9, 2010
Hilbert's Infinite Hotel
h2g2
The Hilbert Hotel
- YouTube presentation
"Beyond the Finite"

The Infinite Hotel Paradox - Jeff Dekofsky
- TED-Ed Lessons {{Paradoxes Paradoxes of set theory Supertasks Mathematical paradoxes Infinity Fictional hotels Paradoxes of infinity 1920 introductions Logical paradoxes David Hilbert