Skip to content

9231 · 1.7

Proof by induction — practice questions

Practice and worked examples for 9231 Proof by induction. Short previews only — attempt the full question in MarkScheme against the official scheme.

Worked example 1

Use the method of mathematical induction to prove that for all positive integers nn,

∑r=1nr(r+1)=13n(n+1)(n+2)\sum_{r=1}^{n} r(r+1) = \frac{1}{3}n(n+1)(n+2)

Show solution outline

Let P(n)P(n) be the statement ∑r=1nr(r+1)=13n(n+1)(n+2)\sum_{r=1}^{n} r(r+1) = \frac{1}{3}n(n+1)(n+2).

Step 1: Base Case We need to show P(1)P(1) is true. For n=1n=1, LHS = ∑r=11r(r+1)=1(1+1)=2\sum_{r=1}^{1} r(r+1) = 1(1+1) = 2. RHS = 13(1)(1+1)(1+2)=13(1)(2)(3)=2\frac{1}{3}(1)(1+1)(1+2) = \frac{1}{3}(1)(2)(3) = 2. Since LHS = RHS, P(1)P(1) is true.

Step 2: Inductive Hypothesis Assume that P(k)P(k) is true for some positive integer kk. That is, assume ∑r=1kr(r+1)=13k(k+1)(k+2)\sum_{r=1}^{k} r(r+1) = \frac{1}{3}k(k+1)(k+2).

Step 3: Inductive Step We need to show that P(k+1)P(k+1) is true. That is, we need to prove that ∑r=1k+1r(r+1)=13(k+1)((k+1)+1)((k+1)+2)=13(k+1)(k+2)(k+3)\sum_{r=1}^{k+1} r(r+1) = \frac{1}{3}(k+1)((k+1)+1)((k+1)+2) = \frac{1}{3}(k+1)(k+2)(k+3).

Consider the LHS for n=k+1n=k+1: ∑r=1k+1r(r+1)=(∑r=1kr(r+1))+(k+1)((k+1)+1)\sum_{r=1}^{k+1} r(r+1) = \left( \sum_{r=1}^{k} r(r+1) \right) + (k+1)((k+1)+1) =(∑r=1kr(r+1))+(k+1)(k+2)= \left( \sum_{r=1}^{k} r(r+1) \right) + (k+1)(k+2)

Now, using the inductive hypothesis for the sum up to kk: =13k(k+1)(k+2)+(k+1)(k+2)= \frac{1}{3}k(k+1)(k+2) + (k+1)(k+2)

Factor out the common terms (k+1)(k+2)(k+1)(k+2): =(k+1)(k+2)(13k+1)= (k+1)(k+2) \left( \frac{1}{3}k + 1 \right) =(k+1)(k+2)(k+33)= (k+1)(k+2) \left( \frac{k+3}{3} \right) =13(k+1)(k+2)(k+3)= \frac{1}{3}(k+1)(k+2)(k+3)

This is the required RHS for P(k+1)P(k+1). So, if P(k)P(k) is true, then P(k+1)P(k+1) is true.

Step 4: Conclusion Since P(1)P(1) is true, and it has been shown that if P(k)P(k) is true then P(k+1)P(k+1) is true, by the principle of mathematical induction, the statement is true for all positive integers nn.

Worked example 2

Prove by induction that f(n)=7n−1f(n) = 7^n - 1 is divisible by 6 for all integers n≥1n \ge 1.

Show solution outline

Let P(n)P(n) be the statement '7n−17^n - 1 is divisible by 6'.

Step 1: Base Case For n=1n=1, f(1)=71−1=6f(1) = 7^1 - 1 = 6. Since 6 is divisible by 6, P(1)P(1) is true.

Step 2: Inductive Hypothesis Assume that P(k)P(k) is true for some integer k≥1k \ge 1. This means we assume 7k−17^k - 1 is divisible by 6. So, we can write 7k−1=6m7^k - 1 = 6m for some integer mm. This implies 7k=6m+17^k = 6m + 1.

Step 3: Inductive Step We want to prove that P(k+1)P(k+1) is true, i.e., that 7k+1−17^{k+1} - 1 is divisible by 6. Consider f(k+1)=7k+1−1f(k+1) = 7^{k+1} - 1. f(k+1)=7⋅7k−1f(k+1) = 7 \cdot 7^k - 1

Now, substitute the expression for 7k7^k from our assumption (7k=6m+17^k = 6m + 1): f(k+1)=7(6m+1)−1f(k+1) = 7(6m + 1) - 1 f(k+1)=42m+7−1f(k+1) = 42m + 7 - 1 f(k+1)=42m+6f(k+1) = 42m + 6 f(k+1)=6(7m+1)f(k+1) = 6(7m + 1)

Since mm is an integer, 7m+17m+1 is also an integer. Therefore, f(k+1)f(k+1) is a multiple of 6. So, if P(k)P(k) is true, then P(k+1)P(k+1) is true.

Step 4: Conclusion Since P(1)P(1) is true, and we have shown that P(k)  ⟹  P(k+1)P(k) \implies P(k+1), by the principle of mathematical induction, the statement is true for all integers n≥1n \ge 1.