01 / 20

Using
Counterexamples

Learn how a single counterexample can disprove a mathematical claim and sharpen your logical reasoning skills.

Math 1

What Is a Counterexample?

A counterexample is a specific case that satisfies the conditions of a claim but violates the conclusion. It proves the claim is false: you only need one.

One Exception Breaks the Rule

Claim: "All shapes are blue" RED Counterexample! Claim is FALSE ✓ ✓ ✓ ✕

Why Counterexamples Matter

Logical Precision
They help you distinguish between a claim that is always true and one that is sometimes true.
Efficiency
Disproving a false claim with one example is faster than testing every possibility.
Real-World Use
Scientists, lawyers, and programmers all use counterexamples to challenge assumptions.

The Counterexample Principle

Universal Claim: "For all \(x\), \(P(x)\) is true"
(claims something holds for EVERY element in a set)
Find one \(x_0\) where \(P(x_0)\) is FALSE
Conclusion: The original claim is FALSE

Proof vs. Counterexample

Proving True Disproving (Counterexample)
Goal Show it works for all cases Show it fails for one case
How many cases? Every possible case (general proof) Exactly one is enough
Difficulty Often harder Often easier
Result Claim is a theorem Claim is false

Confirming Example vs. Counterexample

Confirming Example
An example where the claim works. It supports the claim but does not prove it. Many confirming examples still leave doubt.
Counterexample
An example where the claim fails. It disproves the claim completely. Just one is enough.

How to Find a Counterexample

1
Read the claim carefully. Identify exactly what it says is true and for which set of values.
2
Try boundary cases first. Test \(0\), \(1\), \(-1\), negatives, fractions, and other "edge" values.
3
Check special categories. Even vs. odd, positive vs. negative, zero, small primes, etc.
4
Verify your example. Confirm it meets the claim's conditions AND violates the conclusion.
5
State your result. Clearly explain which value fails and why the claim is false.

Example 1: Squaring Makes Bigger?

-1 0 0.5 1 2
\(x = 0.5\)
\(0.5^2 = 0.25\)
\(0.25 < 0.5\) ✕
\(x = 2\): \(4 > 2\) ✓
(supports, but doesn't prove)

Example 2: Sum of Two Odds

1
Pick two odd numbers: Let's try \(3\) and \(5\).
2
Compute: \(3 + 5 = 8\).
3
Check: Is \(8\) odd? No: \(8\) is even.
4
Conclude: \(3 + 5 = 8\) is a counterexample. The claim is false.

Example 3: Absolute Value Claim

Test: \(a = 3, b = 5\)
\(|3 + 5| = |8| = 8\)
\(|3| + |5| = 3 + 5 = 8\)
\(8 = 8\) ✓ (works)
Test: \(a = 3, b = -5\)
\(|3 + (-5)| = |-2| = 2\)
\(|3| + |-5| = 3 + 5 = 8\)
\(2 \neq 8\) ✕ (fails!)
Counterexample! Claim is FALSE

Example 4: Geometry Claim

Square
4 equal sides, \(90^\circ\) angles ✓
s s s s Rhombus
4 equal sides, NOT \(90^\circ\) ✕
s s s s

What If You Can't Find One?

If you test many cases and never find a counterexample, the claim might be true, but you have not proven it. Failing to find a counterexample is not the same as proving the claim.

No counterexample found
The claim might be true. You need a proof to be certain.
Counterexample found
The claim is definitely false. No further testing is needed.

Common Mistakes

✕ Using an invalid input
Your counterexample must meet the conditions of the claim. If the claim is about positive integers, don't use \(-3\) or \(0.5\).
✕ Thinking examples prove
Finding 10 cases where the claim works does not prove it true. Only a formal proof can do that.
✕ Forgetting to verify
Always check both parts: does your example meet the conditions AND violate the conclusion?

Summary of Key Ideas

Concept Meaning Example
Universal claim "For all \(x\), \(P(x)\)" "All primes are odd"
Counterexample One \(x\) where \(P(x)\) fails \(x = 2\): prime but even
Confirming example One \(x\) where \(P(x)\) holds \(x = 3\): prime and odd
Result of counterexample Claim is false Need only one
Result of confirming Claim is not yet proven Need a proof, not examples

Question 1 of 5

Which of the following is a counterexample to the claim: "For all integers \(n\), \(n^2\) is even"?

Question 2 of 5

A student claims: "The product of two negative numbers is always negative." What is the correct response?

Question 3 of 5

Claim: "If \(a > b\), then \(a^2 > b^2\)." Which of these is a valid counterexample?

Question 4 of 5

Claim: "For all positive numbers \(x\), \(\sqrt{x^2} = x\)." Is this claim true or false?

Question 5 of 5

A student tests \(n = 1, 2, 3, 4, 5\) and finds that \(n^2 + n + 41\) is prime for all five values. The student concludes: "The formula always produces primes." What is wrong with this reasoning?