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. It starts from the finite sets of Section 2.5 and the pigeonhole principle.
What you need. Logic and
Proof, Chapters 1–8, and Sets and
Functions, 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 35 hours on the core track (all of A, one B and one C per section, the exit checks); about 55 hours for everything.
Roadmap
- 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 ; the method: list a set, by a surjection from or an injection into . - 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; the method: name each choice a proof makes.
- Diagonal arguments: uncountable sets and
Cantor’s theorem. The diagonal argument for 0–1
sequences, opening with the five-string game of Section
1.5, 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; the method: the diagonal. - 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
; the method: injections both ways; whether any two sets are comparable is left open. - 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. - Cardinal arithmetic. Sums as
disjoint unions, products and powers of sets compared by
size; the laws
and proved by bijections; subsets as 0–1 functions; no set of all sets, once more; and , , , and all of one size; the methods: encode and decode, and prove a law of sizes by a bijection. The review exercises reach back across this volume and Logic and Proof.
Named moves
Each is a method box in the section named at the end of its line; the later sections use the move again.
- List it (Example (Method: list it)).
To show a set countable, give a surjection from
or an injection into , whichever is cheaper to check; a list may repeat, and an injection only has to keep different elements apart. (Section 3.1) - Name the choice (Example (Method: name the choice)). When a proof picks one object for each of infinitely many indices and no rule names it, say at that line that the axiom of choice is used; a least element or a formula is a rule, and needs no choice. (Section 3.2)
- The diagonal (Example (Method: 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. (Section 3.3) - Injections both ways (Example (Method: injections both ways)).
To show
, find an injection and an injection and invoke the Schröder–Bernstein theorem, instead of hunting for the bijection. (Section 3.4) - Encode and decode (Example (Method: build a bijection by encoding and decoding)). To build a bijection, say what an element must record, write the code and the decoder, and check both round trips. (Section 3.6)
- A law by a bijection (Example (Method: prove a law of sizes by a bijection of sets)).
To prove a law of sizes, write out an element of each
side and regroup it into an element of the other side,
never computing with
as if it were a number. (Section 3.6)
Threads
- The five strings. Section 1.5 plants a game: write a string of five symbols not on a given list of five. Section 3.3 opens with the rule that always works (Example (Back to the five strings)), and the same rule, run on infinitely long strings, proves that the 0–1 sequences cannot be listed (Theorem 3.3.1).
- Russell to Cantor. Russell’s theorem (Section 1.2) built a set that disagrees with each candidate on the candidate itself; Cantor’s theorem (Section 3.3, Theorem 3.3.2) is the same construction, as a theorem about sizes, and Section 3.6 proves the last clause of Russell’s theorem by sizes: a set of all sets would carry a surjection onto its power set (“No set of all sets, once more”).
- Choice. Section 1.6 could not build a right inverse of an arbitrary surjection; Section 3.2 adds the axiom of choice that does (Axiom 3.2.1, Theorem 3.2.2), Section 3.5 uses it again (Theorem 3.5.1), and Chapter 6 states its strongest everyday form, Zorn’s lemma.
- Comparability. Section 3.4 asks whether any two sets are comparable and leaves the question open; Section 6.2 answers it.
- Same size. Section 2.5 defined it, Section 3.6 makes it arithmetic, and Section 4.2 names the requirement that arithmetic of sizes not depend on representatives: well-definedness.
Summary
Countable means listable (Definition 3.1.1),
in three equivalent forms (Theorem 3.1.2).
Countable sets are closed under subsets, images, finite
products and, with the axiom of choice, countable unions
(Theorem 3.2.3),
so
Sizes add, multiply and exponentiate by disjoint
unions, products and sets of functions, with the laws of
exponents proved by bijections (Theorem 3.6.3);
so
What is open: are any two sets comparable? Chapter 6 answers it. Next, Chapter 4 studies relations, and “same size” returns there as an example.
Terms
- algebraic number: a real root of a non-zero polynomial with integer coefficients (Section 3.2, before Theorem 3.2.4).
- at most as big as, strictly
smaller:
if there is an injection ; if moreover there is no bijection (Definition 3.4.1). - choice function: a function
on the index set of a family with for every (Axiom 3.2.1). - countable: empty, or the image of a
surjection
(Definition 3.1.1). - countably infinite: equinumerous
with
(Definition 3.1.2). - decimal expansion of
: a digit sequence with for every , where is the finite sum of the first digits (Definition 3.3.1). - digit sequence: a function from
to (Definition 3.3.1). - disjoint union
: the set (Definition 3.6.1). - transcendental number: a real number that is not algebraic (Section 3.3, before Corollary 3.3.5).
- uncountable: not countable (Definition 3.1.1).