A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Proof by Cases (Proof by Exhaustion)

College Depth 72 in the knowledge graph ☐ I know this ☆ Set as goal
3,128topics build on this
353prerequisites beneath it
See this on the map →
Direct ProofProof by Exhaustion+1 more→→Mathematical InductionMinimax Algorithm
proof cases exhaustion

Core Idea

Proof by cases partitions the hypothesis into exhaustive cases and proves the conclusion for each. If true in all cases, it's true in general. This method is essential when a universal approach is infeasible.

How It's Best Learned

Identify natural partitions: parity (even/odd), sign (positive/negative/zero), or other exhaustive categories. Verify no cases are missed.

Common Misconceptions

Explainer

You've learned to write direct proofs, where you start from the hypothesis and derive the conclusion through a chain of logical steps. Proof by cases extends this when a single chain of reasoning can't handle all the ways the hypothesis can be true. The strategy is to partition all possibilities into a finite set of cases, prove the conclusion within each case separately, and then conclude that since the cases are exhaustive — every instance falls into at least one — the result holds in general.

The critical move is identifying the right partition. The partition must be exhaustive: every possible instance must fall into at least one of your cases; no situation should be left unaddressed. Common natural partitions are: parity (n is even vs. n is odd), sign (x > 0, x = 0, x < 0), or membership (n is in some set vs. n is not). You don't need the cases to be mutually exclusive — overlap is permitted — but you do need to handle each case completely.

Consider proving that n² + n is always even. You could factor: n² + n = n(n+1), and observe that consecutive integers always include one even number. But proof by cases makes this immediate. *Case 1: n is even.* Then n = 2k, so n(n+1) = 2k(2k+1) = 2·[k(2k+1)], which is even. *Case 2: n is odd.* Then n+1 is even, so n+1 = 2m, and n(n+1) = n·2m = 2·[nm], which is even. Since every integer is either even or odd, the cases are exhaustive, and the proof is complete. No algebraic ingenuity was required — just systematic enumeration.

An important mindset shift: proof by cases is not a fallback when you can't find a "better" proof. It is often the *cleanest* and most transparent proof available, especially in number theory and combinatorics. What distinguishes a rigorous case proof from hand-waving is the explicit verification that cases are exhaustive. A proof that leaves an edge case unhandled — say, forgetting n = 0 when proving something about non-negative integers — has a genuine gap, even if all other cases are airtight.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Set Operations: Union, Intersection, and Complement → Proof by Cases → Proving by Cases and Exhaustion → Vacuous Truth and Trivial Cases → Proof by Cases (Proof by Exhaustion)

Longest path: 73 steps · 353 total prerequisite topics

Prerequisites (3)

Leads To (2)