Principle of Mathematical Induction
To prove P(n) is true for all positive integers n≥n0:
- Base Case: Prove P(n0) is true
- Inductive Step: Prove P(k)→P(k+1) for all k≥n0
Why It Works
- Base case establishes P(n0)
- Inductive step gives: P(n0)→P(n0+1)→P(n0+2)→⋯
- Like dominoes falling!
Template for Weak Induction
Theorem: For all n≥n0, P(n).
Proof by induction:
Base Case: [Verify P(n0)]
Inductive Hypothesis: Assume P(k) is true for some k≥n0.
Inductive Step: We must show P(k+1).
[Use the hypothesis to prove P(k+1)]
Therefore, by mathematical induction, P(n) holds for all n≥n0. □
Example 1: Sum Formula
Theorem: For all n≥1:
∑i=1ni=1+2+⋯+n=2n(n+1)
Proof:
Base Case (n=1):
- Left side: ∑i=11i=1
- Right side: 21(2)=1 ✓
Inductive Hypothesis: Assume for some k≥1:
∑i=1ki=2k(k+1)
Inductive Step: Show it holds for k+1:
∑i=1k+1i=∑i=1ki+(k+1)
=2k(k+1)+(k+1) (by IH)
=2k(k+1)+2(k+1)
=2(k+1)(k+2)
=2(k+1)((k+1)+1) ✓ □
Example 2: Inequality
Theorem: For all n≥4: 2n<n!
Proof:
Base Case (n=4):
24=16<24=4! ✓
Inductive Hypothesis: Assume 2k<k! for some k≥4.
Inductive Step:
2k+1=2⋅2k<2⋅k! (by IH)
<(k+1)⋅k!=(k+1)! ✓
(Since k≥4, we have k+1>2) □
Strong Induction
Instead of assuming only P(k), assume P(n0),P(n0+1),…,P(k) are all true.
Template
Base Case: Prove P(n0) (and possibly more base cases)
Inductive Hypothesis: Assume P(j) is true for all n0≤j≤k.
Inductive Step: Prove P(k+1) using any of P(n0),…,P(k).
Example: Fundamental Theorem of Arithmetic
Theorem: Every integer n>1 can be written as a product of primes.
Proof (by strong induction):
Base Case (n=2): 2 is prime, so it's a product of one prime ✓
Inductive Hypothesis: Every integer j with 2≤j≤k can be written as a product of primes.
Inductive Step: Consider k+1.
- If k+1 is prime, we're done
- If k+1 is composite: k+1=ab where 2≤a,b<k+1
- By IH, both a and b are products of primes
- Therefore k+1=ab is a product of primes □
Structural Induction
Used for recursively defined structures (trees, lists, etc.).
Example: Binary Trees
To prove property P for all binary trees:
- Base: Prove P for empty tree and single-node tree
- Inductive: Assume P for trees T1 and T2, prove for combined tree
Common Summation Formulas
∑i=1ni=2n(n+1)
∑i=1ni2=6n(n+1)(2n+1)
∑i=1ni3=(2n(n+1))2
∑i=0nri=r−1rn+1−1 for r=1
∑i=0n2i=2n+1−1
Tips for Induction Proofs
- Identify what you're proving: P(n)=?
- Determine base case(s)
- Write the inductive hypothesis clearly
- In the inductive step, look for where to apply the hypothesis
- For strong induction, you can use any previous cases