b2 1 cardinality of infinite sets
play

B2.1 Cardinality of Infinite Sets The cardinality of a finite set - PowerPoint PPT Presentation

Discrete Mathematics in Computer Science September 30, 2020 B2. Countable Sets Discrete Mathematics in Computer Science B2.1 Cardinality of Infinite Sets B2. Countable Sets Malte Helmert, Gabriele R oger B2.2 Hilberts Hotel


  1. Discrete Mathematics in Computer Science September 30, 2020 — B2. Countable Sets Discrete Mathematics in Computer Science B2.1 Cardinality of Infinite Sets B2. Countable Sets Malte Helmert, Gabriele R¨ oger B2.2 Hilbert’s Hotel University of Basel B2.3 ℵ 0 and Countable Sets September 30, 2020 Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 1 / 29 Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 2 / 29 B2. Countable Sets Cardinality of Infinite Sets B2. Countable Sets Cardinality of Infinite Sets Finite Sets Revisited We already know: ◮ The cardinality | S | measures the size of set S . ◮ A set is finite if it has a finite number of elements. B2.1 Cardinality of Infinite Sets ◮ The cardinality of a finite set is the number of elements it contains. ◮ For a finite set S , it holds that |P ( S ) | = 2 | S | . A set is infinite if it has an infinite number of elements. ◮ Do all infinite sets have the same cardinality? ◮ Does the power set of infinite set S have the same cardinality as S ? Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 3 / 29 Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 4 / 29

  2. B2. Countable Sets Cardinality of Infinite Sets B2. Countable Sets Cardinality of Infinite Sets Comparing the Cardinality of Sets Equinumerous Sets ◮ { 1 , 2 , 3 } and { dog , cat , mouse } have cardinality 3. ◮ We can pair their elements: We use the existence of a pairing also as criterion for infinite sets: Definition (Equinumerous Sets) 1 ↔ dog Two sets A and B have the same cardinality ( | A | = | B | ) 2 ↔ cat if there exists a bijection from A to B . 3 ↔ mouse Such sets are called equinumerous. ◮ We call such a mapping a bijection from one set to the other. ◮ Each element of one set is paired When is a set “smaller” than another set? with exactly one element of the other set. ◮ Each element of the other set is paired with exactly one element of the first set. Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 5 / 29 Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 6 / 29 B2. Countable Sets Cardinality of Infinite Sets B2. Countable Sets Cardinality of Infinite Sets Comparing the Cardinality of Sets Comparing Cardinality Definition (cardinality not larger) ◮ Consider A = { 1 , 2 } and B = { dog , cat , mouse } . Set A has cardinality less than or equal to the cardinality of set B ◮ We can map distinct elements of A to distinct elements of B : ( | A | ≤ | B | ), if there is an injective function from A to B . 1 �→ dog 2 �→ cat Definition (strictly smaller cardinality) Set A has cardinality strictly less than the cardinality of set B ◮ We call this an injective function from A to B : ( | A | < | B | ), if | A | ≤ | B | and | A | � = | B | . ◮ every element of A is mapped to an element of B ; ◮ different elements of A are mapped to different elements of B . Consider set A and object e / ∈ A . Is | A | < | A ∪ { e }| ? Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 7 / 29 Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 8 / 29

  3. B2. Countable Sets Hilbert’s Hotel B2. Countable Sets Hilbert’s Hotel Hilbert’s Hotel Our intuition for finite sets does not always work for infinite sets. B2.2 Hilbert’s Hotel ◮ If in a hotel all rooms are occupied then it cannot accomodate additional guests. ◮ But Hilbert’s Grand Hotel has infinitely many rooms. ◮ All these rooms are occupied. Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 9 / 29 Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 10 / 29 B2. Countable Sets Hilbert’s Hotel B2. Countable Sets Hilbert’s Hotel One More Guest Arrives Four More Guests Arrive ◮ Every guest moves from her current room n to room n + 4. ◮ Every guest moves from her current room n to room n + 1. ◮ Rooms 1 to 4 are no longer occupied and ◮ Room 1 is then free. can be used for the new guests. ◮ The new guest gets room 1. → Works for any finite number of additional guests. Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 11 / 29 Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 12 / 29

  4. B2. Countable Sets Hilbert’s Hotel B2. Countable Sets Hilbert’s Hotel An Infinite Number of Guests Arrives Can we Go further? What if . . . ◮ infinitely many coaches, each with an infinite number of guests ◮ infinitely many ferries, each with an infinite number of coaches, each with infinitely many guests ◮ . . . . . . arrive? ◮ Every guest moves from her current room n to room 2 n . There are strategies for all these situations ◮ The infinitely many rooms with odd numbers are now as long as with “infinite” we mean “countably infinite” available. and there is a finite number of layers. ◮ The new guests fit into these rooms. Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 13 / 29 Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 14 / 29 B2. Countable Sets ℵ 0 and Countable Sets B2. Countable Sets ℵ 0 and Countable Sets Comparing Cardinality ◮ Two sets A and B have the same cardinality if their elements can be paired (i.e. there is a bijection from A to B ). B2.3 ℵ 0 and Countable Sets ◮ Set A has a strictly smaller cardinality than set B if ◮ we can map distinct elements of A to distinct elements of B (i.e. there is an injective function from A to B ), and ◮ | A | � = | B | . ◮ This clearly makes sense for finite sets. ◮ What about infinite sets? Do they even have different cardinalities? Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 15 / 29 Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 16 / 29

  5. B2. Countable Sets ℵ 0 and Countable Sets B2. Countable Sets ℵ 0 and Countable Sets The Cardinality of the Natural Numbers Countable and Countably Infinite Sets Definition (countably infinite and countable) A set A is countably infinite if | A | = | N 0 | . Definition ( ℵ 0 ) A set A is countable if | A | ≤ | N 0 | . The cardinality of N 0 is denoted by ℵ 0 , i.e. ℵ 0 = | N 0 | A set is countable if it is finite or countably infinite. Read: “aleph-zero”, “aleph-nought” or “aleph-null” ◮ We can count the elements of a countable set one at a time. ◮ The objects are “discrete” (in contrast to “continuous”). ◮ Discrete mathematics deals with all kinds of countable sets. Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 17 / 29 Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 18 / 29 B2. Countable Sets ℵ 0 and Countable Sets B2. Countable Sets ℵ 0 and Countable Sets Set of Even Numbers Set of Even Numbers Theorem (set of even numbers is countably infinite) The set of all even natural numbers is countably infinite, i. e. |{ n | n ∈ N 0 and n is even }| = | N 0 | . ◮ even = { n | n ∈ N 0 and n is even } ◮ Obviously: even ⊂ N 0 Proof Sketch. ◮ Intuitively, there are twice as many natural numbers We can pair every natural number n with the even number 2 n . as even numbers — no? ◮ Is | even | < | N 0 | ? Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 19 / 29 Malte Helmert, Gabriele R¨ oger (University of Basel) Discrete Mathematics in Computer Science September 30, 2020 20 / 29

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend