168
What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales about infinity A. Sali 1, 2 1 Alfr ´ ed R ´ enyi Institute of Mathematics Hungarian Academy of Sciences 2 Department of Mathematics University of South Carolina Tuesday, February 20 th , 2007.

Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Tales about infinity

A. Sali1,2

1Alfred Renyi Institute of MathematicsHungarian Academy of Sciences

2Department of MathematicsUniversity of South Carolina

Tuesday, February 20th, 2007.

Page 2: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Sets

Fundamental concept cannot be defined.For a given set A and any given thing b it can bedetermined unambiguously whether b belongs to A.

Some ways of presenting sets:Listing all elements:A = {SCSU, Golden Gate Bridge, freedom}Defining property: B = {positive numbers}

Page 3: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Sets

Fundamental concept cannot be defined.

For a given set A and any given thing b it can bedetermined unambiguously whether b belongs to A.

Some ways of presenting sets:Listing all elements:A = {SCSU, Golden Gate Bridge, freedom}Defining property: B = {positive numbers}

Page 4: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Sets

Fundamental concept cannot be defined.For a given set A and any given thing b it can bedetermined unambiguously whether b belongs to A.

Some ways of presenting sets:Listing all elements:A = {SCSU, Golden Gate Bridge, freedom}Defining property: B = {positive numbers}

Page 5: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Sets

Fundamental concept cannot be defined.For a given set A and any given thing b it can bedetermined unambiguously whether b belongs to A.

Some ways of presenting sets:

Listing all elements:A = {SCSU, Golden Gate Bridge, freedom}Defining property: B = {positive numbers}

Page 6: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Sets

Fundamental concept cannot be defined.For a given set A and any given thing b it can bedetermined unambiguously whether b belongs to A.

Some ways of presenting sets:Listing all elements:A = {SCSU, Golden Gate Bridge, freedom}

Defining property: B = {positive numbers}

Page 7: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Sets

Fundamental concept cannot be defined.For a given set A and any given thing b it can bedetermined unambiguously whether b belongs to A.

Some ways of presenting sets:Listing all elements:A = {SCSU, Golden Gate Bridge, freedom}Defining property: B = {positive numbers}

Page 8: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Are the following sets?

A = {The most embarrassing moment of my life} NoB = {The top 10 colledge football teams} NoC = {the greatest basketball player of all time} ={Micheal Jordan}T = {All sets} ???

Page 9: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Are the following sets?

A = {The most embarrassing moment of my life}

NoB = {The top 10 colledge football teams} NoC = {the greatest basketball player of all time} ={Micheal Jordan}T = {All sets} ???

Page 10: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Are the following sets?

A = {The most embarrassing moment of my life} No

B = {The top 10 colledge football teams} NoC = {the greatest basketball player of all time} ={Micheal Jordan}T = {All sets} ???

Page 11: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Are the following sets?

A = {The most embarrassing moment of my life} NoB = {The top 10 colledge football teams}

NoC = {the greatest basketball player of all time} ={Micheal Jordan}T = {All sets} ???

Page 12: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Are the following sets?

A = {The most embarrassing moment of my life} NoB = {The top 10 colledge football teams} No

C = {the greatest basketball player of all time} ={Micheal Jordan}T = {All sets} ???

Page 13: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Are the following sets?

A = {The most embarrassing moment of my life} NoB = {The top 10 colledge football teams} NoC = {the greatest basketball player of all time}

={Micheal Jordan}T = {All sets} ???

Page 14: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Are the following sets?

A = {The most embarrassing moment of my life} NoB = {The top 10 colledge football teams} NoC = {the greatest basketball player of all time} ={Micheal Jordan}

T = {All sets} ???

Page 15: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Are the following sets?

A = {The most embarrassing moment of my life} NoB = {The top 10 colledge football teams} NoC = {the greatest basketball player of all time} ={Micheal Jordan}T = {All sets}

???

Page 16: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Are the following sets?

A = {The most embarrassing moment of my life} NoB = {The top 10 colledge football teams} NoC = {the greatest basketball player of all time} ={Micheal Jordan}T = {All sets} ???

Page 17: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The collection of all sets

If X is a set, then either X ∈ X or X 6∈ X . Let

B = {X : X 6∈ X}

Is it true that B ∈ B?If B ∈ B, then by the definition of B, B 6∈ B.If B 6∈ B, then by the definition of B, B ∈ B, a contradiction.

So: is there a fundamental error in math??? Not: we have justproved that the collection of all sets is not a set.

Page 18: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The collection of all sets

If X is a set, then either X ∈ X or X 6∈ X . Let

B = {X : X 6∈ X}

Is it true that B ∈ B?

If B ∈ B, then by the definition of B, B 6∈ B.If B 6∈ B, then by the definition of B, B ∈ B, a contradiction.

So: is there a fundamental error in math??? Not: we have justproved that the collection of all sets is not a set.

Page 19: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The collection of all sets

If X is a set, then either X ∈ X or X 6∈ X . Let

B = {X : X 6∈ X}

Is it true that B ∈ B?If B ∈ B, then by the definition of B, B 6∈ B.

If B 6∈ B, then by the definition of B, B ∈ B, a contradiction.So: is there a fundamental error in math??? Not: we have justproved that the collection of all sets is not a set.

Page 20: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The collection of all sets

If X is a set, then either X ∈ X or X 6∈ X . Let

B = {X : X 6∈ X}

Is it true that B ∈ B?If B ∈ B, then by the definition of B, B 6∈ B.If B 6∈ B, then by the definition of B, B ∈ B, a contradiction.

So: is there a fundamental error in math??? Not: we have justproved that the collection of all sets is not a set.

Page 21: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The collection of all sets

If X is a set, then either X ∈ X or X 6∈ X . Let

B = {X : X 6∈ X}

Is it true that B ∈ B?If B ∈ B, then by the definition of B, B 6∈ B.If B 6∈ B, then by the definition of B, B ∈ B, a contradiction.

So: is there a fundamental error in math???

Not: we have justproved that the collection of all sets is not a set.

Page 22: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The collection of all sets

If X is a set, then either X ∈ X or X 6∈ X . Let

B = {X : X 6∈ X}

Is it true that B ∈ B?If B ∈ B, then by the definition of B, B 6∈ B.If B 6∈ B, then by the definition of B, B ∈ B, a contradiction.

So: is there a fundamental error in math??? Not: we have justproved that the collection of all sets is not a set.

Page 23: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Village Barber

The village barber is the man who shaves those people who donot shave themselves. Does the village barber shave himself?

If he does not shave himself, then he must be shaved bythe village barber. . .If he shaves himself, then he must not shave the villagebarber, since that shaves by himself. . .

Page 24: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Village Barber

The village barber is the man who shaves those people who donot shave themselves. Does the village barber shave himself?

