Cantor's diagonal theorem · Exercise-CANTOR-S-DIAGONAL-THEOREM-007

Step-by-step solved exercise: Cardinals

What does the diagonal argument imply for \(\displaystyle \mathbb{R}\)?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Let \(\displaystyle S\) be the set of binary sequences that do not end in repeated ones. The map sending each \(\displaystyle s\in S\) to its base-2 value is injective into \(\displaystyle [0,1]\).

    \[\displaystyle s\mapsto \sum_{n\ge 1} s(n)\,2^{-n}\]

    Comment: This avoids double expansions of dyadic rationals.

  2. If \(\displaystyle \mathbb{R}\) were countable, so would \(\displaystyle [0,1]\) be, and since \(\displaystyle S\) injects into \(\displaystyle [0,1]\), \(\displaystyle S\) would be countable.

    \[\displaystyle S\hookrightarrow [0,1]\subseteq \mathbb{R}\ \Rightarrow\ S\text{ numerable}\]
  3. Let \(\displaystyle T\) be the set of sequences ending in repeated ones. Each is determined by a finite prefix, and there are countably many finite prefixes, so \(\displaystyle T\) is countable.

    \[\displaystyle T\hookrightarrow \bigcup_{k\ge 0}\{0,1\}^k\ \Rightarrow\ T\text{ numerable}\]
  4. Then \(\displaystyle \{0,1\}^{\mathbb{N}}=S\cup T\) would be a union of two countable sets, hence countable.

    \[\displaystyle \{0,1\}^{\mathbb{N}}=S\cup T\ \Rightarrow\ \{0,1\}^{\mathbb{N}}\text{ numerable}\]
  5. This contradicts the diagonal argument, which shows that \(\displaystyle \{0,1\}^{\mathbb{N}}\) is not countable. Therefore \(\displaystyle \mathbb{R}\) is not countable.

    \[\displaystyle \mathbb{R}\text{ no es numerable}\]

Answer

\(\displaystyle \mathbb{R}\) is not countable.

🎯 Build my path to this exercise