Cardinality: Countable and Uncountable Sets
Are there more rational numbers than natural numbers?
The rationals are dense, with a third between any two,
while the naturals are spread out one unit apart; and
yet the answer is no, because the rationals can be
listed. Are there more real numbers than rationals? Yes:
no list of real numbers, however cleverly it is made,
contains them all. This chapter makes “more” exact, with
bijections and injections in place of counting, and
proves both answers. It then shows that there is no
largest size at all: by Cantor’s theorem, the set of
subsets of any set is strictly bigger than the set
itself. A second motivating question comes from school:
why does
On the way the chapter meets a principle that the rules of logic and the working rules for sets do not supply: making infinitely many arbitrary choices at once. The obvious proof that a countable union of countable sets is countable needs a list of every set of the family at the same time, and no rule produces one. The chapter states the missing principle as the axiom of choice, marks the line of each proof that uses it, and shows how often a rule (the least element, a formula) makes it unnecessary. The finite sets come first, with the pigeonhole principle and the facts about counting that the earlier chapters took on trust.
What you need. Logic and
Proof, Chapters 1–8, and Sets, Relations, and
Cardinality, Chapters 1–2. Induction (Logic and Proof, Axiom 4.2.1)
from Logic and Proof, Chapter 4. From Logic
and Proof, Chapter 5, the rule
Time. About 30 hours on the core track (all of A, one B and one C per section, the exit checks); about 40 hours for everything.
Roadmap
- Equinumerous sets and finite sets.
“The same size” defined by a bijection, finite sets and
their number of elements, the pigeonhole principle and
the uniqueness of that number, subsets, disjoint unions
and the
subsets of an -element set, and the theorem that no finite set is equinumerous with a proper subset, which Hilbert’s hotel turns into a proof that is infinite. - Countable sets. Countable as
listable with repetitions allowed (empty, or the image
of
), the equivalent forms “an injection into ” and “finite or countably infinite”, closure under subsets, images, unions of two sets and finite products, and the countability of , and . - Countable unions and the axiom of choice. The step in the proof for countable unions that no rule justifies, the axiom of choice that licenses it, the constructions that look like choice and are not, right inverses of surjections, countable unions of countable sets, and the countability of the algebraic numbers.
- Diagonal arguments: uncountable sets and
Cantor’s theorem. The diagonal argument for 0–1
sequences, Cantor’s theorem that no map from a set onto
its power set exists, decimal expansions defined with
finite sums, the uncountability of
, and the existence of transcendental numbers. - Comparing sizes: the Schröder–Bernstein
theorem. Comparing sizes by injections, its
exchange with surjections at the price of choice, the
Schröder–Bernstein theorem proved without choice, and
every interval with more than one point equinumerous
with
. - Infinite sets. Every infinite set
contains a countably infinite subset (a stronger use of
choice), so
is the smallest infinite size, and a set is infinite exactly when it is equinumerous with a proper subset of itself; the review exercises reach back across this volume and Logic and Proof.
Named moves
- List it. To show that
is countable, give a surjection or an injection , whichever is cheaper to write down and check; repetitions in a list are free. An injection only has to keep different elements apart, as does for . - The diagonal. Given any list, build
an object that differs from the
-th entry at the -th place. It is not on the list, and since the list was arbitrary, no list contains everything. - Injections both ways. To show
, find an injection and an injection , and invoke the Schröder–Bernstein theorem; do not hunt for the bijection. - Name the choice. When a proof picks one object for each of infinitely many indices with no rule that names it, say at that line that the axiom of choice is used. When a rule names the object, such as the least element of a set of natural numbers or a formula, no choice is used.