Disproof by Counterexample

One failing case ends a claim about every case.

A claim with no exceptions

The claim: n² + n + 41 is prime for every whole number n. “For every” makes it a universal statement. It claims something of each whole number, with no exceptions anywhere.

Its negation is “there is a whole number n for which n² + n + 41 is not prime”. That is an existence claim, and an existence claim is settled by producing one such n.

Cases that fit prove nothing

Try the first few values. n = 0 gives 41, n = 1 gives 43, n = 2 gives 47, n = 3 gives 53, n = 4 gives 61 and n = 5 gives 71, all prime. In fact every value from n = 0 to n = 39 is prime, forty in a row, ending with 39² + 39 + 41 = 1601.

Forty cases that fit are evidence, not a proof. The claim is about every whole number, infinitely many cases, and forty checked cases leave infinitely many unchecked.

n² + n + 41prime?n = 041yesn = 143yesn = 247yesn = 353yesn = 391601yesn = 401681non = 411763no

Some of the values. Every n from 0 to 39 gives a prime, and the table shows five of them. At n = 40 the value is 41 × 41, and at n = 41 it is 41 × 43.

One case that fails

Look for an n that gives every term a common factor. At n = 41 each of the three terms is a multiple of 41: 41² + 41 + 41 = 41(41 + 1 + 1) = 41 × 43. A number with the factors 41 and 43 is not prime, so n = 41 is a counterexample.

Check it in numbers: 41² = 1681, and 1681 + 41 + 41 = 1763. Also 41 × 43 = 1763.

The first failure is one step earlier. At n = 40, n² + n = 40 × 41, so n² + n + 41 = 40 × 41 + 41 = 41 × 41 = 1681, which is not prime either.

One is enough

One counterexample disproves the claim completely. The claim said every n gives a prime; n = 41 does not; so the claim is false. Nothing more is needed: no second counterexample, and no explanation of why the first forty values happened to be prime.

The two directions are not balanced. A claim about every case is proved only by an argument that covers every case, and it is disproved by a single case. Examples can do the disproving, never the proving.

What counts as a counterexample

A counterexample has to be a case the claim is about, and the claim has to fail there.

For “every prime is odd”, the counterexample is 2, which is prime and even. 9 and 15 are odd and not prime, so the claim says nothing about them.

For “n² > n for every whole number n”, n = 1 is a counterexample: 1² = 1, which is not greater than 1. So is n = 0, since 0² = 0. At n = 2 and n = 3 the squares are 4 and 9, which are larger, so those cases fit.

For “every number that ends in 1 is prime”, 21 is a counterexample, since 21 = 3 × 7. 11 and 31 are prime, so they agree with the claim.

For a conditional, “if a² = b², then a = b”, a counterexample must make the if-part true and the conclusion false. a = 3 and b = −3 have the same square, 9, and are not equal. a = 2 and b = 4 do not count: their squares, 4 and 16, differ, so the claim makes no promise about them.

Uprimeodd7294

Whole numbers above 1, with a circle for the primes and one for the odd numbers, and a sample in each region. “Every prime is odd” says that the shaded region, prime and not odd, is empty. A counterexample is a number in that region, and 2 is one. 7 fits the claim; 9 and 4 are not prime, so the claim is not about them.

The usual mistakes

Treating many fitting cases as a proof. Forty primes in a row did not make the claim true.

Offering a case outside the claim. A counterexample to “every prime is odd” must be a prime.

Offering a case that fits. 31 ends in 1 and is prime, so it agrees with the claim instead of breaking it.

Looking for more than one. A single failing case settles the claim.

A salesperson’s claim about percentages

In the application below, a salesperson claims that an agent who resolves a higher percentage of easy calls and a higher percentage of hard calls than a colleague always resolves a higher percentage of all calls. Last week’s figures for two agents are a counterexample, and a second part finds how far one count can change with the counterexample still standing.

Worked example: Two Call-Center Agents' Resolution Rates, and a Software Salesperson's Claim

