Linear Algebra

Matrix Power

Raise a square matrix to an integer power.

Formula

Formula
An

Variables

SymbolDefinitionType & rangeUnitsRole
A square matrix real matrix — input
n non-negative integer power integer (ℤ) — input

Try it yourself

Interactive calculator
rows separated by ';' , values by commas
Result
—

Worked examples

Example 1
GivenA = 1, 1; 1, 0, n = 5
Result
85
53
Example 2
GivenA = 2, 0; 0, 2, n = 3
Result
80
08