Theory
Determinant and inverse matrix
How to compute the determinant of a square matrix, which properties simplify the computation, and how the determinant decides invertibility and gives the formula for the inverse.
On this page
Determinant of order 2 and 3
1. Determinant of order 2
Let . The determinant of is the real number
that is, the product of the entries on the main diagonal minus the product of the entries on the antidiagonal. The determinant assigns a single number to every square matrix, and by the invertibility criterion this number decides whether the matrix is invertible. For example
Geometric meaning
Let and be two vectors in the plane. The area of the parallelogram with two adjacent sides along and is the absolute value of the determinant of the matrix with rows and :
The sign indicates the orientation: the determinant is positive when the shortest rotation taking to is counterclockwise, negative when it is clockwise. For and one gets , so the parallelogram has area . The triangle with sides and is half of the parallelogram and has area .
Warning
The determinant is zero exactly when the parallelogram degenerates into a segment, that is, when and are parallel. For and we have , so the rows of the matrix are proportional and
2. Determinant of order 3 and Sarrus' rule
Let . The determinant of is
Sarrus’ rule is a way to remember the six products: copy the first two columns to the right of the matrix,
then add the products of the three diagonals going down to the right and subtract the products of the three diagonals going down to the left. For example
Warning
Sarrus’ rule holds only for matrices of order . For the matrix with on the antidiagonal and elsewhere, the analogous scheme with the first three columns copied gives , whereas Laplace expansion gives . For order one uses Laplace expansion and elementary operations.
Laplace expansion
1. Minor and cofactor
Let with . For each pair of indices , denotes the matrix of order obtained from by deleting row and column ; its determinant is the minor of the entry . The cofactor of is
The sign is when is even and when it is odd, and it is arranged in a checkerboard pattern with in the top left corner:
For we have .
2. Determinant of order n
The determinant of a matrix of order is its only entry: . For the determinant of is defined by expanding along the first row:
The definition is recursive: a determinant of order reduces to determinants of order . For and the formula returns and the six products of Sarrus’ rule.
3. Laplace's theorem
Let with . For every row and every column ,
Hence the determinant can be expanded along any row or any column, with the same result. In computations one chooses the row or column with the most zeros, because the terms with do not require computing the cofactor. The proof uses the expression of the determinant as a sum over the permutations of the indices and is omitted.
Expansion of a determinant of order 4
The fourth row has only one nonzero entry, therefore the expansion along that row leaves a single determinant of order . In this one the third column has only one nonzero entry, and the expansion along the third column reduces to a determinant of order .
The theory continues with 6 more sections (properties of the determinant, computation with elementary operations, determinant and invertibility…), plus all worked examples, the solutions and the PDF.
Unlock now