If he does not shave himself, then he must be shaved bythe village barber. . .If he shaves himself, then he must not shave the villagebarber, since that shaves by himself. . .

Page 25: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Village Barber

The village barber is the man who shaves those people who donot shave themselves. Does the village barber shave himself?

If he does not shave himself, then he must be shaved bythe village barber. . .

If he shaves himself, then he must not shave the villagebarber, since that shaves by himself. . .

Page 26: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Village Barber

The village barber is the man who shaves those people who donot shave themselves. Does the village barber shave himself?

If he does not shave himself, then he must be shaved bythe village barber. . .If he shaves himself, then he must not shave the villagebarber, since that shaves by himself. . .

Page 27: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Let us call a set ordinary if it is not an element of itself. Anexample is the set of natural numbers.

An example of not orinary set is B = {Abstract concepts},since B itself is an abstract concept.Play it safe: consider only ordinary sets, let U be the collectionof those. Is U an ordinary set?

If U is ordinary, then U ∈ U, hence it is not ordinary.If U is not ordinary, which means U ∈ U, then by thedefinition of U must be ordinary

We have proved

TheoremThe collection of all sets, and the collection of all ordinarysets,respectively do not form a set.

Page 28: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Let us call a set ordinary if it is not an element of itself. Anexample is the set of natural numbers.An example of not orinary set is B = {Abstract concepts},since B itself is an abstract concept.

Play it safe: consider only ordinary sets, let U be the collectionof those. Is U an ordinary set?

If U is ordinary, then U ∈ U, hence it is not ordinary.If U is not ordinary, which means U ∈ U, then by thedefinition of U must be ordinary

We have proved

TheoremThe collection of all sets, and the collection of all ordinarysets,respectively do not form a set.

Page 29: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Let us call a set ordinary if it is not an element of itself. Anexample is the set of natural numbers.An example of not orinary set is B = {Abstract concepts},since B itself is an abstract concept.Play it safe: consider only ordinary sets, let U be the collectionof those. Is U an ordinary set?

If U is ordinary, then U ∈ U, hence it is not ordinary.If U is not ordinary, which means U ∈ U, then by thedefinition of U must be ordinary

We have proved

TheoremThe collection of all sets, and the collection of all ordinarysets,respectively do not form a set.

Page 30: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Let us call a set ordinary if it is not an element of itself. Anexample is the set of natural numbers.An example of not orinary set is B = {Abstract concepts},since B itself is an abstract concept.Play it safe: consider only ordinary sets, let U be the collectionof those. Is U an ordinary set?

If U is ordinary, then U ∈ U, hence it is not ordinary.

If U is not ordinary, which means U ∈ U, then by thedefinition of U must be ordinary

We have proved

TheoremThe collection of all sets, and the collection of all ordinarysets,respectively do not form a set.

Page 31: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Let us call a set ordinary if it is not an element of itself. Anexample is the set of natural numbers.An example of not orinary set is B = {Abstract concepts},since B itself is an abstract concept.Play it safe: consider only ordinary sets, let U be the collectionof those. Is U an ordinary set?

If U is ordinary, then U ∈ U, hence it is not ordinary.If U is not ordinary, which means U ∈ U, then by thedefinition of U must be ordinary

We have proved

TheoremThe collection of all sets, and the collection of all ordinarysets,respectively do not form a set.

Page 32: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Let us call a set ordinary if it is not an element of itself. Anexample is the set of natural numbers.An example of not orinary set is B = {Abstract concepts},since B itself is an abstract concept.Play it safe: consider only ordinary sets, let U be the collectionof those. Is U an ordinary set?

If U is ordinary, then U ∈ U, hence it is not ordinary.If U is not ordinary, which means U ∈ U, then by thedefinition of U must be ordinary

We have proved

TheoremThe collection of all sets, and the collection of all ordinarysets,respectively do not form a set.

Page 33: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Strange happenings in Grand Hotel Carolina

In the (distant) future, around year 20007, conferences havebecome so popular and abundant that hotel capacities wereinsufficient, even hotels with 1,000,000 rooms were hopelesslyoverbooked. So somewhere halfway between Orangeburg andCharleston the Grand Hotel Carolina with an infinite number ofrooms was built.

Page 34: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Strange happenings in Grand Hotel Carolina

In the (distant) future, around year 20007, conferences havebecome so popular and abundant that hotel capacities wereinsufficient, even hotels with 1,000,000 rooms were hopelesslyoverbooked. So somewhere halfway between Orangeburg andCharleston the Grand Hotel Carolina with an infinite number ofrooms was built.

Page 35: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 1

In the morning Java programmers filled up the hotel: an infinitenumber of them arrived.One programmer’s flight was delayed because of snowstorm,he arrived late evening. In which room could they put him?The System Administrator of the hotel found a solution: eachgest should move to the room of number one larger than thenthe one she/he currently occupies.Thus room number 1becomes empty and the new guest can be accommodated.

1 2 3 4 5 6 7 8 ...

Page 36: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 1

In the morning Java programmers filled up the hotel: an infinitenumber of them arrived.

One programmer’s flight was delayed because of snowstorm,he arrived late evening. In which room could they put him?The System Administrator of the hotel found a solution: eachgest should move to the room of number one larger than thenthe one she/he currently occupies.Thus room number 1becomes empty and the new guest can be accommodated.

1 2 3 4 5 6 7 8 ...

Page 37: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 1

In the morning Java programmers filled up the hotel: an infinitenumber of them arrived.One programmer’s flight was delayed because of snowstorm,he arrived late evening. In which room could they put him?

The System Administrator of the hotel found a solution: eachgest should move to the room of number one larger than thenthe one she/he currently occupies.Thus room number 1becomes empty and the new guest can be accommodated.

1 2 3 4 5 6 7 8 ...

Page 38: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 1

In the morning Java programmers filled up the hotel: an infinitenumber of them arrived.One programmer’s flight was delayed because of snowstorm,he arrived late evening. In which room could they put him?The System Administrator of the hotel found a solution: eachgest should move to the room of number one larger than thenthe one she/he currently occupies.Thus room number 1becomes empty and the new guest can be accommodated.

1 2 3 4 5 6 7 8 ...

Page 39: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 1

In the morning Java programmers filled up the hotel: an infinitenumber of them arrived.One programmer’s flight was delayed because of snowstorm,he arrived late evening. In which room could they put him?The System Administrator of the hotel found a solution: eachgest should move to the room of number one larger than thenthe one she/he currently occupies.Thus room number 1becomes empty and the new guest can be accommodated.

1 2 3 4 5 6 7 8 ...

Page 40: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 2

1000 more conference participants arrived.

What did the System Administator suggest now?

Page 41: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 2

1000 more conference participants arrived.What did the System Administator suggest now?

Page 42: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 3

Total chaos! C++ programmers arrived, and infinite number ofthem...

