Maths WorkshopMaths problems with full solutions
Exercise 250Logic, sets and proofs › Proof techniquesHigh schoolAdded 3 Nov 2026

Direct proof

#direct proof#implication#even odd

Statement

Prove directly: if nn is an even integer, then n2n^2 is even.

Hint

Write n=2kn=2k for some integer kk, then compute n2n^2.

Show solutionHide solution

Solution

Hypothesis. nn even means n=2kn=2k for some k∈Zk\in\mathbb{Z}.

Computation. n2=(2k)2=4k2=2(2k2)n^2=(2k)^2=4k^2=2(2k^2).

Conclusion. Since 2k2∈Z2k^2\in\mathbb{Z}, n2n^2 is even.