Math 2.0

Mathematical logic and foundations Proof

Proof that the reals have the cardinality of the continuum

Builds on Density of the rationalsThe rationals are countableBijective iff it has a two-sided inverseInjective functionComposition of injections is injectivePower setSum of a finite geometric seriesMonotone convergence theorem for sequencesWell-ordering principleAlgebra of limitsLimits preserve non-strict inequalitiesSchröder–Bernstein theoremCardinality of the power setCardinality of the continuumCardinalityEquinumerous sets

Proof

We give injections in both directions and apply the Schröder–Bernstein theorem.

  1. Define L ⁣:ℝ→𝒫(ℚ)L \colon \R \to \mathcal{P}(\Q) by L(x)={q∈ℚ:q<x}L(x) = \{q \in \Q : q < x\}, a subset of the power set of ℚ\Q.
  2. The map LL is injective. Let x≠yx \neq y, say x<yx < y. By the density of the rationals, some q∈ℚq \in \Q has x<q<yx < q < y. Then q∈L(y)q \in L(y) and q∉L(x)q \notin L(x).
  3. By the rationals are countable, there is a bijection e ⁣:ℕ→ℚe \colon \N \to \Q. Its inverse e−1 ⁣:ℚ→ℕe^{-1} \colon \Q \to \N is also a bijection.
  4. Define E ⁣:𝒫(ℚ)→𝒫(ℕ)E \colon \mathcal{P}(\Q) \to \mathcal{P}(\N) by E(S)=e−1(S)E(S) = e^{-1}(S). If E(S)=E(T)E(S) = E(T), then S=e(e−1(S))=e(e−1(T))=TS = e(e^{-1}(S)) = e(e^{-1}(T)) = T. So EE is injective.
  5. The composite E∘L ⁣:ℝ→𝒫(ℕ)E \circ L \colon \R \to \mathcal{P}(\N) is injective.
  6. For S⊆ℕS \subseteq \N and k∈ℕk \in \N, let sk(S)=∑n∈S, n<k10−(n+1)s_k(S) = \sum_{n \in S,\ n < k} 10^{-(n+1)}. The sequence (sk(S))k(s_k(S))_k is increasing, since each step adds a term ≥0\ge 0.
  7. By the sum of a finite geometric series, for 0≤m≤M0 \le m \le M we have ∑n=mM10−(n+1)=10−(m+1)(1−10−(M−m+1))1−1/10<10−m9\sum_{n=m}^{M} 10^{-(n+1)} = \frac{10^{-(m+1)}(1 - 10^{-(M-m+1)})}{1 - 1/10} < \frac{10^{-m}}{9}.
  8. By step 7 with m=0m = 0, each sk(S)<1/9s_k(S) < 1/9. By the monotone convergence theorem, (sk(S))k(s_k(S))_k converges. Let F(S)∈ℝF(S) \in \R be its limit.
  9. We show that F ⁣:𝒫(ℕ)→ℝF \colon \mathcal{P}(\N) \to \R is injective. Let S≠TS \neq T. By the well-ordering principle, there is a least kk in exactly one of SS and TT. Say k∈Sk \in S and k∉Tk \notin T.
  10. Let N>k+1N > k + 1. The sets SS and TT agree below kk, so the terms with n<kn < k cancel in sN(S)−sN(T)s_N(S) - s_N(T). The term for n=kn = k is 10−(k+1)10^{-(k+1)}.
  11. Each term with k<n<Nk < n < N lies between −10−(n+1)-10^{-(n+1)} and 10−(n+1)10^{-(n+1)}. So step 7 with m=k+1m = k + 1 gives sN(S)−sN(T)≥10−(k+1)−10−(k+1)9=89⋅10−(k+1)s_N(S) - s_N(T) \ge 10^{-(k+1)} - \frac{10^{-(k+1)}}{9} = \frac{8}{9} \cdot 10^{-(k+1)}.
  12. By the algebra of limits, sN(S)−sN(T)→F(S)−F(T)s_N(S) - s_N(T) \to F(S) - F(T). Since limits preserve non-strict inequalities, F(S)−F(T)≥89⋅10−(k+1)>0F(S) - F(T) \ge \frac{8}{9} \cdot 10^{-(k+1)} > 0. So F(S)≠F(T)F(S) \neq F(T).
  13. By the Schröder–Bernstein theorem, steps 5 and 12 give a bijection ℝ→𝒫(ℕ)\R \to \mathcal{P}(\N). So ℝ\R and 𝒫(ℕ)\mathcal{P}(\N) are equinumerous, and ∣ℝ∣=∣𝒫(ℕ)∣|\R| = |\mathcal{P}(\N)| by the definition of cardinality.
  14. By the cardinality of the power set, ∣𝒫(ℕ)∣=2∣ℕ∣=2ℵ0|\mathcal{P}(\N)| = 2^{|\N|} = 2^{\aleph_0}, and this is the cardinality of the continuum 𝔠\mathfrak{c}. Hence ∣ℝ∣=𝔠=∣𝒫(ℕ)∣|\R| = \mathfrak{c} = |\mathcal{P}(\N)|.

