Matrix Power Calculator
Raise a square matrix to an integer power. Calculate matrix squares, cubes, higher positive powers, the identity matrix for power zero, and negative powers for invertible matrices.
Calculate a Matrix Power
Enter a square matrix and an integer exponent. Use one row per line, separating entries with spaces or commas.
What Is a Matrix Power?
A matrix power is the product of a square matrix multiplied by itself repeatedly. If A is a square matrix, then:
Matrix powers are defined for square matrices because matrix multiplication requires compatible dimensions, and repeated multiplication of a square matrix preserves its dimensions.
Special Matrix Exponents
- Exponent 1: \(A^1=A\), so the result is the original matrix.
- Exponent 0: \(A^0=I\), where I is the identity matrix of the same size.
- Positive exponent: Repeated matrix multiplication.
- Negative exponent: \(A^{-n}=(A^{-1})^n\), provided A is invertible.
Example: Squaring a 2 × 2 Matrix
For the matrix below:
Its square is:
Enter this example in the calculator with exponent 2 to verify the result.
Related Matrix Calculators
Frequently Asked Questions
Can I raise a rectangular matrix to a power?
Ordinary integer matrix powers require a square matrix, because the matrix must be multiplied by itself repeatedly.
What happens when the exponent is zero?
For a square matrix, the zeroth power is the identity matrix of the same dimensions.
Can I use a negative exponent?
Yes, if the matrix is invertible. The calculator finds the inverse and raises that inverse to the corresponding positive power.
Why can a negative power fail?
A singular matrix has no inverse. Therefore, its negative integer powers are undefined.
Why are there limits on the exponent and matrix size?
The limits help keep calculations responsive on shared hosting and reduce the risk of numerical overflow. Large powers can produce very large values even for small matrices.