Skip to main content
Examonaut

Topic 1 · Lesson 2 of 3

Divisibility and powers of matrices

Divisibility

To prove that f(n)f(n) is divisible by dd for every positive integer nn, the inductive step must show that f(k+1)f(k+1) is divisible by dd, given that f(k)f(k) is. There are two standard ways.

Method 1: look at f(k+1)−f(k)f(k+1) - f(k). If you can show f(k+1)−f(k)f(k+1) - f(k) is a multiple of dd, then f(k+1)=f(k)+(multiple of d)f(k+1) = f(k) + (\text{multiple of } d) is a sum of two multiples of dd.

Method 2: substitute. Write the assumption as f(k)=dmf(k) = dm for an integer mm, rearrange it to make the awkward power the subject, and substitute into f(k+1)f(k+1).

Method 1 is usually quicker. Sometimes f(k+1)−f(k)f(k+1) - f(k) is not obviously a multiple of dd, but f(k+1)−cf(k)f(k+1) - cf(k) is, for a well-chosen number cc (often the base of the power); the same argument works, because cf(k)cf(k) is a multiple of dd too.

Worked example

Divisibility by subtraction

Prove that 5n+8n+35^n + 8n + 3 is divisible by 4 for all positive integers nn.

Show solution

Basis. f(1)=5+8+3=16=4×4f(1) = 5 + 8 + 3 = 16 = 4 \times 4, divisible by 4.

Assume f(k)=5k+8k+3f(k) = 5^k + 8k + 3 is divisible by 4.

Step.

f(k+1)−f(k)=5k+1−5k+8=4×5k+8=4(5k+2)f(k+1) - f(k) = 5^{k+1} - 5^k + 8 = 4 \times 5^k + 8 = 4(5^k + 2)

which is divisible by 4. So f(k+1)=f(k)+4(5k+2)f(k+1) = f(k) + 4(5^k + 2) is a sum of two multiples of 4, and is divisible by 4.

Conclusion. If f(k)f(k) is divisible by 4 then so is f(k+1)f(k+1); f(1)f(1) is divisible by 4, so f(n)f(n) is divisible by 4 for all positive integers nn.

Worked example

Choosing a multiple

Prove that 32n+73^{2n} + 7 is divisible by 8 for all positive integers nn.

Show solution

Basis. f(1)=9+7=16f(1) = 9 + 7 = 16, divisible by 8.

Assume f(k)=32k+7f(k) = 3^{2k} + 7 is divisible by 8.

Step. Here f(k+1)=9×32k+7f(k+1) = 9 \times 3^{2k} + 7. Subtract 9f(k)9f(k):

f(k+1)−9f(k)=9×32k+7−9×32k−63=−56=8×(−7)f(k+1) - 9f(k) = 9 \times 3^{2k} + 7 - 9 \times 3^{2k} - 63 = -56 = 8 \times (-7)

So f(k+1)=9f(k)−56f(k+1) = 9f(k) - 56, and both terms are multiples of 8.

Conclusion as before.

Powers of matrices

For a statement Mn=An\mathbf{M}^n = \mathbf{A}_n, the inductive step uses Mk+1=MkM\mathbf{M}^{k+1} = \mathbf{M}^k\mathbf{M} (or MMk\mathbf{M}\mathbf{M}^k: powers of the same matrix commute, so either order is fine). Replace Mk\mathbf{M}^k by the assumed matrix, multiply out, and simplify each entry to the formula with n=k+1n = k + 1.

Worked example

A matrix power

Prove by induction that, for all positive integers nn,

Show solution
(21−10)n=(n+1n−n1−n)\begin{pmatrix} 2 & 1 \\ -1 & 0 \end{pmatrix}^n = \begin{pmatrix} n+1 & n \\ -n & 1-n \end{pmatrix}

Basis. With n=1n = 1 the right side is (21−10)\begin{pmatrix} 2 & 1 \\ -1 & 0 \end{pmatrix}, the matrix itself. True.

Assume the result holds for n=kn = k.

Step.

(21−10)k+1=(k+1k−k1−k)(21−10)=(2k+2−kk+1−2k−1+k−k)=(k+2k+1−(k+1)1−(k+1))\begin{pmatrix} 2 & 1 \\ -1 & 0 \end{pmatrix}^{k+1} = \begin{pmatrix} k+1 & k \\ -k & 1-k \end{pmatrix}\begin{pmatrix} 2 & 1 \\ -1 & 0 \end{pmatrix} = \begin{pmatrix} 2k + 2 - k & k + 1 \\ -2k - 1 + k & -k \end{pmatrix} = \begin{pmatrix} k+2 & k+1 \\ -(k+1) & 1 - (k+1) \end{pmatrix}

which is the formula with n=k+1n = k + 1.

Conclusion. True for n=1n = 1, and true for n=kn = k implies true for n=k+1n = k + 1, so true for all positive integers nn.

Writing each entry in the final matrix in terms of k+1k + 1 (here −(k+1)-(k+1) and 1−(k+1)1 - (k+1)) makes it obvious to the examiner that you have reached the target.

Other contexts

The same structure proves results about sequences defined by a recurrence (for example, that un=3n−1u_n = 3^n - 1 when u1=2u_1 = 2 and un+1=3un+2u_{n+1} = 3u_n + 2) and inequalities (such as 2n>n22^n > n^2 for n≥5n \geq 5, where the basis is n=5n = 5). Whatever the context, the inductive step must use the assumption: if your working never mentions it, you have not done induction.

Practise this topic

Both are part of Premium.