Assume $\sqrt{2}$ is rational and $\sqrt{2} = \frac{a}{b}$ where $a$ and $b$ have no common factors
$\frac{a^2}{b^2} = 2 \Leftrightarrow a^2 = 2b^2$
$a^2$, and $a$, are both even.
Write $a = 2n \Rightarrow 2b^2 = 4n^2 \Leftrightarrow b^2=2n^2$
$b$ is even
This is a contradiction because $a$ and $b$ have no common factors, so $\sqrt{2}$ cannot be rational