Proving a statement by contrapositive means that if you want to prove that
, you can instead prove that
since the two are equivalent.
So, proving that
by contrapositive means to prove that
![n \text{ is even} \implies n^2 \text{ is even}](https://img.qammunity.org/2019/formulas/mathematics/high-school/b2aa1bo04bmrpx922fe5723m3ds2wjp97t.png)
since of course the negation of being odd is being even.
This claim is quite easy to prove: if n is even, then it is twice some other integer k:
![n=2k](https://img.qammunity.org/2019/formulas/mathematics/high-school/q1xpzu0oc06imlqlb2zdgyebe6wybnaq5v.png)
This means that its square is
![n^2 = 4k^2 = 2(2k^2)](https://img.qammunity.org/2019/formulas/mathematics/high-school/ykbhms74vosxtffxbutlhrfc6w5dpvek6i.png)
And so, if n is even, its square is also even. This proves, by contrapositive, that if n squared is odd, then n is odd.