Diagonalization is a powerful technique used in mathematics to prove the uncountability of certain sets, including the set of irrational numbers. In the context of computational complexity theory, this proof has significant implications for decidability and the nature of infinity.
To understand how diagonalization can be applied to demonstrate the uncountability of the set of irrational numbers, we must first establish some foundational knowledge. The set of irrational numbers consists of all real numbers that cannot be expressed as a ratio of two integers. Examples of irrational numbers include √2, π, and e. On the other hand, the set of rational numbers consists of all real numbers that can be expressed as a ratio of two integers. Examples of rational numbers include 1/2, -3/4, and 0.
To prove that the set of irrational numbers is uncountable, we need to show that it cannot be put into a one-to-one correspondence with the set of natural numbers, which is countable. A set is countable if its elements can be enumerated in a sequence such that each element can be assigned a unique natural number. If we can establish a one-to-one correspondence between the set of irrational numbers and the set of natural numbers, then we would have shown that the set of irrational numbers is countable, which contradicts our goal.
Now, let's proceed with the diagonalization argument. Suppose, for the sake of contradiction, that the set of irrational numbers is countable. This means that we can list all the irrational numbers as an infinite sequence, denoted as {x_1, x_2, x_3, …}. Each irrational number in this list can be expressed as an infinite decimal expansion, such as x_1 = 0.x_11x_12x_13…, x_2 = 0.x_21x_22x_23…, and so on.
To construct a new number, let's consider the diagonal elements of this list. We create a new number y by taking the first digit after the decimal point of x_1, the second digit after the decimal point of x_2, the third digit after the decimal point of x_3, and so on. In general, the nth digit after the decimal point of y will be different from the nth digit after the decimal point of x_n. This difference is guaranteed because we are constructing y in a way that it differs from every number in the original list.
Now, let's analyze y. Since y is constructed to differ from every number in the original list, it follows that y cannot be equal to any x_n. Therefore, y is not in the original list, which means that y is an irrational number. This contradicts our initial assumption that the original list contains all irrational numbers. Hence, we have reached a contradiction, proving that the set of irrational numbers is uncountable.
This diagonalization argument demonstrates that no matter how we attempt to list the irrational numbers, there will always be an irrational number that is not included in the list. In other words, the set of irrational numbers is too vast to be put into a one-to-one correspondence with the set of natural numbers. This result has important implications for decidability, as it shows that there are more real numbers than there are natural numbers, making the real numbers an uncountable set.
The use of diagonalization provides a rigorous proof that the set of irrational numbers is uncountable. By constructing a new number that differs from every number in a given list, we establish a contradiction and show that the set of irrational numbers cannot be put into a one-to-one correspondence with the set of natural numbers. This result has profound implications for decidability and the nature of infinity.
Other recent questions and answers regarding Decidability:
- Can a tape be limited to the size of the input (which is equivalent to the head of the turing machine being limited to move beyond the input of the TM tape)?
- What does it mean for different variations of Turing Machines to be equivalent in computing capability?
- Can a turing recognizable language form a subset of decidable language?
- Is the halting problem of a Turing machine decidable?
- If we have two TMs that describe a decidable language is the equivalence question still undecidable?
- How does the acceptance problem for linear bounded automata differ from that of Turing machines?
- Give an example of a problem that can be decided by a linear bounded automaton.
- Explain the concept of decidability in the context of linear bounded automata.
- How does the size of the tape in linear bounded automata affect the number of distinct configurations?
- What is the main difference between linear bounded automata and Turing machines?
View more questions and answers in Decidability

