Determinant
Intuition
At its geometric heart, the determinant of a matrix tells you the volume scaling factor of the linear transformation that the matrix represents.
Imagine you have a unit square in 2D space (with an area of 1). If you apply a matrix A to every point in that square, it will transform the square into a parallelogram. The absolute value of the determinant, , is the area of this new parallelogram.
- If , the transformation doubles the area of any shape.
- If , it shrinks the area by half.
- If , it means the transformation has squashed the shape flat into a line or a point, completely collapsing its volume. This is a critical case.
The sign of the determinant tells you whether the transformation has flipped the orientation of the space.
- A positive determinant means the orientation is preserved (e.g., a rotation).
- A negative determinant means the orientation is flipped (e.g., a reflection, like looking in a mirror).
The determinant solves a crucial problem: it provides a simple, single-number test to see if a transformation is “destructive” or “invertible”. If the determinant is zero, the transformation is destructive—you’ve collapsed the space and lost a dimension. You cannot undo this operation, which means the matrix is singular (not invertible).
Formal
Determinants are only defined for square matrices.
(Theorem)
A square matrix is invertible iff .
(-matrix)
(Upper Triangular Matrix)
A square matrix is called an upper-triangular matrix if , i.e., the matrix is 0 below its diagonal. Similarly, lower-triangular matrix is defined. For a triangular matrix , the determinant is the product of diagonal elements,
(Laplace Expansion)
Consider a matrix , Then for all :
- Expansion along column j
- Expansion along row j
Where is the submatrix of that is obtained by deleting row and column .
(Properties)
- The determinant of a matrix product is the product of the corresponding determinants, .
- Determinants are invariant to transposition, i.e., .
- If A is regular (invertible), then .
- Similar matrices possess the same determinant. Therefore, for a linear mapping all transformation matrices of have the same determinant. Thus, the determinant is invariant to the choice of basis of a linear mapping.
- Adding a multiple of a column/row to another one does not change .
- Multiplication of a column/row with scales by . In particular,
- Swapping two rows/columns changes the sign of (look at (3)).
(Theorem)
A square matrix has if and only if . In other words, is invertible if and only if it is full rank.
Gaussian elimination is the standard algorithmic way to compute a determinant, and it’s far more efficient than the recursive cofactor expansion for any matrix larger than :
- Determinant of a triangular matrix is product of diagonal elements.
- Gaussian Elimination can be used to convert any matrix to triangular form (REF).
Connections
- Forward Links: Trace, Characteristic Polynomial
- Backward Links: Matrix, Inverse and Transpose, Gaussian Elimination