A real number x is rational if x=a/b for some a,b∈Z. Also, x is irrational if it is not rational, that is if x=a/b for every a,b∈Z
Example 1
Proposition The number 2 is irrational.
Proof. Suppose for the sake of contradiction that it is not true that 2 is irrational.
Then2 is rational, so there are integers a and b for which 2=a/b . (6.1)
Let this fraction be fully reduced; in particular, this means that a and b are not both even. (If they were both even, then the fraction could be further reduced by factoring 2’s from the numerator and denominator and canceling.)
Squaring both sides of Equation 6.1 gives 2=a2b2 , and therefore a2=2b2. (6.2)
From this it follows that a2 is even. But we proved earlier (Exercise 1 on page 136) that a2 being even implies a is even.
Thus, as we know that a and b are not both even, it follows that b is odd.
Now, since a is even there is an integer c for which a=2c.
Plugging this value for a into Equation (6.2), we get (2c)2=2b2, so 4c2=2b2, and hence b2=2c2. This means b2 is even, so b is even also. But previously we deduced that b is odd.
Thus we have the contradiction b is even and b is odd.