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∣|A|\le|B| means there is an injection (one-to-one function) A→BA\to B.
  • ∣A∣=∣B∣|A|=|B| means there is a bijection A→BA\to B.
  • ∣A∣<∣B∣|A|\lt|B| means ∣A∣≤∣B∣|A|\le|B| and ∣A∣≠∣B∣|A|\neq|B|: an injection exists but no bijection does.


The power set P(A)\mathcal{P}(A) is the set of all subsets of AA, including ∅\emptyset and AA itself. For a finite set with nn elements, each element is independently in or out of a subset, so ∣P(A)∣=2n|\mathcal{P}(A)|=2^n. A four-element set has 24=162^4=16 subsets; a five-element set has 25=322^5=32.

The theorem

Cantor's theorem. For every set AA, ∣A∣<∣P(A)∣|A|\lt|\mathcal{P}(A)|.


"Every set" includes the infinite ones, which is what makes the statement remarkable. For finite AA it just says n<2nn\lt 2^n, which is true but unsurprising.

Proof, in two halves

Half one: ∣A∣≤∣P(A)∣|A|\le|\mathcal{P}(A)|. Define g:A→P(A)g:A\to\mathcal{P}(A) by g(a)={a}g(a)=\{a\}. If g(a)=g(b)g(a)=g(b) then {a}={b}\{a\}=\{b\}, so a=ba=b. Hence gg is an injection.


Half two: no function A→P(A)A\to\mathcal{P}(A) is surjective. Let f:A→P(A)f:A\to\mathcal{P}(A) be any function, nothing is assumed about it. Define


D={a∈A:a∉f(a)}.D=\{a\in A: a\notin f(a)\}.


DD is a subset of AA, so D∈P(A)D\in\mathcal{P}(A). Suppose D=f(b)D=f(b) for some b∈Ab\in A. Then


b∈D  ⟺  b∉f(b)  ⟺  b∉D,b\in D \iff b\notin f(b) \iff b\notin D,


using the definition of DD for the first step and D=f(b)D=f(b) for the second. A statement equivalent to its own negation is impossible, so no such bb exists: DD is not in the image of ff, and ff is not surjective.


Because ff was arbitrary, no function A→P(A)A\to\mathcal{P}(A) is surjective. In particular none is a bijection, so ∣A∣≠∣P(A)∣|A|\neq|\mathcal{P}(A)|. Combined with half one, ∣A∣<∣P(A)∣|A|\lt|\mathcal{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 ff and constructs, from ff itself, a subset that ff 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}A=\{p,q\} and f(p)={p,q}f(p)=\{p,q\}, f(q)={q}f(q)=\{q\}. Tabulate membership, writing 1 for "is a member":



pp

qq

f(p)f(p)

1

1

f(q)f(q)

0

1


Read down the diagonal, is pp in f(p)f(p)? is qq in f(q)f(q)?, and flip each entry. Here the diagonal reads 1, 1, so the flipped row is 0, 0 and D=∅D=\emptyset. Check: f(p)={p,q}≠∅f(p)=\{p,q\}\neq \emptyset and f(q)={q}≠∅f(q)=\{q\}\neq\emptyset, so DD really is missed. The flipping guarantees that DD differs from row aa in column aa, for every aa.

Consequences

  • Taking A=NA=\mathbb{N} gives ∣N∣<∣P(N)∣|\mathbb{N}|\lt|\mathcal{P}(\mathbb{N})|. Since N\mathbb{N} is the benchmark for countability, P(N)\mathcal{P}(\mathbb{N}) is uncountable.
  • Iterating produces ∣A∣<∣P(A)∣<∣P(P(A))∣<⋯|A|\lt|\mathcal{P}(A)|\lt|\mathcal{P}(\mathcal{P}(A))|\lt\cdots, so there is no largest cardinality: every set is exceeded by another.
  • Even the smallest case behaves: P(∅)={∅}\mathcal{P}(\emptyset)=\{\emptyset\}, and 0<10\lt 1.

Two habits worth forming

First, keep ∈\in and ⊆\subseteq apart. DD is a subset of AA and an element of P(A)\mathcal{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.

Which statement is Cantor's theorem?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Apply Cantor's theorem with A=NA=\mathbb{N}. Which conclusion follows?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

After seeing the proof of Cantor's theorem, a student objects:

“The proof takes a function ff and builds a set DD that ff misses. Fine, but that only shows this ff is not surjective. Perhaps a cleverer function A→P(A)A\to\mathcal{P}(A) would be surjective.”

What is wrong with the objection?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors