Matrix Power Calculator (A^k)
Calculate any matrix raised to a non-negative power \(A^k\) step by step, showing all intermediate product matrices with exact rational arithmetic.
How Matrix Powers Work
Raising a matrix to an integer power \(k\) is the process of repeatedly multiplying the matrix by itself. Because matrix multiplication requires square dimensions to be defined for identical factors, matrix power is only valid for square \(n \times n\) matrices.
\(A^0 = I_n\)
\(A^k = \underbrace{A \cdot A \cdots A}_{k \text{ times}} = A^{k-1} \cdot A\)
Where \(I_n\) is the \(n \times n\) identity matrix with ones along the main diagonal and zeros elsewhere.Special Matrix Power Properties
- Idempotent Matrices: If \(A^2 = A\), then \(A^k = A\) for all integers \(k \ge 1\).
- Involutory Matrices: If \(A^2 = I\), then \(A^k = I\) for even \(k\), and \(A^k = A\) for odd \(k\).
- Nilpotent Matrices: If \(A^k = 0\) for some positive integer \(k\), all higher powers \(A^{k+m}\) are also the zero matrix.
- Determinant Property: \(\det(A^k) = (\det(A))^k\). This allows instant verification of the determinant of any power.
- Eigenvalue Property: If \(\lambda\) is an eigenvalue of \(A\), then \(\lambda^k\) is an eigenvalue of \(A^k\).
Solved Matrix Power Examples
Compute \(A^2\) where \(A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\):
\(A^2 = A \cdot A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\)
Calculate each entry via dot products:
- \((A^2)_{11} = (1)(1) + (2)(3) = 1 + 6 = 7\)
- \((A^2)_{12} = (1)(2) + (2)(4) = 2 + 8 = 10\)
- \((A^2)_{21} = (3)(1) + (4)(3) = 3 + 12 = 15\)
- \((A^2)_{22} = (3)(2) + (4)(4) = 6 + 16 = 22\)
\(A^2 = \begin{bmatrix} 7 & 10 \\ 15 & 22 \end{bmatrix}\)
Let \(N = \begin{bmatrix} 0 & 3 \\ 0 & 0 \end{bmatrix}\). Compute \(N^2\):
\(N^2 = \begin{bmatrix} 0 & 3 \\ 0 & 0 \end{bmatrix} \begin{bmatrix} 0 & 3 \\ 0 & 0 \end{bmatrix} = \begin{bmatrix} (0)(0) + (3)(0) & (0)(3) + (3)(0) \\ (0)(0) + (0)(0) & (0)(3) + (0)(0) \end{bmatrix} = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}\)
Because \(N^2 = 0\), matrix \(N\) is nilpotent of index 2. Any subsequent power \(N^3, N^4, \dots\) is trivially the zero matrix.
Matrix Multiplication Deep Dive
Since matrix powers rely on repeated row-column dot products, master matrix multiplication principles in our student tutorial.
Read our step-by-step tutorial: How to Multiply Matrices →