We should prove it by taking a contrary way.
let root 3 be rational.a rational number will be in the form of p/q.so,root 3=p/q
here p and q are in simplified form.so,they are co-primes,whose H.C.F. is 1.so,1 is a factor of root 3.
squaring on both sides