Skip to content
FiftyCalc Free calculators for all 50 states

Matrix Power Calculator

Test cases replayed : 6 of 6 match · Methodology · No outside source listed

Enter the four entries of a 2×2 matrix A and a whole-number exponent n to get Aⁿ.

Result

Sample figures

Aⁿ row 1, column 1—

Trace of A (a + d) —

  • Determinant of A (ad − bc)—
  • Aⁿ row 1, column 2—
  • Aⁿ row 2, column 1—
  • Aⁿ row 2, column 2—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Matrix Power Calculator

Row 1, column 1: enter a number. Prefilled example: 1.

Row 1, column 2: enter a number. Prefilled example: 1.

Row 2, column 1: enter a number. Prefilled example: 1.

Row 2, column 2: enter a number. Prefilled example: 0.

Power n (whole number, 0 or more): enter 0 or more. Prefilled example: 10.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Row 1, column 1: enter a number.
  2. Row 1, column 2: enter a number.
  3. Row 2, column 1: enter a number.
  4. Row 2, column 2: enter a number.
  5. Power n (whole number, 0 or more): enter 0 or more.
  6. Read the result: Aⁿ row 1, column 1; the panel also shows Trace of A (a + d), Determinant of A (ad − bc), Aⁿ row 1, column 2, Aⁿ row 2, column 1 and Aⁿ row 2, column 2.

How this calculator works

By the Cayley–Hamilton theorem a 2×2 matrix satisfies A² = tA − δI, where t is its trace and δ its determinant. Repeating this gives Aⁿ = sₙ A − δ sₙ₋₁ I, with s₀ = 0, s₁ = 1 and sₙ₊₁ = t sₙ − δ sₙ₋₁.

The sequence has a closed form through the eigenvalues λ₁, λ₂ = (t ± √(t² − 4δ)) ÷ 2: sₙ = (λ₁ⁿ − λ₂ⁿ) ÷ (λ₁ − λ₂), or n (t/2)ⁿ⁻¹ when the eigenvalues are equal, or its trigonometric form when they are complex. A⁰ is the identity matrix. Entries are rounded to 9 decimal places.

Worked example

Row 1, column 11
Row 1, column 21
Row 2, column 11
Row 2, column 20
Power n (whole number, 0 or more)10
Trace of A (a + d)1
Determinant of A (ad − bc)-1
Aⁿ row 1, column 189
Aⁿ row 1, column 255
Aⁿ row 2, column 155
Aⁿ row 2, column 234

Frequently asked questions

What is [[1, 1], [1, 0]] to the 10th power?

[[89, 55], [55, 34]]: the powers of this matrix contain the Fibonacci numbers.

Can I raise a matrix to a power by raising each entry?

No. Aⁿ is A multiplied by itself n times; [[1, 2], [3, 4]]⁴ is [[199, 290], [435, 634]], not [[1, 16], [81, 256]].

Related calculators