Proofs · Chapter 4

Counterexample Hunter

One case that meets a claim’s condition and breaks its conclusion sinks it. Try a claim on 0, 1, −1, 1/2 and a wide range, and see the first counterexample.

Home › Calculators › Proofs › Counterexample Hunter

Opens on Chapter 4’s example: the driver’s claim “squaring a number always makes it bigger”, tried on fractions from −3 to 3.

Does a bigger percent save more? (optional)
The average of averages (optional)
Enter your own case, then press Work it out.

How it works

Type the claim with one or two letters, and a condition if it has one (“if a² = b², then a = b” is claim a = b with condition a² = b²). The tool tries the usual suspects first, then every value in the range, and reports a counterexample exactly. A counterexample is a proof that the claim is false; finding none is only a test.

From the book, Chapter 4. x = 1/2 gives x² = 1/4, smaller than x; in the range, x² > x fails for every value tried from 0 to 1. “a² = b², so a = b” fails 200 times for a and b from −100 to 100. Of the 78,498 primes below 1,000,000 only 2 is even. 30% off $20 saves $6; 20% off $50 saves $10. Averages of 90 and 70 average 80, but the class of 40 averages 75. The numbers equal to the sum of their smaller divisors, below 10,000: 6, 28, 496 and 8,128. The book and every chapter’s tool →

Tests and proofs. When a tool tries cases, it tells you how many: a test of a million cases is still evidence, not a proof, because it says nothing about the cases it didn’t try. When an answer is proved (a count, a check digit, a complete list of every case, an algebra step that holds for every value), the page says so and why. Numbers can be typed as 1,200, −7, 3/4 or 0.05; formulas as 2^n − 1, n(n + 1)/2, n², C(n, 4) (choices of 4 from n), n! or sum(2k − 1) (the terms for k = 1 to n). Everything stays in your browser: no sign-up, nothing stored or sent.