This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Lists and Matrices / Matrix Operations  /
MatrixPower

  • MatrixPower[ mat , n ] gives the n matrix power of mat.
  • MatrixPower[ mat , n ] effectively evaluates the product of a matrix with itself n times.
  • When n is negative, MatrixPower finds powers of the inverse of mat.
  • MatrixPower works only on square matrices.
  • See the Mathematica book: Section 3.7.7.
  • See also: Dot, MatrixExp.

    Further Examples

    This is the eighth power of the diagonal matrix.

    In[1]:=

    Out[1]=

    The top left entry of the matrix power of is the n Fibonacci number. Here are the first 20 Fibonacci numbers.

    In[2]:=

    Out[2]=