Strong Induction

Draw the factorization tree of n=30n = 30 and strong induction explains itself — the splits drop to much smaller numbers like 1515 and 22, not to n−1=29n - 1 = 29. Slide nn, watch the tree redraw, and follow the induction step that assumes all of P(2),…,P(n−1)P(2), \dots, P(n-1) at once; the weak hypothesis P(n−1)P(n-1) alone can never reach the factors.

P(2),…,P(n−1)⇒P(n)P(2), \dots, P(n-1) \Rightarrow P(n)
30=2×3×530 = 2 \times 3 \times 5

Examples & Exercises

Prove by strong induction that every integer n≥2n \ge 2 is a product of primes. Split into the cases where nn is prime and where n=a⋅bn = a \cdot b is composite (1<a,b<n1 < a, b < n), and pinpoint exactly where the weak-induction step ("assume P(n−1)P(n-1), prove P(n)P(n)") breaks down: the factors a,ba, b of nn are typically nowhere near n−1n - 1, so P(n−1)P(n-1) says nothing about them.

P(n): n is a product of primes,n≥2P(n):\ n\ \text{is a product of primes},\qquad n \ge 2
assume P(2),…,P(n−1);prove P(n)\text{assume } P(2), \dots, P(n-1);\quad \text{prove } P(n)
n=30=2×3×5n = 30 = 2 \times 3 \times 5: composite, first split a=2a = 2, b=15b = 15 — nowhere near n−1=29n-1 = 29.
Show proof
  1. Set up the strong-induction hypothesis: for some n≥2n \ge 2, assume P(k)P(k) holds for every 2≤k<n2 \le k < n — i.e. each such kk is a product of primes. Prove P(n)P(n).
  2. Case 1: nn is prime. Then nn is itself a "product of primes" (a product with one factor). This is the base-like case; there is nothing to prove.
  3. Case 2: nn is composite. Then n=a⋅bn = a \cdot b for some 1<a,b<n1 < a, b < n. Since a<na < n, the strong hypothesis P(a)P(a) applies and gives a=p1⋯pra = p_1 \cdots p_r as a product of primes; likewise b=q1⋯qsb = q_1 \cdots q_s. Hence n=p1⋯pr⋅q1⋯qsn = p_1 \cdots p_r \cdot q_1 \cdots q_s — a product of primes. This proves P(n)P(n).
  4. Where weak induction stalls: weak induction supplies only P(n−1)P(n-1). But for n=30n = 30 what is needed is not P(29)P(29) — it is P(2)P(2) and P(15)P(15), because the factors a=2a = 2, b=15b = 15 are nowhere near n−1=29n - 1 = 29. The hypothesis P(n−1)P(n-1) says nothing about aa and bb, so the weak step cannot proceed. The proof works precisely because the strong hypothesis covers every number below nn.
    n=30=2×15:P(2),P(15) needed,P(29) uselessn = 30 = 2 \times 15:\quad P(2), P(15)\ \text{needed},\quad P(29)\ \text{useless}

Prove by strong induction that every integer n≥12n \ge 12 can be written as 4a+5b4a + 5b with integers a,b≥0a, b \ge 0. Check the four base cases 12=3⋅412 = 3 \cdot 4, 13=2⋅4+513 = 2 \cdot 4 + 5, 14=4+2⋅514 = 4 + 2 \cdot 5, 15=3⋅515 = 3 \cdot 5; for n≥16n \ge 16 apply the hypothesis to n−4n - 4 and add one 4-stamp. Explain why exactly four consecutive base cases are needed (the induction step jumps back by 4).

