Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Lists and Matrices / Matrix Operations  /
Det

  • Det[ m ] gives the determinant of the square matrix m.
  • Det[ m , Modulus-> n ] computes the determinant modulo n.
  • See the Mathematica book: Section 1.8.3Section 3.7.7.
  • See also Implementation NotesA.9.44.27MainBookLinkOldButtonDataA.9.44.27Implementation NotesA.9.44.29MainBookLinkOldButtonDataA.9.44.29.
  • See also: Minors, RowReduce, NullSpace, Signature.

    Further Examples

    This is the determinant of a x matrix.

    In[1]:=

    Out[1]=

    This is the determinant of the same matrix over the integers modulo 9.

    In[2]:=

    Out[2]=

    This is the determinant of a 15 x 15 matrix.

    In[3]:=

    Out[3]=

    This genarates a randomly generated 20 x 20 matrix and times how long that takes. The coefficients of the matrix have 50 digits of precision, and lie in the region of the complex plane defined by -10 < Re(z) < 10, -10 < Im(z) < 10.

    In[4]:=

    In[5]:=

    Out[5]=

    This computes the determinant of the matrix and again times the calculation.

    In[6]:=

    Out[6]=

    In[7]:=

    This is a different type of matrix. The entries are Gaussian integers with real and imaginary parts between and .

    In[8]:=

    Here is its determinant and how long it takes to calculate it.

    In[9]:=

    Out[9]=

    In[10]:=



    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.