Let be a rational number
Then where m, n are integers and m, n are coprimes and
Squaring both sides we get
……………(iv)
divides i.e., divides m
Then m can be written as
k for some integer k.
Substituting value of m in (iv) we get
divides i.e., divides n
Thus we get that is a common factor of m and n but m and n are co-primes which is a contradiction to our assumption.
Hence is an irrational number.
Now consider to be an rational number
Then where a, b are integers, co-primes and
Squaring both sides we get
Where is an integer and is also an integer, but is an irrational number, which is a contradiction.
Hence is an irrational number.