Idea

A real number is determined by the rationals below it, and there are only as many sets of rationals as sets of natural numbers. Conversely, a set SS of natural numbers gives the decimal 0.d0d1d2…0.d_0 d_1 d_2 \ldots with dn=1d_n = 1 for n∈Sn \in S and dn=0d_n = 0 otherwise. Digits 00 and 11 never produce two expansions of the same number, so this map is injective.

Reading path

To understand this page from the ground up, read these 133 pages in order. The foundations come first. The path takes the proofs Proof of the approximation property of the supremum, Proof of the commutativity of addition by induction, Proof of the sum of a finite geometric series, Proof that there is a natural number n with 1/n below any positive epsilon, Proof that a composition of injections is injective, Proof that a function is bijective iff it has a two-sided inverse, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof of the double negation law by a truth table, Proof that the product of countable sets is countable, Proof of the Schröder–Bernstein theorem, Proof that the integers are countable, Proof of strong induction from ordinary induction, Proof of the density of the rationals, Proof of the cardinality of the power set by indicator functions, Proof of the epsilon-N definition of the limit of a sequence, Proof that limits preserve non-strict inequalities, Proof that the rationals are countable, Proof of the well-ordering principle from strong induction, Proof of the division algorithm, Proof that the reals are Archimedean from the completeness axiom, Proof of the monotone convergence theorem for sequences, Proof of the characterization of the floor.

  1. Construction of the reals from Cauchy sequences concept
  2. Definition by recursion concept
  3. Divisibility definition
  4. Element definition
  5. Integers object
  6. Mathematical induction concept
  7. Natural numbers object
  8. Ordered field definition
  9. Peano axioms concept
  10. Proposition concept
  11. Rational numbers object
  12. Real numbers object
  13. Sequence definition
  14. Set bounded above definition
  15. Set definition
  16. Ring of integers statement
  17. Archimedean ordered field definition
  18. Successor function definition
  19. Conjunction definition
  20. Disjunction definition
  21. Implication definition
  22. Negation definition
  23. Predicate definition
  24. The reals form a field statement
  25. Real sequence definition
  26. Supremum definition
  27. Family of sets definition
  28. Ordered pair definition
  29. Union definition
  30. Addition of natural numbers definition
  31. Biconditional definition
  32. The rationals form a field statement
  33. The successor function is injective statement
  34. Truth table concept
  35. Zero is not a successor statement
  36. Modus ponens concept
  37. Existential quantifier definition
  38. Universal quantifier definition
  39. Bounded sequence definition
  40. Geometric sequence definition
  41. Limit of a sequence definition
  42. Monotone sequence definition
  43. Completeness axiom statement
  44. Cartesian product definition
  45. Proof of the commutativity of addition by induction proof
  46. Union of a family of sets definition
  47. Order on the natural numbers definition
  48. Subset definition
  49. Propositional logic concept
  50. The rationals form an ordered field statement
  51. Mathematical proof concept
  52. Uniqueness quantifier definition
  53. Proof of the sum of a finite geometric series proof
  54. Algebra of limits concept
  55. Binary relation definition
  56. Commutativity of addition statement
  57. Order on the reals definition
  58. Power set definition
  59. Proof of strong induction from ordinary induction proof
  60. Tautology definition
  61. Sum of a finite geometric series statement
  62. Antisymmetric relation definition
  63. Reflexive relation definition
  64. Transitive relation definition
  65. Function definition
  66. Strong induction statement
  67. Logical equivalence definition
  68. Preorder definition
  69. Codomain definition
  70. Function composition definition
  71. Identity function definition
  72. Injective function definition
  73. Proof of the well-ordering principle from strong induction proof
  74. Image of a set definition
  75. Indicator function definition
  76. Proof of the double negation law by a truth table proof
  77. Partial order definition
  78. Surjective function definition
  79. Left inverse definition
  80. Right inverse definition
  81. Proof that a composition of injections is injective proof
  82. Countable set definition
  83. Well-ordering principle statement
  84. Double negation law statement
  85. Least element definition
  86. Total order definition
  87. Bijective function definition
  88. Composition of injections is injective statement
  89. Proof of the division algorithm proof
  90. Proof by contradiction concept
  91. Well-order definition
  92. Cantor pairing function example
  93. Countably infinite set definition
  94. Equinumerous sets definition
  95. Proof that a function is bijective iff it has a two-sided inverse proof
  96. Proof of the Schröder–Bernstein theorem proof
  97. Division algorithm statement
  98. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  99. Ordinal number definition
  100. Proof that the product of countable sets is countable proof
  101. Bijective iff it has a two-sided inverse statement
  102. Cardinality definition
  103. Proof that the integers are countable proof
  104. Schröder–Bernstein theorem statement
  105. The reals form an ordered field statement
  106. Cardinal number definition
  107. Product of countable sets is countable statement
  108. The integers are countable statement
  109. Proof of the cardinality of the power set by indicator functions proof
  110. Absolute value definition
  111. Proof of the approximation property of the supremum proof
  112. Aleph-null object
  113. Cardinality of the power set statement
  114. Proof that the rationals are countable proof
  115. Proof of the epsilon-N definition of the limit of a sequence proof
  116. Approximation property of the supremum statement
  117. Cardinality of the continuum object
  118. The rationals are countable statement
  119. Epsilon-N definition of the limit of a sequence statement
  120. Proof that the reals are Archimedean from the completeness axiom proof
  121. Proof that limits preserve non-strict inequalities proof
  122. The reals are Archimedean statement
  123. Proof of the monotone convergence theorem for sequences proof
  124. Floor function definition
  125. Proof that there is a natural number n with 1/n below any positive epsilon proof
  126. Limits preserve non-strict inequalities statement
  127. Monotone convergence theorem for sequences statement
  128. There is a natural number n with 1/n below any positive epsilon statement
  129. Proof of the characterization of the floor proof
  130. Characterization of the floor statement
  131. Proof of the density of the rationals proof
  132. Density of the rationals statement
  133. Proof that the reals have the cardinality of the continuum proof

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Cardinality_of_the_continuum, Cardinal equalities
About this page
TagAYRX55XHZ6
URIm2://AYRX55XHZ6
Kindproof
WritingW0 stub
MSC03E10
ProvesThe reals have the cardinality of the continuum
UsesDensity of the rationals, The rationals are countable, Bijective iff it has a two-sided inverse, Injective function, Composition of injections is injective, Power set, Sum of a finite geometric series, Monotone convergence theorem for sequences, Well-ordering principle, Algebra of limits, Limits preserve non-strict inequalities, Schröder–Bernstein theorem, Cardinality of the power set, Cardinality of the continuum, Cardinality, Equinumerous sets
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.