Logo
Published on

Irrationals Between Any Two Rationals

Authors
  • avatar
    Name
    Vu Hung
    Twitter

Problem Statement

Prove that for any two distinct rational numbers pp and qq, there exists an irrational number xx such that

p<x<qp < x < q

or

q<x<p.q < x < p.

Hints

Attempt the proof independently first. Focus on the key theorem, algebraic transformation, or contradiction setup that links the hypothesis to the target conclusion.


Solutions

Constructive Proof

Without loss of generality, assume p<qp<q. Define

x=p+22(qp).x=p+\frac{\sqrt{2}}{2}(q-p).

Since 0<22<10<\frac{\sqrt{2}}{2}<1 and qp>0q-p>0, multiplying by (qp)(q-p) gives

0<22(qp)<qp.0<\frac{\sqrt{2}}{2}(q-p)<q-p.

Adding pp throughout,

p<x<q.p<x<q.

It remains to show that xx is irrational. Suppose, for contradiction, that xx is rational. Then xpx-p is rational, so

xp=22(qp)x-p=\frac{\sqrt{2}}{2}(q-p)

is rational. Since qpq-p is a nonzero rational number, dividing by it gives

22=xpqp,\frac{\sqrt{2}}{2}=\frac{x-p}{q-p},

which is rational. Hence 2\sqrt{2} would be rational, a contradiction.

Therefore xx is irrational, and we have found an irrational number strictly between pp and qq.

\hfill \square


Takeaways

  • Constructive Method: The proof gives an explicit irrational number between the two rationals
  • Scaling Trick: Multiply the rational gap (qp)(q-p) by an irrational factor between 00 and 11
  • Density of Irrationals: Irrational numbers occur between any two distinct rationals
  • Companion Result: Together with density of rationals, this shows the two sets are interwoven on the real line
  • For any two distinct rational numbers pp and qq, there exists infinitely many irrational numbers xx such that p<x<qp < x < q or q<x<pq < x < p.
  • Because the two sets (Q\mathbb{Q} and RQ\mathbb{R} \setminus \mathbb{Q}) of numbers are interwoven, no matter how closely you zoom in on the real line, you will always find both rational and irrational numbers.
  • While they are perfectly interwoven and mutually dense, they are not equal. The rationals are countable, meaning the set of all rational numbers can be put into a one-to-one correspondence with the natural numbers, while the irrationals are uncountable, meaning there are "more" irrationals than rationals in a precise mathematical sense.
  • The probability of randomly selecting a rational number the interval [0,1][0, 1] is zero! Learn "Measure Theory" to understand this concept of "size" of sets in a more rigorous way.

Further Readings

If you found this proof interesting, be sure to check out these relevant HSC booklets to sharpen your reasoning skills:


Connect with me

If you're eager for more HSC Maths insights, be sure to check out my Instagram. For deeper dives and regular tips, join my Website - Vu's Maths Hub. Let's tackle these challenging math problems together! You can also catch my daily math content on LinkedIn.