You will see here:
Bill Dubuque's Slick $\sqrt{3}$ irrationality proof
What is the trick with modulus for proving irrationality?
What about $\sqrt{2}$
Can you prove this is irrational by that trick?
You will see here:
Bill Dubuque's Slick $\sqrt{3}$ irrationality proof
What is the trick with modulus for proving irrationality?
What about $\sqrt{2}$
Can you prove this is irrational by that trick?
Assume $\sqrt{2} = \dfrac{m}{n} \to m^2 = 2n^2$. If taking $\pmod 4$, you see that the left side is $1 \pmod 4$ while the right side is $2 \pmod 4$ for odd $m,n$. For even $m,n$, you can use descending trick to get a contradiction.