/ department of mathematics and computer science
Cardinality
Lecture 14 (Chapter 19) October 26, 2016
2/12 / department of mathematics and computer science
Cardinality
Example:
Do the sets {5, 10, 15, . . . , 155} {10, 20, 30, . . . , 310} {1, 2, 3, . . . , 31} {0, 1, 2, . . . , 30} have the same size? Do the sets N and Z have the same size? Two sets X and Y have the same cardinality (=have the same size) if there exists a bijection from X to Y . X ∼ Y means ’X and Y have the same cardinality’
4/12 / department of mathematics and computer science
Countable
A set is called countable if it has the same cardinality as N. Is Z countable?
1 2 3 . . . ↓ ↓ ↓ ↓ −3 −2 −1 1 2 3 . . . no bijection 1 2 3 4 5 6 . . . ↓ ↓ ↓ ↓ ↓ ↓ ↓ −1 1 −2 2 −3 3 . . . bijection
Yes, via the bijection f : N → Z defined by f(n) = 1
2n
if n is even − 1
2(n + 1)
if n is odd
5/12 / department of mathematics and computer science
Countable
A set is called countable if it has the same cardinality as N. Is N2 countable?
1 2 3 . . . ↓ ↓ ↓ ↓ (0, 0) (0, 1) (0, 2) (0, 3) . . . no bijection (0, 0) (0, 1) (0, 2) (0, 3) . . . (1, 0) (1, 1) (1, 2) (1, 3) . . . (2, 0) (2, 1) (2, 2) (2, 3) . . . (3, 0) (3, 1) (3, 2) (3, 3) . . . . . . . . . . . . . . . ... 2 5 9 . . . 1 4 8 13 . . . 3 7 12 18 . . . 6 11 17 24 . . . . . . . . . . . . . . . ...
Yes, via the bijection f : N2 → N defined by f(x, y) = x+y
i=0 i
- + y = 1