More Examples of Induction

Chapter 6: Mathematical Induction

Learning objectives

  • Apply induction to divisibility and inequality statements
  • Prove the geometric-sum and sum-of-squares identities by induction
  • Recognise the algebraic patterns used in the inductive step
  • Choose a starting index n0n_0 that makes the proof work

Induction is more than a summation trick. Once the principle is in your hands, the same two-step ritual proves divisibility theorems, polynomial inequalities, geometric-series formulas, and product identities. The hard part is no longer the logic — that's settled by §6.1 — but the algebra: how do you reshape P(k+1)P(k+1) until the inductive hypothesis can be plugged in? This section is a tour of the algebraic moves that show up over and over: factoring out a common piece, peeling off the last term, bounding a sum by its largest summand. Walk through each example with pen in hand and the pattern starts to feel mechanical.

Divisibility by induction

To prove df(n)d \mid f(n) for all nn0n \geq n_0, assume df(k)d \mid f(k) and arrange f(k+1)f(k+1) so a multiple of dd pops out. The most common move is to write f(k+1)=(something involving f(k))+(a multiple of d)f(k+1) = (\text{something involving } f(k)) + (\text{a multiple of } d). Example: prove 3(4n1)3 \mid (4^n - 1) for every n1n \geq 1.

Base (n=1n = 1): 41=34 - 1 = 3, divisible by 3. \checkmark

Step: assume 4k1=3m4^k - 1 = 3m for some integer mm. Then 4k+11=44k1=4(3m+1)1=12m+3=3(4m+1)4^{k+1} - 1 = 4 \cdot 4^k - 1 = 4(3m + 1) - 1 = 12m + 3 = 3(4m + 1), which is divisible by 3. \blacksquare

Inequality by induction

Bernoulli's inequality: for x1x \geq -1 and n1n \geq 1, (1+x)n1+nx(1+x)^n \geq 1 + nx. (The boundary case x=1x = -1 holds because the left side is 00 and the right side is 1n01 - n \leq 0.)

Base (n=1n = 1): (1+x)1=1+x=1+1x(1+x)^1 = 1 + x = 1 + 1 \cdot x. \checkmark

Step: assume (1+x)k1+kx(1+x)^k \geq 1 + kx. Multiply both sides by the non-negative quantity (1+x)(1+x):

(1+x)k+1(1+kx)(1+x)=1+(k+1)x+kx21+(k+1)x.(1+x)^{k+1} \geq (1 + kx)(1 + x) = 1 + (k+1)x + kx^2 \geq 1 + (k+1)x.

The last step uses kx20kx^2 \geq 0. \blacksquare

Series SummerInteractive figure — enable JavaScript to interact.

The geometric sum

For r1r \neq 1 and n0n \geq 0, i=0nri=rn+11r1\sum_{i=0}^{n} r^i = \frac{r^{n+1} - 1}{r - 1}.

Base (n=0n = 0): left side =r0=1= r^0 = 1; right side =r1r1=1= \frac{r - 1}{r - 1} = 1. \checkmark

Step: assume i=0kri=rk+11r1\sum_{i=0}^{k} r^i = \frac{r^{k+1} - 1}{r - 1}. Add rk+1r^{k+1} to both sides:

i=0k+1ri=rk+11r1+rk+1=rk+11+rk+1(r1)r1=rk+21r1.\sum_{i=0}^{k+1} r^i = \frac{r^{k+1} - 1}{r - 1} + r^{k+1} = \frac{r^{k+1} - 1 + r^{k+1}(r - 1)}{r - 1} = \frac{r^{k+2} - 1}{r - 1}.

That is the formula at n=k+1n = k+1. \blacksquare

Pause and think: in the divisibility example above we wrote 4k+1=44k4^{k+1} = 4 \cdot 4^k — a tiny algebraic move that unlocks the whole step. What if we had used 4k+1=4k+4k+4k+4k4^{k+1} = 4^k + 4^k + 4^k + 4^k instead? Would the proof still go through? Try it.

Try it

  • Predict i=110i2\sum_{i=1}^{10} i^2 using the closed form n(n+1)(2n+1)6\frac{n(n+1)(2n+1)}{6}. Then verify by computing 1+4+9++1001 + 4 + 9 + \cdots + 100 in your head or on paper.
  • Before checking: is 5(6n1)5 \mid (6^n - 1) for every n1n \geq 1? Test n=1,2,3n = 1, 2, 3 by hand. Then sketch the induction.
  • Bernoulli check: at x=0.1x = 0.1 and n=5n = 5, compute (1.1)5(1.1)^5 to four decimals. Is it at least 1+5(0.1)=1.51 + 5(0.1) = 1.5?
  • Geometric sum at r=2r = 2: predict i=0n2i\sum_{i=0}^{n} 2^i at n=4n = 4 using the closed form, then add the terms by hand.

A trap to watch for

The most seductive mistake in induction proofs is the "all horses are the same colour" fallacy. The argument runs: base case — one horse is obviously the same colour as itself. Inductive step — given any group of k+1k+1 horses, remove one to get a group of kk which by hypothesis are all the same colour; remove a different one to get another group of kk same-coloured horses; the overlap forces the whole k+1k+1 to share a colour. The conclusion is absurd. Where is the bug? The inductive step silently assumes the two sub-groups overlap, i.e., that k2k \geq 2. The implication P(1)P(2)P(1) \Rightarrow P(2) is the link that breaks. Moral: when the inductive step relies on a structural assumption (overlap, splitting, non-degeneracy), check that the assumption holds at the very first transition out of the base case.

Code ChallengeInteractive figure — enable JavaScript to interact.

What you now know

You can pick the right algebraic move in an induction proof: factor for divisibility, multiply for inequalities, add the next term for sums. You've seen Bernoulli's inequality and the geometric-sum formula and you understand why subtle assumptions inside the inductive step (like the overlap in the horse-colour fallacy) must be verified at the first transition. Next we'll see how induction extends naturally to recursive definitions, where a function's value at nn is computed from earlier values.

References

  • Velleman, D. J. (2019). How to Prove It: A Structured Approach (3rd ed.). Cambridge University Press, §6.2.
  • Graham, R. L., Knuth, D. E., Patashnik, O. (1994). Concrete Mathematics (2nd ed.). Addison-Wesley, §1.2–1.4.
  • Cormen, T. H., Leiserson, C. E., Rivest, R. L., Stein, C. (2009). Introduction to Algorithms (3rd ed.). MIT Press, app. A.
  • Wilf, H. S. (1994). generatingfunctionology. Academic Press, ch. 1.
  • Aigner, M., Ziegler, G. M. (2018). Proofs from THE BOOK (6th ed.). Springer.

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.