The determinant is a function that maps square matrices to real (or complex) numbers. It can be defined by its properties. The determinant is the unique function defined on square matrices that has the four following properties.
- The determinant of the identity matrix is 1.
- The exchange of two columns multiplies the determinant by .
- Multiplying a column by a scalar multiplies the determinant by this scalar.
- Adding to a column a multiple of another column does not change the determinant.
Definition using the Leibniz formula
There are multiple other definitions. One of them uses the Leibniz formula:
is the set of all permutations of the set . The signature is if the permutation can be obtained with an even number of transpositions (i.e., exchanges of two entries); otherwise, it is .
Properties
- if is a triangular matrix.
- An alternating form: when two columns are identical, the determinant is 0; if you switch two columns, the determinant changes sign.
- -linear function: if we fix all the columns of A except column , det() is a linear function of .
- singular if and only if det() = 0.
Characteristic polynomial
The polynomial has degree . Its complex roots are the eigenvalues of .
The multiplicity of an eigenvalue is the number of occurrences of the corresponding root in the complete factorization of the characteristic polynomial.
Eigenvalues
The determinant is equal to the product of the eigenvalues:
In this product, eigenvalues are repeated according to their multiplicity.
Geometric interpretation
For any square matrix A, we consider its columns and the -dimensional parallelepiped formed by the vectors . The determinant of A is defined as the signed volume of this parallelepiped.
The computational cost of computing the determinant is .