The System Administrator was ready: let the guest of roomnumber 1 move to numer 2, the guest from number 2 move tonumber 4, . . ., the guest from number n to room number 2n, . . .Thus rooms numbered 1, 3, 5, . . . , 2n + 1, . . . become emptyand the C++ programmers can move in.

1 2 3 4 5 6 7 8 ...

1 2 3 4 5 6 7 8 ...

Page 43: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 3

Total chaos! C++ programmers arrived, and infinite number ofthem...The System Administrator was ready: let the guest of roomnumber 1 move to numer 2, the guest from number 2 move tonumber 4, . . ., the guest from number n to room number 2n, . . .

Thus rooms numbered 1, 3, 5, . . . , 2n + 1, . . . become emptyand the C++ programmers can move in.

1 2 3 4 5 6 7 8 ...

1 2 3 4 5 6 7 8 ...

Page 44: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 3

Total chaos! C++ programmers arrived, and infinite number ofthem...The System Administrator was ready: let the guest of roomnumber 1 move to numer 2, the guest from number 2 move tonumber 4, . . ., the guest from number n to room number 2n, . . .Thus rooms numbered 1, 3, 5, . . . , 2n + 1, . . . become emptyand the C++ programmers can move in.

1 2 3 4 5 6 7 8 ...

1 2 3 4 5 6 7 8 ...

Page 45: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 3

Total chaos! C++ programmers arrived, and infinite number ofthem...The System Administrator was ready: let the guest of roomnumber 1 move to numer 2, the guest from number 2 move tonumber 4, . . ., the guest from number n to room number 2n, . . .Thus rooms numbered 1, 3, 5, . . . , 2n + 1, . . . become emptyand the C++ programmers can move in.

1 2 3 4 5 6 7 8 ...

1 2 3 4 5 6 7 8 ...

Page 46: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 4

Tha Java programmers’ conference ended, they left.

The Director of Carolina was enraged: the hotel is half empty!!However, the System Administrator did not worry... What didshe suggest?The occupant of room number 2n + 1 should move to roomnumber n.

Page 47: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 4

Tha Java programmers’ conference ended, they left.The Director of Carolina was enraged: the hotel is half empty!!

However, the System Administrator did not worry... What didshe suggest?The occupant of room number 2n + 1 should move to roomnumber n.

Page 48: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 4

Tha Java programmers’ conference ended, they left.The Director of Carolina was enraged: the hotel is half empty!!However, the System Administrator did not worry...

What didshe suggest?The occupant of room number 2n + 1 should move to roomnumber n.

Page 49: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 4

Tha Java programmers’ conference ended, they left.The Director of Carolina was enraged: the hotel is half empty!!However, the System Administrator did not worry... What didshe suggest?

The occupant of room number 2n + 1 should move to roomnumber n.

Page 50: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Day 4

Tha Java programmers’ conference ended, they left.The Director of Carolina was enraged: the hotel is half empty!!However, the System Administrator did not worry... What didshe suggest?The occupant of room number 2n + 1 should move to roomnumber n.

Page 51: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Some years later

Newer and newer infinitely large hotels were built until thenumber of hotels became infinite. These were prosperous for awhile, until one fine day. . .

They all went bankrupt except for Hotel Carolina. Guests of thebankrupt hotels were transferred to Carolina:They queued up in infinitely many infinitely long lines in front ofthe reception of Carolina . . .The System Administrator, Susanne Lynoux, was desparatelytrying to find a solution. Her first idea, that the guests ofCarolina move to rooms number 1001, 2001, 3001, . . ., then theguests from the first hotel can move to rooms number1002, 2002, 3002, . . ., guest from the second hotel move torooms number 1003, 2003, 3003, . . ., and so on, did not work,they got stuck at the guests of the 1000th bankrupt hotel.

Page 52: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Some years later

Newer and newer infinitely large hotels were built until thenumber of hotels became infinite. These were prosperous for awhile, until one fine day. . .They all went bankrupt except for Hotel Carolina. Guests of thebankrupt hotels were transferred to Carolina:

They queued up in infinitely many infinitely long lines in front ofthe reception of Carolina . . .The System Administrator, Susanne Lynoux, was desparatelytrying to find a solution. Her first idea, that the guests ofCarolina move to rooms number 1001, 2001, 3001, . . ., then theguests from the first hotel can move to rooms number1002, 2002, 3002, . . ., guest from the second hotel move torooms number 1003, 2003, 3003, . . ., and so on, did not work,they got stuck at the guests of the 1000th bankrupt hotel.

Page 53: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Some years later

Newer and newer infinitely large hotels were built until thenumber of hotels became infinite. These were prosperous for awhile, until one fine day. . .They all went bankrupt except for Hotel Carolina. Guests of thebankrupt hotels were transferred to Carolina:They queued up in infinitely many infinitely long lines in front ofthe reception of Carolina . . .

The System Administrator, Susanne Lynoux, was desparatelytrying to find a solution. Her first idea, that the guests ofCarolina move to rooms number 1001, 2001, 3001, . . ., then theguests from the first hotel can move to rooms number1002, 2002, 3002, . . ., guest from the second hotel move torooms number 1003, 2003, 3003, . . ., and so on, did not work,they got stuck at the guests of the 1000th bankrupt hotel.

Page 54: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Some years later

Newer and newer infinitely large hotels were built until thenumber of hotels became infinite. These were prosperous for awhile, until one fine day. . .They all went bankrupt except for Hotel Carolina. Guests of thebankrupt hotels were transferred to Carolina:They queued up in infinitely many infinitely long lines in front ofthe reception of Carolina . . .The System Administrator, Susanne Lynoux, was desparatelytrying to find a solution. Her first idea, that the guests ofCarolina move to rooms number 1001, 2001, 3001, . . ., then theguests from the first hotel can move to rooms number1002, 2002, 3002, . . ., guest from the second hotel move torooms number 1003, 2003, 3003, . . ., and so on, did not work,they got stuck at the guests of the 1000th bankrupt hotel.

Page 55: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Ms Lynoux’s second idea was that guests of the first hotel moveto rooms number 2, 4, 8, 16, 32, . . ., guests from the secondhotel move to rooms number 3, 9, 27, 81, . . ., in general, guestsfrom he n − 1st hotel move to rooms n, n2, n3, . . .

This looked good, until they really started the moving:The rooms assigned to the guests of the third hotel werealready occupied, since powers of 4 are also powers of 2.However, Ms Lynoux could fix this scheme. She knew thatthere are an infinite number of prime numbers, thus if pkdenotes the k th prime number, then the guests of the k th hotelcould move to rooms numbered pk , p2

k , p3k , . . ., since powers of

distinct prime numbers are distinct.

Page 56: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Ms Lynoux’s second idea was that guests of the first hotel moveto rooms number 2, 4, 8, 16, 32, . . ., guests from the secondhotel move to rooms number 3, 9, 27, 81, . . ., in general, guestsfrom he n − 1st hotel move to rooms n, n2, n3, . . .This looked good, until they really started the moving:

