Matrix Power Calculator (Aⁿ)
Enter a square matrix A and an exponent n to compute Aⁿ and view the resulting matrix. n=0 gives the identity matrix; negative n uses the inverse matrix.
Input
Enter one matrix row per line. Separate elements with spaces, tabs, or commas (e.g. 1 1 / 0 1).
Integer. 0 gives the identity matrix; negative values use the inverse (−50 to 50).
Result
Result
A^3 (2×2)
Matrix size
2×2
Exponent n
3
Entries of Aⁿ
| 1 | 3 |
| 0 | 1 |
How it works
- The exponent n is an integer. When n=0 the result is the identity matrix; when n>0 the matrix A is multiplied by itself n times.
- A negative exponent n computes the inverse A⁻¹ and raises it to the |n| power. This requires A to be invertible (non-singular).
- Enter one matrix row per line, with elements separated by spaces, tabs, or commas. Blank lines are ignored.
- The input must be a square matrix (equal number of rows and columns).
- Computation uses exponentiation by squaring, and tiny floating-point errors are rounded for display.
Reviews
Tell us what you think of this calculator.
Write a review
- Home
Matrix Power Calculator (Aⁿ)