Matrix Power Calculator

Raise a square matrix to a whole-number power.

Matrix A
Size
2

Write rows separated by semicolons, like 1, 2; 3, 4.

A whole number from 0 to 20.

Try

Result

You entered(1234)2\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}^{2}

(7101522)\displaystyle \begin{pmatrix} 7 & 10 \\ 15 & 22 \end{pmatrix}
Show the work
  1. Repeated multiplication

    For a small power, multiply the matrix by itself 11 time. Entry (i,j)(i, j) of a product is row ii of the left matrix multiplied, entry by entry, with column jj of the right matrix, and the products added.

    Using Ak=Ak−1AA^k = A^{k-1} A

    A2=(1234)×(1234)=(7101522)A^{2} = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} \times \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} = \begin{pmatrix} 7 & 10 \\ 15 & 22 \end{pmatrix}
  2. Result

    So A2=(7101522)A^{2} = \begin{pmatrix} 7 & 10 \\ 15 & 22 \end{pmatrix}.

Worked examples