Matrix Powers by Induction

A pattern in the powers, proved rather than spotted.

Powers of a matrix

For a square matrix A, A² means A × A, A³ means A² × A, and in general Aⁿ is n copies of A multiplied together. Only a square matrix has powers, because A × A needs A to have as many columns as rows.

Take A = (1 1; 0 1). Row by column, A² has top row 1 × 1 + 1 × 0 = 1 and 1 × 1 + 1 × 1 = 2, and bottom row 0 and 1, so A² is the matrix (1 2; 0 1). Then A³ = A² × A has top row 1 and 1 × 1 + 2 × 1 = 3, so A³ is (1 3; 0 1).

One more: A⁴ = A³ × A has top right entry 1 × 1 + 3 × 1 = 4, so A⁴ is (1 4; 0 1). Each time, only the top right entry moves, and it goes up by 1.

A³1301A1101A⁴1401×=

Row 1 of A³ meets column 2 of A: 1 × 1 + 3 × 1 = 4, the top right entry of A⁴.

A pattern is not a proof

The powers suggest the formula that Aⁿ is the matrix (1 n; 0 1). Checking more cases makes it more believable, but no number of checked cases covers every n: there is always a next power that has not been checked.

Proof by induction covers them all with two parts, exactly as it does for a formula for a sum. The base case shows the formula is true for n = 1. The inductive step shows that if it is true for some n = k, it must be true for n = k + 1.

The base case

At n = 1 the formula gives (1 1; 0 1), with a 1 in the top right corner. That is A itself, and A¹ = A, so the formula is true for n = 1.

The inductive step

Assume the formula is true for n = k, so that Aᵏ is the matrix (1 k; 0 1). The next power is one more factor of A: Aᵏ⁺¹ = Aᵏ × A.

Multiply row by column. The top left entry is 1 × 1 + k × 0 = 1. The top right entry is 1 × 1 + k × 1 = k + 1. The bottom left entry is 0 × 1 + 1 × 0 = 0, and the bottom right entry is 0 × 1 + 1 × 1 = 1.

So Aᵏ⁺¹ is the matrix (1 k+1; 0 1), which is exactly what the formula gives for n = k + 1.

Aᵏ1k01A1101Aᵏ⁺¹1k + 101×=

Row 1 of Aᵏ meets column 2 of A: 1 × 1 + k × 1 = k + 1, the corner the formula predicts for the next power.

The conclusion

The formula is true for n = 1. Whenever it is true for n = k, it is true for n = k + 1. So it is true for n = 2, and therefore for n = 3, and so on without end: Aⁿ is (1 n; 0 1) for every positive whole number n.

A written proof ends with that sentence, naming both parts. The step alone proves nothing, since it only passes truth from one power to the next, and the base case alone covers only n = 1.

The factor of A can go on either side

Aᵏ⁺¹ is also A × Aᵏ, because every product of copies of A is the same whatever the bracketing. Worked that way, the top right entry is 1 × k + 1 × 1 = k + 1 again. Either side gives the proof; what matters is that exactly one more factor of A is multiplied in.

A second matrix

Take M = (2 1; 0 1). Then M² is (4 3; 0 1), since its top row is 2 × 2 + 1 × 0 = 4 and 2 × 1 + 1 × 1 = 3, and M³ = M² × M is (8 7; 0 1), since its top row is 4 × 2 = 8 and 4 × 1 + 3 × 1 = 7. The top left entry doubles each time, and the top right entry is always 1 less than it. The guess is that Mⁿ has top row 2ⁿ and 2ⁿ − 1, and bottom row 0 and 1.

Base case: at n = 1 the formula gives (2 1; 0 1), which is M.

Inductive step: assume that Mᵏ has top row 2ᵏ and 2ᵏ − 1, and bottom row 0 and 1. Then Mᵏ⁺¹ = Mᵏ × M has top left entry 2ᵏ × 2 + (2ᵏ − 1) × 0 = 2ᵏ⁺¹ and top right entry 2ᵏ × 1 + (2ᵏ − 1) × 1 = 2 × 2ᵏ − 1 = 2ᵏ⁺¹ − 1, and its bottom row is 0, 1. That is the formula for n = k + 1, so it holds for every positive whole number n.

Mᵏ2ᵏ2ᵏ − 101M2101×

Row 1 of Mᵏ meets column 2 of M: 2ᵏ × 1 + (2ᵏ − 1) × 1 = 2ᵏ⁺¹ − 1, the top right entry of Mᵏ⁺¹.

What the formula is for

Once proved, a formula gives any power without multiplying out all the ones before it. A¹⁰ is (1 10; 0 1), and M¹⁰ has top row 2¹⁰ = 1024 and 2¹⁰ − 1 = 1023, so it is (1024 1023; 0 1), with no products worked at all.

The usual mistakes

Stopping after checking A, A² and A³. The pattern is easy to see in three cases, but seeing it is not proving it; only the inductive step covers every later power.