The rooms assigned to the guests of the third hotel werealready occupied, since powers of 4 are also powers of 2.However, Ms Lynoux could fix this scheme. She knew thatthere are an infinite number of prime numbers, thus if pkdenotes the k th prime number, then the guests of the k th hotelcould move to rooms numbered pk , p2

k , p3k , . . ., since powers of

distinct prime numbers are distinct.

Page 57: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Ms Lynoux’s second idea was that guests of the first hotel moveto rooms number 2, 4, 8, 16, 32, . . ., guests from the secondhotel move to rooms number 3, 9, 27, 81, . . ., in general, guestsfrom he n − 1st hotel move to rooms n, n2, n3, . . .This looked good, until they really started the moving:The rooms assigned to the guests of the third hotel werealready occupied, since powers of 4 are also powers of 2.

However, Ms Lynoux could fix this scheme. She knew thatthere are an infinite number of prime numbers, thus if pkdenotes the k th prime number, then the guests of the k th hotelcould move to rooms numbered pk , p2

k , p3k , . . ., since powers of

distinct prime numbers are distinct.

Page 58: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Ms Lynoux’s second idea was that guests of the first hotel moveto rooms number 2, 4, 8, 16, 32, . . ., guests from the secondhotel move to rooms number 3, 9, 27, 81, . . ., in general, guestsfrom he n − 1st hotel move to rooms n, n2, n3, . . .This looked good, until they really started the moving:The rooms assigned to the guests of the third hotel werealready occupied, since powers of 4 are also powers of 2.However, Ms Lynoux could fix this scheme. She knew thatthere are an infinite number of prime numbers, thus if pkdenotes the k th prime number, then the guests of the k th hotelcould move to rooms numbered pk , p2

k , p3k , . . ., since powers of

distinct prime numbers are distinct.

Page 59: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Worries of the director

Everyone was accommodated, nevertheless Mike Rosophte,the director was not satisfied, sice many rooms were empty iHotel Carolina (e.g. numbers 6, 10, 12, 14, 18, . . .).

The next idea of Susan Lynoux was to move the nth guest of themth hotel to room number 2m3n. This did not cause any conflict,however it did not solve Mike Rosophte’s problem either . . .

Page 60: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Worries of the director

Everyone was accommodated, nevertheless Mike Rosophte,the director was not satisfied, sice many rooms were empty iHotel Carolina (e.g. numbers 6, 10, 12, 14, 18, . . .).The next idea of Susan Lynoux was to move the nth guest of themth hotel to room number 2m3n. This did not cause any conflict,however it did not solve Mike Rosophte’s problem either . . .

Page 61: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel.

Page 62: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·

(2, 1) (2, 2) (2, 3) (2, 4) (2, 5) · · ·

