1.3 Proof by exhaustion — Practise
Work through these on your own. For every item, write the list of cases first, then check them. Say in words why the list is complete, or explain what is missing from a list that is not. The last item asks you to choose the method: say which one fits and why before you calculate.
Both the questions and the answers below come from a set that is checked by computer every time the book is built.
- Show that every whole number from to divides .
- Show that every even number from to is the sum of two prime numbers.
- Prove by exhaustion that is even for .
- Show that is prime by testing every whole number from to .
- Show that for , the value of is never a multiple of .
- Check the claim " is prime" for .
- Show that is not prime by testing the primes whose squares are at most .
- Show that is prime by testing the primes up to .
- Show that is a multiple of for .
- The claim " is prime" holds for every whole number from to . Explain why this does not prove the claim.
- Choose the method for each part before you answer, then explain your choice. (a) Prove that is even for every whole number . (b) Prove that every whole number from to divides .
Answers and concise solutions
1. Each case
Answer: , , , , and . Every case leaves remainder , and there are only six cases to check.
2. Each case
Answer: , , , , , , , , . The addends , , and are prime; and lie between and , so checking and is enough to show that and are prime too. Every even number in the list is covered, so the cases exhaust the range.
3. Each case
Answer: The values are , , , and . Each is a multiple of . The five cases exhaust to , so the statement is proved for that finite set.
4. Each case
Answer: None of , , , or divides , so has no factor except and itself: is prime.
5. Each case
Answer: The values are , , , and . Their remainders on division by are , , , and . None is , so none of the five values is a multiple of .
6. The four values
Answer: The values are , , and , and all four are prime. The check covers four values only; it does not prove the claim for every .
7. The factor found
Answer: , so is not prime. The prime is found by testing , , and then , and one factor is enough to settle the case.
8. Each case
Answer: The primes up to are , , and . None of them divides . If had a factor, it would have a prime factor no larger than , so no factor exists: is prime.
9. Each case
Answer: The values are , , and . Each is a multiple of , and the list covers to .
10. The gap in the argument
Answer: The value at is , and is prime, so the forty cases to are all correct. But the claim is about every whole number. Exhaustion proves a statement only when the list of cases is the whole domain, and here it is not: there are infinitely many values of . The claim is in fact false.
11. Which method, and why
Answer: (a) Deduction. The domain is every whole number, so a list of cases can never cover it. Factorise ; the two factors are consecutive, so one is even, and the product is even. (b) Exhaustion. The domain is the five numbers to , a finite list. Check each: . The method follows from the size of the domain: infinite needs an argument, finite can be checked.