Theorem: Density of the rationals in \mathbb R

(i) For all real numbers with , there exists such that . (ii) For all with , there exists a rational number such that .

(Nearly) direct proof of (ii)

From Honors Mathematics B, Homework 1.

Lemma ( MATH-UN1208 1.6)

If has , the set of natural numbers is finite.

Sketch.

  1. Prove that for any real number , there exists a natural number so that .
  2. If is a real number, let’s denote . Prove that
  3. If are two real numbers, prove that there exists a rational with .

Proof of 1.

We can prove there exists some with by showing that the set of all such is nonempty. Using the equivalent relation , we define this set to be

By trichotomy, this set is empty if the set is all of . But by Lemma 1.6, we know that given the real number , the set of with is finite. Thus, the set of all with must be nonempty, which proves the existence of some that satisfies the relation.

Proof of 2.

First, let . By definition of the least upper bound, we have with precisely if is indeed the least upper bound, as well as .

If , then the difference is a positive real number. By part (1), there exists some with . We can also construct an even smaller term . Putting these expressions together, we have

Now since is the least upper bound, by (Theorem) Elements in a subset of the reals can be arbitrarily close to the least upper bound, for all real there exists some such that . By definition of an upper bound, we can also guarantee . Choose , and let an element which satisfies . Using the definition and the first set of relations we showed, we have

which means in particular that is a rational less than . If both and are true, then this contradicts our assumption that . Therefore, any real number cannot be an upper bound for , and we must have .

Proof of 3.

First let denote the real average of and , so we have . By part (2), we have .

Fix . Since is the least upper bound, we can use (Theorem) Elements in a subset of the reals can be arbitrarily close to the least upper bound to choose an so that . First, notice that for all . To see as well, we can use the property and the fact that to get

Explicitly, this means we can fix so that there is a rational , based our choice of , which satisfies for any real numbers . This completes the proof that between any two real numbers is a rational number.

Proof of (i) and (ii) by contradiction

#wip See notes from Modern Analysis I.