Evenness Equivalence for x and x Squared

#hsc-maths#proofs#medium

In HSC Mathematics Extension 1, the concept of 'if and only if' (biconditional) statements is central to the Proofs topic. This classic problem demonstrates how a biconditional claim about parity requires two separate arguments—one forward direction using a direct proof, and the reverse direction using the contrapositive. Understanding this pattern equips you with a fundamental tool for establishing properties of integers and will reappear in proofs of irrationality (such as √2).

Problem Statement

Prove that xx is even if and only if x2x^2 is even (for integer xx).


Hints

This is a biconditional (iff) statement requiring two proofs:

  • Direction 1: If xx is even, then x2x^2 is even (direct proof).
  • Direction 2: If x2x^2 is even, then xx is even (try contrapositive: if xx is odd, then x2x^2 is odd).

Solutions

Direction 1 (\Rightarrow): If xx is even, then x2x^2 is even.

To prove the forward direction, we assume xx is even and aim to show x2x^2 is even. By definition, an even integer can be expressed as x=2kx = 2k for some integer kk. Substituting into the square:

x2=(2k)2=4k2=2(2k2)x^2 = (2k)^2 = 4k^2 = 2(2k^2)

Since 2k22k^2 is an integer, we have written x2x^2 as twice an integer, which means x2x^2 is even by definition.

Direction 2 (\Leftarrow): If x2x^2 is even, then xx is even.

Proving this directly can be challenging, so we prove the logically equivalent contrapositive: If xx is odd, then x2x^2 is odd.

Assume xx is odd. Then x=2k+1x = 2k + 1 for some integer kk.

Substituting and expanding:

x2=(2k+1)2=4k2+4k+1=2(2k2+2k)+1\begin{aligned} x^2 &= (2k+1)^2 \\ &= 4k^2 + 4k + 1 \\ &= 2(2k^2 + 2k) + 1 \end{aligned}

Now 2k2+2k2k^2 + 2k is an integer, so x2x^2 has the form 2m+12m+1 (with mm integer), which is exactly the definition of an odd number. Therefore x2x^2 is odd. By contrapositive, if x2x^2 is even, then xx must be even.

Conclusion: Both directions proven, so xx is even     \iff x2x^2 is even. \blacksquare

Note: This result is fundamental in many irrationality proofs (e.g., 2\sqrt{2} is irrational). If pp is an odd prime and px2p|x^2, then pxp|x.


Takeaways

  • Reconstruct the full proof from the hint and the solution outline, and justify every transformation explicitly.
  • Check edge cases and verify where each assumption is used in the argument.
  • Recognise that this evenness equivalence is the backbone of the classic proof that 2\sqrt{2} is irrational—a key Extension 1 idea.

Further Readings

If you found this proof interesting, be sure to check out these relevant HSC booklets to sharpen your reasoning skills: HSC Proofs, HSC Polys Ext 1, HSC Last Resorts

Written by Vu Hung Nguyen

Mathematics Educator · LinkedIn · About