Induc­tion is not only for sums, divis­i­bil­ity and inequal­i­ties. When­ever a state­ment about nn can be built up one step at a time, induc­tion is the nat­ural tool: sequences defined by a rule link­ing each term to the one before, long prod­ucts, and count­ing prob­lems. This les­son shows a few of these uses, then looks at the mis­takes that turn an induc­tion "proof" into non­sense.

Sequences defined step by step

When a sequence is given by a recur­sive rule, the usual approach is: work out the first few terms, guess a for­mula, then prove the guess by induc­tion.

Exam­ple 1

A sequence has a1=1a_1 = 1 and an+1=2an+1a_{n+1} = 2a_n + 1. Find a for­mula for ana_n and prove it.

The first terms are 1,3,7,15,311, 3, 7, 15, 31. Each is one less than a power of 2: 2−12 - 1, 4−14 - 1, 8−18 - 1, 16−116 - 1, 32−132 - 1. So we guess an=2n−1a_n = 2^n - 1.

Base step. a1=1=21−1a_1 = 1 = 2^1 - 1. True.

Hypoth­e­sis. Assume ak=2k−1a_k = 2^k - 1.

Induc­tive step. By the rule, ak+1=2ak+1=2(2k−1)+1=2k+1−2+1=2k+1−1a_{k+1} = 2a_k + 1 = 2(2^k - 1) + 1 = 2^{k+1} - 2 + 1 = 2^{k+1} - 1. This is the for­mula for n=k+1n = k + 1.

By induc­tion, an=2n−1a_n = 2^n - 1 for every nat­ural num­ber nn.

Exam­ple 2

A sequence has a1=2a_1 = 2 and an+1=an+2na_{n+1} = a_n + 2n. Prove that an=n2−n+2a_n = n^2 - n + 2.

Base step. 1−1+2=2=a11 - 1 + 2 = 2 = a_1. True.

Hypoth­e­sis. Assume ak=k2−k+2a_k = k^2 - k + 2.

Induc­tive step. ak+1=ak+2k=k2−k+2+2k=k2+k+2a_{k+1} = a_k + 2k = k^2 - k + 2 + 2k = k^2 + k + 2. The for­mula for n=k+1n = k + 1 gives (k+1)2−(k+1)+2=k2+2k+1−k−1+2=k2+k+2(k + 1)^2 - (k + 1) + 2 = k^2 + 2k + 1 - k - 1 + 2 = k^2 + k + 2. They agree.

By induc­tion the for­mula holds for all nn.

Prod­ucts

For a prod­uct of nn fac­tors, the prod­uct of k+1k + 1 fac­tors is the prod­uct of kk fac­tors times one more fac­tor.

Exam­ple 3

Prove that (1+11)(1+12)(1+13)⋯(1+1n)=n+1\displaystyle \left(1 + \frac{1}{1}\right)\left(1 + \frac{1}{2}\right)\left(1 + \frac{1}{3}\right) \cdots \left(1 + \frac{1}{n}\right) = n + 1.

Base step. For n=1n = 1: 1+1=21 + 1 = 2. True.

Hypoth­e­sis. Assume the prod­uct of the first kk fac­tors is k+1k + 1.

Induc­tive step. Mul­ti­ply by the next fac­tor 1+1k+1=k+2k+1\displaystyle 1 + \frac{1}{k + 1} = \frac{k + 2}{k + 1}:

(k+1)×k+2k+1=k+2\displaystyle (k + 1) \times \frac{k + 2}{k + 1} = k + 2

which is the for­mula for n=k+1n = k + 1. By induc­tion the result holds for all nn.

Exam­ple 4

Prove that (1−122)(1−132)⋯(1−1n2)=n+12n\displaystyle \left(1 - \frac{1}{2^2}\right)\left(1 - \frac{1}{3^2}\right) \cdots \left(1 - \frac{1}{n^2}\right) = \frac{n + 1}{2n} for every n≥2n \ge 2.

Base step. For n=2n = 2: 1−14=34\displaystyle 1 - \frac{1}{4} = \frac{3}{4}, and 2+14=34\displaystyle \frac{2 + 1}{4} = \frac{3}{4}. True.

Hypoth­e­sis. Assume the prod­uct up to 1−1k2\displaystyle 1 - \frac{1}{k^2} is k+12k\displaystyle \frac{k + 1}{2k}, for some k≥2k \ge 2.

