Learning objectives
- State the principle of strong induction.
- Decide when strong induction is needed instead of ordinary induction.
- Choose the right number of base cases.
- Prove existence results and algorithm correctness by strong induction.
Roman Urdu. Strong induction mein P(k+1) sabit karne ke liye hum sirf P(k) nahi, balke pehle ke tamam cases P(n₀), …, P(k) ko sahih maan lete hain. Yeh tab kaam aata hai jab k+1 ka case sirf k par nahi, balke kisi chhote case par bhi depend kare, jaise factorization ya recursion mein.
Core concepts
Principle of Strong Induction. Let P(n) be a statement for n ≥ n₀. If (1) P(n₀) is true (more base cases if needed) and (2) for every k ≥ n₀, [P(n₀) ∧ P(n₀+1) ∧ … ∧ P(k)] → P(k + 1), then P(n) holds for all n ≥ n₀.
Comparison
| Ordinary induction | Strong induction | |
|---|---|---|
| Inductive hypothesis | P(k) only | P(n₀), …, P(k) all |
| Best for | formulas where step k → k + 1 is direct | cases that depend on smaller, not just previous, values |
| Power | same | same (each can simulate the other) |
Both principles prove exactly the same statements. Strong induction is often more convenient.
Base cases. Include as many base cases as the step needs. If the step reaches back by j values, you may need j base cases.
Worked examples
Example 1 (basic). Postage. Show that every amount of n ≥ 12 cents can be paid using 4-cent and 5-cent stamps. Basis: 12 = 4+4+4, 13 = 4+4+5, 14 = 4+5+5, 15 = 5+5+5. Step: let k ≥ 15 and assume every amount from 12 to k is payable. For k + 1 ≥ 16, we have k + 1 − 4 ≥ 12 and k + 1 − 4 ≤ k, so it is payable by hypothesis. Add one 4-cent stamp. ∎ Four base cases are needed because the step reaches back by 4.
Example 2 (intermediate). Every integer n ≥ 2 is a prime or a product of primes. Basis: 2 is prime. Step: let k ≥ 2 and assume the claim for every integer from 2 to k. Consider k + 1. If it is prime, done. Otherwise k + 1 = ab with 2 ≤ a, b ≤ k. By hypothesis each of a and b is prime or a product of primes, so k + 1 is a product of primes. ∎ In particular, every integer greater than 1 has a prime divisor, the fact used in Lecture 9.
Example 3 (advanced). Every positive integer is a sum of distinct powers of 2. Basis: 1 = 2⁰. Step: let n > 1 and assume the claim for all smaller positive integers. Let 2ᵐ be the largest power of 2 with 2ᵐ ≤ n. If n = 2ᵐ we are done. Otherwise 1 ≤ n − 2ᵐ < 2ᵐ, because n < 2ᵐ⁺¹. By hypothesis n − 2ᵐ is a sum of distinct powers of 2, each at most n − 2ᵐ < 2ᵐ, so none of them equals 2ᵐ. Adding 2ᵐ gives n as a sum of distinct powers of 2. ∎ This is the existence of binary representation.
Example 4 (computing). Merge sort correctness. Claim: merge sort sorts every list of length n ≥ 1. Basis: a list of length 1 is sorted. Step: for n ≥ 2 the list is split into two lists of lengths between 1 and n − 1. By the strong hypothesis both are sorted correctly. The merge step combines two sorted lists into one sorted list. So the result is sorted. ∎
Computer science connection
Correctness of divide-and-conquer algorithms (merge sort, quick sort, binary search); recursive data structures; analysing recurrences that refer to several smaller inputs (Module 6).
Key takeaways
- Strong induction assumes all earlier cases, not just the previous one.
- The number of base cases must match how far back the step reaches.
- Ordinary and strong induction are equally powerful.
Roman Urdu. Strong induction mein pichhle tamam cases sahih maane jate hain. Base cases utne hone chahiye jitna peeche inductive step jata hai. Merge sort aur prime factorization ke saboot strong induction se hi natural tareeqay se hote hain.
Five revision questions
- How does the hypothesis of strong induction differ from ordinary induction?
- Why does the stamp proof need four base cases?
- Prove that every amount of n ≥ 14 cents can be paid with 3-cent and 8-cent stamps.
- Outline a strong-induction proof that binary search is correct.
- In Example 3, why are the powers of 2 in the sum distinct?
Homework. Prove: (a) a sequence with a₁ = 1, a₂ = 2 and aₙ = aₙ₋₁ + aₙ₋₂ satisfies aₙ < 2ⁿ; (b) every amount of n ≥ 8 cents can be paid with 3-cent and 5-cent stamps.
Quiz
Strong induction mein kya maante hain?
Pichle tamam cases sach maan kar P(k+1) sabit karte hain.
All lectures
- Lecture 0: Discrete vs Continuous
- Lecture 1: Propositions and Connectives
- Lecture 2: Truth Tables, Tautologies and Contradictions
- Lecture 3: Logical Equivalence and the Laws of Logic
- Lecture 4: Predicate Logic and Quantifiers
- Lecture 5: Rules of Inference
- Lecture 6: Logical Arguments and Puzzle Solving
- Lecture 7: Direct Proof and Proof by Implication
- Lecture 8: Proof by Contraposition
- Lecture 9: Proof by Contradiction
- Lecture 10: Mathematical Induction
- Lecture 11: Strong Induction
- Lecture 12: Applications of Proofs and Proof Strategy
START WELL TO END WELL