On this page
Most proofs walk forward from what you know to what you want. Proof by contradiction lets the claim be false for a moment and shows that this leads somewhere impossible. Below are three classic examples, then the write-up mistakes that cost marks.
What is proof by contradiction?
Proof by contradiction establishes a claim by showing that assuming its opposite leads to absurdity or contradiction (reductio ad absurdum, Wikipedia). Aristotle, in his Prior Analytics, called it demonstration to the impossible (same article).
Richard Hammack's open textbook Book of Proof gives the outline in chapter 6: suppose the statement P is false, then deduce some statement C together with its negation, not-C. Since “C and not-C” can never be true, P must be. Hammack notes that any clearly false statement, such as 2 ≠ 2, will do.
Proof by contradiction examples, worked step by step
Example 1: why is √2 irrational?
Adapted from chapter 6 of Book of Proof:
Suppose, for the sake of contradiction, that √2 is rational. Then √2 = a/b for integers a and b, and we take the fraction in lowest terms, so a and b are not both even.
Squaring gives a² = 2b², so a² is even.
If a² is even, then a is even, because the square of an odd number is odd. So a = 2c for some integer c.
Substituting, 4c² = 2b², so b² = 2c², and by the same reasoning b is even.
Now a and b are both even, which contradicts step 1. So √2 is irrational.
The square root of 2 was probably the first number known to be irrational, a discovery credited to the Pythagoreans (Square root of 2, Wikipedia).
Example 2: is there a largest prime?
Euclid's Elements, Book IX, Proposition 20, says there are more primes than any given finite collection of them (Euclid IX.20, ed. D. E. Joyce). Written as a contradiction:
Suppose there are only finitely many primes, p₁, p₂, …, pₙ.
Let N = p₁p₂…pₙ + 1. Since N > 1, it has a prime divisor q.
Every prime is on the list, so q divides the product p₁p₂…pₙ. It also divides N, so it divides their difference, 1. No prime divides 1.
The proof does not claim that N is prime: 2 × 3 × 5 × 7 × 11 × 13 + 1 = 30031 = 59 × 509. Euclid himself argues forward, building a prime missing from any given list; his only “which is absurd” step shows the new prime is not on the list. For how primes are spread out, see our explainer on Bertrand's postulate and the prime between n and 2n.
Example 3: is log₂ 3 irrational?
Hammack sets this as a chapter 6 exercise in Book of Proof. One solution:
Suppose log₂ 3 = p/q for integers p and q. Since 3 > 1, log₂ 3 is positive, so we may take p and q positive.
Then 2^(p/q) = 3, and raising both sides to the power q gives 2^p = 3^q.
The left side is even because p ≥ 1. The right side is a product of odd numbers, so it is odd. An even number cannot equal an odd one.
The same “suppose it is a fraction” opening drives Fourier's proof that e is irrational.
How is proof by contradiction different from proof by contrapositive?
Both handle statements “if P, then Q”, with different targets.
Contrapositive: you prove “if not Q, then not P”, which is logically equivalent to “if P, then Q” (Book of Proof, chapter 5). The target is fixed: you must reach not-P.
Contradiction: you assume P and not-Q together and look for any impossibility at all. The target is open.
Hammack advises using contradiction only when direct and contrapositive proofs do not seem to work, because a proof by contradiction can hide a simpler contrapositive proof. A quick test: if the “contradiction” you reach is simply not-P, drop the wrapper and present a contrapositive proof.
What mistakes do students make when writing a proof by contradiction?
Not stating the assumption. Write the exact negation: the opposite of “every x has property A” is “some x lacks it”, not “no x has it”.
Dropping a condition you need later. Without “lowest terms”, the √2 proof ends with both numbers even and no contradiction.
Claiming more than you showed. “N is prime” is false, as 30031 shows; say “N has a prime factor not on the list”.
Using an unproved step. “If a² is even, then a is even” needs its own justification.
Not naming the contradiction. End with “this contradicts step 1” so the reader sees which two statements clash.
If a step in your own write-up feels shaky, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer. To revisit rational numbers, primes or logarithms first, the Fermi Concept Library covers every concept in mathematics, each with its own lesson and its place in the map.



