This was a test problem that I solved and got 4/10 points on, but I don't see where I went wrong.
Prove that $\sqrt {28}$ is irrational.
Suppose to the contrary that $\sqrt {28}$ is rational. Then $\sqrt {28} =\frac{a}{b}$ where $a$ and $b$ are integers and $\gcd(a,b) = 1$.
$28=\frac{a^2}{b^2}$
$28b^2 = a^2$
$2(14b^2) = a^2$
So $a^2$ is even. Clearly then $a$ is also even.
Let $a =2k$ where k is some integer.
Then $28b^2 = 4k^2$
And $14b^2 = 2(k^2)$
$b^2$ is even, so $b$ is also even.
Contradiction: $a$ and $b$ share a factor of 2, so $\gcd(a,b)\neq 1$