Cantor's Theorem: Why No Set Can Be Matched With Its Power Set
Counting stops being obvious once sets are infinite, so "bigger" has to be defined by functions rather than by counting. Two definitions do all the work:
- ∣A∣≤∣B∣ means there is an injection (one-to-one function) A→B.
- ∣A∣=∣B∣ means there is a bijection A→B.
- ∣A∣<∣B∣ means ∣A∣≤∣B∣ and ∣A∣=∣B∣: an injection exists but no bijection does.
The power set P(A) is the set of all subsets of A, including ∅ and A itself. For a finite set with n elements, each element is independently in or out of a subset, so ∣P(A)∣=2n. A four-element set has 24=16 subsets; a five-element set has 25=32.
The theorem
Cantor's theorem. For every set A, ∣A∣<∣P(A)∣.
"Every set" includes the infinite ones, which is what makes the statement remarkable. For finite A it just says n<2n, which is true but unsurprising.
Proof, in two halves
Half one: ∣A∣≤∣P(A)∣. Define g:A→P(A) by g(a)={a}. If g(a)=g(b) then {a}={b}, so a=b. Hence g is an injection.
Half two: no function A→P(A) is surjective. Let f:A→P(A) be any function, nothing is assumed about it. Define
D is a subset of A, so D∈P(A). Suppose D=f(b) for some b∈A. Then
using the definition of D for the first step and D=f(b) for the second. A statement equivalent to its own negation is impossible, so no such b exists: D is not in the image of f, and f is not surjective.
Because f was arbitrary, no function A→P(A) is surjective. In particular none is a bijection, so ∣A∣=∣P(A)∣. Combined with half one, ∣A∣<∣P(A)∣.
Note the shape of the argument. The proof does not exhibit one awkward function and leave the rest open; it takes an arbitrary f and constructs, from f itself, a subset that f misses. The recipe works against every candidate, which is exactly what a claim about all functions requires.
Why it is called diagonal
Take A={p,q} and f(p)={p,q}, f(q)={q}. Tabulate membership, writing 1 for "is a member":
p | q | |
|---|---|---|
f(p) | 1 | 1 |
f(q) | 0 | 1 |
Read down the diagonal, is p in f(p)? is q in f(q)?, and flip each entry. Here the diagonal reads 1, 1, so the flipped row is 0, 0 and D=∅. Check: f(p)={p,q}=∅ and f(q)={q}=∅, so D really is missed. The flipping guarantees that D differs from row a in column a, for every a.
Consequences
- Taking A=N gives ∣N∣<∣P(N)∣. Since N is the benchmark for countability, P(N) is uncountable.
- Iterating produces ∣A∣<∣P(A)∣<∣P(P(A))∣<⋯, so there is no largest cardinality: every set is exceeded by another.
- Even the smallest case behaves: P(∅)={∅}, and 0<1.
Two habits worth forming
First, keep ∈ and ⊆ apart. D is a subset of A and an element of P(A); both statements are needed and they are not the same statement.
Second, respect the scope of what was proved. The argument establishes something about every function at once, so "maybe a cleverer map works" is not an open possibility left by the proof, it is precisely what the proof rules out.
Apply Cantor's theorem with A=N. Which conclusion follows?
After seeing the proof of Cantor's theorem, a student objects:
“The proof takes a function f and builds a set D that f misses. Fine, but that only shows this f is not surjective. Perhaps a cleverer function A→P(A) would be surjective.”
What is wrong with the objection?