Possible Duplicate:
$\sqrt a$ is either an integer or an irrational number.
I'm a total beginner and any help with this proof would be much appreciated. Not even sure where to begin.
Prove that for each prime number $p$, the square root of p is irrational.
If $\sqrt p=\frac{a}{b}$ where (a,b)=1 and a>1 as p>1,
then $p=\frac{a^2}{b^2}$.
Now as p is integer, $b^2$ must divide $a^2$, which is impossible unless b=1 as (a,b)=1.
If b=1, p=$a^2$ which can not be prime as a>1.