Proof Techniques

Study Sheet

Proof Techniques

How to structure a rigorous argument

The Main Forms

Tip
Direct, contradiction, contrapositive

To prove P⇒QP\Rightarrow Q: argue directly; or assume PP and ¬Q\lnot Q and reach a contradiction; or prove the contrapositive ¬Q⇒¬P\lnot Q\Rightarrow\lnot P.

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 2\sqrt2 is irrational, assume it equals p/qp/q in lowest terms (contradiction) and derive that p,qp,q are both even.

Tip
Induction, weak and strong

Prove a base case, then show it for nn (weak) — or for all values below nn (strong) — implies it for n+1n+1.

In plain terms. Knock over the first domino, then show each domino knocks over the next, and they all fall.

Example. Prove 1+3+⋯+(2n−1)=n21+3+\cdots+(2n-1) = n^2: true at n=1n=1, and adding 2n+12n+1 to n2n^2 gives (n+1)2(n+1)^2.

Concept
Well-ordering / minimal counterexample

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 n>1n>1 has a prime factor: the smallest divisor above 11 must itself be prime, or it would have a smaller one.

Induction Done Right

Theorem
What an induction proof must contain

A statement P(n)P(n) for all n≥n0n \ge n_0 follows from (1) a base case P(n0)P(n_0) and (2) a step: P(n)⇒P(n+1)P(n) \Rightarrow P(n + 1) for every n≥n0n \ge n_0 (weak), or P(n0),…,P(n)⇒P(n+1)P(n_0), \ldots, P(n) \Rightarrow P(n + 1) (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 PP failed somewhere, take the least failure mm; it is not n0n_0 by the base case, and PP holds below mm, so the step gives P(m)P(m) — 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 “<2< 2” cannot be carried from nn to n+1n + 1 but “≤2−1n\le 2 - \tfrac1n” can.

Example
Example 1: L-trominoes
The 8 × 8 board minus one cell (dark), tiled by the recursive construction: 21 trominoes.

Prove that for every n≥1n \ge 1, a 2n×2n2^n\times2^n board with any one cell removed can be tiled by L-trominoes (three cells forming an L). (Golomb.)

Step 1 — base case n=1n = 1: a 2×22\times2 board minus one cell is an L-tromino.

Step 2 — step: split the 2n+1×2n+12^{n+1}\times2^{n+1} board into four 2n×2n2^n\times2^n 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. ■\blacksquare (The number of tiles is 4n−13\tfrac{4^n - 1}{3}, an integer since 4≡1(mod3)4 \equiv 1 \pmod 3; for the 8×88\times8 board, 2121.)

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.

Example
Example 2: strengthen to close the step

Prove that 1+14+19+⋯+1n2<21 + \tfrac14 + \tfrac19 + \cdots + \tfrac1{n^2} < 2 for all n≥1n \ge 1.

Step 1 — the direct induction fails: from sn<2s_n < 2 nothing prevents sn+1=sn+1(n+1)2s_{n+1} = s_n + \tfrac1{(n+1)^2} from exceeding 22.

Step 2 — prove the stronger sn≤2−1ns_n \le 2 - \tfrac1n. Base: s1=1=2−1s_1 = 1 = 2 - 1. Step: sn+1≤2−1n+1(n+1)2s_{n+1} \le 2 - \tfrac1n + \tfrac1{(n+1)^2}, and this is at most 2−1n+12 - \tfrac1{n+1} because 1n−1n+1=1n(n+1)≥1(n+1)2\tfrac1n - \tfrac1{n+1} = \tfrac1{n(n+1)} \ge \tfrac1{(n+1)^2}.

Step 3 — so sn≤2−1n<2s_n \le 2 - \tfrac1n < 2. ■\blacksquare

How to find it. Ask what bound on sns_n would leave exactly enough room for the next term: you need bn+1−bn≥1(n+1)2b_{n+1} - b_n \ge \tfrac1{(n+1)^2}, and the telescoping 1n−1n+1\tfrac1n - \tfrac1{n+1} is the natural candidate.

Example
Example 3: Zeckendorf’s theorem

With F1=1F_1 = 1, F2=2F_2 = 2, Fk+1=Fk+Fk−1F_{k+1} = F_k + F_{k-1} (so 1,2,3,5,8,13,…1, 2, 3, 5, 8, 13, \ldots), prove that every positive integer is a sum of distinct, pairwise non-consecutive terms FkF_k, in exactly one way.

Step 1 — a lemma, by induction on kk: a sum of distinct non-consecutive terms with largest term FkF_k is less than Fk+1F_{k+1}. For k=1,2k = 1, 2 it is 1<21 < 2 and 2<32 < 3. In general the rest of the sum uses terms up to Fk−2F_{k-2}, so by induction it is less than Fk−1F_{k-1}, and the whole is less than Fk+Fk−1=Fk+1F_k + F_{k-1} = F_{k+1}.

Step 2 — existence, by strong induction on nn. Let FkF_k be the largest term ≤n\le n. If n=Fkn = F_k we are done. Otherwise 0<n−Fk<Fk+1−Fk=Fk−10 < n - F_k < F_{k+1} - F_k = F_{k-1}, so by the inductive hypothesis n−Fkn - F_k has a representation, which uses only terms below Fk−1F_{k-1} — non-consecutive with FkF_k.

Step 3 — uniqueness: in any representation of nn the largest term must be the FkF_k of

Step 2 — a smaller largest term FjF_j (j<kj < k) gives a total below Fj+1≤Fk≤nF_{j+1} \le F_k \le n by the lemma. Remove FkF_k and apply strong induction to n−Fkn - F_k. ■\blacksquare Example: 100=89+8+3100 = 89 + 8 + 3.

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.

Side note
Where it goes wrong

“All horses have the same color. Base: one horse. Step: given n+1n + 1 horses, the first nn share a color and so do the last nn; the groups overlap, so all n+1n + 1 agree.” For n+1=2n + 1 = 2 the groups are {h1}\{h_1\} and {h2}\{h_2\}, which do not overlap. The step P(n)⇒P(n+1)P(n) \Rightarrow P(n + 1) was proved only for n≥2n \ge 2, 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.

Try it
Try it: exponential beats cubic

Prove that 3n>n33^n > n^3 for every integer n≥4n \ge 4.

Show the answer

Base: 34=81>64=433^4 = 81 > 64 = 4^3. Step: if 3n>n33^n > n^3 with n≥4n \ge 4, then 3n+1>3n33^{n+1} > 3n^3, and 3n3≥(n+1)33n^3 \ge (n + 1)^3 because (1+1n)3≤(54)3=12564<3\left(1 + \tfrac1n\right)^3 \le \left(\tfrac54\right)^3 = \tfrac{125}{64} < 3. (At n=3n = 3 the two sides are equal, 27=2727 = 27, so the base must be 44.)

Contradiction and Infinite Descent

Theorem
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 pp is forced to divide every variable, and dividing by pp gives the smaller solution.

Example
Example 1: a sum of two squares equal to 3 z²

Prove that x2+y2=3z2x^2 + y^2 = 3z^2 has no solution in integers other than x=y=z=0x = y = z = 0.

Step 1 — squares are 00 or 11 mod 33, so x2+y2≡0(mod3)x^2 + y^2 \equiv 0 \pmod 3 forces x2≡y2≡0x^2 \equiv y^2 \equiv 0: 3∣x3 \mid x and 3∣y3 \mid y.

Step 2 — then 9∣x2+y2=3z29 \mid x^2 + y^2 = 3z^2, so 3∣z23 \mid z^2 and 3∣z3 \mid z. Hence (x3,y3,z3)\left(\tfrac x3, \tfrac y3, \tfrac z3\right) is again a solution.

Step 3 — if a nonzero solution existed, take one with ∣x∣+∣y∣+∣z∣>0|x| + |y| + |z| > 0 minimal; Step 2 gives a nonzero solution with a third of that measure. Contradiction. ■\blacksquare

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 pp.

Example
Example 2: descent with a changing equation

Find all integer solutions of x2+y2+z2=2xyzx^2 + y^2 + z^2 = 2xyz.

Step 1 — prove more: for every k≥1k \ge 1, the only solution of x2+y2+z2=2kxyzx^2 + y^2 + z^2 = 2^kxyz is (0,0,0)(0, 0, 0). 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 ≡2(mod4)\equiv 2 \pmod 4, while the right side is 2k2^k times a product containing an even factor, hence divisible by 44. So all three are even.

Step 3 — writing x=2ax = 2a, y=2by = 2b, z=2cz = 2c: 4(a2+b2+c2)=2k+3abc4(a^2 + b^2 + c^2) = 2^{k+3}abc, i.e. a2+b2+c2=2k+1abca^2 + b^2 + c^2 = 2^{k+1}abc — the same family with k+1k + 1. A nonzero solution with minimal ∣x∣+∣y∣+∣z∣|x| + |y| + |z| (over all kk) would give one with half the measure. So the only solution is (0,0,0)(0, 0, 0). ■\blacksquare

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.

Example
Example 3: Fermat’s right triangle theorem

Prove that x4+y4=z2x^4 + y^4 = z^2 has no solution in positive integers. (Fermat.)

Step 1 — take a solution with zz minimal. Then gcd⁡(x,y)=1\gcd(x, y) = 1 (a common prime pp would give the smaller solution xp,yp,zp2\tfrac xp, \tfrac yp, \tfrac z{p^2}), so (x2,y2,z)(x^2, y^2, z) is a primitive Pythagorean triple. With xx odd, yy even, there are coprime m>n>0m > n > 0 of opposite parity with x2=m2−n2x^2 = m^2 - n^2, y2=2mny^2 = 2mn, z=m2+n2z = m^2 + n^2.

Step 2 — x2+n2=m2x^2 + n^2 = m^2 is again a primitive triple with xx odd, so nn is even and x=a2−b2x = a^2 - b^2, n=2abn = 2ab, m=a2+b2m = a^2 + b^2 with gcd⁡(a,b)=1\gcd(a, b) = 1.

Step 3 — then y2=2mn=4ab(a2+b2)y^2 = 2mn = 4ab(a^2 + b^2), so ab(a2+b2)=(y2)2ab(a^2 + b^2) = \left(\tfrac y2\right)^2. The three factors are pairwise coprime (gcd⁡(a,b)=1\gcd(a, b) = 1 gives gcd⁡(a,a2+b2)=gcd⁡(b,a2+b2)=1\gcd(a, a^2 + b^2) = \gcd(b, a^2 + b^2) = 1), and their product is a square, so each is a square: a=c2a = c^2, b=d2b = d^2, a2+b2=e2a^2 + b^2 = e^2.

Step 4 — so c4+d4=e2c^4 + d^4 = e^2 is a new positive solution, with e≤e2=m≤m2<m2+n2=ze \le e^2 = m \le m^2 < m^2 + n^2 = z. This contradicts the minimality of zz. ■\blacksquare (Consequently x4+y4=w4x^4 + y^4 = w^4 has no positive solutions: it would give z=w2z = w^2.)

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.

Side note
Where it goes wrong

A descent needs every case to descend. “x2+y2=2z2x^2 + y^2 = 2z^2 has only the zero solution: if x,yx, y are even then so is zz, and we halve.” But x=y=z=1x = y = z = 1 is a solution, and so is (1,7,5)(1, 7, 5). The argument never ruled out xx and yy both odd: then x2+y2≡2(mod8)x^2 + y^2 \equiv 2 \pmod 8 and 2z2≡2(mod8)2z^2 \equiv 2 \pmod 8 for odd zz — no contradiction. A mod argument that kills some residue classes must be checked against all of them before the descent is claimed.

Try it
Try it: a cubic descent

Prove that x3+2y3=4z3x^3 + 2y^3 = 4z^3 has no integer solution other than (0,0,0)(0, 0, 0).

Show the answer

The left side is even, so xx is even; write x=2ax = 2a: 8a3+2y3=4z38a^3 + 2y^3 = 4z^3, i.e. 4a3+y3=2z34a^3 + y^3 = 2z^3. Now yy is even; y=2by = 2b: 4a3+8b3=2z34a^3 + 8b^3 = 2z^3, i.e. 2a3+4b3=z32a^3 + 4b^3 = z^3. Now zz is even; z=2cz = 2c: 2a3+4b3=8c32a^3 + 4b^3 = 8c^3, i.e. a3+2b3=4c3a^3 + 2b^3 = 4c^3. So (x2,y2,z2)\left(\tfrac x2, \tfrac y2, \tfrac z2\right) is again a solution, and a nonzero solution with minimal ∣x∣+∣y∣+∣z∣|x| + |y| + |z| would give a smaller one.