Teacher Guide: Proof by Contradiction
Learn to prove a statement by assuming it is false and showing that this leads to something impossible, with classic proofs such as the irrationality of the square root of 2.
Use this lesson with your class
Free, no student accounts needed.
Share with students
Students open the lesson and practise with instant feedback.
Class quiz
10 questions on Mathematical Proofs. Students join with a name, you see everyone's score.
For Teachers
- Write the correct negation of a statement as the first line of a proof
- Explain why reaching a contradiction proves the original statement
- Reproduce the classic proofs that the square root of 2 is irrational and that there are infinitely many primes
- Apply the pigeonhole principle to counting problems
- Distinguish proof by contradiction from direct proof and proof by contrapositive
- • Introduction to Mathematical Proofs: hypothesis, conclusion, QED
- • Direct Proof, including the facts that even numbers are and that the square of an odd number is odd
- • Negation and the contrapositive of an if-then statement
- • Rational numbers as fractions and simplifying fractions to lowest terms
- • Prime numbers and prime factors
- 1. How is proof by contradiction similar to a detective ruling out a suspect?
- 2. Why does the proof that root 2 is irrational need the words "in lowest terms"?
- 3. Euclid's number is not prime. Does that break the proof?
- 4. Can you think of a statement that would be very hard to prove directly but easy by contradiction?
The negation of "all" is "none"
Remediation: Use a class example: "All students in this room wear glasses" is false as soon as ONE student does not. So its negation is "at least one student does not wear glasses".
In Euclid's proof, the number is always prime
Remediation: Compute . The proof only needs a prime factor outside the list, not a new prime equal to .
Proof by contradiction is just a direct proof with extra words
Remediation: Show a proof where the assumption is essential, like root 2: without assuming exists, there is nothing to calculate with.
For Struggling Students:
- • Start with the no largest even number and birth month proofs, which use only counting
- • Practise writing negations before writing any proof
- • Give the root 2 proof as a scaffold with blanks for each step
For On-Level Students:
- • Prove that there is no smallest positive rational number on their own
- • Rewrite Euclid's proof with the primes 2, 3 and 5 and check the numbers
- • Solve pigeonhole problems with socks, birthdays and codes
For Advanced Students:
- • Prove that the square root of 3 is irrational and explain why the same method fails for the square root of 4
- • Prove that the sum of a rational and an irrational number is irrational
- • Compare a contrapositive proof and a contradiction proof of the same statement
- MP3 (CCSS.MATH.PRACTICE.MP3)
Construct viable arguments and critique the reasoning of others
- HSN-RN.B.3 (CCSS.MATH.CONTENT.HSN.RN.B.3)
Explain why the sum or product of two rational numbers is rational, and that the sum of a rational number and an irrational number is irrational
- 8.NS.A.1 (CCSS.MATH.CONTENT.8.NS.A.1)
Know that numbers that are not rational are called irrational
- visualTruth Table: P AND NOT P
Students check that P AND NOT P is false in every row, the logical core of every contradiction
- activityNegation Relay
Teams take turns writing the negation of statements with every, some, none, greater than and infinitely many
- worksheetClassic Proofs Scaffold
Fill-in-the-blank versions of the root 2, infinitely many primes and pigeonhole proofs
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Definition
- 1.Assume the negation: the first line is "Assume, for contradiction, that ."
- 2.Reason with definitions and known facts, exactly as in a direct proof.
- 3.Reach a contradiction: a statement and its opposite both hold (for example " is in lowest terms" and " and are both even"), or a known fact is broken (like ).
- 4.Conclude: the assumption was false, so is true.
- " is irrational" becomes " is rational"
- "There are infinitely many primes" becomes "There are only finitely many primes"
- "There is no largest even number" becomes "There is a largest even number"
- "" becomes ""
- "Every ... has the property" becomes "At least one ... does not have the property"
Worked Examples
Prove that there is no largest even number.
Write the negation as the first line
Assume, for contradiction, that there is a largest even number → Assumption: is even and every even number
Use the definition of even
for some integer , so → is even
Compare the two numbers
→ An even number larger than exists
Spot the contradiction and conclude
is the largest even number, yet is a larger even number → The assumption is false
Answer: The assumption leads to a contradiction, so there is no largest even number. QED
Common Mistakes
Negating "There are infinitely many primes" as "There are no primes"
Why it's wrong: The opposite of "infinitely many" is not "none". The negation must cover every case where the statement fails, and that is "only finitely many".
Correct: Assume "There are only finitely many primes". In the same way, the negation of "every prime is odd" is "at least one prime is not odd", not "every prime is even".
Negating as
Why it's wrong: The case is forgotten. If the proof only rules out , the number is still possible.
Correct: The negation of is , and the negation of is .
Forgetting "in lowest terms" in the proof that is irrational
Why it's wrong: Without that condition, finding that and are both even is no contradiction at all: has an even numerator and denominator.
Correct: Write in lowest terms. Every fraction can be reduced, so this costs nothing, and it is exactly the fact the proof later breaks.
Calling a surprising result a contradiction
Why it's wrong: A result that looks strange (a very large number, a fraction you did not expect) is not impossible. A contradiction must clash with the assumption or with a known fact.
Correct: Name the two statements that clash, for example " is the smallest" and "", and then write the conclusion.
Why It Matters
- Irrational numbers: the Greeks proved that is not a fraction about 2,500 years ago, which changed how people thought about numbers
- Prime numbers: Euclid's proof that the primes never run out is still used in every number theory course
- Computer science: the pigeonhole principle explains why two files can get the same short fingerprint (a hash collision) and why perfect compression of every file is impossible
- Puzzles: solving a Sudoku often means saying "if this cell were 5, two 5s would end up in the same row, so it is not 5"
- Everyday reasoning: detectives and doctors rule out possibilities by showing that they lead to something impossible
Real World Applications
Matching Socks in the Dark
The pigeonhole principle, proved by contradiction, tells you the smallest number of items that guarantees a repeat.
Example:
A drawer holds black, white and grey socks. If you could take 4 socks that were all different colors, you would need 4 colors, but there are only 3. So 4 socks always contain a matching pair.
A drawer holds loose socks in 5 different colors, and it is too dark to see them.
How many socks must you take to be sure that two have the same color?
Step 1: Write the mathematical expression
Number of colors plus one:
Hash Collisions in Computer Science
Computers give files short codes called hashes. Because there are more possible files than codes, two different files must sometimes share a code.
Example:
A system gives every file a code from 00 to 99. Among 101 files, assuming all codes are different would need 101 codes, but there are only 100, so two files share a code.
A system gives every file a 3-digit code from 000 to 999.
How many files guarantee that two of them have the same code?
Step 1: Write the mathematical expression
Number of codes plus one:
Why Calculators Never Show the Exact Square Root of 2
Because $\sqrt{2}$ is irrational, its decimal expansion never ends and never repeats. Any decimal on a screen is only an approximation, which engineers must keep in mind when they compute diagonals.
Example:
A square tile with side 1 m has a diagonal of m. The value 1.4142 is close, but not exact.
A calculator shows .
Check that 1.4142 is not exactly the square root of 2.
Step 1: Write the mathematical expression
Square the decimal:
Key Takeaways
- 1A proof by contradiction assumes the statement is false and shows that this leads to something impossible
- 2The first line is the correct negation: "infinitely many" becomes "only finitely many", becomes , "every" becomes "at least one ... not"
- 3A contradiction means two statements that cannot both be true, such as , which is false in every row of a truth table
- 4Classic results proved this way: is irrational, there are infinitely many primes, there is no largest even number and no smallest positive rational number
- 5The pigeonhole principle: if more than objects go into boxes, some box holds at least two objects
- 6Proof by contrapositive proves "if not q, then not p" directly, while proof by contradiction assumes the whole statement is false and looks for any impossibility
Frequently Asked Questions
Why is it enough to reach a contradiction?
When should I use proof by contradiction?
Is a proof by contradiction the same as a proof by contrapositive?
What does QED mean, and what is "reductio ad absurdum"?
Glossary
- Proof by contradiction
- A proof that assumes the statement is false and derives an impossibility, so the statement must be true (also called indirect proof)
- Contradiction
- A pair of statements that cannot both be true, such as and ; the statement is always false
- Negation
- The opposite of a statement, written ; it is true exactly when is false
- Irrational number
- A real number that cannot be written as a fraction of integers, for example
- Pigeonhole principle
- If more than objects are placed into boxes, at least one box contains two or more objects
Formula Card
Proof by contradiction
If assuming not P leads to a contradiction, then P is true
A contradiction is always false
A statement and its negation can never both be true
Pigeonhole principle
At least one box receives two or more objects