Proof by cases divides the hypotheses into alternatives that cover every possibility. The proof then establishes the conclusion separately in each case. Each case may itself use a direct proof, an indirect proof, or another suitable method.
The essential requirement is coverage: every allowed input must belong to at least one case. If the cases overlap, that is harmless; if they omit a possibility, the argument is incomplete.
Prove that the sum of any three consecutive integers is divisible by .
Write the integers as . Every integer has one of the forms , , or .
- If , the sum is .
- If , the sum is .
- If , the sum is .
All three cases give a multiple of , so the claim follows.
Prove that is even for every integer .
If is even, the product has an even factor. If is odd, then is even. These cases exhaust the integers, so is always even.
The source draft also claimed that is never prime for . This statement is false: for , , which is prime. The proposed factorisation
does not hold. This is a useful example of why a proof must be checked algebraically and against small cases before publication.
Case analysis is most useful when the cases follow naturally from a definition, such as parity or residue classes modulo an integer.
Comments