M5.8.1 Chapter 1

What a proof is

How can I be sure something is true for every number, and not only for the ones I tried?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

  • Prove that odd × odd is always odd using algebra
  • Disprove a claim with one counterexample
  • Prove a result by checking every case

A calculator can test a claim on a million numbers in a second. That is still not a proof. A proof is a chain of statements. Each one follows from a definition or from an earlier statement. The last one is the claim: the thing we set out to show, true for every number it talks about.

First, why examples are not enough. Take the claim that n² + n + 41 is a prime number for every whole number n from 0 up. Here is part of a table for it.

A table of the value of n² + n + 41 for some whole numbers n. The heads are n and n² + n + 41 and prime?. The row reads 0 and 41 and yes. The row reads 1 and 43 and yes. The row reads 2 and 47 and yes. The row reads 39 and 1601 and yes. The row reads 40 and 1681 and 41 × 41.nn² + n + 41prime?041yes143yes247yes391601yes40168141 × 41
The claim holds for every n from 0 to 39. At n = 40 it fails, because 1681 = 41 × 41.

So a long list of cases that work proves nothing. One case that fails ends the argument at once. A case that breaks a claim is a counterexample. To show that a claim is false, find one counterexample and stop. To show that a claim is true for every number, you need a proof.

Worked example

A claim says that 2ⁿ − 1 is a prime number for every whole number n from 2 up. Find a counterexample.

  1. Try small values of n and test each result.
  2. n = 2 gives 2² − 1 = 3, which is prime. n = 3 gives 2³ − 1 = 7, which is prime.
  3. n = 4 gives 2⁴ − 1 = 15. And 15 = 3 × 5, so it is not prime.
  4. One failure is enough. The claim is false, and n = 4 is a counterexample.

Answer: n = 4, because 2⁴ − 1 = 15 = 3 × 5

A table of 2ⁿ − 1 for n = 2, 3 and 4. The heads are n and 2ⁿ − 1 and prime?. The row reads 2 and 3 and yes. The row reads 3 and 7 and yes. The row reads 4 and 15 and 3 × 5.n2ⁿ − 1prime?23yes37yes4153 × 5
Two cases work and the third fails. The failure is the counterexample.

Now a proof that something is true for every number. The tool is a letter, which stands for any whole number. What we show about the letter is then true for all of them. We need to write numbers of one kind with letters. An even number is a multiple of 2, so it is 2m for some whole number m. An odd number is one more than an even number, so it is 2m + 1.

Claim: the product of two odd numbers is always odd. Start with a picture. Take 5 rows of 7 dots. Both counts are odd. Cut the block into a block with even sides, a strip along each of two edges, and one dot in the corner.

A grid of 5 rows and 7 columns of dots. The solid dots form a block, the open dots form a strip along the last row and a strip along the last column, and the corner dot is ringed. The labels read 7 across, 5 down and 24 + 4 + 6 + 1 = 35.5 down7 across24 + 4 + 6 + 1 = 35
The solid block has 4 rows of 6, so its dots pair up. Each open strip pairs up too. One dot, ringed, has no partner. So the total is odd.

Algebra says the same for any two odd numbers. Use a different letter for each number, because the two numbers need not be equal. Here is the proof as numbered lines, with the reason for each line.

A proof that the product of two odd numbers is odd, in six numbered lines joined by arrows. Line 1 reads Let the odd numbers be a = 2m + 1 and b = 2n + 1. m and n are whole numbers. Line 2 reads ab = (2m + 1)(2n + 1). Line 3 reads = 4mn + 2m + 2n + 1 expand the brackets. Line 4 reads = 2(2mn + m + n) + 1 take out a factor of 2. Line 5 reads Let k = 2mn + m + n. k is a whole number.. Line 6 reads So ab = 2k + 1, which is odd the form of an odd number.1Let the odd numbers bea = 2m + 1 and b = 2n + 1.m and n are whole numbers2ab = (2m + 1)(2n + 1)3= 4mn + 2m + 2n + 1expand the brackets4= 2(2mn + m + n) + 1take out a factor of 25Let k = 2mn + m + n.k is a whole number.6So ab = 2k + 1, which is oddthe form of an odd number
Line 4 shows ab as twice a whole number, plus 1. That is the form of an odd number.

Worked example

Prove that the sum of any three consecutive whole numbers is a multiple of 3.

  1. Let the numbers be n, n + 1 and n + 2, where n is a whole number.
  2. Add them: n + (n + 1) + (n + 2) = 3n + 3.
  3. Take out a factor of 3: 3n + 3 = 3(n + 1).
  4. n + 1 is a whole number, so the sum is 3 times a whole number.
  5. So the sum is a multiple of 3, whatever n is.

