Matrix Power Notes
These Matrix Power Notes explain how to raise a square matrix to a whole-number power, with the working shown line by line. A matrix power is repeated multiplication, so \(A^{3}\) means \(A\) multiplied by itself twice over, not each entry cubed. Only square matrices can be raised to a power, since the shapes have to keep matching at every step. Following the same pattern every time makes a matrix power easy to check and repeat.
Step-by-step method
- Set up the problem.
- Write the formula.
- Write the power as repeated multiplication.
- Multiply one factor at a time.
Formula: Matrix Power Formula
This formula raises a square matrix to a whole number power. Multiply A by itself until there are n factors.
Useful Tips to Remember
Only square matrices can be raised to a power, because the sizes have to match for every multiplication. A matrix power is not found by raising each entry to the power. Each new power is the previous one times A, so \(A^{3} = A^{2} \times A\). For a diagonal matrix, though, you can simply raise each diagonal entry to the power.
Required knowledge
- How to multiply two matrices, covered in the Matrix Multiplication Calculator.
- How to multiply numbers, including negatives, covered in the Multiplication of Small Numbers Calculator.
- How to add the products, covered in the Addition of Small Numbers Calculator.
Where Is Matrix Powers Used?
Matrix powers apply the same change over and over, which is how repeated processes are modelled. In probability, raising a transition matrix to the power n gives the chances of each state after n steps of a Markov chain. Population models use matrix powers to project how age groups grow year after year. In graph theory, a power of an adjacency matrix counts the routes between points, and computer graphics repeats a transformation by raising its matrix to a power.
- Markov chains and long-run probabilities
- Population projections with Leslie matrices
- Counting routes in networks and graphs
- Repeating transformations in graphics
- Computing Fibonacci numbers quickly
Matrix Power Practice Problems
Example 1 squares a \(2 \times 2\) matrix, and Example 2 raises an upper triangular matrix to the power 3 in two multiplications. Examples 3 and 4 give you two more problems of the same kind to try. Multiply one factor at a time yourself and compare.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Write the power as repeated multiplication.
- Multiply one factor at a time.
Formula
Formula: Matrix Power Formula
This formula raises a square matrix to a whole number power. Multiply A by itself until there are n factors.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A is \(2 \times 2\), so it is square and can be multiplied by itself. We are raising it to the power \(2\).
Step 2
Step 2 - Write the formula.
In this problem: A matrix power is repeated multiplication, so A is multiplied by itself until there are n factors.
Step 3
Step 3 - Write the power as repeated multiplication.
In this problem: Writing the power out in full puts A down 2 times, and the factors are multiplied from left to right.
Step 4
Step 4 - Multiply one factor at a time.
In this problem: Multiplying \(A\) by A, covered in the Matrix Multiplication Calculator, gives \(A^{2} = \begin{bmatrix} 7 & 10 \\ 15 & 22 \end{bmatrix}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Pair each row of A with each column of B.
- Work out each entry.
Formula
Formula: Matrix Multiplication Formula
This formula gives each entry of AB. Multiply the entries of row i of A by the matching entries of column j of B, then add the products.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A is \(2 \times 2\) and Matrix B is \(2 \times 2\). The 2 columns of A match the 2 rows of B, so they can be multiplied and the answer is \(2 \times 2\).
Step 2
Step 2 - Write the formula.
In this problem: Each entry of AB comes from one row of A and one column of B. The matching entries are multiplied in pairs and the products are added.
Step 3
Step 3 - Pair each row of A with each column of B.
In this problem: Pairing every row of A with every column of B gives \(AB = \begin{bmatrix} 1 \times 1 + 2 \times 3 & 1 \times 2 + 2 \times 4 \\ 3 \times 1 + 4 \times 3 & 3 \times 2 + 4 \times 4 \end{bmatrix}\). For example, the top left entry uses \(\text{row } 1 = \begin{bmatrix} 1 & 2 \end{bmatrix}\) of A and \(\text{column } 1 = \begin{bmatrix} 1 \\ 3 \end{bmatrix}\) of B.
Step 4
Step 4 - Work out each entry.
In this problem: Working out each entry gives \(1 \times 1 + 2 \times 3 = 1 + 6 = 7\), \(1 \times 2 + 2 \times 4 = 2 + 8 = 10\), \(3 \times 1 + 4 \times 3 = 3 + 12 = 15\) and \(3 \times 2 + 4 \times 4 = 6 + 16 = 22\).
Final Answer
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Write the power as repeated multiplication.
- Multiply one factor at a time.
Formula
Formula: Matrix Power Formula
This formula raises a square matrix to a whole number power. Multiply A by itself until there are n factors.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A is \(2 \times 2\), so it is square and can be multiplied by itself. We are raising it to the power \(3\).
Step 2
Step 2 - Write the formula.
In this problem: A matrix power is repeated multiplication, so A is multiplied by itself until there are n factors.
Step 3
Step 3 - Write the power as repeated multiplication.
In this problem: Writing the power out in full puts A down 3 times, and the factors are multiplied from left to right.
Step 4
Step 4 - Multiply one factor at a time.
In this problem: There are 2 multiplications to do, so each one builds on the one before.
Step 4a
Step 4a - Work out A to the power 2.
In this problem: Multiplying \(A\) by A, covered in the Matrix Multiplication Calculator, gives \(A^{2} = \begin{bmatrix} 4 & 5 \\ 0 & 9 \end{bmatrix}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Pair each row of A with each column of B.
- Work out each entry.
Formula
Formula: Matrix Multiplication Formula
This formula gives each entry of AB. Multiply the entries of row i of A by the matching entries of column j of B, then add the products.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A is \(2 \times 2\) and Matrix B is \(2 \times 2\). The 2 columns of A match the 2 rows of B, so they can be multiplied and the answer is \(2 \times 2\).
Step 2
Step 2 - Write the formula.
In this problem: Each entry of AB comes from one row of A and one column of B. The matching entries are multiplied in pairs and the products are added.
Step 3
Step 3 - Pair each row of A with each column of B.
In this problem: Pairing every row of A with every column of B gives \(AB = \begin{bmatrix} 2 \times 2 + 1 \times 0 & 2 \times 1 + 1 \times 3 \\ 0 \times 2 + 3 \times 0 & 0 \times 1 + 3 \times 3 \end{bmatrix}\). For example, the top left entry uses \(\text{row } 1 = \begin{bmatrix} 2 & 1 \end{bmatrix}\) of A and \(\text{column } 1 = \begin{bmatrix} 2 \\ 0 \end{bmatrix}\) of B.
Step 4
Step 4 - Work out each entry.
In this problem: Working out each entry gives \(2 \times 2 + 1 \times 0 = 4 + 0 = 4\), \(2 \times 1 + 1 \times 3 = 2 + 3 = 5\), \(0 \times 2 + 3 \times 0 = 0 + 0 = 0\) and \(0 \times 1 + 3 \times 3 = 0 + 9 = 9\).
Final Answer
Step 4b
Step 4b - Work out A to the power 3.
In this problem: Multiplying \(A^{2}\) by A, covered in the Matrix Multiplication Calculator, gives \(A^{3} = \begin{bmatrix} 8 & 19 \\ 0 & 27 \end{bmatrix}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Pair each row of A with each column of B.
- Work out each entry.
Formula
Formula: Matrix Multiplication Formula
This formula gives each entry of AB. Multiply the entries of row i of A by the matching entries of column j of B, then add the products.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A is \(2 \times 2\) and Matrix B is \(2 \times 2\). The 2 columns of A match the 2 rows of B, so they can be multiplied and the answer is \(2 \times 2\).
Step 2
Step 2 - Write the formula.
In this problem: Each entry of AB comes from one row of A and one column of B. The matching entries are multiplied in pairs and the products are added.
Step 3
Step 3 - Pair each row of A with each column of B.
In this problem: Pairing every row of A with every column of B gives \(AB = \begin{bmatrix} 4 \times 2 + 5 \times 0 & 4 \times 1 + 5 \times 3 \\ 0 \times 2 + 9 \times 0 & 0 \times 1 + 9 \times 3 \end{bmatrix}\). For example, the top left entry uses \(\text{row } 1 = \begin{bmatrix} 4 & 5 \end{bmatrix}\) of A and \(\text{column } 1 = \begin{bmatrix} 2 \\ 0 \end{bmatrix}\) of B.
Step 4
Step 4 - Work out each entry.
In this problem: Working out each entry gives \(4 \times 2 + 5 \times 0 = 8 + 0 = 8\), \(4 \times 1 + 5 \times 3 = 4 + 15 = 19\), \(0 \times 2 + 9 \times 0 = 0 + 0 = 0\) and \(0 \times 1 + 9 \times 3 = 0 + 27 = 27\).
Final Answer
Final Answer
See Example 3 Hide Example 3
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Write the power as repeated multiplication.
- Multiply one factor at a time.
Formula
Formula: Matrix Power Formula
This formula raises a square matrix to a whole number power. Multiply A by itself until there are n factors.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A is \(2 \times 2\), so it is square and can be multiplied by itself. We are raising it to the power \(2\).
Step 2
Step 2 - Write the formula.
In this problem: A matrix power is repeated multiplication, so A is multiplied by itself until there are n factors.
Step 3
Step 3 - Write the power as repeated multiplication.
In this problem: Writing the power out in full puts A down 2 times, and the factors are multiplied from left to right.
Step 4
Step 4 - Multiply one factor at a time.
In this problem: Multiplying \(A\) by A, covered in the Matrix Multiplication Calculator, gives \(A^{2} = \begin{bmatrix} 5 & 3 \\ 3 & 2 \end{bmatrix}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Pair each row of A with each column of B.
- Work out each entry.
Formula
Formula: Matrix Multiplication Formula
This formula gives each entry of AB. Multiply the entries of row i of A by the matching entries of column j of B, then add the products.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A is \(2 \times 2\) and Matrix B is \(2 \times 2\). The 2 columns of A match the 2 rows of B, so they can be multiplied and the answer is \(2 \times 2\).
Step 2
Step 2 - Write the formula.
In this problem: Each entry of AB comes from one row of A and one column of B. The matching entries are multiplied in pairs and the products are added.
Step 3
Step 3 - Pair each row of A with each column of B.
In this problem: Pairing every row of A with every column of B gives \(AB = \begin{bmatrix} 2 \times 2 + 1 \times 1 & 2 \times 1 + 1 \times 1 \\ 1 \times 2 + 1 \times 1 & 1 \times 1 + 1 \times 1 \end{bmatrix}\). For example, the top left entry uses \(\text{row } 1 = \begin{bmatrix} 2 & 1 \end{bmatrix}\) of A and \(\text{column } 1 = \begin{bmatrix} 2 \\ 1 \end{bmatrix}\) of B.
Step 4
Step 4 - Work out each entry.
In this problem: Working out each entry gives \(2 \times 2 + 1 \times 1 = 4 + 1 = 5\), \(2 \times 1 + 1 \times 1 = 2 + 1 = 3\), \(1 \times 2 + 1 \times 1 = 2 + 1 = 3\) and \(1 \times 1 + 1 \times 1 = 1 + 1 = 2\).
Final Answer
Final Answer
See Example 4 Hide Example 4
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Write the power as repeated multiplication.
- Multiply one factor at a time.
Formula
Formula: Matrix Power Formula
This formula raises a square matrix to a whole number power. Multiply A by itself until there are n factors.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A is \(2 \times 2\), so it is square and can be multiplied by itself. We are raising it to the power \(3\).
Step 2
Step 2 - Write the formula.
In this problem: A matrix power is repeated multiplication, so A is multiplied by itself until there are n factors.
Step 3
Step 3 - Write the power as repeated multiplication.
In this problem: Writing the power out in full puts A down 3 times, and the factors are multiplied from left to right.
Step 4
Step 4 - Multiply one factor at a time.
In this problem: There are 2 multiplications to do, so each one builds on the one before.
Step 4a
Step 4a - Work out A to the power 2.
In this problem: Multiplying \(A\) by A, covered in the Matrix Multiplication Calculator, gives \(A^{2} = \begin{bmatrix} 1 & 3 \\ 0 & 4 \end{bmatrix}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Pair each row of A with each column of B.
- Work out each entry.
Formula
Formula: Matrix Multiplication Formula
This formula gives each entry of AB. Multiply the entries of row i of A by the matching entries of column j of B, then add the products.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A is \(2 \times 2\) and Matrix B is \(2 \times 2\). The 2 columns of A match the 2 rows of B, so they can be multiplied and the answer is \(2 \times 2\).
Step 2
Step 2 - Write the formula.
In this problem: Each entry of AB comes from one row of A and one column of B. The matching entries are multiplied in pairs and the products are added.
Step 3
Step 3 - Pair each row of A with each column of B.
In this problem: Pairing every row of A with every column of B gives \(AB = \begin{bmatrix} 1 \times 1 + 1 \times 0 & 1 \times 1 + 1 \times 2 \\ 0 \times 1 + 2 \times 0 & 0 \times 1 + 2 \times 2 \end{bmatrix}\). For example, the top left entry uses \(\text{row } 1 = \begin{bmatrix} 1 & 1 \end{bmatrix}\) of A and \(\text{column } 1 = \begin{bmatrix} 1 \\ 0 \end{bmatrix}\) of B.
Step 4
Step 4 - Work out each entry.
In this problem: Working out each entry gives \(1 \times 1 + 1 \times 0 = 1 + 0 = 1\), \(1 \times 1 + 1 \times 2 = 1 + 2 = 3\), \(0 \times 1 + 2 \times 0 = 0 + 0 = 0\) and \(0 \times 1 + 2 \times 2 = 0 + 4 = 4\).
Final Answer
Step 4b
Step 4b - Work out A to the power 3.
In this problem: Multiplying \(A^{2}\) by A, covered in the Matrix Multiplication Calculator, gives \(A^{3} = \begin{bmatrix} 1 & 7 \\ 0 & 8 \end{bmatrix}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Pair each row of A with each column of B.
- Work out each entry.
Formula
Formula: Matrix Multiplication Formula
This formula gives each entry of AB. Multiply the entries of row i of A by the matching entries of column j of B, then add the products.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A is \(2 \times 2\) and Matrix B is \(2 \times 2\). The 2 columns of A match the 2 rows of B, so they can be multiplied and the answer is \(2 \times 2\).
Step 2
Step 2 - Write the formula.
In this problem: Each entry of AB comes from one row of A and one column of B. The matching entries are multiplied in pairs and the products are added.
Step 3
Step 3 - Pair each row of A with each column of B.
In this problem: Pairing every row of A with every column of B gives \(AB = \begin{bmatrix} 1 \times 1 + 3 \times 0 & 1 \times 1 + 3 \times 2 \\ 0 \times 1 + 4 \times 0 & 0 \times 1 + 4 \times 2 \end{bmatrix}\). For example, the top left entry uses \(\text{row } 1 = \begin{bmatrix} 1 & 3 \end{bmatrix}\) of A and \(\text{column } 1 = \begin{bmatrix} 1 \\ 0 \end{bmatrix}\) of B.
Step 4
Step 4 - Work out each entry.
In this problem: Working out each entry gives \(1 \times 1 + 3 \times 0 = 1 + 0 = 1\), \(1 \times 1 + 3 \times 2 = 1 + 6 = 7\), \(0 \times 1 + 4 \times 0 = 0 + 0 = 0\) and \(0 \times 1 + 4 \times 2 = 0 + 8 = 8\).
Final Answer
Final Answer
Calculator and Practice Mode
Want to check your own working? The Matrix Power Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. When you are ready to test yourself, Matrix Power Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode for this calculator is available on the Pro plan.