Euclid's proof of the irrationality of $\sqrt{2}$ via contradiction involves arguments about evenness or odness of $a^2 = 2 b^2$ which is then lead to contradiction in using few more steps. I wonder why one needs this line of arguments, isn't it from this expression immediately obvious that all prime factors of both $b^2$ and $a^2$ must have even exponents (and that factor $2^1$ between them makes this impossible)? Is the reason for the "more complicated" structure of the traded proof, that this argument involves implicitly more theory (like the fundamental theorem of arithmetics, maybe)?


Solution 1:

Here is one of my favorite proofs for the irrationality of $\sqrt{2}$.

Suppose $\sqrt{2}\in\Bbb Q$. Then there exist an integer $n>0$ such that $n\sqrt{2}\in\Bbb Z$.

Now, let $n$ be the smallest one with this property and take $m=n(\sqrt{2}-1)$. We observe that $m$ has the following properties:

  1. $m\in\Bbb Z$
  2. $m>0$
  3. $m\sqrt{2}\in\Bbb Z$
  4. $m<n$

and so we come to a contradiction!

Solution 2:

Yes, that is the point - the simple parity-based proof does not require existence and uniqueness of prime factorizations so it can be used before those much deeper results are developed.

It is illuminating to note that the proof based on comparing the parity of powers of two does not need the full uniqueness result but only a much simpler case. Namely, it is easy to prove that every natural can be written uniquely in the form $\, 2^i n\,$ for odd $\,n.\,$ Thus $\, A= 2^{\large J} a,\ B = 2^{\large K} b\,$ for $\,a,b\,$ odd. Therefore $\, A^2\! = 2 B^2$ $\Rightarrow$ $\,2^{\color{#c00}{\large 2J}} a^2 = 2^{\color{#0a0}{\large 1+2K}} b^2.\ $ But $\,a,b\,$ odd $\,\color{#f2f}\Rightarrow$ $\,a^2,b^2\,$ odd too, which contradicts uniqueness (LHS has $\rm\color{#c00}{even}$ vs. RHS $\rm\color{#0a0}{odd}$ power of $2).$

To generalize that proof from $\,p = 2\,$ to an arbitrary prime $\,p\,$ would require generalizing the $\,\rm odd^2 = odd\,$ step that we used above, $ $ i.e. we would need to prove $\ p\nmid a,b\,\color{#f2f}\Rightarrow\, p\nmid a^2,b^2.\ $ Just as for the case $\,p=2,\,$ for any fixed prime $\,p\,$ we could prove it by a brute-force case analysis. But to prove the result for all primes $\,p\,$ we need something much deeper, e.g. Euclid's lemma $\ p\mid ab\,\Rightarrow\, p\mid a\,$ or $\,p\mid b\ $ (or closely related results).