Proving irrational uncountability
I need to provide a formal proof that irrational numbers are uncountable. One approach is Cantor's diagonalization method on the interval [0,1]. I need to highlight that the set of real numbers, ℝ, is uncountable while the rationals, ℚ, are countable. If I assume the irrationals are countable, it leads to a contradiction since the union of countable sets cannot cover ℝ. I might start by proving the uncountability of ℝ, or directly show that the irrationals in [0,1] are uncountable using enumeration.Clarifying uncountable irrationals
First, I need to define countability, which means there exists a bijection between a set S and the natural numbers, ℕ. I should outline that ℚ, the rationals, are countable. Then, I can show that the interval [0,1] is uncountable using Cantor's diagonal argument. I assume it's countable, list its decimals, and generate a new number not on the list.
Next, I’ll argue that irrationals, I, are uncountable. If I assume they're countable, their union with ℚ would also be countable, contradicting the known uncountability of ℝ. Thus, I conclude irrationals are uncountable.Justifying irrational uncountability
I need to justify that a subset of a countable set is countable, which is quite straightforward. First, I can show that the interval [0,1] is uncountable through diagonalization. Then, I can establish that ℚ∩[0,1] is countable, possibly skipping the full counting details for brevity.
Suppose the set of irrationals in [0,1] is countable. That would lead to a contradiction since their union with the rationals would also be countable. So, irrationals in [0,1] must be uncountable, and consequently, all irrationals are uncountable too. I could briefly mention how to interleave the enumerations of two countable sets and explain that if A is an uncountable subset of B, then B is uncountable as well.Constructing the proof for irrationals
I’ll start by outlining key definitions. First, I need to show that ℝ (the set of real numbers) is uncountable using Cantor's argument. Then, I’ll establish that ℚ (the set of rational numbers) is countable.
Next, I can assume that the irrationals, I, are countable. If that's true, then ℝ would be the countable union of ℚ and I, which leads to a contradiction since a countable union of countable sets must also be countable. I can illustrate the uncountability of (0,1) by assuming it can be listed and then construct a new number that differs from each listed number, leading to a contradiction. Thus, if (0,1) is uncountable, so is ℝ. Lastly, I'll define the rationals as {p/q: where p is an integer, and q is a positive integer}.Demonstrating countability and uncountability
To show that the rationals, ℚ, are countable, I can represent them as a grid, ℤ×ℕ, since it's the product of two countable sets. I can also highlight that a union of two countable sets is countable.
Next, I'll argue that if the irrationals were countable, then their union with ℚ would be countable, contradicting Cantor's theorem stating that ℝ is uncountable.
Since irrationals equal ℝ\ℚ, I can prove that if A is uncountable and B is a countable subset, then A\B is uncountable. I’ll sketch a brief proof of ℚ's countability using diagonal enumeration, then move on to conclude the uncountability of irrationals. Define:
- A set is countable if it is finite or in bijection with the natural numbers (\mathbb{N}).
- A set is uncountable if it is not countable.
We will use three facts:
- (\mathbb{Q}) (the rational numbers) is countable.
- (\mathbb{R}) (the real numbers) is uncountable.
- If (A) is uncountable and (B \subseteq A) is countable, then (A \setminus B) is uncountable.
Then the set of irrational numbers is (\mathbb{R} \setminus \mathbb{Q}), so (3) will give the result.
1. The rationals (\mathbb{Q}) are countable
Every rational number can be written as (\frac{p}{q}) with (p \in \mathbb{Z}), (q \in \mathbb{N}), (q \neq 0).
- (\mathbb{Z}) is countable.
- (\mathbb{N}) is countable.
- The Cartesian product (\mathbb{Z} \times \mathbb{N}) is countable (you can list its elements in a table and traverse the table diagonally).
Map each pair ((p,q)) to the rational number (\frac{p}{q}). This gives a surjection from a countable set onto (\mathbb{Q}), so (\mathbb{Q}) is at most countable. Removing duplicates (since many pairs give the same rational) leaves a countable set in bijection with (\mathbb{Q}). Thus (\mathbb{Q}) is countable.
2. The reals (\mathbb{R}) are uncountable (Cantor’s diagonal argument)
It is enough to show that the interval ((0,1)) is uncountable, since ((0,1) \subseteq \mathbb{R}).
Assume for contradiction that all real numbers in ((0,1)) can be listed:
[
x_1, x_2, x_3, \dots
]
Write each (x_n) in its decimal expansion:
[
x_1 = 0.d_{11}d_{12}d_{13}\dots \
x_2 = 0.d_{21}d_{22}d_{23}\dots \
x_3 = 0.d_{31}d_{32}d_{33}\dots \
\vdots
]
where (d_{ij} \in {0,1,\dots,9}).
Now construct a new number (y \in (0,1)) as follows. Its (n)-th decimal digit is
[
e_n =
\begin{cases}
1 & \text{if } d_{nn} \neq 1,\
2 & \text{if } d_{nn} = 1.
\end{cases}
]
So (y = 0.e_1e_2e_3\ldots).
By construction, (y) differs from (x_n) in the (n)-th decimal place, so
[
y \neq x_1, \ y \neq x_2,\ y \neq x_3, \ \dots
]
Thus (y) is a real number in ((0,1)) that is not in our supposed complete list, a contradiction. Hence ((0,1)), and therefore (\mathbb{R}), is uncountable.
3. Removing a countable subset from an uncountable set
Claim. If (A) is uncountable and (B \subseteq A) is countable, then (A \setminus B) is uncountable.
Proof. Suppose, for contradiction, that (A \setminus B) is countable. Then
[
A = B \cup (A \setminus B)
]
is a union of two countable sets. A union of two countable sets is countable (you can list all elements of the first, then all of the second, removing duplicates if needed), so (A) would be countable. This contradicts that (A) is uncountable. Therefore (A \setminus B) must be uncountable.
4. Irrational numbers are uncountable
Let
- (A = \mathbb{R}) (all real numbers), which is uncountable by step 2.
- (B = \mathbb{Q}) (the rationals), which is countable by step 1.
The set of irrational numbers is
[
\mathbb{R} \setminus \mathbb{Q} = A \setminus B.
]
By step 3, (A \setminus B) is uncountable. Hence:
The set of irrational numbers is uncountable.