Matrix Power Calculator
Raise a square matrix to any positive, zero, or negative integer power with fast exponentiation.
Separate columns with commas and rows with semicolons. Negative powers require an invertible matrix.
About matrix powers
Matrix power examples
These examples cover positive, zero, and negative exponents.
| Matrix and exponent | Result | Explanation |
|---|---|---|
| [[1,2],[3,4]], n = 2 | [[7,10],[15,22]] | Multiply the matrix by itself. |
| [[2,0],[0,3]], n = 0 | [[1,0],[0,1]] | Every square matrix to power zero gives identity. |
| [[2,0],[0,4]], n = -1 | [[0.5,0],[0,0.25]] | A negative first power is the inverse. |
How to calculate a matrix power
- Enter a square matrix with commas between columns and semicolons between rows.
- Enter a positive, zero, or negative integer exponent.
- Click Calculate Power to perform fast matrix exponentiation.
- Read the resulting matrix in row order.
Frequently asked questions
What does a matrix power mean?
A positive matrix power means repeated matrix multiplication. It represents repeated application of the same linear transformation.
What is a matrix raised to zero?
The zero power is the identity matrix of matching size. This definition keeps the standard exponent laws consistent.
Can an exponent be negative?
Yes, when the matrix is invertible. A negative power applies repeated powers of the matrix inverse.
Why must the matrix be square?
Repeated multiplication requires the output dimensions to match the input dimensions. A rectangular matrix cannot generally be multiplied by itself.
How are large powers calculated?
The calculator uses exponentiation by squaring to reduce the multiplication count. This is much faster than multiplying the matrix once for every exponent step.