If $n$ is an integer and $n^2$ is even, then $n$ is even
I am reading a book on proofs and the above statement motivates the author to introduce Proof by Contradiction. I am a little confused as to why this proof motivates the introduction of a new proof strategy.
The previous method that the author has been using (which he claims "fails us" for this proof), is something he refers to as the Forward-Backward Method. As far as I can tell, the Forward-Backward Method is still valid and works like so:
- if $n$ is even, then there exists an integer $k$ such that $n=2*k$
- if $n^2$ is even, then there exists an integer $m$ such that $n^2=2*m$
now, my objective is to show that I can rewrite $n^2$ in the form of $n=2*k$, which the author claims I cannot do using the forward-backwards method. However, I would proceed as such:
take the square root of $n^2$ to generate: $n=\sqrt{2*m}$
this can be rewritten as $n = \sqrt{2*2*\frac{m}{2}}$
then we have $n=2*\sqrt{\frac{m}{2}}$
so let's have $k = \sqrt{\frac{m}{2}}$
however, recall that $k$ has been defined as an integer...so, keeping in mind that $m$ must also be an integer, let's let $m$ be defined as: $m = 2*(\mathbb N^2)$. ...where the fancy $N$ is any natural number
Step 7 guarantees that $m$ and $k$ will always be integers which therefore let's us confirm that:
- $n = 2k$
If anyone could confirm that this is logically valid, and that I am correct in thinking that I do not need to utilize Proof By Contradiction in order to prove this statement, I would greatly appreciate it!
Edit: Upon further reflection, I think this proof may only be valid for $n$ greater than or equal to $0$.