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

Proof by contradiction

#contradiction#irrationality#sqrt2

Statement

Prove by contradiction that 2\sqrt2 is irrational.

Hint

Suppose 2=p/q\sqrt2=p/q with gcd⁡(p,q)=1\gcd(p,q)=1. Derive that both pp and qq are even.

Show solutionHide solution

Solution

Assume. 2=p/q\sqrt2=p/q, p,qp,q coprime positive integers.

Square. 2q2=p22q^2=p^2, so p2p^2 is even, hence pp is even: p=2kp=2k.

Substitute. 2q2=4k22q^2=4k^2, so q2=2k2q^2=2k^2, hence qq is even.

Contradiction. p,qp,q both even contradicts gcd⁡(p,q)=1\gcd(p,q)=1.

Conclusion. 2\sqrt2 is irrational.