Real Analysis – Proof That Any Interval Contains Both Rational and Irrational Numbers

real-analysis

Background: We are assuming that the elements of $\mathbb{R}\setminus\mathbb{Q}$ are irrational number. If $x$ is irrational and $r$ is rational then $y=x+r$ is irrational. Also, if $r\neq 0$ then $rx$ is irrational as well. Likewise, if a number is irrational then its reciprocal is irrational as well.

Theorem: Every interval $(a,b)$, no matter how small, contains both rational and irrational numbers.

Proof. First we can see that the interval $(0,1)$
contains both rational and irrational, just select the numbers $1/2$
and $1/\sqrt{2}$. For the general interval $(a,b)$, think of $a$
and $b$
as cuts, that is $a=A\mid A^{'}$
and $b=B\mid B^{'}$
, such that $a<b$
. The fact that $a<b$
implies that $B\setminus A\neq\emptyset$
, moreover since $B$
has no greatest value if we select an a rational element $r\in B\setminus A$
then we can find another rational element $s\in B\setminus A$
such that $r<s$
. Thus $a\leqslant r<s\leqslant b$
. The transformation
$$T:t\mapsto r+(s-r)t$$

sends the interval $(0,1)$
to the interval $(r,s)$
. Since $r,s,$
and $s-r$
are all rational, the transformation $T$
sends rationals to rationals and irrationals to irrationals. That is, $(r,s)$
contains and irrationals, and so does the larger interval $(a,b)$.$\space\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \square$

My Confusion: My first confusion is what does the transformation $T$ map from and to? If $t\in \mathbb R$ then for any value of $t$ we should have $r\leqslant r+(s-r)t \leqslant s$ right? However, if $t<0$, $r<0$, and $s<0$ then the preceding inequality shouldn't hold (unless I am missing something); and if the preceding inequality doesn't hold then what good is the transformation $T$ for showing that there is an irrational in the interval $[r,s]$?

Best Answer

Another method is to use the Archimedean axiom for the reals:

For any two positive reals $x$ and $y$, there is a positive integer $n$ such that $nx > y$.

We want to find a rational number $m/n$ such that $a < \frac{m}{n} < b$.

To do this, choose $n$ such that $n(b-a) > 1$, so that $\frac1{n} < b-a$.

Let $j = \lfloor na \rfloor$. Then $j \le na < j+1$ so $\frac{j}{n} \le a < \frac{j+1}{n} =\frac{j}{n}+\frac{1}{n} <a+(b-a) = b $.

Therefore the rational $\frac{j+1}{n}$ is between $a$ and $b$.

To find an irrational between $a$ and $b$, do the same as before, but choose $n$ such that $n(b-a) > 2$ and $j = \lfloor na \rfloor$. By the same reasoning, both $\frac{j+1}{n}$ and $\frac{j+2}{n}$ are between $a$ and $b$. Then $\frac{j+\sqrt{2}}{n}$ is an irrational that is between $a$ and $b$ since $a < \frac{j+1}{n} < \frac{j+\sqrt{2}}{n} < \frac{j+2}{n} < b$.