Proof by exhaustion tests all possible cases to see if the statement you want to prove is true for all cases.
All cases must be true for this method to work. This method is suited for questions where there are a small number of cases to test.
Proof by exhaustion involves:
- List all the cases that exhausts all possibilities.
- Show that the statement is true for each individual case.
Example 1
Prove that all square numbers are either a multiple of 4 or 1 more than a multiple of 4.
Let be any integer. We consider the square . There are two cases for :
- If is even, write for some integer . Then
, which is clearly a multiple of .- If is odd, write for some integer . Then
.
Since is a multiple of , is one more than a multiple of .Thus every square number is either a multiple of or one more than a multiple of .