Mathematica 9 is now available
 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]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.