Uncountable Set

Basis
Last updated: Tags: Set Theory

The Countable Set checkpoint showed that Z\mathbb{Z}, Q\mathbb{Q}, and even N×N\mathbb{N} \times \mathbb{N} are all countably infinite — you can always find a clever bijection with N\mathbb{N}. Then Cantor’s theorem proved that P(N)\mathcal{P}(\mathbb{N}) is strictly larger. This checkpoint makes that gap concrete: you will see a direct proof that the real numbers cannot be listed at all, and you will pin down exactly how large R|\mathbb{R}| is.

What uncountable means

Countable sets are either finite or in bijection with N\mathbb{N}. A set AA is uncountable if it is infinite and not countable — that is, no bijection NA\mathbb{N} \to A exists.

The consequence is stark: there is no list a0,a1,a2,a_0, a_1, a_2, \ldots that contains every element of AA. You can try every imaginable enumeration strategy, and some elements will always slip through. Cantor’s theorem already showed N<P(N)|\mathbb{N}| < |\mathcal{P}(\mathbb{N})|, so P(N)\mathcal{P}(\mathbb{N}) is a first candidate. The real question is which everyday sets are uncountable.

The real numbers are uncountable

The most important uncountable set is R\mathbb{R}. Rather than attack it directly, start with the open interval (0,1)(0,1), which is easier to work with and already exactly as large as R\mathbb{R}.

Why (0,1)(0,1) and R\mathbb{R} have the same size. The map xtan ⁣(π(x12))x \mapsto \tan\!\bigl(\pi(x - \tfrac{1}{2})\bigr) is a bijection (0,1)R(0,1) \to \mathbb{R}, so (0,1)=R|(0,1)| = |\mathbb{R}|.

Theorem. (0,1)(0,1) is uncountable.

Proof. Suppose, for contradiction, that (0,1)(0,1) is countable. Then you could arrange every element into an infinite list r0,r1,r2,r_0, r_1, r_2, \ldots that misses nothing. Write each rir_i as a decimal expansion:

ri  =  0.di0  di1  di2  r_i \;=\; 0\,.\,d_{i0}\;d_{i1}\;d_{i2}\;\cdots

where each digit dij{0,1,,9}d_{ij} \in \{0, 1, \ldots, 9\}. Arrange the digits into an infinite matrix — one row per real, one column per decimal position:

pos. 00pos. 11pos. 22pos. 33\cdots
r0r_0d00\mathbf{d_{00}}d01d_{01}d02d_{02}d03d_{03}
r1r_1d10d_{10}d11\mathbf{d_{11}}d12d_{12}d13d_{13}
r2r_2d20d_{20}d21d_{21}d22\mathbf{d_{22}}d23d_{23}
r3r_3d30d_{30}d31d_{31}d32d_{32}d33\mathbf{d_{33}}
\vdots\ddots

The bold diagonal entries d00,d11,d22,d_{00}, d_{11}, d_{22}, \ldots each record the digit that rnr_n places at position nn. Now construct a new real s=0.s0  s1  s2  s = 0\,.\,s_0\;s_1\;s_2\;\cdots by changing every diagonal digit:

