Matrix Power Calculator

Published on: October 19, 2025
Final Answer: Free | Full Steps: Pro

This Matrix Power Calculator raises a square matrix to a whole-number power and shows the working 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

  1. Set up the problem.
  2. Write the formula.
  3. Write the power as repeated multiplication.
  4. 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.

\(A^{n} = \underbrace{A \times A \times \cdots \times A}_{n \text{ times}}\)

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

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. Multiply one factor at a time yourself and compare. For two more free worked examples, check out the Matrix Power Notes.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix},\; n = 2\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Write the power as repeated multiplication.
  4. 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.

\(A^{n} = \underbrace{A \times A \times \cdots \times A}_{n \text{ times}}\)

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\).

\(A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix},\; n = 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.

\(A^{n} = \underbrace{A \times A \times \cdots \times A}_{n \text{ times}}\)

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.

\(A^{2} = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \times \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\)

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}\).

\(A^{2} = A \times A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \times \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} = \begin{bmatrix} 7 & 10 \\ 15 & 22 \end{bmatrix}\)

Final Answer

\(A^{2} = \begin{bmatrix} 7 & 10 \\ 15 & 22 \end{bmatrix}\)
See Example 2 Hide Example 2

Problem

\(A = \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix},\; n = 3\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Write the power as repeated multiplication.
  4. 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.

\(A^{n} = \underbrace{A \times A \times \cdots \times A}_{n \text{ times}}\)

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\).

\(A = \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix},\; n = 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.

\(A^{n} = \underbrace{A \times A \times \cdots \times A}_{n \text{ times}}\)

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.

\(A^{3} = \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix} \times \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix} \times \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix}\)

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.

\(A^{3} = \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix} \times \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix} \times \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix}\)

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}\).

\(A^{2} = A \times A = \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix} \times \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix} = \begin{bmatrix} 4 & 5 \\ 0 & 9 \end{bmatrix}\)

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}\).

\(A^{3} = A^{2} \times A = \begin{bmatrix} 4 & 5 \\ 0 & 9 \end{bmatrix} \times \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix} = \begin{bmatrix} 8 & 19 \\ 0 & 27 \end{bmatrix}\)

Final Answer

\(A^{3} = \begin{bmatrix} 8 & 19 \\ 0 & 27 \end{bmatrix}\)

Notes and Practice Mode

Size of A
2
×
2
Power n
Matrix A

Empty boxes count as 0. Entries can be whole numbers, decimals or fractions like 1/2.

Example Problems

Click one to load it into the box and solve it.