Disproof by Counterexample and What It Takes
What makes a counterexample valid, which statements one example can refute, and how to hunt for the case that breaks a claim.
Key takeaways
- One valid counterexample disproves a universal statement, whatever the number of cases where the statement holds.
- For "if P then Q", a counterexample is a case where P is true and Q is false.
- A complete disproof names the example and shows the verification, so a reader can check both parts.
- Existence claims cannot be refuted by one example: you must prove that every candidate fails.
A counterexample is a single case that shows a general statement is false. If a claim says every object of some kind has a property, then one object of that kind without the property finishes the matter. No amount of supporting evidence can undo it.
The catch is in the details. A counterexample has to satisfy every condition of the statement and then clearly fail the conclusion. Miss either part and you have refuted nothing.
Why one case is enough
A universal statement has the form "for all x in some set, P(x)". Its negation is "there exists an x in the set for which P(x) is false". Those are exact opposites, so exhibiting such an x proves the negation outright.
This creates a striking imbalance. Confirming a statement for a million values of x does not prove it, while failing once destroys it. The reasons that large-scale checking falls short are set out in why checking a million cases is not a proof.
Mathematics does not allow "exceptions that prove the rule". A theorem about all primes that fails for one prime is a false theorem. It may become true after you change it, but the original wording is gone.
The two-part test
Most claims are conditionals: if P, then Q. To refute one, you need an object where P holds and Q does not.
Take the claim "if a² > b², then a > b" for real numbers a and b. Try a = −3 and b = 1.
Hypothesis: a² = 9 and b² = 1, so a² > b² is true.
Conclusion: a > b means −3 > 1, which is false.
Therefore the claim is false. Compare two attempts that fail. The pair a = 3, b = 1 satisfies both parts, so it merely agrees with the claim. The pair a = 1, b = 3 has a false hypothesis, so the claim says nothing about it.
Many students offer the second kind and believe they have found something. A conditional with a false hypothesis is not violated. The logic behind this is explained in negating a mathematical statement.
Famous claims that fell
The polynomial n² + n + 41 gives a prime for n = 0, 1, 2 and so on up to 39. A person testing by hand might grow very confident that it always does. At n = 40 it gives 1681, which is 41². The pattern was never real, only long.
Fermat suggested that every number of the form 2^(2ⁿ) + 1 is prime. The first five, 3, 5, 17, 257 and 65,537, are prime. Euler showed that the next one, 4,294,967,297, equals 641 × 6,700,417.
Euler himself conjectured that at least n nth powers of positive integers are needed to add up to another nth power, for n greater than 2. In 1966 Lander and Parkin found, with a computer search,
27⁵ + 84⁵ + 110⁵ + 133⁵ = 144⁵ Four fifth powers suffice, so the conjecture is false. Their example can be checked with ordinary arithmetic, even though finding it by hand would have been hopeless. More cases of this kind appear in famous sequences that break their own rule.
Verification is part of the proof
Saying "n = 11 disproves the claim that 2ⁿ − 1 is prime whenever n is prime" is not quite finished. You should show that 11 is prime and that 2¹¹ − 1 = 2047 = 23 × 89 is not. The factorization turns an assertion into a proof.
Choose the simplest example you can defend. If a claim fails at 4 and also at 982, present 4. A small case is easier to check and often shows why the claim breaks.
Beware of rounded numbers. A calculator may suggest that two expressions differ in the twelfth decimal place, or agree when they do not. A counterexample resting on numerical output needs an exact argument or a bound on the error. Integers, fractions and exact roots are safer.
Also check that your example exists. "Take the largest real number below 1" sounds usable, but there is no such number, since the average of any candidate and 1 is larger and still below 1.
How to hunt for one
There is no automatic method for every claim, but these habits find a great many counterexamples.
- Try extremes. Test 0, 1, −1, 2, the empty set, a single point. The claim "every prime is odd" fails at 2.
- Leave the comfortable zone. If your instinct supplies positive integers, try negatives and fractions. The claim x² ≥ x fails at x = 1/2.
- Break symmetry or cancel it. The claim that a sum of two irrational numbers is irrational fails for √2 + (−√2) = 0. The same claim for products fails for √2 × √2 = 2.
- Attack each hypothesis. Ask what the conclusion relies on, then find an object that satisfies the stated conditions but lacks that hidden property.
- Try to prove it. The step that resists tells you what a counterexample must look like.
The function f(x) = |x| shows the fourth habit. Continuity at 0 does not give differentiability there, because the slope is −1 on one side and 1 on the other. For a longer list of search tactics, see how to hunt for a counterexample.
What one example cannot do
An existence statement, "there is an x with P(x)", is not refuted by showing one x that fails. Its negation is universal: every x fails. To disprove "some perfect square leaves remainder 3 when divided by 4", you must handle all squares. Even numbers give (2k)² = 4k², remainder 0. Odd numbers give (2k + 1)² = 4(k² + k) + 1, remainder 1. So no square leaves remainder 3.
Statements with two quantifiers need extra care. "For every real x there is a real y with y² = x" is false: choose x = −1, then argue that no y works, because squares of reals are never negative. The counterexample picks the outer variable, and a general argument handles the inner one.
An example also cannot establish a universal claim. Showing that 3² + 4² = 5² does not prove anything about all right triangles.
Repairing a broken statement
A counterexample is often the start of a better theorem. When a claim fails, ask which cases cause the trouble and what condition excludes them.
| False claim | Counterexample | Repaired version |
|---|---|---|
| a² > b² implies a > b | a = −3, b = 1 | true when a and b are nonnegative |
| ac = bc implies a = b | a = 1, b = 2, c = 0 | true when c ≠ 0 |
| all primes are odd | 2 | all primes greater than 2 are odd |
Aim for the weakest extra condition that works, then prove the new statement properly. Removing the counterexample you found does not mean no others remain. Excluding only n = 40 from the prime-producing polynomial would not help, because n = 41 fails as well.
A worked hunt
Here is a claim to test: "If the product ab is divisible by 6, then a is divisible by 6 or b is divisible by 6", for positive integers a and b.
Random pairs such as a = 6, b = 5 or a = 12, b = 7 agree with it, because they already contain a multiple of 6. So think about why the conclusion might fail while the hypothesis holds. The product needs a factor of 2 and a factor of 3. Nothing says they must come from the same number. Choose a = 2 and b = 3. The product is 6, and neither number is divisible by 6. The claim is false.
Now replace 6 by 5. The same trick stalls, since 5 cannot be split into smaller factors. In fact the statement is true for every prime. The failed hunt has located the property that matters.
This is a good routine for any claim that resists you. Ask what an example would need to look like, build it from those requirements, and when the construction is blocked, examine the obstacle. It may be the key step of a proof.
Counterexamples to claims about all functions
Claims about functions, sequences or shapes need counterexamples that are whole objects. "If a sequence's terms get closer together, step by step, then the sequence converges" is false. The partial sums 1, 1 + 1/2, 1 + 1/2 + 1/3 and so on have steps shrinking to zero, yet they grow without bound. The verification here takes a real argument, because "grows without bound" cannot be seen from any finite list of terms.
That is fine. A counterexample can be simple to name and demanding to verify. What matters is that you supply the proof or cite a theorem that does.
Writing the disproof
A good disproof is short. State that the claim is false, name the example, verify the hypotheses and show that the conclusion fails. For instance: "The claim is false. Let n = 40, a nonnegative integer. Then n² + n + 41 = 1681 = 41 × 41, which is not prime."
If you cannot find a counterexample, that is information but not proof. Many open problems are statements for which nobody has found a failure or an argument. In that position, say what you checked and keep both possibilities alive, switching between attempts to write a proof and attempts to break the claim.