I wish to prove that square of a number is even if and only if the number itself is even. Let's call that number $a$, we need to prove that $$ a^2\text{ is even}\Leftrightarrow a\text{ is even} $$
We need to prove two things:
- If $a$ is even, then $a^2$ is also even.
I think that I can do this part. If $a$ is even, then we can write $a=2k$ where $k$ is some integer. Now $$ a^2=(2k)^2=4k^2=2(2k^2) $$ which shows that $a^2$ is also even.
- If $a^2$ is even, then $a$ is also even.
I am having difficulty here. If $a^2$ is even, then I can write $a^2=2m$ . for some integer $m$ but taking square root gives $a=\sqrt{2m}$ which can be written as $a=2\sqrt{\frac{m}{2}}$ but the problem is that will $\sqrt{\frac{m}{2}}$ always end up as some integer? I do not think so!