Proof by
Cases
Learn to divide and conquer logical arguments by splitting a proposition into exhaustive cases and proving each one separately.
What Is Proof by Cases?
Proof by cases (also called proof by exhaustion) is a technique where you break the domain of a statement into a finite number of non-overlapping, exhaustive cases, then prove the statement holds in every single case.
This strategy is especially powerful when a single uniform argument is hard to find, but the statement becomes much easier to prove once you consider each case on its own.
The Logical Foundation
Proof by cases rests on a tautology from propositional logic. If we can split our hypothesis into cases \( C_1, C_2, \ldots, C_n \) that cover everything, then:
The second bracket (exhaustiveness) guarantees at least one case always applies. The first bracket guarantees every case leads to \( Q \).
How It Works Visually
Two Key Requirements
Proof by Cases vs. Other Techniques
| Proof by Cases | Direct Proof | Contradiction | |
|---|---|---|---|
| Strategy | Split into exhaustive cases, prove each | Assume \( P \), derive \( Q \) directly | Assume \( \lnot Q \), derive a contradiction |
| When to use | No single argument covers all inputs | Implication is straightforward | Direct path is blocked; negation helps |
| Risk | Forgetting a case | Dead-end algebra | Contradiction hard to find |
| Example cue | "For every integer \( n \)..." | "If \( n \) is even, then..." | "There is no rational \( x \)..." |
How to Apply Proof by Cases
Example 1: Parity of \( n^2 \)
Partition: Every integer is either even or odd. This is exhaustive.
Example 2: \( |x| \ge 0 \)
Partition: Every real number satisfies exactly one of: \( x \ge 0 \) or \( x < 0 \).
Example 3: Divisibility by 3
Partition: Every integer \( n \) leaves remainder 0, 1, or 2 when divided by 3. Three exhaustive cases.
Choosing the Right Partition
How do you decide which cases to use? Let the structure of the problem guide you:
WLOG: Reducing Redundant Cases
Sometimes two cases are symmetric: the same argument works with variable names swapped. Instead of writing both, mathematicians say "Without loss of generality (WLOG)" and prove only one.
Example 4: Properties of \(\max(a,b)\)
\( |a - b| = a - b \).
RHS \( = \frac{a + b + (a - b)}{2} = \frac{2a}{2} = a \). ✓
\( |a - b| = -(a-b) = b - a \).
RHS \( = \frac{a + b + (b - a)}{2} = \frac{2b}{2} = b \). ✓
When Not to Use It
Proof by cases is not always the best tool. Consider alternatives when:
Common Mistakes
Summary Checklist
| Step | What to Do | Watch Out For |
|---|---|---|
| 1. Partition | Choose cases \( C_1, \ldots, C_n \) | Must cover the entire domain |
| 2. Verify | Confirm exhaustiveness | Don't forget boundary values (e.g., 0) |
| 3. Prove each | Derive \( Q \) inside each \( C_i \) | Don't assume \( Q \) in the proof |
| 4. WLOG | Merge symmetric cases if valid | Only when genuine symmetry exists |
| 5. Conclude | State: "By cases, \( Q \) holds" | Reference every case explicitly |
Question 1 of 5
What is the most important requirement for the cases in a proof by cases?
Question 2 of 5
You want to prove a statement about all integers \( n \) by considering \( n \bmod 3 \). How many cases do you need?
Question 3 of 5
A student splits real numbers into "positive" and "negative" to prove \( x^2 \ge 0 \). What is the flaw in this partition?
Question 4 of 5
Which logical tautology underlies proof by cases with two cases \( C_1 \) and \( C_2 \)?
Question 5 of 5
When is it valid to say "Without loss of generality (WLOG)" and prove only one of two cases?