density theorem

Given two real numbers x,yR with x<y, then there exists some rational number rQ such that x<r<y.

We say the rational numbers are dense in R.


Proof

Without loss of generality, let 0<x<y.
Then yx>0.
Since The infimum of the set of reciprocals of the natural numbers is zero., there exists some nN such that yx>1n.
Then nynx>1, so ny>1+nx.
Since Every number is between two natural numbers, there exists some mN such that m1nx<m.
Then mnx+1<m+1,
so nx<mnx+1<ny
and x<mn<y.
QED.


Powered by Forestry.md