Covers IGNOU MCS-212 §2.4 (weak form, Examples 9–10, E14–E15, well-ordering principle)
Many statements are about all natural numbers: a formula for 1 + 2 + ⋯ + n 1 + 2 + \dots + n 1 + 2 + ⋯ + n , an inequality, a property of a loop after n n n iterations. We cannot check infinitely many cases one by one. Mathematical induction proves all of them at once with just two checks.
Intuition
Imagine an endless line of dominoes. If (1) the first domino falls, and (2) every domino, when it falls, knocks over the next one, then all the dominoes fall. You never need to watch each one. Induction proves the first case, and proves that each case pushes over the next.
Theorem 2.20 · Principle of mathematical induction (weak form)
Let P ( n ) P(n) P ( n ) be a predicate about natural numbers n n n , and let m m m be a natural number. If
(i) P ( m ) P(m) P ( m ) is true, and
(ii) for every k ≥ m k \geq m k ≥ m , P ( k ) → P ( k + 1 ) P(k) \to P(k+1) P ( k ) → P ( k + 1 ) is true,
then P ( n ) P(n) P ( n ) is true for every natural number n ≥ m n \geq m n ≥ m .
A proof by induction has three parts:
Part Name What you do 1 Basis of induction (base case)check P ( m ) P(m) P ( m ) directly 2 Induction hypothesis assume P ( k ) P(k) P ( k ) is true for an arbitrary k ≥ m k \geq m k ≥ m 3 Induction step use the hypothesis to prove P ( k + 1 ) P(k+1) P ( k + 1 )
Example 2.21 Sum of the first n odd numbers
Goal. Prove 1 + 3 + 5 + ⋯ + ( 2 n − 1 ) = n 2 1 + 3 + 5 + \dots + (2n - 1) = n^2 1 + 3 + 5 + ⋯ + ( 2 n − 1 ) = n 2 for every n ∈ N n \in \mathbb{N} n ∈ N .
Basis. n = 1 n = 1 n = 1 : the left side is 1 1 1 and the right side is 1 2 = 1 1^2 = 1 1 2 = 1 . True.
Induction hypothesis. Assume for an arbitrary k ≥ 1 k \geq 1 k ≥ 1 : 1 + 3 + ⋯ + ( 2 k − 1 ) = k 2 1 + 3 + \dots + (2k - 1) = k^2 1 + 3 + ⋯ + ( 2 k − 1 ) = k 2 .
Induction step. The ( k + 1 ) (k+1) ( k + 1 ) th odd number is 2 ( k + 1 ) − 1 = 2 k + 1 2(k+1) - 1 = 2k + 1 2 ( k + 1 ) − 1 = 2 k + 1 . So
1 + 3 + ⋯ + ( 2 k − 1 ) + ( 2 k + 1 ) = k 2 + ( 2 k + 1 ) = ( k + 1 ) 2 , 1 + 3 + \dots + (2k - 1) + (2k + 1) = k^2 + (2k + 1) = (k + 1)^2, 1 + 3 + ⋯ + ( 2 k − 1 ) + ( 2 k + 1 ) = k 2 + ( 2 k + 1 ) = ( k + 1 ) 2 ,
using the hypothesis for the first k k k terms.
Step. This is exactly P ( k + 1 ) P(k+1) P ( k + 1 ) .
Result. By the principle of mathematical induction, 1 + 3 + ⋯ + ( 2 n − 1 ) = n 2 1 + 3 + \dots + (2n - 1) = n^2 1 + 3 + ⋯ + ( 2 n − 1 ) = n 2 for all n ∈ N n \in \mathbb{N} n ∈ N .
Example 2.22 An inequality with base case 5
Goal. Prove 2 n > n 2 2^n > n^2 2 n > n 2 for every natural number n ≥ 5 n \geq 5 n ≥ 5 .
Step. Why start at 5? For n = 2 , 3 , 4 n = 2, 3, 4 n = 2 , 3 , 4 the statement is false (4 > 4 4 > 4 4 > 4 , 8 > 9 8 > 9 8 > 9 , 16 > 16 16 > 16 16 > 16 all fail), so m = 5 m = 5 m = 5 .
Basis. n = 5 n = 5 n = 5 : 2 5 = 32 > 25 = 5 2 2^5 = 32 > 25 = 5^2 2 5 = 32 > 25 = 5 2 . True.
Induction hypothesis. Assume 2 k > k 2 2^k > k^2 2 k > k 2 for an arbitrary k ≥ 5 k \geq 5 k ≥ 5 .
Induction step. 2 k + 1 = 2 ⋅ 2 k > 2 k 2 2^{k+1} = 2 \cdot 2^k > 2k^2 2 k + 1 = 2 ⋅ 2 k > 2 k 2 (by the hypothesis). Also 2 k 2 = k 2 + k 2 ≥ k 2 + 5 k = k 2 + 2 k + 3 k > k 2 + 2 k + 1 = ( k + 1 ) 2 2k^2 = k^2 + k^2 \geq k^2 + 5k = k^2 + 2k + 3k > k^2 + 2k + 1 = (k+1)^2 2 k 2 = k 2 + k 2 ≥ k 2 + 5 k = k 2 + 2 k + 3 k > k 2 + 2 k + 1 = ( k + 1 ) 2 , using k ≥ 5 k \geq 5 k ≥ 5 (so k 2 ≥ 5 k k^2 \geq 5k k 2 ≥ 5 k and 3 k > 1 3k > 1 3 k > 1 ).
Step. Combining: 2 k + 1 > 2 k 2 > ( k + 1 ) 2 2^{k+1} > 2k^2 > (k+1)^2 2 k + 1 > 2 k 2 > ( k + 1 ) 2 , which is P ( k + 1 ) P(k+1) P ( k + 1 ) .
Result. 2 n > n 2 2^n > n^2 2 n > n 2 for all n ≥ 5 n \geq 5 n ≥ 5 .
Both steps are necessary
Without the base case : P ( n ) P(n) P ( n ) : "n = n + 1 n = n + 1 n = n + 1 ". If k = k + 1 k = k + 1 k = k + 1 , then k + 1 = k + 2 k + 1 = k + 2 k + 1 = k + 2 , so P ( k ) → P ( k + 1 ) P(k) \to P(k+1) P ( k ) → P ( k + 1 ) holds — yet P ( n ) P(n) P ( n ) is false for every n n n .
Without the induction step : P ( n ) P(n) P ( n ) : ”n 2 + n + 41 n^2 + n + 41 n 2 + n + 41 is prime” is true for n = 1 , … , 39 n = 1, \dots, 39 n = 1 , … , 39 , but false for n = 40 n = 40 n = 40 .
The well-ordering principle
Definition 2.23 · Well-ordering principle
Every non-empty set of natural numbers has a smallest element.
The well-ordering principle is equivalent to induction. Idea: if P ( n ) P(n) P ( n ) were false for some n ≥ m n \geq m n ≥ m , the set of such n n n would have a smallest element s s s ; s ≠ m s \neq m s = m by the base case, so P ( s − 1 ) P(s - 1) P ( s − 1 ) is true, and then the induction step makes P ( s ) P(s) P ( s ) true — a contradiction. In the study material, induction is also stated with sets: if S ⊆ N S \subseteq \mathbb{N} S ⊆ N , m ∈ S m \in S m ∈ S , and k ∈ S ⇒ k + 1 ∈ S k \in S \Rightarrow k + 1 \in S k ∈ S ⇒ k + 1 ∈ S for all k ≥ m k \geq m k ≥ m , then S S S contains every n ≥ m n \geq m n ≥ m .
Note
Induction is how programmers prove loops correct: the loop invariant is P ( k ) P(k) P ( k ) , “it holds before the first iteration” is the base case, and “if it holds before an iteration, it holds after” is the induction step (MCS-211, Design and Analysis of Algorithms).
Common mistake
Assuming what you want to prove. The induction hypothesis assumes P ( k ) P(k) P ( k ) for one arbitrary k k k , not P ( n ) P(n) P ( n ) for all n n n . The step must then prove P ( k + 1 ) P(k+1) P ( k + 1 ) from P ( k ) P(k) P ( k ) .
Common mistake
Starting from the result in the induction step. Do not write P ( k + 1 ) P(k+1) P ( k + 1 ) and simplify both sides until you get something true, unless every step is reversible (⇔ \Leftrightarrow ⇔ ). Start from the left side of P ( k + 1 ) P(k+1) P ( k + 1 ) and transform it into the right side.
Key idea
Induction proves P ( n ) P(n) P ( n ) for all n ≥ m n \geq m n ≥ m with two checks: the base case P ( m ) P(m) P ( m ) , and the step “if P ( k ) P(k) P ( k ) then P ( k + 1 ) P(k+1) P ( k + 1 ) ” for an arbitrary k ≥ m k \geq m k ≥ m . Both are necessary.
TEE Exam note
Write the three labelled parts (basis, hypothesis, step) and a final sentence “Hence, by the principle of mathematical induction, P ( n ) P(n) P ( n ) is true for all n ≥ m n \geq m n ≥ m .” For sum formulas, split off the last term of P ( k + 1 ) P(k+1) P ( k + 1 ) and use the hypothesis on the rest. Correct answers: Example 9 (1 2 + ⋯ + n 2 = n ( n + 1 ) ( 2 n + 1 ) 6 1^2 + \dots + n^2 = \frac{n(n+1)(2n+1)}{6} 1 2 + ⋯ + n 2 = 6 n ( n + 1 ) ( 2 n + 1 ) ): step k ( k + 1 ) ( 2 k + 1 ) 6 + ( k + 1 ) 2 = ( k + 1 ) ( 2 k 2 + 7 k + 6 ) 6 = ( k + 1 ) ( k + 2 ) ( 2 k + 3 ) 6 \frac{k(k+1)(2k+1)}{6} + (k+1)^2 = \frac{(k+1)(2k^2 + 7k + 6)}{6} = \frac{(k+1)(k+2)(2k+3)}{6} 6 k ( k + 1 ) ( 2 k + 1 ) + ( k + 1 ) 2 = 6 ( k + 1 ) ( 2 k 2 + 7 k + 6 ) = 6 ( k + 1 ) ( k + 2 ) ( 2 k + 3 ) . E14 (1 + 1 4 + ⋯ + 1 n 2 ≤ 2 − 1 n 1 + \frac14 + \dots + \frac{1}{n^2} \leq 2 - \frac1n 1 + 4 1 + ⋯ + n 2 1 ≤ 2 − n 1 ): base 1 ≤ 1 1 \leq 1 1 ≤ 1 ; step uses 1 ( k + 1 ) 2 < 1 k ( k + 1 ) = 1 k − 1 k + 1 \frac{1}{(k+1)^2} < \frac{1}{k(k+1)} = \frac1k - \frac{1}{k+1} ( k + 1 ) 2 1 < k ( k + 1 ) 1 = k 1 − k + 1 1 . E15 (1 1 + ⋯ + 1 n > n \frac{1}{\sqrt1} + \dots + \frac{1}{\sqrt n} > \sqrt n 1 1 + ⋯ + n 1 > n for n ≥ 2 n \geq 2 n ≥ 2 ): base 1 + 1 2 ≈ 1.707 > 1.414 ≈ 2 1 + \frac{1}{\sqrt2} \approx 1.707 > 1.414 \approx \sqrt2 1 + 2 1 ≈ 1.707 > 1.414 ≈ 2 ; step: sum > k + 1 k + 1 = k ( k + 1 ) + 1 k + 1 > k + 1 k + 1 = k + 1 > \sqrt k + \frac{1}{\sqrt{k+1}} = \frac{\sqrt{k(k+1)} + 1}{\sqrt{k+1}} > \frac{k + 1}{\sqrt{k+1}} = \sqrt{k+1} > k + k + 1 1 = k + 1 k ( k + 1 ) + 1 > k + 1 k + 1 = k + 1 , because k ( k + 1 ) > k \sqrt{k(k+1)} > k k ( k + 1 ) > k .
Key takeaways
Induction: base case P ( m ) P(m) P ( m ) + induction step P ( k ) → P ( k + 1 ) P(k) \to P(k+1) P ( k ) → P ( k + 1 ) for all k ≥ m k \geq m k ≥ m ⟹ P ( n ) P(n) P ( n ) for all n ≥ m n \geq m n ≥ m .
The base case need not be n = 1 n = 1 n = 1 ; choose the first value where the statement holds and the step works.
Without either step the conclusion can be false.
Induction is equivalent to the well-ordering principle.
Practice questions Answer on paper first, then check. The explanation matters more than the letter you chose.
Question 1 · multiple choice In a proof by induction, what is the induction hypothesis?
Check answer
Show answer Answer: B. P ( k ) P(k) P ( k ) is true for an arbitrary k ≥ m k \geq m k ≥ m
We assume P ( k ) P(k) P ( k ) for one arbitrary k k k and use it to prove P ( k + 1 ) P(k+1) P ( k + 1 ) . Option 1 is tempting, but assuming the whole statement would be circular.
Question 2 · multiple choice For which smallest m m m is 2 n > n 2 2^n > n^2 2 n > n 2 true for all n ≥ m n \geq m n ≥ m ?
Check answer
Show answer Answer: D. m = 5 m = 5 m = 5
2 4 = 16 2^4 = 16 2 4 = 16 is not greater than 4 2 = 16 4^2 = 16 4 2 = 16 , while 2 5 = 32 > 25 2^5 = 32 > 25 2 5 = 32 > 25 and the step works for k ≥ 5 k \geq 5 k ≥ 5 . Option 1 is tempting because 2 1 > 1 2 2^1 > 1^2 2 1 > 1 2 , but the statement fails at n = 2 , 3 , 4 n = 2, 3, 4 n = 2 , 3 , 4 .
Question 3 · multiple choice In proving 1 + 2 + ⋯ + n = n ( n + 1 ) 2 1 + 2 + \dots + n = \frac{n(n+1)}{2} 1 + 2 + ⋯ + n = 2 n ( n + 1 ) , what do you get after using the hypothesis on the first k k k terms of P ( k + 1 ) P(k+1) P ( k + 1 ) ?
Check answer
Show answer Answer: A. k ( k + 1 ) 2 + ( k + 1 ) = ( k + 1 ) ( k + 2 ) 2 \frac{k(k+1)}{2} + (k+1) = \frac{(k+1)(k+2)}{2} 2 k ( k + 1 ) + ( k + 1 ) = 2 ( k + 1 ) ( k + 2 )
The last term of the sum up to k + 1 k+1 k + 1 is k + 1 k+1 k + 1 , and k ( k + 1 ) 2 + ( k + 1 ) = ( k + 1 ) ( k 2 + 1 ) = ( k + 1 ) ( k + 2 ) 2 \frac{k(k+1)}{2} + (k+1) = (k+1)\left(\frac{k}{2} + 1\right) = \frac{(k+1)(k+2)}{2} 2 k ( k + 1 ) + ( k + 1 ) = ( k + 1 ) ( 2 k + 1 ) = 2 ( k + 1 ) ( k + 2 ) . Option 2 adds k k k instead of k + 1 k+1 k + 1 .
Question 4 · multiple choice “If k = k + 1 k = k + 1 k = k + 1 , then k + 1 = k + 2 k + 1 = k + 2 k + 1 = k + 2 ” is a valid induction step, yet "n = n + 1 n = n + 1 n = n + 1 " is false for all n n n . Why?
Check answer
Show answer Answer: C. Because there is no base case: P ( m ) P(m) P ( m ) is false for every m m m
Induction needs both the base case and the step. Here the step holds (vacuously, since P ( k ) P(k) P ( k ) is always false), but no base case holds. Option 1 is tempting, but adding 1 to both sides of an equation is a correct step.
Question 5 · multiple choice Which principle is equivalent to mathematical induction?
A The pigeonhole principle B The well-ordering principle C The principle of inclusion–exclusion D De Morgan’s laws
Check answer
Show answer Answer: B. The well-ordering principle
“Every non-empty set of natural numbers has a smallest element” is equivalent to induction. The pigeonhole principle is a counting principle (Block 3), not a proof principle of this kind.
Question 6 · short answer
Prove by induction that 3 ∣ n 3 − n 3 \mid n^3 - n 3 ∣ n 3 − n for every natural number n n n .
Show worked answer Let P ( n ) P(n) P ( n ) : "3 ∣ n 3 − n 3 \mid n^3 - n 3 ∣ n 3 − n ". Basis: n = 1 n = 1 n = 1 : 1 − 1 = 0 = 3 × 0 1 - 1 = 0 = 3 \times 0 1 − 1 = 0 = 3 × 0 , so P ( 1 ) P(1) P ( 1 ) is true. Hypothesis: assume 3 ∣ k 3 − k 3 \mid k^3 - k 3 ∣ k 3 − k for some k ≥ 1 k \geq 1 k ≥ 1 , i.e. k 3 − k = 3 t k^3 - k = 3t k 3 − k = 3 t for an integer t t t . Step: ( k + 1 ) 3 − ( k + 1 ) = k 3 + 3 k 2 + 3 k + 1 − k − 1 = ( k 3 − k ) + 3 ( k 2 + k ) = 3 t + 3 ( k 2 + k ) = 3 ( t + k 2 + k ) (k+1)^3 - (k+1) = k^3 + 3k^2 + 3k + 1 - k - 1 = (k^3 - k) + 3(k^2 + k) = 3t + 3(k^2 + k) = 3(t + k^2 + k) ( k + 1 ) 3 − ( k + 1 ) = k 3 + 3 k 2 + 3 k + 1 − k − 1 = ( k 3 − k ) + 3 ( k 2 + k ) = 3 t + 3 ( k 2 + k ) = 3 ( t + k 2 + k ) . So 3 ∣ ( k + 1 ) 3 − ( k + 1 ) 3 \mid (k+1)^3 - (k+1) 3 ∣ ( k + 1 ) 3 − ( k + 1 ) , i.e. P ( k + 1 ) P(k+1) P ( k + 1 ) is true. By the principle of mathematical induction, 3 ∣ n 3 − n 3 \mid n^3 - n 3 ∣ n 3 − n for all n ∈ N n \in \mathbb{N} n ∈ N .