Question A salesperson for call-center software says its dashboard compares agents only within each type of call, because "an agent who resolves a higher percentage of easy calls and a higher percentage of hard calls than a colleague always resolves a higher percentage of all calls". Last week Ava resolved 18 of her 20 easy calls and 30 of her 80 hard calls. Ben resolved 68 of his 80 easy calls and 7 of his 20 hard calls. (a) Show that these figures are a counterexample to the salesperson's claim. (b) Keep every number the same except the number of easy calls Ben resolved. What is the smallest number of easy calls Ben could have resolved for Ava still to have the higher percentage on each type of call and Ben still to have the higher percentage of all calls?

  1. 1.A counterexample needs an agent who is ahead on easy calls and on hard calls but behind on all calls together. Work out each percentage from the counts.

    Ava easy18Ava hard30Ben easy68Ben hard7
    Ava easy18Ava hard30Ben easy68Ben hard7
    The bars show calls resolved out of calls taken. One pair of agents that breaks the claim disproves it.
  2. 2.Ava resolved 1820 = 90% of her easy calls and 3080 = 37.5% of her hard calls. Ben resolved 6880 = 85% and 720 = 35%. So Ava is ahead on both types of call.

    Ava easy1890%Ava hard3037.5%Ben easy6885%Ben hard735%
    Ava easy1890%Ava hard3037.5%Ben easy6885%Ben hard735%
    Ava is ahead on easy calls, 90% to 85%, and on hard calls, 37.5% to 35%.
  3. 3.Over all calls, Ava resolved 18 + 30 = 48 of 100, which is 48%, and Ben resolved 68 + 7 = 75 of 100, which is 75%. (a) Ava is ahead on each type and behind overall, so the figures are a counterexample and the claim is false. It happens because most of Ava's calls were hard and most of Ben's were easy.

    Ava easy1890%Ava hard3037.5%Ben easy6885%Ben hard735%Ava all4848%Ben all7575%
    Ava easy1890%Ava hard3037.5%Ben easy6885%Ben hard735%Ava all4848%Ben all7575%
    (a) Over all calls Ava resolves 48% and Ben 75%: the claim is false.
  4. 4.Let Ben resolve x of his 80 easy calls. Ava is still ahead on easy calls when x80 < 90%, that is x < 72; the hard calls are unchanged, 37.5% against 35%. Ben is still ahead overall when x + 7 > 48, that is x > 41.

    Ava easy1890%Ava hard3037.5%Ben easy6885%Ben hard735%Ava all4848%Ben all7575%Ben resolves x easy calls: x < 72 keeps Ava ahead on easy calls,and x + 7 > 48 keeps Ben ahead overall
    Ava easy1890%Ava hard3037.5%Ben easy6885%Ben hard735%Ava all4848%Ben all7575%Ben resolves x easy calls: x < 72 keeps Ava aheadon easy calls, and x + 7 > 48 keeps Ben aheadoverall
    Ava stays ahead on easy calls if x < 72, and Ben stays ahead overall if x + 7 > 48.
  5. 5.(b) Both hold when 42 ≤ x ≤ 71, so the smallest number is 42. Check: with 42, Ben's easy percentage is 4280 = 52.5%, below Ava's 90%, and he resolves 49 of 100 calls in all, above Ava's 48.

    Ava easy1890%Ava hard3037.5%Ben easy4252.5%Ben hard735%Ava all4848%Ben all4949%x = 42: 52.5% of easy calls, and 49 of 100 in all
    Ava easy1890%Ava hard3037.5%Ben easy4252.5%Ben hard735%Ava all4848%Ben all4949%x = 42: 52.5% of easy calls, and 49 of 100 in all
    (b) The smallest is x = 42: Ben then has 52.5% of easy calls and 49% of all calls.

Answer: (a) Ava: 90% of easy calls, 37.5% of hard calls, 48% overall; Ben: 85%, 35%, 75%; so the claim is false; (b) 42

Common mistakes

  • Averaging the two percentages, 90 + 37.52 = 63.75% for Ava. Each percentage has its own number of calls under it, and Ava's 37.5% covers four times as many calls as her 90%, so the overall percentage comes from the totals: 48100.
  • Answering 41 in (b). With 41 easy calls Ben resolves 48 of 100, the same as Ava, and the question asks for Ben to be ahead overall.

More proof techniques problems, worked step by step →

Practice Disproof by Counterexample in the app