Difference between revisions of "Real Numbers:Irrational"
Line 1: | Line 1: | ||
[[File:Square root of 2 triangle.svg|right|thumb|240px|The number <math> \sqrt{2} </math> is irrational.]] | [[File:Square root of 2 triangle.svg|right|thumb|240px|The number <math> \sqrt{2} </math> is irrational.]] | ||
− | In | + | In mathematics, the '''irrational numbers''' (from in- prefix assimilated to ir- (negative prefix, privative) + rational) are all the real numbers which are not rational numbers. That is, irrational numbers cannot be expressed as the ratio of two integers. When the ratio of lengths of two line segments is an irrational number, the line segments are also described as being ''incommensurable'', meaning that they share no "measure" in common, that is, there is no length ("the measure"), no matter how short, that could be used to express the lengths of both of the two given segments as integer multiples of itself. |
− | Among irrational numbers are the ratio | + | Among irrational numbers are the ratio <math>\pi</math> of a circle's circumference to its diameter, Euler's number ''e'', the golden ratio ''φ'', and the square root of two. In fact, all square roots of natural numbers, other than of perfect squares, are irrational. |
− | Like all real numbers, irrational numbers can be expressed in | + | Like all real numbers, irrational numbers can be expressed in positional notation, notably as a decimal number. In the case of irrational numbers, the decimal expansion does not terminate, nor end with a repeating sequence. For example, the decimal representation of <math>\pi</math> starts with 3.14159, but no finite number of digits can represent <math>\pi</math> exactly, nor does it repeat. Conversely, a decimal expansion that terminates or repeats must be a rational number. These are provable properties of rational numbers and positional number systems, and are not used as definitions in mathematics. |
− | Irrational numbers can also be expressed as | + | Irrational numbers can also be expressed as non-terminating continued fractions and many other ways. |
− | As a consequence of | + | As a consequence of Cantor's proof that the real numbers are uncountable and the rationals countable, it follows that almost all real numbers are irrational. |
== Examples == | == Examples == | ||
− | |||
=== Square roots === | === Square roots === | ||
− | The | + | The square root of 2 was the first number proved irrational, and that article contains a number of proofs. The golden ratio is another famous quadratic irrational number. The square roots of all natural numbers which are not perfect squares are irrational and a proof may be found in quadratic irrationals. |
====Proof that <math>\sqrt{2}</math> is irrational==== | ====Proof that <math>\sqrt{2}</math> is irrational==== | ||
− | One proof of the number's irrationality is the following proof by | + | One proof of the number's irrationality is the following proof by infinite descent. It is also a proof by contradiction, also known as an indirect proof, in that the proposition is proved by assuming that the opposite of the proposition is true and showing that this assumption is false, thereby implying that the proposition must be true. |
− | # Assume that | + | # Assume that <math>\sqrt{2}</math> is a rational number, meaning that there exists a pair of integers whose ratio is exactly <math>\sqrt{2}</math>. |
− | # If the two integers have a common factor, it can be eliminated using the | + | # If the two integers have a common factor, it can be eliminated using the Euclidean algorithm. |
− | # Then | + | # Then <math>\sqrt{2}</math> can be written as an irreducible fraction <math>\frac{a}{b}</math> such that {{math|''a''}} and {{math|''b''}} are coprime integers (having no common factor) which additionally means that at least one of {{math|''a''}} or {{math|''b''}} must be odd . |
− | # It follows that | + | # It follows that <math>\frac{a^2}{b^2} = 2</math> and <math>a^2 = 2b^2</math>. (<math>(\frac{a}{b})^n = \frac{a^n}{b^n} </math>  )   (<math>a^2</math> and <math>b^2</math> are integers) |
− | # Therefore, | + | # Therefore, <math>a^2</math> is even because it is equal to <math>2b^2</math>. (<math>2b^2</math> is necessarily even because it is 2 times another whole number and multiples of 2 are even.) |
# It follows that {{math|''a''}} must be even (as squares of odd integers are never even). | # It follows that {{math|''a''}} must be even (as squares of odd integers are never even). | ||
− | # Because {{math|''a''}} is even, there exists an integer {{math|''k''}} that fulfills: | + | # Because {{math|''a''}} is even, there exists an integer {{math|''k''}} that fulfills: ''a'' = 2''k''. |
− | # Substituting {{math|2''k''}} from step 7 for {{math|''a''}} in the second equation of step 4: | + | # Substituting {{math|2''k''}} from step 7 for {{math|''a''}} in the second equation of step 4: <math>2b^2</math> = <math>(2k)^2</math> is equivalent to <math>2b^2</math> = <math>4k^2</math>, which is equivalent to <math>b^2</math> = <math>2k^2</math>. |
− | # Because | + | # Because <math>2k^2</math> is divisible by two and therefore even, and because <math>2k^2</math> = <math>b^2</math>, it follows that <math>b^2</math> is also even which means that {{math|''b''}} is even. |
− | # By steps 5 and 8 {{math|''a''}} and {{math|''b''}} are both even, which contradicts that | + | # By steps 5 and 8 {{math|''a''}} and {{math|''b''}} are both even, which contradicts that <math>\frac{a}{b}</math> is irreducible as stated in step 3. |
− | ::''''' | + | ::'''''Q.E.D.''''' |
− | Because there is a contradiction, the assumption (1) that | + | Because there is a contradiction, the assumption (1) that <math>\sqrt{2}</math> is a rational number must be false. This means that <math>\sqrt{2}</math> is not a rational number. That is, <math>\sqrt{2}</math> is irrational. |
===General roots=== | ===General roots=== | ||
− | The proof above for the square root of two can be generalized using the | + | The proof above for the square root of two can be generalized using the fundamental theorem of arithmetic. This asserts that every integer has a unique factorization into primes. Using it we can show that if a rational number is not an integer then no integral power of it can be an integer, as in lowest terms there must be a prime in the denominator that does not divide into the numerator whatever power each is raised to. Therefore, if an integer is not an exact {{mvar|k}}th power of another integer, then that first integer's {{mvar|k}}th root is irrational. |
=== Logarithms === | === Logarithms === | ||
− | Perhaps the numbers most easy to prove irrational are certain | + | Perhaps the numbers most easy to prove irrational are certain logarithms. Here is a proof by contradiction that log<sub>2</sub> 3 is irrational (log<sub>2</sub> 3 ≈ 1.58 > 0). |
Assume log<sub>2</sub> 3 is rational. For some positive integers ''m'' and ''n'', we have | Assume log<sub>2</sub> 3 is rational. For some positive integers ''m'' and ''n'', we have | ||
Line 53: | Line 52: | ||
: <math>2^m=3^n.</math> | : <math>2^m=3^n.</math> | ||
− | However, the number 2 raised to any positive integer power must be even (because it is divisible by 2) and the number 3 raised to any positive integer power must be odd (since none of its | + | However, the number 2 raised to any positive integer power must be even (because it is divisible by 2) and the number 3 raised to any positive integer power must be odd (since none of its prime factors will be 2). Clearly, an integer cannot be both odd and even at the same time: we have a contradiction. The only assumption we made was that log<sub>2</sub> 3 is rational (and so expressible as a quotient of integers ''m''/''n'' with ''n'' ≠ 0). The contradiction means that this assumption must be false, i.e. log<sub>2</sub> 3 is irrational, and can never be expressed as a quotient of integers ''m''/''n'' with ''n'' ≠ 0. |
Cases such as log<sub>10</sub> 2 can be treated similarly. | Cases such as log<sub>10</sub> 2 can be treated similarly. | ||
Line 59: | Line 58: | ||
==Types== | ==Types== | ||
=== Transcendental/algebraic === | === Transcendental/algebraic === | ||
− | + | Almost all irrational numbers are transcendental and all real transcendental numbers are irrational (there are also complex transcendental numbers): the article on transcendental numbers lists several examples. So ''e''<sup> ''r''</sup> and π<sup> ''r''</sup> are irrational for all nonzero rational ''r'', and, e.g., ''e''<sup>π</sup> is irrational, too. | |
− | Irrational numbers can also be found within the | + | Irrational numbers can also be found within the countable set of real algebraic numbers (essentially defined as the real roots of polynomials with integer coefficients), i.e., as real solutions of polynomial equations |
:<math>p(x) = a_nx^n + a_{n-1}x^{n-1} + \cdots + a_1x + a_0 = 0\;, </math> | :<math>p(x) = a_nx^n + a_{n-1}x^{n-1} + \cdots + a_1x + a_0 = 0\;, </math> | ||
− | where the coefficients <math>a_i</math> are integers and <math>a_n \ne 0</math>. | + | where the coefficients <math>a_i</math> are integers and <math>a_n \ne 0</math>. Any rational root of this polynomial equation must be of the form ''r'' /''s'', where ''r'' is a divisor of ''a''<sub>0</sub> and ''s'' is a divisor of ''a''<sub>''n''</sub>. If a real root <math>x_0</math> of a polynomial <math>p</math> is not among these finitely many possibilities, it must be an irrational algebraic number. An exemplary proof for the existence of such algebraic irrationals is by showing that ''x''<sub>0</sub> = (2<sup>1/2</sup> + 1)<sup>1/3</sup> is an irrational root of a polynomial with integer coefficients: it satisfies (''x''<sup>3</sup> − 1)<sup>2</sup> = 2 and hence ''x''<sup>6</sup> − 2''x''<sup>3</sup> − 1 = 0, and this latter polynomial has no rational roots (the only candidates to check are ±1, and ''x''<sub>0</sub>, being greater than 1, is neither of these), so ''x''<sub>0</sub> is an irrational algebraic number. |
− | Because the algebraic numbers form a | + | Because the algebraic numbers form a subfield of the real numbers, many irrational real numbers can be constructed by combining transcendental and algebraic numbers. For example, 3<math>\pi</math> + 2, <math>\pi</math> + <math>\sqrt{2}</math> and <math>e\sqrt{3}</math> are irrational (and even transcendental). |
==Decimal expansions== | ==Decimal expansions== | ||
− | The decimal expansion of an irrational number never repeats or terminates (the latter being equivalent to repeating zeroes), unlike any rational number. The same is true for | + | The decimal expansion of an irrational number never repeats or terminates (the latter being equivalent to repeating zeroes), unlike any rational number. The same is true for binary, octal or hexadecimal expansions, and in general for expansions in every positional notation with natural bases. |
− | To show this, suppose we divide integers ''n'' by ''m'' (where ''m'' is nonzero). When | + | To show this, suppose we divide integers ''n'' by ''m'' (where ''m'' is nonzero). When long division is applied to the division of ''n'' by ''m'', only ''m'' remainders are possible. If 0 appears as a remainder, the decimal expansion terminates. If 0 never occurs, then the algorithm can run at most ''m'' − 1 steps without using any remainder more than once. After that, a remainder must recur, and then the decimal expansion repeats. |
− | Conversely, suppose we are faced with a | + | Conversely, suppose we are faced with a repeating decimal, we can prove that it is a fraction of two integers. For example, consider: |
:<math>A=0.7\,162\,162\,162\,\ldots</math> | :<math>A=0.7\,162\,162\,162\,\ldots</math> | ||
Line 86: | Line 85: | ||
:<math>10,000A=7\,162.162\,162\,\ldots</math> | :<math>10,000A=7\,162.162\,162\,\ldots</math> | ||
− | The result of the two multiplications gives two different expressions with exactly the same "decimal portion", that is, the tail end of 10,000''A'' matches the tail end of 10''A'' exactly. Here, both 10,000''A'' and 10''A'' have | + | The result of the two multiplications gives two different expressions with exactly the same "decimal portion", that is, the tail end of 10,000''A'' matches the tail end of 10''A'' exactly. Here, both 10,000''A'' and 10''A'' have .162 162 162 ... after the decimal point. |
Therefore, when we subtract the 10''A'' equation from the 10,000''A'' equation, the tail end of 10''A'' cancels out the tail end of 10,000''A'' leaving us with: | Therefore, when we subtract the 10''A'' equation from the 10,000''A'' equation, the tail end of 10''A'' cancels out the tail end of 10,000''A'' leaving us with: | ||
Line 100: | Line 99: | ||
== Irrational powers == | == Irrational powers == | ||
− | Dov Jarden gave a simple non- | + | Dov Jarden gave a simple non-constructive proof that there exist two irrational numbers ''a'' and ''b'', such that ''a''<sup>''b''</sup> is rational: |
− | Consider { | + | Consider <math>\sqrt{2}^\sqrt{2}</math>; if this is rational, then take ''a'' = ''b'' = <math>\sqrt{2}</math>. Otherwise, take ''a'' to be the irrational number <math>\sqrt{2}^\sqrt{2}</math> and ''b'' = <math>\sqrt{2}</math>. Then <math>a^b</math> = <math>(\sqrt{2}^\sqrt{2})^\sqrt{2}</math> = <math>\sqrt{2}^{\sqrt{2}\cdot\sqrt{2}}</math> = <math>\sqrt{2}^2</math> = 2, which is rational. |
− | Although the above argument does not decide between the two cases, the | + | Although the above argument does not decide between the two cases, the Gelfond–Schneider theorem shows that <math>\sqrt{2}^\sqrt{2}</math> is transcendental, hence irrational. This theorem states that if ''a'' and ''b'' are both algebraic numbers, and ''a'' is not equal to 0 or 1, and ''b'' is not a rational number, then any value of ''a''<sup>''b''</sup> is a transcendental number (there can be more than one value if complex number exponentiation is used). |
− | An example that provides a simple constructive proof is | + | An example that provides a simple constructive proof is |
:<math>\left(\sqrt{2}\right)^{\log_{\sqrt{2}}3}=3.</math> | :<math>\left(\sqrt{2}\right)^{\log_{\sqrt{2}}3}=3.</math> | ||
Line 114: | Line 113: | ||
:<math>\log_{\sqrt{2}}3=\frac{\log_2 3}{\log_2 \sqrt{2}}=\frac{\log_2 3}{1/2} = 2\log_2 3</math> | :<math>\log_{\sqrt{2}}3=\frac{\log_2 3}{\log_2 \sqrt{2}}=\frac{\log_2 3}{1/2} = 2\log_2 3</math> | ||
− | which we can assume, for the sake of establishing a | + | which we can assume, for the sake of establishing a contradiction, equals a ratio ''m/n'' of positive integers. Then <math>\log_2 3 = m/2n</math> hence <math>2^{\log_2 3}=2^{m/2n}</math> hence <math>3=2^{m/2n}</math> hence <math>3^{2n}=2^m</math>, which is a contradictory pair of prime factorizations and hence violates the fundamental theorem of arithmetic (unique prime factorization). |
− | A stronger result is the following: | + | A stronger result is the following: Every rational number in the interval <math>((1/e)^{1/e}, \infty)</math> can be written either as ''a''<sup>''a''</sup> for some irrational number ''a'' or as ''n''<sup>''n''</sup> for some natural number ''n''. Similarly, every positive rational number can be written either as <math>a^{a^a}</math> for some irrational number ''a'' or as <math>n^{n^n}</math> for some natural number ''n''. |
== Set of all irrationals == | == Set of all irrationals == | ||
− | Since the reals form an | + | Since the reals form an uncountable |
− | set, of which the rationals are a | + | set, of which the rationals are a countable subset, the complementary set of |
irrationals is uncountable. | irrationals is uncountable. | ||
− | Under the usual ( | + | Under the usual (Euclidean) distance function d(''x'', ''y'') = |''x'' − ''y''|, the real numbers are a metric space and hence also a topological space. Restricting the Euclidean distance function gives the irrationals the structure of a metric space. Since the subspace of irrationals is not closed, |
− | the induced metric is not | + | the induced metric is not complete. However, being a G-delta set—i.e., a countable intersection of open subsets—in a complete metric space, the space of irrationals is completely metrizable: that is, there is a metric on the irrationals inducing the same topology as the restriction of the Euclidean metric, but with respect to which the irrationals are complete. One can see this without knowing the aforementioned fact about G-delta sets: the continued fraction expansion of an irrational number defines a homeomorphism from the space of irrationals to the space of all sequences of positive integers, which is easily seen to be completely metrizable. |
− | Furthermore, the set of all irrationals is a disconnected metrizable space. In fact, the irrationals equipped with the subspace topology have a basis of | + | Furthermore, the set of all irrationals is a disconnected metrizable space. In fact, the irrationals equipped with the subspace topology have a basis of clopen sets so the space is zero-dimensional. |
==Resources== | ==Resources== | ||
* [https://en.wikipedia.org/wiki/Irrational_number Irrational number], Wikipedia | * [https://en.wikipedia.org/wiki/Irrational_number Irrational number], Wikipedia | ||
* [https://en.wikipedia.org/wiki/Square_root_of_2#Proofs_of_irrationality Square root of 2], Wikipedia | * [https://en.wikipedia.org/wiki/Square_root_of_2#Proofs_of_irrationality Square root of 2], Wikipedia |
Revision as of 23:47, 19 October 2021
In mathematics, the irrational numbers (from in- prefix assimilated to ir- (negative prefix, privative) + rational) are all the real numbers which are not rational numbers. That is, irrational numbers cannot be expressed as the ratio of two integers. When the ratio of lengths of two line segments is an irrational number, the line segments are also described as being incommensurable, meaning that they share no "measure" in common, that is, there is no length ("the measure"), no matter how short, that could be used to express the lengths of both of the two given segments as integer multiples of itself.
Among irrational numbers are the ratio of a circle's circumference to its diameter, Euler's number e, the golden ratio φ, and the square root of two. In fact, all square roots of natural numbers, other than of perfect squares, are irrational.
Like all real numbers, irrational numbers can be expressed in positional notation, notably as a decimal number. In the case of irrational numbers, the decimal expansion does not terminate, nor end with a repeating sequence. For example, the decimal representation of starts with 3.14159, but no finite number of digits can represent exactly, nor does it repeat. Conversely, a decimal expansion that terminates or repeats must be a rational number. These are provable properties of rational numbers and positional number systems, and are not used as definitions in mathematics.
Irrational numbers can also be expressed as non-terminating continued fractions and many other ways.
As a consequence of Cantor's proof that the real numbers are uncountable and the rationals countable, it follows that almost all real numbers are irrational.
Contents
Examples
Square roots
The square root of 2 was the first number proved irrational, and that article contains a number of proofs. The golden ratio is another famous quadratic irrational number. The square roots of all natural numbers which are not perfect squares are irrational and a proof may be found in quadratic irrationals.
Proof that is irrational
One proof of the number's irrationality is the following proof by infinite descent. It is also a proof by contradiction, also known as an indirect proof, in that the proposition is proved by assuming that the opposite of the proposition is true and showing that this assumption is false, thereby implying that the proposition must be true.
- Assume that is a rational number, meaning that there exists a pair of integers whose ratio is exactly .
- If the two integers have a common factor, it can be eliminated using the Euclidean algorithm.
- Then can be written as an irreducible fraction such that a and b are coprime integers (having no common factor) which additionally means that at least one of a or b must be odd .
- It follows that and . ( ) ( and are integers)
- Therefore, is even because it is equal to . ( is necessarily even because it is 2 times another whole number and multiples of 2 are even.)
- It follows that a must be even (as squares of odd integers are never even).
- Because a is even, there exists an integer k that fulfills: a = 2k.
- Substituting 2k from step 7 for a in the second equation of step 4: = is equivalent to = , which is equivalent to = .
- Because is divisible by two and therefore even, and because = , it follows that is also even which means that b is even.
- By steps 5 and 8 a and b are both even, which contradicts that is irreducible as stated in step 3.
- Q.E.D.
Because there is a contradiction, the assumption (1) that is a rational number must be false. This means that is not a rational number. That is, is irrational.
General roots
The proof above for the square root of two can be generalized using the fundamental theorem of arithmetic. This asserts that every integer has a unique factorization into primes. Using it we can show that if a rational number is not an integer then no integral power of it can be an integer, as in lowest terms there must be a prime in the denominator that does not divide into the numerator whatever power each is raised to. Therefore, if an integer is not an exact kth power of another integer, then that first integer's kth root is irrational.
Logarithms
Perhaps the numbers most easy to prove irrational are certain logarithms. Here is a proof by contradiction that log2 3 is irrational (log2 3 ≈ 1.58 > 0).
Assume log2 3 is rational. For some positive integers m and n, we have
It follows that
However, the number 2 raised to any positive integer power must be even (because it is divisible by 2) and the number 3 raised to any positive integer power must be odd (since none of its prime factors will be 2). Clearly, an integer cannot be both odd and even at the same time: we have a contradiction. The only assumption we made was that log2 3 is rational (and so expressible as a quotient of integers m/n with n ≠ 0). The contradiction means that this assumption must be false, i.e. log2 3 is irrational, and can never be expressed as a quotient of integers m/n with n ≠ 0.
Cases such as log10 2 can be treated similarly.
Types
Transcendental/algebraic
Almost all irrational numbers are transcendental and all real transcendental numbers are irrational (there are also complex transcendental numbers): the article on transcendental numbers lists several examples. So e r and π r are irrational for all nonzero rational r, and, e.g., eπ is irrational, too.
Irrational numbers can also be found within the countable set of real algebraic numbers (essentially defined as the real roots of polynomials with integer coefficients), i.e., as real solutions of polynomial equations
where the coefficients are integers and . Any rational root of this polynomial equation must be of the form r /s, where r is a divisor of a0 and s is a divisor of an. If a real root of a polynomial is not among these finitely many possibilities, it must be an irrational algebraic number. An exemplary proof for the existence of such algebraic irrationals is by showing that x0 = (21/2 + 1)1/3 is an irrational root of a polynomial with integer coefficients: it satisfies (x3 − 1)2 = 2 and hence x6 − 2x3 − 1 = 0, and this latter polynomial has no rational roots (the only candidates to check are ±1, and x0, being greater than 1, is neither of these), so x0 is an irrational algebraic number.
Because the algebraic numbers form a subfield of the real numbers, many irrational real numbers can be constructed by combining transcendental and algebraic numbers. For example, 3 + 2, + and are irrational (and even transcendental).
Decimal expansions
The decimal expansion of an irrational number never repeats or terminates (the latter being equivalent to repeating zeroes), unlike any rational number. The same is true for binary, octal or hexadecimal expansions, and in general for expansions in every positional notation with natural bases.
To show this, suppose we divide integers n by m (where m is nonzero). When long division is applied to the division of n by m, only m remainders are possible. If 0 appears as a remainder, the decimal expansion terminates. If 0 never occurs, then the algorithm can run at most m − 1 steps without using any remainder more than once. After that, a remainder must recur, and then the decimal expansion repeats.
Conversely, suppose we are faced with a repeating decimal, we can prove that it is a fraction of two integers. For example, consider:
Here the repetend is 162 and the length of the repetend is 3. First, we multiply by an appropriate power of 10 to move the decimal point to the right so that it is just in front of a repetend. In this example we would multiply by 10 to obtain:
Now we multiply this equation by 10r where r is the length of the repetend. This has the effect of moving the decimal point to be in front of the "next" repetend. In our example, multiply by 103:
The result of the two multiplications gives two different expressions with exactly the same "decimal portion", that is, the tail end of 10,000A matches the tail end of 10A exactly. Here, both 10,000A and 10A have .162 162 162 ... after the decimal point.
Therefore, when we subtract the 10A equation from the 10,000A equation, the tail end of 10A cancels out the tail end of 10,000A leaving us with:
Then
is a ratio of integers and therefore a rational number.
Irrational powers
Dov Jarden gave a simple non-constructive proof that there exist two irrational numbers a and b, such that ab is rational:
Consider ; if this is rational, then take a = b = . Otherwise, take a to be the irrational number and b = . Then = = = = 2, which is rational.
Although the above argument does not decide between the two cases, the Gelfond–Schneider theorem shows that is transcendental, hence irrational. This theorem states that if a and b are both algebraic numbers, and a is not equal to 0 or 1, and b is not a rational number, then any value of ab is a transcendental number (there can be more than one value if complex number exponentiation is used).
An example that provides a simple constructive proof is
The base of the left side is irrational and the right side is rational, so one must prove that the exponent on the left side, , is irrational. This is so because, by the formula relating logarithms with different bases,
which we can assume, for the sake of establishing a contradiction, equals a ratio m/n of positive integers. Then hence hence hence , which is a contradictory pair of prime factorizations and hence violates the fundamental theorem of arithmetic (unique prime factorization).
A stronger result is the following: Every rational number in the interval can be written either as aa for some irrational number a or as nn for some natural number n. Similarly, every positive rational number can be written either as for some irrational number a or as for some natural number n.
Set of all irrationals
Since the reals form an uncountable set, of which the rationals are a countable subset, the complementary set of irrationals is uncountable.
Under the usual (Euclidean) distance function d(x, y) = |x − y|, the real numbers are a metric space and hence also a topological space. Restricting the Euclidean distance function gives the irrationals the structure of a metric space. Since the subspace of irrationals is not closed, the induced metric is not complete. However, being a G-delta set—i.e., a countable intersection of open subsets—in a complete metric space, the space of irrationals is completely metrizable: that is, there is a metric on the irrationals inducing the same topology as the restriction of the Euclidean metric, but with respect to which the irrationals are complete. One can see this without knowing the aforementioned fact about G-delta sets: the continued fraction expansion of an irrational number defines a homeomorphism from the space of irrationals to the space of all sequences of positive integers, which is easily seen to be completely metrizable.
Furthermore, the set of all irrationals is a disconnected metrizable space. In fact, the irrationals equipped with the subspace topology have a basis of clopen sets so the space is zero-dimensional.
Resources
- Irrational number, Wikipedia
- Square root of 2, Wikipedia