Explainer
Breaking Down Cases One Door At A Time
Examine every exit when the hallway splits in three.
Your goal here is to prove a claim by checking every case, one at a time. By the end you should be able to split a problem into cases, prove each one, and see that together they cover everything. This is one of the most common moves in proofs, and it is easy to do once you know the rule.
When a claim has to hold for every number, and the numbers come in types, you can prove it for each type separately. For example, every whole number is either even or odd. So if you can show a claim works for even numbers and also for odd numbers, you have shown it works for all whole numbers. Each type is a door. You must walk through every door, not just the one that looks easiest.
True or false · 1 of 2
To prove something for all integers, it is enough to check that it works for the even integers.
Worked Example · Number theory
The square of any integer
The problem
Prove that for every integer n, the number n² + n is even.
- 1
Split the integers into two cases: n is even, or n is odd.
Two cases work here because every integer falls into exactly one of them.
Three things to check before you trust a case split
Do the cases cover every possibility, with no gap?
Do the cases overlap? Overlap is harmless, but it means some work is repeated.
Did you prove each case, or only argue that it is probably similar to another?
Quiz · 1 of 1
You want to prove that the square of every integer is either divisible by 3 or leaves remainder 1 when divided by 3. How many cases should you split n into, based on n mod 3?
Tip
Write the cases as a list before you prove them
Before the algebra, write down each case and what it assumes, such as 'Case 1: n = 3k' or 'Case 2: n = 3k + 1'. This makes gaps visible early, when they are easy to fix. Most failed case splits fail because a case was forgotten, not because the algebra went wrong.
Examples
- Write the case labels in a column, then fill in each one.
- Check the list against the original claim: does every integer fit in one line?
Choose