(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 63: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·

(2, 1) (2, 2) (2, 3) (2, 4) (2, 5) · · ·

(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 64: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓

(2, 1) (2, 2) (2, 3) (2, 4) (2, 5) · · ·

(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 65: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·

(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 66: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·

(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 67: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓

(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 68: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓

(3, 1) (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 69: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 70: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 71: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 72: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 73: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓

(4, 1) (4, 2) (4, 3) ← (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 74: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓

(4, 1) (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 75: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 76: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 77: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 78: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓ ↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 79: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓ ↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·↓

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 80: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓ ↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·↓

(5, 1) (5, 2) (5, 3) (5, 4) ← (5, 5) · · ·...

......

......

. . .

Page 81: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓ ↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·↓

(5, 1) (5, 2) (5, 3) ← (5, 4) ← (5, 5) · · ·...

......

......

. . .

Page 82: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓ ↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·↓

(5, 1) (5, 2) ← (5, 3) ← (5, 4) ← (5, 5) · · ·...

......

......

. . .

Page 83: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The Big Idea

By next morning Ms Lynoux figured out how can Hotel Carolinabe filled up completely without leaving any guestunaccommodated. She wrote down the guests of the hotels inan infinite square table, the nth position of the mth rowrepresented the nth guest of the mth hotel. Then she gave themove in order in red ink.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓ ↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·↓

(5, 1) ← (5, 2) ← (5, 3) ← (5, 4) ← (5, 5) · · ·...

......

......

. . .

Page 84: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The first n guests of the first n hotels occupy the first n2 rooms,thus sooner or later everybody get a room assigned:

The nth guest of the mth hotel moves into the (n − 1)2 + mth

room if ≥ m, otherwise into the m2 − n + 1st one.Thus, for every m, na unique room is assigned and we provedthat infinitely many guests of infinitely many hotels can beaccommodated in one infinte hotel without leaving an emptyroom.Susan Lynoux went for a well-deserved vacation. She shouldnot have done so . . .

Page 85: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The first n guests of the first n hotels occupy the first n2 rooms,thus sooner or later everybody get a room assigned:The nth guest of the mth hotel moves into the (n − 1)2 + mth

room if ≥ m, otherwise into the m2 − n + 1st one.

Thus, for every m, na unique room is assigned and we provedthat infinitely many guests of infinitely many hotels can beaccommodated in one infinte hotel without leaving an emptyroom.Susan Lynoux went for a well-deserved vacation. She shouldnot have done so . . .

Page 86: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The first n guests of the first n hotels occupy the first n2 rooms,thus sooner or later everybody get a room assigned:The nth guest of the mth hotel moves into the (n − 1)2 + mth

room if ≥ m, otherwise into the m2 − n + 1st one.Thus, for every m, na unique room is assigned and we provedthat infinitely many guests of infinitely many hotels can beaccommodated in one infinte hotel without leaving an emptyroom.

Susan Lynoux went for a well-deserved vacation. She shouldnot have done so . . .

Page 87: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The first n guests of the first n hotels occupy the first n2 rooms,thus sooner or later everybody get a room assigned:The nth guest of the mth hotel moves into the (n − 1)2 + mth

room if ≥ m, otherwise into the m2 − n + 1st one.Thus, for every m, na unique room is assigned and we provedthat infinitely many guests of infinitely many hotels can beaccommodated in one infinte hotel without leaving an emptyroom.Susan Lynoux went for a well-deserved vacation. She shouldnot have done so . . .

Page 88: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Chaos at the reception

Mike organized a welcome reception for the hotel guests. Hewanted to send out the invitation twice the speed, howeverincidentally he just sent them to to every other room, numbers2, 4, 6, . . .

Nevertheless, the infinite number chairs provided for the guestswere all occupied when the other guests who were invited laterarrived. They could be seated only after long manipulations...Then ice-cream was served, everyone received two portions.The chef swore that he prepared only one portion for eachguest.Mike stood dumbfounded...

Page 89: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Chaos at the reception

Mike organized a welcome reception for the hotel guests. Hewanted to send out the invitation twice the speed, howeverincidentally he just sent them to to every other room, numbers2, 4, 6, . . .Nevertheless, the infinite number chairs provided for the guestswere all occupied when the other guests who were invited laterarrived. They could be seated only after long manipulations...

Then ice-cream was served, everyone received two portions.The chef swore that he prepared only one portion for eachguest.Mike stood dumbfounded...

Page 90: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Chaos at the reception

Mike organized a welcome reception for the hotel guests. Hewanted to send out the invitation twice the speed, howeverincidentally he just sent them to to every other room, numbers2, 4, 6, . . .Nevertheless, the infinite number chairs provided for the guestswere all occupied when the other guests who were invited laterarrived. They could be seated only after long manipulations...Then ice-cream was served, everyone received two portions.The chef swore that he prepared only one portion for eachguest.Mike stood dumbfounded...

Page 91: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

An unsolvable problem

The IRS ordered Hotel Carolina to submit a list of all possibleutilizations of the hotel. An element of the list is an infinitesequence of 0’s and 1’s, the nth element is is 0 if the nth room isempty, and it is 1, if the nth room is occupied.

Mike Rosophte obediently prepared a list and was aboutsending it when Susan Lynoux arrived back and told him thatsuch a list cannot be complete.“Here is a utilization sequence that is not on your list: If the nth

entry of the nth element on the list is 0, then let 1 stand in thenth position in this sequence, otherwise let 0 stand there. Thusthe new sequence differs from the nth sequence on the list atthe nth position.”

Page 92: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

An unsolvable problem

The IRS ordered Hotel Carolina to submit a list of all possibleutilizations of the hotel. An element of the list is an infinitesequence of 0’s and 1’s, the nth element is is 0 if the nth room isempty, and it is 1, if the nth room is occupied.Mike Rosophte obediently prepared a list and was aboutsending it when Susan Lynoux arrived back and told him thatsuch a list cannot be complete.

“Here is a utilization sequence that is not on your list: If the nth

entry of the nth element on the list is 0, then let 1 stand in thenth position in this sequence, otherwise let 0 stand there. Thusthe new sequence differs from the nth sequence on the list atthe nth position.”

Page 93: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

An unsolvable problem

The IRS ordered Hotel Carolina to submit a list of all possibleutilizations of the hotel. An element of the list is an infinitesequence of 0’s and 1’s, the nth element is is 0 if the nth room isempty, and it is 1, if the nth room is occupied.Mike Rosophte obediently prepared a list and was aboutsending it when Susan Lynoux arrived back and told him thatsuch a list cannot be complete.“Here is a utilization sequence that is not on your list:

If the nth

entry of the nth element on the list is 0, then let 1 stand in thenth position in this sequence, otherwise let 0 stand there. Thusthe new sequence differs from the nth sequence on the list atthe nth position.”

Page 94: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

An unsolvable problem

The IRS ordered Hotel Carolina to submit a list of all possibleutilizations of the hotel. An element of the list is an infinitesequence of 0’s and 1’s, the nth element is is 0 if the nth room isempty, and it is 1, if the nth room is occupied.Mike Rosophte obediently prepared a list and was aboutsending it when Susan Lynoux arrived back and told him thatsuch a list cannot be complete.“Here is a utilization sequence that is not on your list: If the nth

entry of the nth element on the list is 0, then let 1 stand in thenth position in this sequence, otherwise let 0 stand there. Thusthe new sequence differs from the nth sequence on the list atthe nth position.”

Page 95: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The nth utilization sequence is u(n) = un1, un2, un3, . . .. Thesequence s = s1, s2, s3, . . ., where sn = 1− unn cannot be inthe list.

u11 u12 u13 u14 · · ·u21 u22 u23 u24 · · ·u31 u32 u33 u34 · · ·u41 u42 u43 u44 · · ·...

......

.... . .

Cantor’s Diagonal Method

Page 96: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The nth utilization sequence is u(n) = un1, un2, un3, . . .. Thesequence s = s1, s2, s3, . . ., where sn = 1− unn cannot be inthe list.

u11 u12 u13 u14 · · ·u21 u22 u23 u24 · · ·u31 u32 u33 u34 · · ·u41 u42 u43 u44 · · ·...

......

.... . .

s1 s2 s3 s4 · · ·

Cantor’s Diagonal Method

Page 97: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The nth utilization sequence is u(n) = un1, un2, un3, . . .. Thesequence s = s1, s2, s3, . . ., where sn = 1− unn cannot be inthe list.

u11 u12 u13 u14 · · ·u21 u22 u23 u24 · · ·u31 u32 u33 u34 · · ·u41 u42 u43 u44 · · ·...

......

.... . .

s1 s2 s3 s4 · · ·

Cantor’s Diagonal Method

Page 98: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Equivalent sets

DefinitionSets A and B are said to be equivalent if there exists aone-to-one mapping f that maps A to B. In notation A ∼ B.

Theorem∼ is an equivalence relation, that is for all A, B, and C

A ∼ A reflexivityA ∼ B implies B ∼ A symmetryIf A ∼ B and B ∼ C then A ∼ C transitivity

Page 99: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Equivalent sets

DefinitionSets A and B are said to be equivalent if there exists aone-to-one mapping f that maps A to B. In notation A ∼ B.

Theorem∼ is an equivalence relation, that is for all A, B, and C

A ∼ A reflexivity

A ∼ B implies B ∼ A symmetryIf A ∼ B and B ∼ C then A ∼ C transitivity

Page 100: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Equivalent sets

DefinitionSets A and B are said to be equivalent if there exists aone-to-one mapping f that maps A to B. In notation A ∼ B.

Theorem∼ is an equivalence relation, that is for all A, B, and C

A ∼ A reflexivityA ∼ B implies B ∼ A symmetry

If A ∼ B and B ∼ C then A ∼ C transitivity

Page 101: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Equivalent sets

DefinitionSets A and B are said to be equivalent if there exists aone-to-one mapping f that maps A to B. In notation A ∼ B.

Theorem∼ is an equivalence relation, that is for all A, B, and C

A ∼ A reflexivityA ∼ B implies B ∼ A symmetryIf A ∼ B and B ∼ C then A ∼ C transitivity

Page 102: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Examples

{dog,cat,horse} ∼ {puppy,kitty,colt} ∼ {0, 1, 2}{0, 1, 2, 3, . . .} ∼ {1, 2, 3, 4, . . .} f (i) = i + 1 (First day atHotel Carolina){1, 2, 3, . . .} ∼ {2, 4, 6, . . .} f (i) = 2i (Third day at HotelCarolina){. . . ,−3,−2,−1, 0, 1, 2, 3, . . .} ∼ {0, 1, 2, 3, . . .}f (2i) = i , f (2i + 1) = −i(−π

2 , π2 ) ∼ R f (x) = tan x .

Page 103: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Examples

{dog,cat,horse} ∼ {puppy,kitty,colt} ∼ {0, 1, 2}

{0, 1, 2, 3, . . .} ∼ {1, 2, 3, 4, . . .} f (i) = i + 1 (First day atHotel Carolina){1, 2, 3, . . .} ∼ {2, 4, 6, . . .} f (i) = 2i (Third day at HotelCarolina){. . . ,−3,−2,−1, 0, 1, 2, 3, . . .} ∼ {0, 1, 2, 3, . . .}f (2i) = i , f (2i + 1) = −i(−π

2 , π2 ) ∼ R f (x) = tan x .

Page 104: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Examples

{dog,cat,horse} ∼ {puppy,kitty,colt} ∼ {0, 1, 2}{0, 1, 2, 3, . . .} ∼ {1, 2, 3, 4, . . .} f (i) = i + 1 (First day atHotel Carolina)

{1, 2, 3, . . .} ∼ {2, 4, 6, . . .} f (i) = 2i (Third day at HotelCarolina){. . . ,−3,−2,−1, 0, 1, 2, 3, . . .} ∼ {0, 1, 2, 3, . . .}f (2i) = i , f (2i + 1) = −i(−π

2 , π2 ) ∼ R f (x) = tan x .

Page 105: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Examples

{dog,cat,horse} ∼ {puppy,kitty,colt} ∼ {0, 1, 2}{0, 1, 2, 3, . . .} ∼ {1, 2, 3, 4, . . .} f (i) = i + 1 (First day atHotel Carolina){1, 2, 3, . . .} ∼ {2, 4, 6, . . .} f (i) = 2i (Third day at HotelCarolina)

{. . . ,−3,−2,−1, 0, 1, 2, 3, . . .} ∼ {0, 1, 2, 3, . . .}f (2i) = i , f (2i + 1) = −i(−π

2 , π2 ) ∼ R f (x) = tan x .

Page 106: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Examples

{dog,cat,horse} ∼ {puppy,kitty,colt} ∼ {0, 1, 2}{0, 1, 2, 3, . . .} ∼ {1, 2, 3, 4, . . .} f (i) = i + 1 (First day atHotel Carolina){1, 2, 3, . . .} ∼ {2, 4, 6, . . .} f (i) = 2i (Third day at HotelCarolina){. . . ,−3,−2,−1, 0, 1, 2, 3, . . .} ∼ {0, 1, 2, 3, . . .}f (2i) = i , f (2i + 1) = −i

(−π2 , π

2 ) ∼ R f (x) = tan x .

Page 107: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Examples

{dog,cat,horse} ∼ {puppy,kitty,colt} ∼ {0, 1, 2}{0, 1, 2, 3, . . .} ∼ {1, 2, 3, 4, . . .} f (i) = i + 1 (First day atHotel Carolina){1, 2, 3, . . .} ∼ {2, 4, 6, . . .} f (i) = 2i (Third day at HotelCarolina){. . . ,−3,−2,−1, 0, 1, 2, 3, . . .} ∼ {0, 1, 2, 3, . . .}f (2i) = i , f (2i + 1) = −i(−π

2 , π2 ) ∼ R f (x) = tan x .

Page 108: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Cardinality

DefinitionIf A ∼ B, then A and B are said to have the same cardinality.The cardinality of a set A is denoted by |A|. The cardinality ofthe natural numbers is denoted by ℵ0. A set A is finite if it isempty or A ∼ {0, 1, . . . , n − 1} for some n. A set is countable ifit is finite or it is of cardinality ℵ0.

TheoremIf A is infinite then it has a subset A′ of cardinality ℵ0.

Page 109: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Cardinality

DefinitionIf A ∼ B, then A and B are said to have the same cardinality.The cardinality of a set A is denoted by |A|. The cardinality ofthe natural numbers is denoted by ℵ0. A set A is finite if it isempty or A ∼ {0, 1, . . . , n − 1} for some n. A set is countable ifit is finite or it is of cardinality ℵ0.

TheoremIf A is infinite then it has a subset A′ of cardinality ℵ0.

Page 110: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Comparing cardinalities

DefinitionThe cardinality of set A is less than or equal to that of set B ifthere exists a one-to-one mapping f of A to a subset of B. Innotation |A| ≤ |B|.

Example

|{0, 1, . . . , n}| ≤ |{0, 1, . . . , m}| ⇐⇒ n ≤ m|{0, 1, . . . , n}| ≤ |N| ≤ |Z| ≤ |Q| ≤ |R| The one-to-onemapping is the identity in each case.|N| ≤ |A| if A is infinite.

Page 111: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Comparing cardinalities

DefinitionThe cardinality of set A is less than or equal to that of set B ifthere exists a one-to-one mapping f of A to a subset of B. Innotation |A| ≤ |B|.

Example

|{0, 1, . . . , n}| ≤ |{0, 1, . . . , m}| ⇐⇒ n ≤ m

|{0, 1, . . . , n}| ≤ |N| ≤ |Z| ≤ |Q| ≤ |R| The one-to-onemapping is the identity in each case.|N| ≤ |A| if A is infinite.

Page 112: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Comparing cardinalities

DefinitionThe cardinality of set A is less than or equal to that of set B ifthere exists a one-to-one mapping f of A to a subset of B. Innotation |A| ≤ |B|.

Example

|{0, 1, . . . , n}| ≤ |{0, 1, . . . , m}| ⇐⇒ n ≤ m|{0, 1, . . . , n}| ≤ |N| ≤ |Z| ≤ |Q| ≤ |R| The one-to-onemapping is the identity in each case.

|N| ≤ |A| if A is infinite.

Page 113: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Comparing cardinalities

DefinitionThe cardinality of set A is less than or equal to that of set B ifthere exists a one-to-one mapping f of A to a subset of B. Innotation |A| ≤ |B|.

Example

|{0, 1, . . . , n}| ≤ |{0, 1, . . . , m}| ⇐⇒ n ≤ m|{0, 1, . . . , n}| ≤ |N| ≤ |Z| ≤ |Q| ≤ |R| The one-to-onemapping is the identity in each case.|N| ≤ |A| if A is infinite.

Page 114: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Bernstein’s Equivalence Theorem

TheoremIf |A| ≤ |B| and |A| ≥ |B|, then |A| = |B|.

Absolutely not trivial!

Page 115: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Bernstein’s Equivalence Theorem

TheoremIf |A| ≤ |B| and |A| ≥ |B|, then |A| = |B|.

Absolutely not trivial!

Page 116: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Bernstein’s Equivalence Theorem

TheoremIf |A| ≤ |B| and |A| ≥ |B|, then |A| = |B|.

Absolutely not trivial!

A B

Page 117: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Bernstein’s Equivalence Theorem

TheoremIf |A| ≤ |B| and |A| ≥ |B|, then |A| = |B|.

Absolutely not trivial!

A B

f(A)

f

Page 118: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Bernstein’s Equivalence Theorem

TheoremIf |A| ≤ |B| and |A| ≥ |B|, then |A| = |B|.

Absolutely not trivial!

A Bg(B)

g

Page 119: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Bernstein’s Equivalence Theorem

TheoremIf |A| ≤ |B| and |A| ≥ |B|, then |A| = |B|.

Absolutely not trivial!

A B

h(A)

h

Page 120: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Bernstein’s Equivalence Theorem

TheoremIf |A| ≤ |B| and |A| ≥ |B|, then |A| = |B|.

Absolutely not trivial!

A B

f(A)

fg(B)

gh(A)

h

Page 121: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

TheoremThe union of countably many countable sets is itself countable.

This is the situation of Hotel Carolina after few years.Proof Let the sets be A1, A2, . . . , An, . . .. Furthermore, let themth element of An be an,m. A one-to-one mapping is given

from∞⋃

n=1

An to N.

For the sake of convenience (n, m) is written in place of an,m.

Page 122: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

TheoremThe union of countably many countable sets is itself countable.

This is the situation of Hotel Carolina after few years.Proof

Let the sets be A1, A2, . . . , An, . . .. Furthermore, let themth element of An be an,m. A one-to-one mapping is given

from∞⋃

n=1

An to N.

For the sake of convenience (n, m) is written in place of an,m.

Page 123: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

TheoremThe union of countably many countable sets is itself countable.

This is the situation of Hotel Carolina after few years.Proof Let the sets be A1, A2, . . . , An, . . .. Furthermore, let themth element of An be an,m. A one-to-one mapping is given

from∞⋃

n=1

An to N.

For the sake of convenience (n, m) is written in place of an,m.

Page 124: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

Page 125: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·

(2, 1) (2, 2) (2, 3) (2, 4) (2, 5) · · ·

(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 126: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·

(2, 1) (2, 2) (2, 3) (2, 4) (2, 5) · · ·

(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 127: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓

(2, 1) (2, 2) (2, 3) (2, 4) (2, 5) · · ·

(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 128: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·

(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 129: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·

(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 130: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓

(3, 1) (3, 2) (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 131: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓

(3, 1) (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 132: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 133: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 134: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 135: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓

(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 136: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓

(4, 1) (4, 2) (4, 3) ← (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 137: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓

(4, 1) (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 138: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 139: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 140: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 141: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓ ↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 142: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓ ↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·↓

(5, 1) (5, 2) (5, 3) (5, 4) (5, 5) · · ·...

......

......

. . .

Page 143: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓ ↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·↓

(5, 1) (5, 2) (5, 3) (5, 4) ← (5, 5) · · ·...

......

......

. . .

Page 144: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓ ↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·↓

(5, 1) (5, 2) (5, 3) ← (5, 4) ← (5, 5) · · ·...

......

......

. . .

Page 145: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓ ↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·↓

(5, 1) (5, 2) ← (5, 3) ← (5, 4) ← (5, 5) · · ·...

......

......

. . .

Page 146: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

The mapping

In fact the following is just one of the possible mappings.

(1, 1) ← (1, 2) ← (1, 3) ← (1, 4) ← (1, 5) · · ·↓ ↓ ↓ ↓

(2, 1) ← (2, 2) (2, 3) (2, 4) (2, 5) · · ·↓ ↓ ↓

(3, 1) ← (3, 2) ← (3, 3) (3, 4) (3, 5) · · ·↓ ↓

(4, 1) ← (4, 2) ← (4, 3) ← (4, 4) (4, 5) · · ·↓

(5, 1) ← (5, 2) ← (5, 3) ← (5, 4) ← (5, 5) · · ·...

......

......

. . .

Page 147: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Cardinalities of Q and R

PropositionQ = ℵ0.

Proof: Write − nm in place of (2n + 1, m) and n

m in place of(2n, m) in the previous proof.Is it true that Q = R?

Page 148: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Cardinalities of Q and R

PropositionQ = ℵ0.

Proof: Write − nm in place of (2n + 1, m) and n

m in place of(2n, m) in the previous proof.Is it true that Q = R?

Page 149: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Cardinalities of Q and R

PropositionQ = ℵ0.

Proof: Write − nm in place of (2n + 1, m) and n

m in place of(2n, m) in the previous proof.

Is it true that Q = R?

Page 150: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Cardinalities of Q and R

PropositionQ = ℵ0.

Proof: Write − nm in place of (2n + 1, m) and n

m in place of(2n, m) in the previous proof.Is it true that Q = R?

Page 151: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

R is uncountable

TheoremR > ℵ0.

Proof:

We show that even forthe open interval (0, 1) it is truethat |(0, 1)| > ℵ0. Assume incontrary, that (0, 1) is countable,that is its elements can be listedr1, r2, . . . , rn, . . .. Let number rnbe written in decimal form asrn = 0.dn1dn2dn3 . . ..

r1 = 0.d12d13d14d15 . . .r2 = 0.d21d23d24d25 . . .r3 = 0.d31d32d34d35 . . .r4 = 0.d41d42d43d35 . . .r5 = 0.d51d52d53d55 . . ....

......

Page 152: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

R is uncountable

TheoremR > ℵ0.

Proof: We show that even forthe open interval (0, 1) it is truethat |(0, 1)| > ℵ0.

Assume incontrary, that (0, 1) is countable,that is its elements can be listedr1, r2, . . . , rn, . . .. Let number rnbe written in decimal form asrn = 0.dn1dn2dn3 . . ..

r1 = 0.d12d13d14d15 . . .r2 = 0.d21d23d24d25 . . .r3 = 0.d31d32d34d35 . . .r4 = 0.d41d42d43d35 . . .r5 = 0.d51d52d53d55 . . ....

......

Page 153: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

R is uncountable

TheoremR > ℵ0.

Proof: We show that even forthe open interval (0, 1) it is truethat |(0, 1)| > ℵ0. Assume incontrary, that (0, 1) is countable,that is its elements can be listedr1, r2, . . . , rn, . . .. Let number rnbe written in decimal form asrn = 0.dn1dn2dn3 . . ..

r1 = 0.d12d13d14d15 . . .r2 = 0.d21d23d24d25 . . .r3 = 0.d31d32d34d35 . . .r4 = 0.d41d42d43d35 . . .r5 = 0.d51d52d53d55 . . ....

......

Page 154: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

R is uncountable

TheoremR > ℵ0.

Proof: We show that even forthe open interval (0, 1) it is truethat |(0, 1)| > ℵ0. Assume incontrary, that (0, 1) is countable,that is its elements can be listedr1, r2, . . . , rn, . . .. Let number rnbe written in decimal form asrn = 0.dn1dn2dn3 . . .. Let s be thenumber whose j th digit sj is 1 ifdjj 6= 1 and sj = 2, if djj = 1.This number s annot be on thelist, since it differs from rj at thej th digit.

r1 = 0.d11d12d13d14d15 . . .r2 = 0.d21d22d23d24d25 . . .r3 = 0.d31d32d33d34d35 . . .r4 = 0.d41d42d43d44d35 . . .r5 = 0.d51d52d53d55d55 . . ....

......

Page 155: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

R is uncountable

TheoremR > ℵ0.

Proof: We show that even forthe open interval (0, 1) it is truethat |(0, 1)| > ℵ0. Assume incontrary, that (0, 1) is countable,that is its elements can be listedr1, r2, . . . , rn, . . .. Let number rnbe written in decimal form asrn = 0.dn1dn2dn3 . . .. Let s bethe number whose j th digit sj is 1if djj 6= 1 and sj = 2, if djj = 1.This number s annot be on thelist, since it differs from rj at thej th digit.

r1 = 0.d11d12d13d14d15 . . .r2 = 0.d21d22d23d24d25 . . .r3 = 0.d31d32d33d34d35 . . .r4 = 0.d41d42d43d44d35 . . .r5 = 0.d51d52d53d55d55 . . ....

......

s = 0.s1s2s3s4s5 . . .

Page 156: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

(0, 1) ∼(−π

2 , π2

)f (x) = πx − π

2 .

(−π

2 , π2

)∼ R f (x) = tan x .

Thus, |(0, 1)| = |R|. This cardinality is denoted by c.ℵ0 < c

Are there even larger cardinalities?

Page 157: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

(0, 1) ∼(−π

2 , π2

)f (x) = πx − π

2 .(−π

2 , π2

)∼ R f (x) = tan x .

Thus, |(0, 1)| = |R|. This cardinality is denoted by c.ℵ0 < c

Are there even larger cardinalities?

Page 158: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

(0, 1) ∼(−π

2 , π2

)f (x) = πx − π

2 .(−π

2 , π2

)∼ R f (x) = tan x .

Thus, |(0, 1)| = |R|. This cardinality is denoted by c.

ℵ0 < c

Are there even larger cardinalities?

Page 159: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

(0, 1) ∼(−π

2 , π2

)f (x) = πx − π

2 .(−π

2 , π2

)∼ R f (x) = tan x .

Thus, |(0, 1)| = |R|. This cardinality is denoted by c.ℵ0 < c

Are there even larger cardinalities?

Page 160: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

(0, 1) ∼(−π

2 , π2

)f (x) = πx − π

2 .(−π

2 , π2

)∼ R f (x) = tan x .

Thus, |(0, 1)| = |R|. This cardinality is denoted by c.ℵ0 < c

Are there even larger cardinalities?

Page 161: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Power set

DefinitionThe set of all subsets of a set A is called the power set of A andit is denoted by P(A).

Theorem|A| < |P(A)|.

Proof: The inequality |A| ≤ |P(A)| is shown by the mappinga 7→ {a}. Thus, we only need to prova that |A| 6= |P(A)|.Assume indirectly that there exists a one-to-one mappingf : A→ P(A) such that every element of P(A) is in the range off .

Page 162: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Power set

DefinitionThe set of all subsets of a set A is called the power set of A andit is denoted by P(A).

Theorem|A| < |P(A)|.

Proof: The inequality |A| ≤ |P(A)| is shown by the mappinga 7→ {a}. Thus, we only need to prova that |A| 6= |P(A)|.Assume indirectly that there exists a one-to-one mappingf : A→ P(A) such that every element of P(A) is in the range off .

Page 163: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Power set

DefinitionThe set of all subsets of a set A is called the power set of A andit is denoted by P(A).

Theorem|A| < |P(A)|.

Proof: The inequality |A| ≤ |P(A)| is shown by the mappinga 7→ {a}. Thus, we only need to prova that |A| 6= |P(A)|.Assume indirectly that there exists a one-to-one mappingf : A→ P(A) such that every element of P(A) is in the range off .

Page 164: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Let B = {a ∈ A : a 6∈ f (a)} Now, B ⊆ A, thus B ∈ P(A), that isthere exists an element b ∈ A such that f (b) = B, since B isinthe range of f .

If b ∈ B, then by the definition of B we have b 6∈ f (b) = B, acontradiction.If b 6∈ B = f (B), then by the definition of B, b ∈ B musthold, a contradiction.

Thus our starting assumption that |A| = |P(A)| must be false,so |A| < |P(A)|.For every cardinality there exists a larger one!

Page 165: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Let B = {a ∈ A : a 6∈ f (a)} Now, B ⊆ A, thus B ∈ P(A), that isthere exists an element b ∈ A such that f (b) = B, since B isinthe range of f .

If b ∈ B, then by the definition of B we have b 6∈ f (b) = B, acontradiction.

If b 6∈ B = f (B), then by the definition of B, b ∈ B musthold, a contradiction.

Thus our starting assumption that |A| = |P(A)| must be false,so |A| < |P(A)|.For every cardinality there exists a larger one!

Page 166: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Let B = {a ∈ A : a 6∈ f (a)} Now, B ⊆ A, thus B ∈ P(A), that isthere exists an element b ∈ A such that f (b) = B, since B isinthe range of f .

If b ∈ B, then by the definition of B we have b 6∈ f (b) = B, acontradiction.If b 6∈ B = f (B), then by the definition of B, b ∈ B musthold, a contradiction.

Thus our starting assumption that |A| = |P(A)| must be false,so |A| < |P(A)|.For every cardinality there exists a larger one!

Page 167: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Let B = {a ∈ A : a 6∈ f (a)} Now, B ⊆ A, thus B ∈ P(A), that isthere exists an element b ∈ A such that f (b) = B, since B isinthe range of f .

If b ∈ B, then by the definition of B we have b 6∈ f (b) = B, acontradiction.If b 6∈ B = f (B), then by the definition of B, b ∈ B musthold, a contradiction.

Thus our starting assumption that |A| = |P(A)| must be false,so |A| < |P(A)|.

For every cardinality there exists a larger one!

Page 168: Tales about infinity - Budapest University of Technology ...cs.bme.hu/bsz1-english/kuzman.pdf · What sets really are Strange happenings in Grand Hotel Carolina Cardinalities Tales

What sets really are Strange happenings in Grand Hotel Carolina Cardinalities

Let B = {a ∈ A : a 6∈ f (a)} Now, B ⊆ A, thus B ∈ P(A), that isthere exists an element b ∈ A such that f (b) = B, since B isinthe range of f .

If b ∈ B, then by the definition of B we have b 6∈ f (b) = B, acontradiction.If b 6∈ B = f (B), then by the definition of B, b ∈ B musthold, a contradiction.

Thus our starting assumption that |A| = |P(A)| must be false,so |A| < |P(A)|.For every cardinality there exists a larger one!