Proof by Exhaustion and Counter-example
Build a proof as a chain of logical steps, prove a statement by checking every case, and disprove a claim with one counter-example.
In the exam for Edexcel International AS Maths · 15 real past-paper questions below
Checking is not proving
Put into . You get 41, 43, 47, 53, … All prime. Keep going up to . Still prime every time. Is it always prime?
No. At you get . Forty good examples, and the claim is still false.
Key idea
The mathematician Leonhard Euler wrote about this expression in 1772. It gives primes for to , then breaks.
Rule
Examples never prove a statement that is about infinitely many numbers. But one example that fails is enough to show it is false.
A proof is a chain of reasoning that works for every case at once. It has three parts.
Steps
- 1
Start from what you are given: “Let be an odd integer…”
Reason one step at a time. Each line follows from the line before.
Conclude: say clearly that the statement is true.
Key idea
Checking a few numbers tests a claim. A proof covers every case. A counter-example kills a claim.
Disproof by counter-example
A counter-example is one case where the statement is false. To use it, you must do two things: show the calculation, and say why it breaks the claim.
Worked example
- 1
Show that this statement is false: “If is prime, then is prime.”
- 2
— Prime. This value does not help, so try another.
- 3
— Next prime. Is 9 prime?
- 4
— So 9 is not prime.
- 5
— This is a counter-example, so the statement is false.
Statements about real numbers break the same way. Look for negatives, fractions or zero.
Worked example
- 1
Show that “if then ” is not true for all real numbers.
- 2
— Try a negative . Here .
- 3
— Square both.
- 4
— So but . The statement is false.
Common mistake
Writing only “, so false”. Mark schemes have refused the last mark for this. Add the reason: “9 = 3 × 3, which is not prime”.
Common mistake
Using 1 as a prime. 1 is not prime, so it cannot be a counter-example in a statement about primes.
Common mistake
Breaking “irrational × irrational is always irrational”? Give the answer as a rational number: . Stopping at can lose the mark.
Key idea
One clear case, the calculation, and the words “which is not prime, so the statement is false”.
Proof by exhaustion
Sometimes there are only a few possible cases. Then you can prove a statement by checking every one. This is proof by exhaustion: you exhaust (use up) all the cases.
Worked example
- 1
, and are positive integers. and . Prove by exhaustion that is always even.
- 2
— Write in terms of .
- 3
— must be positive. So or : four cases only.
- 4
— Case 1.
- 5
— Case 2.
- 6
— Case 3.
- 7
— Case 4.
- 8
— These are all the cases, so is always even.
A table is a tidy way to set this out. Marks come for one correct case, then two, then all cases with a conclusion.
Common mistake
Missing a case, or keeping one that is not allowed, like which makes . Cross out any row that breaks the conditions.
Common mistake
Stopping at the numbers. Say what they show: “all are even, so is always even”.
Key idea
Exhaustion = list every allowed case, check each one, then say “these are all the cases, so the statement is true”.
Integers in algebra
You cannot check every whole number. Instead, use a letter that stands for any integer. Then one line of algebra covers them all.
Formula
— any integer. An even number is 2 times something; an odd number is one more.
— any integer. The next integer is one more.
Two consecutive odd numbers: and .
Not a multiple of 3? It leaves remainder 1 or 2, so it is or .
Memory trick
Start with Let, end with So. “Let , where is an integer … So the statement is true.”
Worked example
- 1
Prove that the difference between the squares of two consecutive odd numbers is a multiple of 8.
- 2
— Where is an integer. Say what is.
- 3
— Write the difference.
- 4
— Expand both brackets.
- 5
— Collect terms. Take out the factor 8.
- 6
— So is a multiple of 8. The statement is true.
Common mistake
Using for the integer and again for the odd number, as in . Use a new letter, like . Mark schemes can withhold the final mark.
Common mistake
Writing an odd number as . That misses 3, 7, 11, … Use so every odd number is included.
Key idea
Write the number with a new letter, expand, take out the factor, and say what it shows.
Exhaustion with algebra
Every integer is even or odd. So “prove for all integers” can be split into two cases: and . Prove both and you have covered every integer.
Worked example
- 1
Use algebra to prove by exhaustion that is even for every integer .
- 2
— Case 1: even, an integer.
- 3
— Take out 2. This is even.
- 4
— Case 2: odd.
- 5
— Expand and collect.
- 6
— Take out 2. This is even.
- 7
— So is even for all integers .
Remainders work the same way. If is not a multiple of 3, there are two cases: and .
Worked example
- 1
Prove that if is an integer that is not a multiple of 3, then is a multiple of 3.
- 2
— Case 1.
- 3
— A multiple of 3.
- 4
— Case 2.
- 5
— A multiple of 3.
- 6
— So is a multiple of 3 when is not a multiple of 3.
A typical 4-mark question: method marks (M) for setting up each case, accuracy marks (A) for correct algebra. The last A1 needs both cases right plus the conclusion.
Common mistake
Trying when the question says “use algebra”. That scores no marks.
Common mistake
Choosing and . They are the same case (remainder 2). Use and , or and .
Key idea
Split into cases that cover every integer, prove each one, then finish with one sentence that says the statement is true.
Proving an inequality
Some proofs show one expression is always bigger than another. The key fact: a square is never negative.
Rule
Worked example
- 1
Prove that for all , .
- 2
— A square is never negative. True for all .
- 3
— Expand.
- 4
— Add to both sides.
- 5
— Divide by . Since , the sign stays the same. So the statement is true.
How do you find ? Work backwards on rough paper: multiply by , move everything to one side, and factorise. Then write the proof forwards.
The condition matters. Without it, a counter-example breaks the claim.
Worked example
- 1
Show that is not true for all non-zero .
- 2
— Try a negative value.
- 3
— So the statement is not true for all non-zero .
Common mistake
Ending at with no reason. Write “because a square is never negative”, then go back to the original statement.
Key idea
Reach a square, say why it is never negative, and link back to what you had to prove.
Which method? Read the question
The wording tells you which kind of proof to write.
| You see | You do |
| “Show that … is false” / “by counter-example” | One case: calculation, reason, “so the statement is false” |
| A few allowed values (positive integers with conditions) | List every case, check each, say these are all the cases |
| “For all integers ”, odd or even | Cases and ; take out 2 |
| “Not a multiple of 3” | Cases and ; take out 3 |
| “Use algebra” | No trying values; letters and expansions only |
| “Prove that … ≥ …” | Reach a square ≥ 0 and give the reason |
Common mistake
Leaving out the final sentence. In every type above, the last mark needs a conclusion such as “so the statement is true for all ”.
Key idea
Counter-example to break a claim. Every case to prove it. Always end with a sentence that answers the question.
Practise proof by exhaustion and counter-example now
Interactive visual aids, then real past-paper questions marked on your working like the exam. Free to start.
Practise free on LemmaraReal past-paper questions on proof by exhaustion and counter-example
Each with a full worked solution.
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.