This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Det

Det[m]
gives the determinant of the square matrix m.
  • Det[m, Modulus->n] computes the determinant modulo n.
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
In[1]:=
Click for copyable input
Out[1]=
Use exact arithmetic to compute the determinant:
Use machine arithmetic:
Use 40-digit precision arithmetic:
Determinant of a complex-valued matrix:
Determinant of a sparse matrix:
Compute a determinant using arithmetic modulo 47:
This is faster than computing Mod:
Cramer's rule for solving a linear system :
For numerical systems,LinearSolve is much faster and more accurate:
Modular computation of a determinant:
Modular determinants:
Recover result:
Shift residue to be symmetric:
CharacteristicPolynomial[m] is equal to :
The determinant is the product of the eigenvalues:
The determinant of a triangular matrix is the product of its diagonal elements:
The determinant of a matrix product is the product of the determinants:
The determinant of the inverse is the reciprocal of the determinant:
Determinants of tridiagonal matrices:
New in 1