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(2003)3\begin{pmatrix} 2 & 0 \\ 0 & 3 \end{pmatrix}^{3}

(80027)\displaystyle \begin{pmatrix} 8 & 0 \\ 0 & 27 \end{pmatrix}
Show the work
  1. Repeated multiplication

    For a small power, multiply the matrix by itself 22 times. 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=(2003)×(2003)=(4009)A^{2} = \begin{pmatrix} 2 & 0 \\ 0 & 3 \end{pmatrix} \times \begin{pmatrix} 2 & 0 \\ 0 & 3 \end{pmatrix} = \begin{pmatrix} 4 & 0 \\ 0 & 9 \end{pmatrix}
  2. Repeated multiplication

    Multiply A2A^{2} by AA again.

    A3=(4009)×(2003)=(80027)A^{3} = \begin{pmatrix} 4 & 0 \\ 0 & 9 \end{pmatrix} \times \begin{pmatrix} 2 & 0 \\ 0 & 3 \end{pmatrix} = \begin{pmatrix} 8 & 0 \\ 0 & 27 \end{pmatrix}
  3. Result

    So A3=(80027)A^{3} = \begin{pmatrix} 8 & 0 \\ 0 & 27 \end{pmatrix}.

Worked examples