Answer: The sum is 3(n + 1), a multiple of 3.

Some claims can be proved by checking every case. This works when the cases can be listed in full. Here is one. The last digit of n² depends only on the last digit of n. Write n = 10q + d, where d is the last digit. Then n² = 100q² + 20qd + d². The first two parts end in 0, so n² ends in the last digit of d². There are only ten digits d, from 0 to 9, so we can check them all.

A table of the last digit of a square, for every digit d from 0 to 9. The heads are digit d and d² and ends in. The row reads 0 and 0 and 0. The row reads 1 and 1 and 1. The row reads 2 and 4 and 4. The row reads 3 and 9 and 9. The row reads 4 and 16 and 6. The row reads 5 and 25 and 5. The row reads 6 and 36 and 6. The row reads 7 and 49 and 9. The row reads 8 and 64 and 4. The row reads 9 and 81 and 1.digit dd²ends in000111244399416652556366749986449811
All ten cases. The last digits that appear are 0, 1, 4, 5, 6, 9.

Worked example

Is 4 567 893 a square number?

  1. The table covers every digit d. The last digits of d² are 0, 1, 4, 9, 6, 5, 6, 9, 4, 1.
  2. So a square number ends in 0, 1, 4, 5, 6, 9, and never in 2, 3, 7 or 8.
  3. The number 4 567 893 ends in 3.
  4. No square number ends in that digit, so 4 567 893 is not a square.

Answer: No. It ends in 3, and no square number ends in 3.

See it three ways

With things

Lay 3 rows of 5 beans on a table. Both counts are odd. Push the last row and the last column away from the rest. Pair up the beans in the block and in each strip. One bean is left over.

As a picture

A grid of 3 rows and 5 columns of dots. The solid dots form a block, the open dots form a strip along the last row and a strip along the last column, and the corner dot is ringed. The labels read 5 across, 3 down and 8 + 2 + 4 + 1 = 15.3 down5 across8 + 2 + 4 + 1 = 15

In words

An odd number is one more than a multiple of 2. Multiply two of them. Every part of the product has a factor of 2 except the last, which is 1 × 1.

In symbols

(2m + 1)(2n + 1) = 2(2mn + m + n) + 1.

Try it

Odd times odd with beans

You need: about 40 beans, stones or seeds, a flat table.

  1. Lay out 3 rows of 7 beans.
  2. Push the last row and the last column a little way apart from the block.
  3. Pair up the beans in the block, and then in each of the two strips.
  4. Count the beans that have no partner.
  5. Repeat with 5 rows of 5 and with 3 rows of 9.

What you will see: One bean is always left over, whatever the two odd counts are. If a row count or a column count is even, the left over bean can disappear.

If you cannot try it, this is what happens.
A grid of 3 rows and 7 columns of dots. The solid dots form a block, the open dots form a strip along the last row and a strip along the last column, and the corner dot is ringed. The labels read 7 across, 3 down and 12 + 2 + 6 + 1 = 21.3 down7 across12 + 2 + 6 + 1 = 21

A wrong idea many people have

If a claim works for every number I have tried, it is proved.

Why it feels right: Each success makes the claim feel more certain, and a computer can test millions of numbers.

The test that breaks it: n² + n + 41 is prime for n = 0 up to n = 39, 40 cases in a row. Then n = 40 gives 1681 = 41 × 41.

What is true: Examples can show that a claim is false. They can never show that it is true for every number. Only a proof covers every case.

A wrong idea many people have

To prove that the sum of two odd numbers is even, I can write both numbers as 2m + 1.

Why it feels right: Both numbers are odd, so it seems they should have the same form.

The test that breaks it: With the same m, the two numbers are equal: 3 and 3, or 5 and 5. The proof says nothing about 3 and 5.

What is true: Give each number its own letter: 2m + 1 and 2n + 1. Then the proof covers every pair of odd numbers, equal or not.

Key words

claim
a statement we want to show is true, such as "odd × odd is odd".
proof
a chain of statements, each following from a definition or an earlier one, that shows a claim is true for every case.
counterexample
one case that breaks a claim. It shows the claim is false.
even
a whole number that can be written 2m.
odd
a whole number that can be written 2m + 1.

Back to your guess

The answer is B: It works for n = 0 up to n = 39, but that does not prove the claim. The next case may still fail.

