irrational number

An irrational number is a real number that is not rational, that is, cannot be expressed as a fraction (or ratio) of the form p/q, where p and q are integers.


proofs that the square root of 2 is irrational

Pythagorean proof, as given by Euclid in his Elements

proof by contradiction:

  1. Assume that sqrt2 is rational, that is, there exists integers p and q such that sqrt2 = p/q; take the irreducible form of this fraction, so that p and q have no factors in common
  2. square both sides, to give 2 = p2/q2
  3. rearrange, to give 2q2 = p2
  4. hence p2 is even
  5. hence p is even (trivial proof left as an excercise for the reader); write p = 2m
  6. substitute for p in (3), to give 2q2 = (2m)2 = 4m2
  7. divide through by 2, to give q2 = 2m2
  8. hence q2 is even
  9. hence q is even

(1) assumes that p and q have no factors in common; (5) and (9) show they they both have 2 as a factor. This is a contradiction. Hence the assumption (1) is false, and sqrt2 is not rational.

proof based on unique factorisation

[I first saw this rather elegant little proof in Chaitin's Meta Math!, p98. It uses the result of unique factorisation into powers of primes (the fundamental theorem of arthimetic).]

  1. Assume that sqrt2 is rational, that is, there exists integers p and q such that sqrt2 = p/q; take the irreducible form of this fraction, so that p and q have no factors in common
  2. square both sides, and rearrange, to give 2q2 = p2
  3. factorise p and q into their unique prime factoriastions, p = 2a3b5c..., q = 2x3y5z...
  4. substitute into (2), and simplify, to give 22x+132y52z... = 22a32b52c...

Since the LHS and the RHS refer to the same number, and since such factorisation is unique, we have 2x+1 = 2a (or odd = even). This is a contradiction. Hence the assumption (1) is false, and sqrt2 is not rational.