Real numbers · Definition

Density of the rationals

real analysisreal numbers

Before you start you need to know

The rationals leave gaps, but never empty intervals: this lets us approximate any real by fractions as closely as we like.

Definition

Property of the rationals \(\mathbb Q\) inside the reals: between any two distinct reals \(a<b\) there is always a rational \(q\).

\[a

The proof uses the Archimedean property. Given \(a<b\), choose \(n\in\mathbb N\) with \(1/n<b-a\) and take \(m=\lfloor na\rfloor+1\), the least integer greater than \(na\). Then \(na<m\le na+1<nb\), hence \(a<m/n<b\). With \(a=0.3\), \(b=0.4\) and \(n=11\) we get \(m=4\) and \(q=4/11\).

Density implies there are infinitely many rationals in every interval: apply the result again between \(q\) and \(b\), and so on. For the same reason there is no smallest positive rational. In terms of distance, for every real \(x\) and every \(\varepsilon>0\) there is a rational \(q\) with \(|x-q|<\varepsilon\).

The irrationals are dense too: if \(a<b\), there is a rational \(q\) between \(a/\sqrt2\) and \(b/\sqrt2\), and then \(q\sqrt2\) is irrational (if \(q\ne0\)) and lies between \(a\) and \(b\). Density is not completeness: the set \(\{q\in\mathbb Q: q^2<2\}\) is bounded but has no supremum in \(\mathbb Q\).

A common mistake is to think that, being dense, \(\mathbb Q\) fills the line; yet \(\sqrt2\) is not rational. Density will be used to approximate and to pass from rationals to reals.

Think about it

Find a rational between \(\sqrt2\) and \(1.42\).

Since \(\sqrt2\approx1.41421\), \(1.415=283/200\) works.

Is there an irrational number between \(0\) and \(0.001\)?

Yes: \(\sqrt2/2000\approx0.00071\), since the irrationals are dense as well.

Exercises 10

References

  • Stephen Abbott, Understanding Analysis, 2nd edition, Springer, 2015. §1.4
  • Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976. Cap. 1, 1.20
  • Robert G. Bartle, Donald R. Sherbert, Introduction to Real Analysis, 4th edition, Wiley, 2011. §2.4