TITLE: Terence Tao, Analysis I, Ex. 5.4.5: There is a rational between any two reals
QUESTION [8 upvotes]: Terence Tao, Analysis I, 3e, Exercise 5.4.5:

Prove Proposition 5.4.14. (Hint: use Exercise 5.4.4. You may also need
  to argue by contradiction.)

Proposition 5.4.14:

Given any two real numbers $x < y$, we can find a
  rational number q such that $x < q < y$.

Exercise 5.4.4:

Show that for any positive real number $x > 0$ there
  exists a positive integer $N$ such that $x > 1/N > 0$.

What I've found so far (with the help of this answer, and Pratik Apshinge's comment):
From Exercise 5.4.4, there is a positive real number 
$$y - x > 1/N > 0, $$
$$yN - xN > 1, $$
$$yN - 1 > xN.$$
Since there is an integer $m$ between $yN$ and $yN - 1$, we have that 
$$yN > m \ge yN - 1 > xN$$
$$yN > m > xN$$
$$y > m/N > x$$
Since $m$ and $N$ are integers, there exists a rational between $y$ and $x$.
But how could a proof by contradiction help in this case?

REPLY [2 votes]: (i).Suppose $0\le x<y$ and $\Bbb Q\cap (x,y)=\emptyset.$
There exists $N\in \Bbb N$ with $1/N<(y-x)/2.$
There exists $n\in \Bbb N$ with $n(1/N)\ge x.$ This is obvious if $x=0.$ And if it were false with $x>0$ then $1/n> x'=1/(Nx)>0$  for all $n\in \Bbb N,$  contrary to 5.4.4.
Let $n_0=\min \{n\in \Bbb N: n(1/N)\ge x\},$ so $(n_0-1)/N<x\le n_0/N.$
Then $x<(n_0+1)/N,$ so  $y\le(n_0+1)/N,$ otherwise $(n_0+1)/N\in \Bbb Q\cap (x,y).$ But then $$2/N=(n_0+1)/N-(n_0-1)/N \ge$$ $$\ge y-(n_0-1)/N>$$ $$> y-x>2/N,$$ a contradiction.
(ii).If $x<y\le 0$ then by (i) there exists $q\in \Bbb Q\cap (-y,-x),$ so $\;-q\in \Bbb Q\cap (x,y).$ 
(iii).Finally, if $x<0<y$ then $0\in \Bbb Q\cap (x,y).$
The idea behind (i) is that if $N$ is large enough then consecutive values of $1/N,2/N,3/N,...$ cannot "skip over" the interval $(x,y).$