The Main Forms
To prove : argue directly; or assume and and reach a contradiction; or prove the contrapositive .
In plain terms. There are three standard ways to prove "if P then Q." Pick whichever gives you the most concrete facts to start from.
Example. To show is irrational, assume it equals in lowest terms (contradiction) and derive that are both even.
Prove a base case, then show it for (weak) — or for all values below (strong) — implies it for .
In plain terms. Knock over the first domino, then show each domino knocks over the next, and they all fall.
Example. Prove : true at , and adding to gives .
Every nonempty set of positive integers has a least element, so assuming a smallest counterexample and building a smaller one is a contradiction.
In plain terms. If something could fail, look at the smallest case where it fails — then show you could make an even smaller one, which is impossible.
Example. To prove every has a prime factor: the smallest divisor above must itself be prime, or it would have a smaller one.
Induction Done Right
A statement for all follows from (1) a base case and (2) a step: for every (weak), or (strong). When the step will not go through, strengthen the statement: a stronger hypothesis gives more to work with in the step.
Induction is the well-ordering principle in disguise: if failed somewhere, take the least failure ; it is not by the base case, and holds below , so the step gives — contradiction. Strengthening sounds paradoxical (proving more is easier) but it is the usual reason an induction closes: the statement you want to prove is often too weak to be its own inductive hypothesis, as in Example 2, where “” cannot be carried from to but “” can.
Prove that for every , a board with any one cell removed can be tiled by L-trominoes (three cells forming an L). (Golomb.)
Step 1 — base case : a board minus one cell is an L-tromino.
Step 2 — step: split the board into four quarters. The removed cell lies in one of them. Place one L-tromino at the center, covering the three central cells of the other three quarters.
Step 3 — now each quarter has exactly one cell removed or covered, and by the inductive hypothesis each can be tiled. (The number of tiles is , an integer since ; for the board, .)
How to find it. The statement “any cell removed” is what makes the induction work: the central tromino creates three new holes in arbitrary positions of the quarters, and only the strong form covers them.
Prove that for all .
Step 1 — the direct induction fails: from nothing prevents from exceeding .
Step 2 — prove the stronger . Base: . Step: , and this is at most because .
Step 3 — so .
How to find it. Ask what bound on would leave exactly enough room for the next term: you need , and the telescoping is the natural candidate.
With , , (so ), prove that every positive integer is a sum of distinct, pairwise non-consecutive terms , in exactly one way.
Step 1 — a lemma, by induction on : a sum of distinct non-consecutive terms with largest term is less than . For it is and . In general the rest of the sum uses terms up to , so by induction it is less than , and the whole is less than .
Step 2 — existence, by strong induction on . Let be the largest term . If we are done. Otherwise , so by the inductive hypothesis has a representation, which uses only terms below — non-consecutive with .
Step 3 — uniqueness: in any representation of the largest term must be the of
Step 2 — a smaller largest term () gives a total below by the lemma. Remove and apply strong induction to . Example: .
How to find it. Greedy (take the largest term) is the natural construction; the lemma is the precise statement that greedy is forced, and it is what makes both existence and uniqueness go through.
“All horses have the same color. Base: one horse. Step: given horses, the first share a color and so do the last ; the groups overlap, so all agree.” For the groups are and , which do not overlap. The step was proved only for , and the chain from the base case is broken at its first link. Always test the inductive step at the smallest value it must cover.
Prove that for every integer .
Show the answerHide the answer
Base: . Step: if with , then , and because . (At the two sides are equal, , so the base must be .)
Contradiction and Infinite Descent
To show an equation has no solution in positive integers, show that any solution produces another solution that is smaller in some positive-integer measure. Since a strictly decreasing sequence of positive integers cannot go on forever, there is no solution. Equivalently: take a solution with the measure minimal and produce a smaller one.
The two phrasings are the same argument: the set of values of the measure over all solutions, if nonempty, has a least element by well-ordering, and the descent step produces something smaller in the same set. What must be checked is that the new object really is a solution of the same equation (or of an equation covered by the same argument) and that the measure really decreases. Divisibility is the usual engine: a prime is forced to divide every variable, and dividing by gives the smaller solution.
Prove that has no solution in integers other than .
Step 1 — squares are or mod , so forces : and .
Step 2 — then , so and . Hence is again a solution.
Step 3 — if a nonzero solution existed, take one with minimal; Step 2 gives a nonzero solution with a third of that measure. Contradiction.
How to find it. A homogeneous equation is invariant under scaling, so it is enough to find one prime that must divide everything. Try small moduli until one forces all variables to vanish mod .
Find all integer solutions of .
Step 1 — prove more: for every , the only solution of is . The right side is even.
Step 2 — parity cases. All three odd: the left side is odd. Exactly one odd: odd again. Exactly two odd: the left side is , while the right side is times a product containing an even factor, hence divisible by . So all three are even.
Step 3 — writing , , : , i.e. — the same family with . A nonzero solution with minimal (over all ) would give one with half the measure. So the only solution is .
How to find it. After halving, the equation is not the same one, so plain descent fails; generalize the constant so that the family is closed under the descent step.
Prove that has no solution in positive integers. (Fermat.)
Step 1 — take a solution with minimal. Then (a common prime would give the smaller solution ), so is a primitive Pythagorean triple. With odd, even, there are coprime of opposite parity with , , .
Step 2 — is again a primitive triple with odd, so is even and , , with .
Step 3 — then , so . The three factors are pairwise coprime ( gives ), and their product is a square, so each is a square: , , .
Step 4 — so is a new positive solution, with . This contradicts the minimality of . (Consequently has no positive solutions: it would give .)
How to find it. A sum of two squares equal to a square: parametrize the Pythagorean triple. Parametrize again until the pieces are forced to be squares themselves, and the original shape reappears with smaller numbers.
A descent needs every case to descend. “ has only the zero solution: if are even then so is , and we halve.” But is a solution, and so is . The argument never ruled out and both odd: then and for odd — no contradiction. A mod argument that kills some residue classes must be checked against all of them before the descent is claimed.
Prove that has no integer solution other than .
Show the answerHide the answer
The left side is even, so is even; write : , i.e. . Now is even; : , i.e. . Now is even; : , i.e. . So is again a solution, and a nonzero solution with minimal would give a smaller one.