Cases that work are not a proof. At n = 40 the value is 40² + 40 + 41 = 1681, which is 41 × 41, so it is not prime. A proof has to cover every case at once.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. A claim says that n² − n + 11 is prime for every whole number n from 1 up. Which value of n is a counterexample?

    Tap your answer.
    1. Not this one. n² − n + 11 = 25 − 5 + 11 = 31, which is prime. This case works, so it is not a counterexample. Read this page again. Try another.

    2. Not this one. n² − n + 11 = 49 − 7 + 11 = 53, which is prime. This case works too. Read this page again. Try another.

    3. Yes, that is right. n = 11 gives 11² − 11 + 11 = 121, and that is 11 × 11, so it is not prime. The other three values give primes.

    4. Not this one. n² − n + 11 = 81 − 9 + 11 = 83, which is prime. A counterexample must give a number that is not prime. Read this page again. Try another.

    See the answer

    n = 11

    n = 11 gives 11² − 11 + 11 = 121, and that is 11 × 11, so it is not prime. The other three values give primes.

    • If you chose A: n² − n + 11 = 25 − 5 + 11 = 31, which is prime. This case works, so it is not a counterexample. Read this page again.
    • If you chose B: n² − n + 11 = 49 − 7 + 11 = 53, which is prime. This case works too. Read this page again.
    • If you chose D: n² − n + 11 = 81 − 9 + 11 = 83, which is prime. A counterexample must give a number that is not prime. Read this page again.
  2. Two even numbers are 2m and 2n. After adding them, which form shows that the sum is even for every m and n?

    Tap your answer.
    1. Not this one. This has only one factor of 2. If n is odd, 2m + n is odd, so it does not show the sum is even. Read this page again. Try another.

    2. Yes, that is right. The sum is 2m + 2n. Take out the common factor of 2: it is 2(m + n). The bracket m + n is a whole number, so the sum is a multiple of 2, for every pair.

    3. Not this one. That is the product 2m × 2n, not the sum. The sum is 2m + 2n. Read this page again. Try another.

    4. Not this one. That has the form 2k + 1, which is odd. It is not what 2m + 2n gives. Read this page again. Try another.

    See the answer

    2(m + n)

    The sum is 2m + 2n. Take out the common factor of 2: it is 2(m + n). The bracket m + n is a whole number, so the sum is a multiple of 2, for every pair.

    • If you chose A: This has only one factor of 2. If n is odd, 2m + n is odd, so it does not show the sum is even. Read this page again.
    • If you chose C: That is the product 2m × 2n, not the sum. The sum is 2m + 2n. Read this page again.
    • If you chose D: That has the form 2k + 1, which is odd. It is not what 2m + 2n gives. Read this page again.
  3. This proof of "the sum of two odd numbers is even" has one wrong line. Which line?

    A proof that the sum of two odd numbers is even, in four numbered lines. Line 1 reads Let a = 2m + 1 and b = 2m + 1 both numbers are odd. Line 2 reads a + b = (2m + 1) + (2m + 1). Line 3 reads = 4m + 2. Line 4 reads = 2(2m + 1), which is even.1Let a = 2m + 1 and b = 2m + 1both numbers are odd2a + b = (2m + 1) + (2m + 1)3= 4m + 24= 2(2m + 1), which is even
    Tap your answer.
    1. Yes, that is right. Line 1 uses the same letter m for both numbers, so the two numbers are equal. The proof then covers only equal pairs, such as 3 and 3. The second number needs its own letter, n.

    2. Not this one. Adding the two brackets as written is correct: (2m + 1) + (2m + 1). The slip is in how they were chosen. Read this page again. Try another.

    3. Not this one. (2m + 1) + (2m + 1) = 4m + 2 is right. Look at the numbers the proof started with. Read this page again. Try another.

    4. Not this one. 4m + 2 = 2(2m + 1) is correct, and the total is even. The fault is earlier: line 1 chose the numbers badly. Read this page again. Try another.

    See the answer

    Line 1

    Line 1 uses the same letter m for both numbers, so the two numbers are equal. The proof then covers only equal pairs, such as 3 and 3. The second number needs its own letter, n.

    • If you chose B: Adding the two brackets as written is correct: (2m + 1) + (2m + 1). The slip is in how they were chosen. Read this page again.
    • If you chose C: (2m + 1) + (2m + 1) = 4m + 2 is right. Look at the numbers the proof started with. Read this page again.
    • If you chose D: 4m + 2 = 2(2m + 1) is correct, and the total is even. The fault is earlier: line 1 chose the numbers badly. Read this page again.
  4. To prove that n² leaves a remainder of 0 or 1 when divided by 4, for every whole number n, which cases are checked?

    Tap your answer.
    1. Not this one. Four numbers are only examples. The cases must cover every n, not the first few. Read this page again. Try another.

    2. Not this one. Every whole number is in one of these, but the two cases do not help with n² ÷ 4. The cases must fit the division by 4. Read this page again. Try another.

    3. Not this one. These cover every n, but they do not help with the division by 4. The cases must fit the division by 4. Read this page again. Try another.

    4. Yes, that is right. Every whole number is even or odd. If n = 2m then n² = 4m², remainder 0. If n = 2m + 1 then n² = 4m² + 4m + 1, remainder 1. Two cases cover everything.

    See the answer

    n even and n odd.

    Every whole number is even or odd. If n = 2m then n² = 4m², remainder 0. If n = 2m + 1 then n² = 4m² + 4m + 1, remainder 1. Two cases cover everything.

    • If you chose A: Four numbers are only examples. The cases must cover every n, not the first few. Read this page again.
    • If you chose B: Every whole number is in one of these, but the two cases do not help with n² ÷ 4. The cases must fit the division by 4. Read this page again.
    • If you chose C: These cover every n, but they do not help with the division by 4. The cases must fit the division by 4. Read this page again.
  5. Which value of x is a counterexample to the claim "if x² is more than 9, then x is more than 3"?

    Tap your answer.
    1. Not this one. x = 4 has x² = 16, which is more than 9, and 4 is more than 3. The claim holds here, so it is not a counterexample. Read this page again. Try another.

    2. Yes, that is right. x = −4 has x² = 16, which is more than 9, but −4 is not more than 3. Both parts of the test are met: the first part is true and the second part is false.

    3. Not this one. x = 3 has x² = 9, which is not more than 9. The first part of the claim is false, so the claim says nothing about it. Read this page again. Try another.

    4. Not this one. x = 5 has x² = 25, which is more than 9, and 5 is more than 3. The claim holds here. Read this page again. Try another.

    See the answer

    x = −4

    x = −4 has x² = 16, which is more than 9, but −4 is not more than 3. Both parts of the test are met: the first part is true and the second part is false.

    • If you chose A: x = 4 has x² = 16, which is more than 9, and 4 is more than 3. The claim holds here, so it is not a counterexample. Read this page again.
    • If you chose C: x = 3 has x² = 9, which is not more than 9. The first part of the claim is false, so the claim says nothing about it. Read this page again.
    • If you chose D: x = 5 has x² = 25, which is more than 9, and 5 is more than 3. The claim holds here. Read this page again.
  6. What is the last digit of 47²?

    See the answer

    9

    The last digit of 47² comes from 7² = 49, so it is 9. Check: 47² = 2209.

  7. In the proof that odd × odd is odd, take m = 4 and n = 6. What is k = 2mn + m + n?

    See the answer

    58

    k = 2 × 4 × 6 + 4 + 6 = 48 + 10 = 58. Check: a = 9 and b = 13, so ab = 117 = 2 × 58 + 1.

  8. What does one counterexample show?

    Tap your answer.
    1. Yes, that is right. The claim says it holds for every number. A single number where it fails is enough to show that it does not.

    2. Not this one. One failing case does not say how many others fail. It only shows that the claim is not true for every number. Read this page again. Try another.

    3. Not this one. A claim that says "for every number" is false as soon as one number fails. Nothing is saved by naming the exception. Read this page again. Try another.

    4. Not this one. An example cannot prove a claim, but a counterexample can disprove one. One failure is enough. Read this page again. Try another.

    See the answer

    The claim is false.

    The claim says it holds for every number. A single number where it fails is enough to show that it does not.

    • If you chose B: One failing case does not say how many others fail. It only shows that the claim is not true for every number. Read this page again.
    • If you chose C: A claim that says "for every number" is false as soon as one number fails. Nothing is saved by naming the exception. Read this page again.
    • If you chose D: An example cannot prove a claim, but a counterexample can disprove one. One failure is enough. Read this page again.

Keep it

Copy this into your exercise book.

Examples never prove "for every number". One counterexample proves "not for every". Even is 2m, odd is 2m + 1, one letter for each number. (2m + 1)(2n + 1) = 2(2mn + m + n) + 1, odd.

Draw: A 5 by 7 grid of dots with the last row and column open and the corner dot ringed.

Reading with a child? A short page for the adult: what this chapter teaches and three questions to ask.

No internet tomorrow? Save the whole book as one file (961 KB). It opens on any phone.