Matrix Power

Compute nonnegative integer matrix powers through sequential matrix multiplication.

Build A³ in two multiplications

First compute A² = A·A, then multiply that result by A again. The sequential products accumulate the off-diagonal entry to 3.

[[1, 1], [0, 1]]³

Square a diagonal matrix

The off-diagonal entries remain zero. Each diagonal entry multiplies by itself, so the second power is immediate after two row-column calculations.

[[2, 0], [0, −3]]²

Use the identity for exponent zero

Any nonzero square matrix to the zero power is the identity matrix of the same size. It is the starting point for repeated multiplication.

[[4, 1], [−2, 3]]⁰

Practice

Practice: problems like this one, made and checked in your browser.

Recap

  • Matrix powers require a square matrix and a nonnegative integer exponent.
  • Build powers by multiplying one factor at a time.
  • A⁰ is the identity of the same dimension.