[Math] Show that $\sqrt{2}$ is irrational using the integer root theorem

elementary-number-theorypolynomialsproof-verificationrationality-testingroots

Show that $\sqrt{2}$ is irrational using integer root theorem.

Let $P(x)=x^2-2$. Since $\sqrt{2}$ is a root of this polynomial, had it been a rational (suppose $\sqrt{2}=\frac{p}{q}$) no, by integer root theorem $q|1$. Hence $q=\pm1$. Moreover $p|-2$. So $p=\pm1$ or $p=\pm2$. Either way $\sqrt{2}=\pm1$ or $\pm2$ which is absurd.

Is it alright?

Best Answer

"Absurd" is not quite enough.

You should say that if $q=\pm1$ and $p=\pm1$ or $p=\pm2$ then $\left(\frac{p}{q}\right)^2=1$ or $4$. But $\sqrt{2} ^2=2$, so $\sqrt{2}$ cannot be written as $\frac{p}{q}$.

Related Question