P(n): ∃a,b≥0 with n=4a+5b,n≥12P(n):\ \exists a, b \ge 0\ \text{with}\ n = 4a + 5b,\qquad n \ge 12
n≥16  ⇒  n−4≥12:n=(n−4)+4n \ge 16 \;\Rightarrow\; n - 4 \ge 12:\quad n = (n-4) + 4
n=30=5⋅4+2⋅5=20+10n = 30 = 5 \cdot 4 + 2 \cdot 5 = 20 + 10: a=5a = 5, b=2b = 2.
Show proof
  1. Base cases: 12=3⋅4+0⋅512 = 3 \cdot 4 + 0 \cdot 5 (a=3a = 3, b=0b = 0), 13=2⋅4+1⋅513 = 2 \cdot 4 + 1 \cdot 5 (a=2a = 2, b=1b = 1), 14=1⋅4+2⋅514 = 1 \cdot 4 + 2 \cdot 5 (a=1a = 1, b=2b = 2), 15=0⋅4+3⋅515 = 0 \cdot 4 + 3 \cdot 5 (a=0a = 0, b=3b = 3) — each checked directly.
  2. Induction step: let n≥16n \ge 16 and assume P(k)P(k) for all 12≤k<n12 \le k < n (strong induction). Since n−4≥12n - 4 \ge 12, the hypothesis applies to n−4n - 4, giving n−4=4a+5bn - 4 = 4a + 5b for some a,b≥0a, b \ge 0. Adding 4 to both sides, n=4(a+1)+5bn = 4(a+1) + 5b — proving P(n)P(n).
  3. Why four consecutive base cases: the induction step jumps back by 4, from nn to n−4n - 4. So for the proof of n≥16n \ge 16 to "land" on one of 12,13,14,1512, 13, 14, 15, every remainder class 0,1,2,30, 1, 2, 3 modulo 4 must be present among the bases. With only three, one residue class would be left hanging. In general a jump of mm needs mm consecutive base cases. Example: 30−4⋅4=1430 - 4 \cdot 4 = 14, so 30=(expression for 14)+4⋅4=(4+2⋅5)+16=5⋅4+2⋅530 = (\text{expression for } 14) + 4 \cdot 4 = (4 + 2 \cdot 5) + 16 = 5 \cdot 4 + 2 \cdot 5.

Prove by strong induction that every integer n≥2n \ge 2 has a prime divisor. If nn is prime it divides itself; if n=a⋅bn = a \cdot b is composite (1<a<n1 < a < n), apply the hypothesis at aa — a prime divisor pp of aa also divides nn.

P(n): ∃ prime p with p∣n,n≥2P(n):\ \exists\ \text{prime } p\ \text{with}\ p \mid n,\qquad n \ge 2
n=a⋅b, 1<a<n:p∣a  ⇒  p∣nn = a \cdot b,\ 1 < a < n:\quad p \mid a \;\Rightarrow\; p \mid n
n=36=22⋅32n = 36 = 2^2 \cdot 3^2: prime divisors 2 and 3. In the tree, 36=2×1836 = 2 \times 18 → 18=2×918 = 2 \times 9 → 9=3×39 = 3 \times 3.
Show proof
  1. Set up the strong-induction hypothesis: for some n≥2n \ge 2, assume every 2≤k<n2 \le k < n has a prime divisor. Prove P(n)P(n).
  2. Case 1: nn is prime. Then nn itself is a prime divisor of nn (n∣nn \mid n).
  3. Case 2: nn is composite. Then n=a⋅bn = a \cdot b for some 1<a,b<n1 < a, b < n. Since a<na < n, the hypothesis applies at aa, giving a prime pp with p∣ap \mid a. Because a∣na \mid n (as n=a⋅bn = a \cdot b), transitivity of divisibility yields p∣np \mid n. So pp is a prime divisor of nn.
    p∣a, a∣n  ⇒  p∣n(transitivity)p \mid a,\ a \mid n \;\Rightarrow\; p \mid n \quad (\text{transitivity})
  4. Remark: this theorem is the "one-step" version of problem 1 (full factorization). For n=36n = 36 the hypothesis is applied at a=2a = 2, yielding p=2p = 2, and 2∣22 \mid 2 with 2∣362 \mid 36 finishes it. The existence of a single prime divisor follows from the same strong-induction skeleton, without computing the whole factorization.

1. Foundations of Proof