Induc­tive step. The next fac­tor is 1−1(k+1)2=(k+1)2−1(k+1)2=k(k+2)(k+1)2\displaystyle 1 - \frac{1}{(k + 1)^2} = \frac{(k + 1)^2 - 1}{(k + 1)^2} = \frac{k(k + 2)}{(k + 1)^2}. So the prod­uct becomes

k+12k×k(k+2)(k+1)2=k+22(k+1)\displaystyle \frac{k + 1}{2k} \times \frac{k(k + 2)}{(k + 1)^2} = \frac{k + 2}{2(k + 1)}

which is the for­mula for n=k+1n = k + 1. By induc­tion the result holds for all n≥2n \ge 2.

Count­ing

Exam­ple 5

Prove that a con­vex poly­gon with nn sides has n(n−3)2\displaystyle \frac{n(n - 3)}{2} diag­o­nals, for every n≥3n \ge 3.

Base step. A tri­an­gle has no diag­o­nals, and 3×02=0\displaystyle \frac{3 \times 0}{2} = 0. True.

Hypoth­e­sis. Assume a con­vex poly­gon with kk sides has k(k−3)2\displaystyle \frac{k(k - 3)}{2} diag­o­nals.

Induc­tive step. Make a poly­gon with k+1k + 1 sides by adding one new cor­ner VV just out­side one side ABAB of a kk-sided poly­gon, and join­ing it to AA and BB. Every old diag­o­nal is still a diag­o­nal. The side ABAB now becomes a diag­o­nal too: 1 more. And VV can be joined to each of the other k−2k - 2 old cor­ners: k−2k - 2 more. So the num­ber of diag­o­nals is

k(k−3)2+1+(k−2)=k2−3k+2k−22=k2−k−22=(k+1)(k−2)2\displaystyle \frac{k(k - 3)}{2} + 1 + (k - 2) = \frac{k^2 - 3k + 2k - 2}{2} = \frac{k^2 - k - 2}{2} = \frac{(k + 1)(k - 2)}{2}

which is the for­mula for n=k+1n = k + 1. By induc­tion the result holds for all n≥3n \ge 3. For exam­ple, a hexa­gon has 6×32=9\displaystyle \frac{6 \times 3}{2} = 9 diag­o­nals.

Com­mon mis­takes

1. Skip­ping the base step. As we saw in the first les­son, the step "P(k)  ⟹  P(k+1)P(k) \implies P(k + 1)" can be true for a state­ment that is false for every nn. Always check the start­ing case.

2. Assum­ing what you want to prove. In the induc­tive step you assume P(k)P(k), never P(k+1)P(k + 1). A com­mon slip is to write down P(k+1)P(k + 1), do the same thing to both sides until some­thing true appears, and stop. That shows only that P(k+1)P(k + 1) leads to some­thing true, not that P(k+1)P(k + 1) is true. Work from one side of P(k+1)P(k + 1) to the other.

3. A step that does not work for every kk. Here is a famous false "proof" that all the stu­dents in any group have the same height.

Base: in a group of 1 stu­dent, every­one has the same height. Step: sup­pose any group of kk stu­dents all have the same height, and take a group of k+1k + 1. Send out one stu­dent; the remain­ing kk all have the same height. Bring that stu­dent back and send out another; again the remain­ing kk have the same height. The two groups over­lap, so all k+1k + 1 have the same height.

The mis­take is in the step from k=1k = 1 to k+1=2k + 1 = 2. With two stu­dents, send­ing out one leaves one, and send­ing out the other leaves the other: the two smaller groups do not over­lap at all, so noth­ing links their heights. The step fails for k=1k = 1, and so the whole chain of domi­noes never starts mov­ing. The induc­tive step must work for every kk from the start­ing value on.

