Proposition. Squaring preserves and reflects evenness [019X]
- September 22, 2026
Suppose that n is an integer. Then n is even if and only if n^2 is even.
Proof.
- September 22, 2026
Let n be an integer. To show that n is even if and only if n^2 is even, we prove both implications.
Try to provide details of the forward and backword directions of the proof. Once you’ve given it an honest try, click this text to expand the proof.
- In the forward direction, we assume that n is even and must prove that n^2 is even. Every factor of n is also a factor of n^2, so we certainly have 2\mid n^2.
- In the reverse direction, we assume that n^2 is even and we must prove that n is even. Being even is the same as being not odd, so we have assumed that n^2 is not odd and we must show that n is not odd. Assume for the sake of contradiction that n is odd, so that we have n = 2\cdot k + 1 for some integer k. Then n^2 = (2k + 1)^2 = 4k^2 + 4k + 1 = 2(k^2+2k)+1 which is odd, but this contradicts our assumption that n^2 is not odd.