Counting infinity
Equipotence and countable sets
Counting without counting
How do you decide that two sets have "as many" elements when they are infinite? In 1874 Cantor proposed an answer that involves no counting at all: two sets and are equipotent (have the same cardinality) if there exists a bijection from onto .
For finite sets, this gives back equality of cardinalities. For infinite sets, it holds some surprises.
Countable sets
A set is countable if it is equipotent to : its elements can then be numbered without missing or repeating any. It is the smallest infinity.
The first shock is that you can remove elements from an infinite set without changing its size. The map is a bijection from onto : the set of nonzero integers is as large as the set of all integers. This is Hilbert's hotel, full yet still able to take in one more guest by moving everyone up one room.
The catalog of countable sets
| Set | Bijection with | Countable? |
|---|---|---|
| yes | ||
| even integers | yes | |
| alternating | yes | |
| traversal along diagonals | yes | |
| see the next lesson | yes | |
| algebraic numbers | countable union of finite subsets | yes |
Let's look at in detail. The bijection is written explicitly as
which lists and reaches every integer exactly once.
Two stability rules
They are used constantly, and both follow from the diagonal traversal of :
A countable union of countable sets is countable. A finite product of countable sets is countable.
On the other hand, an infinite product of two-element sets is not: the set of binary sequences is the first uncountable set one encounters, and it is the one that Cantor's diagonal will catch out.
Classic pitfall
Believing that a "richer" set is necessarily larger. Intuition says that contains many more elements than , since there are infinitely many of them between two consecutive integers. This is false in the sense of equipotence: density and cardinality are two independent notions. The set is dense in and yet countable.