sn    {1if dnn1,2if dnn=1.(1)s_n \;\coloneqq\; \begin{cases} 1 & \text{if } d_{nn} \neq 1, \\ 2 & \text{if } d_{nn} = 1. \end{cases} \tag{1}

Every digit sns_n lies in {1,2}\{1, 2\}, so s(0,1)s \in (0, 1). But for each nn, rule (1)(1) guarantees sndnns_n \neq d_{nn}, which means ss and rnr_n differ at position nn, so srns \neq r_n. Therefore ss is a real in (0,1)(0,1) that appears nowhere in the list r0,r1,r2,r_0, r_1, r_2, \ldots — contradicting the assumption that the list was complete. \square

Why use 1 and 2? Choosing sn{1,2}s_n \in \{1, 2\} dodges a subtle trap: the decimals 0.090.0\overline{9} and 0.10000.1000\ldots name the same real. Digits drawn from {1,2}\{1,2\} never lead to such collisions, so ss has a unique decimal expansion and the proof is airtight.

The structure of this argument matches the diagonal set in Cantor’s theorem exactly: define an object that disagrees with the nn-th candidate at the nn-th coordinate, for every nn. There, set membership was flipped; here, a decimal digit is changed. The same self-defeating logic applies in both cases.

Cardinality of the continuum

Now that you know R\mathbb{R} is uncountable, give its cardinality a name. The cardinality of the continuum is:

c    R.\mathfrak{c} \;\coloneqq\; |\mathbb{R}|.

Cantor’s theorem promised that P(N)=R|\mathcal{P}(\mathbb{N})| = |\mathbb{R}|. The proof needs two injections — one in each direction — and a theorem that converts them into a bijection.

Injecting the power set into the real line

The Power Set checkpoint showed that each subset SNS \subseteq \mathbb{N} has a characteristic function χS ⁣:N{0,1}\chi_S \colon \mathbb{N} \to \{0,1\} where χS(n)=1\chi_S(n) = 1 iff nSn \in S. Use this to define:

φ(S)    nS3(n+1).\varphi(S) \;\coloneqq\; \sum_{n \in S} 3^{-(n+1)}.

The value φ(S)\varphi(S) is the real whose base-3 (ternary) expansion is 0.χS(0)  χS(1)  χS(2)  0\,.\,\chi_S(0)\;\chi_S(1)\;\chi_S(2)\;\cdots, using only the ternary digits 0 and 1. To see that φ\varphi is injective, suppose STS \neq T and let kk be the smallest index in their symmetric difference STS \mathbin{\triangle} T — say kSk \in S and kTk \notin T. Then:

φ(S)φ(T)    3(k+1)n>k3(n+1)  =  3(k+1)123k+1  =  123k+1  >  0,\varphi(S) - \varphi(T) \;\geq\; 3^{-(k+1)} - \sum_{n > k} 3^{-(n+1)} \;=\; 3^{-(k+1)} - \frac{1}{2 \cdot 3^{k+1}} \;=\; \frac{1}{2 \cdot 3^{k+1}} \;>\; 0,

so φ(S)φ(T)\varphi(S) \neq \varphi(T). The injection φ ⁣:P(N)[0,1]\varphi \colon \mathcal{P}(\mathbb{N}) \hookrightarrow [0,1] gives:

P(N)    [0,1]  =  c.|\mathcal{P}(\mathbb{N})| \;\leq\; |[0,1]| \;=\; \mathfrak{c}.

Injecting the real line into the power set

Every x(0,1)x \in (0,1) has a binary expansion x=0.b0  b1  b2  x = 0\,.\,b_0\;b_1\;b_2\;\cdots with bn{0,1}b_n \in \{0,1\}. (The finitely many dyadic rationals — those of the form m/2km/2^k — have two binary expansions; choose the non-terminating one for each.) Define:

ψ(x)    {nNbn=1}.\psi(x) \;\coloneqq\; \{n \in \mathbb{N} \mid b_n = 1\}.

Two distinct reals in (0,1)(0,1) with distinct chosen expansions differ at some position, so they map to different subsets of N\mathbb{N}. The injection ψ ⁣:(0,1)P(N)\psi \colon (0,1) \hookrightarrow \mathcal{P}(\mathbb{N}) gives:

c  =  (0,1)    P(N).\mathfrak{c} \;=\; |(0,1)| \;\leq\; |\mathcal{P}(\mathbb{N})|.

Applying Cantor–Bernstein–Schroeder

You now have injections in both directions. The following theorem — stated here without proof — converts them into a bijection:

Theorem (Cantor–Bernstein–Schroeder). If there exist injections ABA \hookrightarrow B and BAB \hookrightarrow A, then A=B|A| = |B|.

Applying this to φ\varphi and ψ\psi, which together witness P(N)c|\mathcal{P}(\mathbb{N})| \leq \mathfrak{c} and cP(N)\mathfrak{c} \leq |\mathcal{P}(\mathbb{N})|:

P(N)  =  R  =  c.(2)|\mathcal{P}(\mathbb{N})| \;=\; |\mathbb{R}| \;=\; \mathfrak{c}. \tag{2}

This is the equality promised in Cantor’s theorem: the power set of the natural numbers is exactly as large as the real line.

The notation 202^{\aleph_0}. Write 0N\aleph_0 \coloneqq |\mathbb{N}| for the cardinality of the naturals. The Power Set checkpoint established P(A)=2A|\mathcal{P}(A)| = 2^{|A|} for finite sets; the same exponential notation extends to infinite cardinals, so P(N)=20|\mathcal{P}(\mathbb{N})| = 2^{\aleph_0}. Equation (2)(2) then reads:

c  =  20,\mathfrak{c} \;=\; 2^{\aleph_0},

a satisfying echo of the finite formula.

Many familiar sets share the same uncountable size

Not just R\mathbb{R}, but many sets you already know carry cardinality c\mathfrak{c}:

SetArgument
(0,1)(0,1)xtan(π(x12))x \mapsto \tan(\pi(x - \tfrac{1}{2})) bijects (0,1)R(0,1) \to \mathbb{R}
[0,1][0,1]Inject into R\mathbb{R} and back; Cantor–Bernstein–Schroeder gives equality
R\mathbb{R}Definition of c\mathfrak{c}
Rn\mathbb{R}^n (any n1n \geq 1)Interleave the decimal digits of all nn coordinates to encode a single real
C\mathbb{C}CR2\mathbb{C} \cong \mathbb{R}^2, so $
P(N)\mathcal{P}(\mathbb{N})Equation (2)(2)

The striking lesson: adding dimensions, passing to complex numbers, or taking the power set of N\mathbb{N} does not grow the cardinality beyond c\mathfrak{c}.

The hierarchy beyond the continuum

Cantor’s theorem applies to any set, including R\mathbb{R}. Starting from equation (2)(2) and applying <P()|\cdot| < |\mathcal{P}(\cdot)| at each step gives a strictly ascending chain:

N  <  R  =  P(N)  <  P(R)  <  P(P(R))  <  |\mathbb{N}| \;<\; |\mathbb{R}| \;=\; |\mathcal{P}(\mathbb{N})| \;<\; |\mathcal{P}(\mathbb{R})| \;<\; \bigl|\mathcal{P}(\mathcal{P}(\mathbb{R}))\bigr| \;<\; \cdots

There is no largest cardinality. The power-set operation always produces a strictly larger infinity, so infinity comes in infinitely many distinct sizes.

The Continuum Hypothesis

A natural question arises: does any set AA have cardinality strictly between N|\mathbb{N}| and R|\mathbb{R}|? This is the Continuum Hypothesis (CH):

Continuum Hypothesis. There is no set AA satisfying N<A<R|\mathbb{N}| < |A| < |\mathbb{R}|.

CH turns out to be independent of ZFC — the standard axioms of set theory. Gödel (1940) proved that assuming CH produces no contradiction with ZFC; Cohen (1963) proved that assuming its negation also produces no contradiction. You can neither prove nor disprove CH from the ZFC axioms alone. This was one of the first landmark examples of an important mathematical statement that is provably undecidable within the standard foundations.

Summary

  • A set is uncountable if it is infinite and has no bijection with N\mathbb{N}: no listing a0,a1,a2,a_0, a_1, a_2, \ldots can exhaust it.
  • Cantor’s diagonal argument, applied to decimal expansions, proves (0,1)(0,1) — and hence R\mathbb{R} — is uncountable: the diagonal real ss defined by rule (1)(1) differs from every rnr_n at position nn, defeating any claimed listing.
  • The diagonal idea mirrors Cantor’s theorem: design an object that disagrees with every listed candidate at the matching coordinate — there, a set membership bit; here, a decimal digit.
  • The cardinality of the continuum is cR=20\mathfrak{c} \coloneqq |\mathbb{R}| = 2^{\aleph_0}, where 0N\aleph_0 \coloneqq |\mathbb{N}|.
  • Two injections — P(N)[0,1]\mathcal{P}(\mathbb{N}) \hookrightarrow [0,1] via a ternary encoding and (0,1)P(N)(0,1) \hookrightarrow \mathcal{P}(\mathbb{N}) via binary expansion — combine with the Cantor–Bernstein–Schroeder theorem to establish P(N)=c|\mathcal{P}(\mathbb{N})| = \mathfrak{c} (equation (2)(2)).
  • Many sets share cardinality c\mathfrak{c}: (0,1)(0,1), [0,1][0,1], Rn\mathbb{R}^n for any n1n \geq 1, C\mathbb{C}, and P(N)\mathcal{P}(\mathbb{N}).
  • Applying Cantor’s theorem to R\mathbb{R} continues the tower: N<R<P(R)<P(P(R))<|\mathbb{N}| < |\mathbb{R}| < |\mathcal{P}(\mathbb{R})| < |\mathcal{P}(\mathcal{P}(\mathbb{R}))| < \cdots, so there are infinitely many distinct infinite cardinalities.
  • The Continuum Hypothesis — whether any set has cardinality strictly between N|\mathbb{N}| and R|\mathbb{R}| — is independent of ZFC, as Gödel (1940) and Cohen (1963) proved.