Prac­tice

  1. A sequence has a1=3a_1 = 3 and an+1=an+4a_{n+1} = a_n + 4. Prove that an=4n−1a_n = 4n - 1.
  2. A sequence has a1=1a_1 = 1 and an+1=3an+2a_{n+1} = 3a_n + 2. Find a2a_2, a3a_3, a4a_4, and prove that an=2⋅3n−1−1a_n = 2 \cdot 3^{n-1} - 1.
  3. Prove that (1−12)(1−13)⋯(1−1n+1)=1n+1\displaystyle \left(1 - \frac{1}{2}\right)\left(1 - \frac{1}{3}\right) \cdots \left(1 - \frac{1}{n + 1}\right) = \frac{1}{n + 1}.
  4. Prove that (1+31)(1+54)(1+79)⋯(1+2n+1n2)=(n+1)2\displaystyle \left(1 + \frac{3}{1}\right)\left(1 + \frac{5}{4}\right)\left(1 + \frac{7}{9}\right) \cdots \left(1 + \frac{2n + 1}{n^2}\right) = (n + 1)^2.
  5. The tri­an­gu­lar num­bers are 1,3,6,10,…1, 3, 6, 10, \ldots, with nnth term n(n+1)2\displaystyle \frac{n(n + 1)}{2}. Prove that the sum of the first nn of them is n(n+1)(n+2)6\displaystyle \frac{n(n + 1)(n + 2)}{6}.
  6. In a group of nn peo­ple (n≥2n \ge 2), each pair shakes hands once. Prove by induc­tion that there are n(n−1)2\displaystyle \frac{n(n - 1)}{2} hand­shakes.
  7. Some­one claims 1+2+⋯+n=n2+n+22\displaystyle 1 + 2 + \cdots + n = \frac{n^2 + n + 2}{2} and shows that if it is true for kk then it is true for k+1k + 1. Check this step, then explain what is wrong with the claim.
  8. How many diag­o­nals does a poly­gon with 12 sides have?

Answers

Show answers
  1. Base: a1=3=4−1a_1 = 3 = 4 - 1. Step: ak+1=(4k−1)+4=4(k+1)−1a_{k+1} = (4k - 1) + 4 = 4(k + 1) - 1.
  2. a2=5a_2 = 5, a3=17a_3 = 17, a4=53a_4 = 53. Base: 2×1−1=12 \times 1 - 1 = 1. Step: ak+1=3(2⋅3k−1−1)+2=2⋅3k−1a_{k+1} = 3(2 \cdot 3^{k-1} - 1) + 2 = 2 \cdot 3^k - 1.
  3. Base: 12=12\displaystyle \frac{1}{2} = \frac{1}{2}. Step: 1k+1×(1−1k+2)=1k+1×k+1k+2=1k+2\displaystyle \frac{1}{k + 1} \times \left(1 - \frac{1}{k + 2}\right) = \frac{1}{k + 1} \times \frac{k + 1}{k + 2} = \frac{1}{k + 2}.
  4. Base: 1+3=4=221 + 3 = 4 = 2^2. Step: (k+1)2(1+2k+3(k+1)2)=(k+1)2+2k+3=k2+4k+4=(k+2)2\displaystyle (k + 1)^2\left(1 + \frac{2k + 3}{(k + 1)^2}\right) = (k + 1)^2 + 2k + 3 = k^2 + 4k + 4 = (k + 2)^2.
  5. Base: 1=1×2×36\displaystyle 1 = \frac{1 \times 2 \times 3}{6}. Step: k(k+1)(k+2)6+(k+1)(k+2)2=(k+1)(k+2)(k+3)6\displaystyle \frac{k(k + 1)(k + 2)}{6} + \frac{(k + 1)(k + 2)}{2} = \frac{(k + 1)(k + 2)(k + 3)}{6}.
  6. Base: 2 peo­ple, 1 hand­shake, and 2×12=1\displaystyle \frac{2 \times 1}{2} = 1. Step: a new per­son shakes hands with the kk oth­ers, so the count becomes k(k−1)2+k=k(k+1)2\displaystyle \frac{k(k - 1)}{2} + k = \frac{k(k + 1)}{2}.
  7. Step: k2+k+22+(k+1)=k2+3k+42=(k+1)2+(k+1)+22\displaystyle \frac{k^2 + k + 2}{2} + (k + 1) = \frac{k^2 + 3k + 4}{2} = \frac{(k + 1)^2 + (k + 1) + 2}{2}, so the step is cor­rect. But for n=1n = 1 the left side is 1 while the right side is 1+1+22=2\displaystyle \frac{1 + 1 + 2}{2} = 2, so the claim is false there: the base step fails, so the claim is false for every nn. (The cor­rect sum is n2+n2\displaystyle \frac{n^2 + n}{2}.)
  8. 12×92=54\displaystyle \frac{12 \times 9}{2} = 54