Finding Aᵏ⁺¹ as Aᵏ × Aᵏ. That is A²ᵏ, and it doubles the corner to 2k; the next power has exactly one more factor of A.

Squaring A entry by entry. Every entry of (1 1; 0 1) is 0 or 1, so squaring the entries gives back A, but A² is (1 2; 0 1).

Doubling every entry for A². 2A = (2 2; 0 2) is a scalar multiple; A² is a product.

Trees, year after year

In the application below, one year in a park is multiplication by M = (1 5; 0 1) acting on a column of trees and gardeners. The powers M² and M³ suggest that Mⁿ is (1 5n; 0 1), which is proved by induction and then used for ten years at once.

Worked example: Trees Planted by a Team of Gardeners, with a Formula for Any Number of Years Proved by Induction

Question A park has 40 trees and a team of 3 gardeners. Each year every gardener plants 5 trees, no tree is lost, and the team stays the same size. With the column treesgardeners, one year is multiplication by M = 1501. (a) Find M2 and M3, and suggest a formula for Mn. (b) Prove your formula by induction for every positive whole number n, and use it to find the number of trees after 10 years.

  1. 1.First check the model: Mxg = 1 × x + 5 × g0 × x + 1 × g = x + 5gg for x trees and g gardeners: each gardener adds 5 trees, and the team is unchanged.

    the park each yearyear0123trees40557085gardeners33331501×xg=x + 5ggeach gardener adds 5 trees; the team stays the same
    the park each yearyear0123trees40557085gardeners33331501×xg=x + 5ggeach gardener adds 5 trees; the team stays the same
    Mxg = x + 5gg: each of the g gardeners adds 5 trees, and the team is unchanged.
  2. 2.M2 = MM: row 1 times column 1 is 1 × 1 + 5 × 0 = 1, row 1 times column 2 is 1 × 5 + 5 × 1 = 10, and row 2 gives 0 and 1. So M2 = 11001, and in the same way M3 = M2M = 11501.

    the park each yearyear0123trees40557085gardeners3333M2=11001M3=11501the top right entry: 5, 10, 15
    the park each yearyear0123trees40557085gardeners3333M2=11001M3=11501the top right entry: 5, 10, 15
    M2 = 11001 and M3 = 11501.
  3. 3.(a) The top right entry goes up by 5 with each power, so the formula to suggest is Mn = 15n01.

    the park each yearyear0123trees40557085gardeners3333Mn=15n01a guess, until it is proved
    the park each yearyear0123trees40557085gardeners3333Mn=15n01a guess, until it is proved
    (a) The top right entry goes up by 5 each time: the formula to suggest is Mn = 15n01.
  4. 4.Prove it by induction. For n = 1 the formula gives 1501, which is M, so it is true. Now assume that it is true for n = k, so that Mk = 15k01.

    the park each yearyear0123trees40557085gardeners3333n = 1: the formula gives M, so it is trueassume Mk=15k01
    the park each yearyear0123trees40557085gardeners3333n = 1: the formula gives M, so it is trueassume Mk=15k01
    For n = 1 the formula gives M. Assume it is true for n = k: Mk = 15k01.
  5. 5.Then Mk+1 = MkM = 1 × 1 + 5k × 01 × 5 + 5k × 10 × 1 + 1 × 00 × 5 + 1 × 1 = 15(k + 1)01, which is the formula for n = k + 1. It is true for n = 1, and whenever it is true for k it is true for k + 1, so it is true for every positive whole number n.

    the park each yearyear0123trees40557085gardeners3333Mk+1=15k01×1501=15k + 5011 × 5 + 5k × 1 = 5(k + 1)true for 1, and for k + 1 when true for k
    the park each yearyear0123trees40557085gardeners3333Mk+1=15k01×1501=15k + 5011 × 5 + 5k × 1 = 5(k + 1)true for 1, and for k + 1 when true for k
    Mk+1 = MkM = 15(k + 1)01, the formula for n = k + 1, so it is true for every positive whole number n.
  6. 6.(b) By the formula, M10 = 15001, and M10403 = 40 + 50 × 33 = 1903: after 10 years there are 190 trees. Check: the 3 gardeners plant 15 trees a year, and 40 + 10 × 15 = 190.

    the park each yearyear012310trees40557085190gardeners33333M10×403=40 + 50 × 33=1903check: 40 + 10 × 15 = 190
    the park each yearyear012310trees40557085190gardeners33333M10×403=40 + 50 × 33=1903check: 40 + 10 × 15 = 190
    (b) M10 = 15001, so after 10 years there are 40 + 50 × 3 = 190 trees.

Answer: (a) M2 = 11001, M3 = 11501, and Mn = 15n01; (b) proved by induction; 190 trees after 10 years

Common mistakes

  • Stopping after checking n = 1, 2 and 3. A pattern seen in three cases is only a guess; the inductive step is what shows that it holds for every n.
  • Finding Mk+1 as Mk times Mk. That is M2k, not one more year; Mk+1 is Mk times M.

More matrix arithmetic problems, worked step by step →

Practice Matrix Powers by Induction in the app