Chapter 2Mathematical Reasoning

Counterexamples

One counterexample kills a universal claim

Concept

A counterexample is a single witness that DISPROVES a universal claim.

To disprove x.P(x)\forall x. P(x), it suffices to find ONE xx with ¬P(x)\neg P(x).

The smallest / simplest counterexample is often the most useful for understanding
why the claim fails.

Worked counterexample. Claim: "Every prime is odd."
- Counterexample: 22 is prime AND 22 is even.
- Therefore the claim is false.

The lesson: a single counterexample wins over a thousand failed attempts to
prove.

Animation — counterexample
Transcript — click a line to jump6 cues
  1. 0.0sCounterexamples refute universal claims
  2. 1.3sDomain D shows five cyan dots: 1, 2, 3, 4, 5
  3. 3.9sA green ring labelled P encloses them all
  4. 5.9sA red dot 6 slides in from outside the ring
  5. 7.8sThe green ring flashes red and breaks
  6. 9.5sOne counterexample is enough
Practice — score 100% to advance
Multiple choice
Q1
How many counterexamples do you need to disprove a universal claim?
Q2
Disprove 'every even number is divisible by 4'.
Q3
Claim: 'every function is either injective or surjective'. Counterexample?
Q4
Why is finding a counterexample faster than disproving by induction?
Loading…