Proof by cases becomes useful when the available representation changes with parity, sign, or another finite classification. Each branch proves the same target under an additional assumption. The logical obligation is to cover every allowed input, not merely the inputs that make the calculation convenient [1][1] Z. Abel, B. Chapman, and E. Demaine, “Lecture 03: Casework and Strong Induction,” 2024. MIT 6.1200J/18.062J, Mathematics for Computer Science; revised February 14, 2024. https://ocw.mit.edu/courses/6-1200j-mathematics-for-computer-science-spring-2024/mit6_1200j_s24_lec03.pdf.
What a case split must establish
Suppose the original hypotheses imply that at least one of holds. If the target follows under each corresponding case assumption, then follows under the original hypotheses. A complete proof therefore gives the coverage argument, proves every branch, and finally combines them.
The cases need not be disjoint. Splitting real numbers into and is exhaustive despite overlap at zero; splitting into and misses zero. In a conditional theorem, retain the original hypotheses in every branch. For example, a theorem about nonzero legitimately needs only the two strict-sign cases.
These branches may each contain a direct argument, a contradiction, or a smaller case split. They are not separate theorems with unrelated conclusions. A finite split can cover infinitely many inputs because a branch such as “ is even” represents all even integers.
Worked example: parity determines the useful factor
For every integer , the product is even.
Every integer is even or odd, so the following cases are exhaustive.
If is even, write with . Then
If is odd, write with . Then
In either case, the quantity in parentheses is an integer, so the product is even. The cases include zero and negative integers as well.
The split is useful because it identifies which factor supplies the factor . When practising, vary the property being proved and check which part of the reasoning makes each new split exhaustive.
Remainder cases and negative integers
For every integer and positive integer , division with remainder gives with integers and . Thus the remainder classes cover every integer, including negative ones. For example, belongs to the remainder- case modulo .
Among , one number is divisible by : if has remainder , it is ; with remainder , it is ; with remainder , it is . This supplies the supporting fact used in Direct Proof.
However, not every divisibility problem benefits from a split. The sum of three consecutive integers is simply
That single direct identity already handles every input. Case analysis remains valid, but adds no useful distinction here. Prefer a split when its branches reveal information that a uniform calculation does not.
Boundary cases and symmetry
Prove for every real . If , then . If , then because . These cases cover all real numbers, and equality occurs exactly when .
The phrase “without loss of generality” is justified only by a symmetry preserving both the hypotheses and target. To show that is even when at least one of integers is even, one may choose the even factor to be called : swapping the names leaves the product and assumption unchanged. An asymmetric condition such as cannot be ignored by swapping names without checking what else changes.
Exercises
Show that the square of an integer has remainder or when divided by .
Show solution
Write with . Then . For , the values of are , whose remainders are . Exhaustiveness follows from division with remainder.
The original notes asked for a parity-based proof that is composite for every integer . Decide whether the claim is true. If it is false, identify a valid restricted version.
Show solution
At , the expression is , which is prime. Thus the universal claim is false. For even , write with : then , a product of integers greater than one, so this restricted claim is true. The old proposed factorization for odd was invalid: , while .
Prove for every integer . You may use the fact that divisibility by pairwise coprime integers implies divisibility by their product. Treat each divisibility claim as a goal, not as an alternative input case.
Show solution
For divisor , the residues give modulo . For divisor , use representatives ; again modulo . For divisor , use . The corresponding values of are , all divisible by .
These residue checks apply to because if is divisible by , the identity
shows that is divisible by as well. Thus and have the same remainder. We have established all three divisibility goals, and the stated coprimality fact yields divisibility by . The product conclusion would not hold for arbitrary non-coprime divisors: and do not imply .
For real , evaluate by splitting at the points where the expressions inside the absolute values change sign.
Show solution
Use , , and . In these cases the sum respectively equals , , and :
The middle case includes both boundary points, where the neighboring formulas agree. Each branch follows by replacing the absolute values according to their signs.
The next choice
A good split has an explicit coverage reason and gives each branch a useful additional fact. If negating the desired conclusion gives a more useful assumption than splitting the original inputs, move to Indirect Proof. If the statement is indexed by arbitrarily large natural numbers and smaller instances support larger ones, Mathematical Induction supplies the appropriate principle.
References
- [1] Z. Abel, B. Chapman, and E. Demaine, “Lecture 03: Casework and Strong Induction,” 2024. MIT 6.1200J/18.062J, Mathematics for Computer Science; revised February 14, 2024. https://ocw.mit.edu/courses/6-1200j-mathematics-for-computer-science-spring-2024/mit6_1200j_s24_lec03.pdf ↩
Comments