Lably
Skip to content

Determinant

In mathematics, invariant of square matrices

  • 36 min read
  • 10 chapters
  • 4 labs on Lably

Learn it on Lably

The determinant of a matrix A is commonly denoted det(A), det A, or |A|. For square matrices of dimensions two and three, the determinant is explicitly described as det[abcd]=ad−bc,det[abcdefghi]=aei+bfg+cdh−ceg−bdi−afh.

There are several equivalent ways to define the determinant of an ⁠n×n⁠ matrix. A simple and conceptual one is that it is the unique function that maps a product of matrices to a product of scalars and whose value on a triangular matrix is the product of the diagonal entries.

So, the determinant of the product of two square matrices is the product of their determinants. A square matrix is invertible if and only if its determinant has a multiplicative inverse. In the common case where the entries belong to a field, a matrix is invertible if and only if the determinant is nonzero. The adjugate matrix provides an explicit expression of the inverse matrix.

A consequence of the multiplicative property is that two similar matrices have the same determinant, and therefore the determinant of a linear transformation is well defined. For real linear transformations, the value of the determinant is the scale factor by which the transformation alters every volume in the space (positive if the orientation is preserved, negative if the orientation is reversed, zero if the transformation is not bijective).

The determinant is linear with respect to each row and each column of the matrix and is therefore a multilinear function. This means that it is a linear combination of the entries of each row or column of the matrix. Laplace expansion expresses the coefficients of this linear combination as determinants (of one dimension less), called cofactors. Laplace expansion is useful for computing determinants when the rows or columns are very sparse, typically when there are only one or two nonzero entries in a row or column.

Determinants can be efficiently computed with Gaussian elimination and singular value decomposition. Determinants can also be theoretically computed by means of the Leibniz formula or Laplace expansion, but this is inefficient except in special cases.

Determinants occur throughout mathematics. Cramer's rule expresses the solution of a system of linear equations in terms of determinants. The characteristic polynomial of a square matrix, whose roots are the eigenvalues, is defined as a determinant with polynomial entries. In geometry, determinants are used to define or compute areas and volumes, as well as space orientation and colinearity. In analysis, the Jacobian determinant is used for change of variables in multiple integrals and its non-nullity is one of the hypotheses of the implicit function theorem in several variables. In algebraic geometry, the Hessian determinant allows finding inflexion points of an algebraic plane curve.

Low dimension

Dimension < 2

Square matrices with less than two rows and two columns are rarely considered per se, but may occur when working with n × n matrices where n is a unspecified natural number.

A 0 × 0 matrix is the empty matrix with 0 row, 0 column and no entries. The usual conventions for the empty set and the empty product imply that the determinant of the empty matrix is 1.

A 1 × 1 matrix has a single entry, and its determinant equals this entry: det[a]=a

An example of the coherency of these conventions is the formula for the inverse matrix of a n × n matrix A with a nonzero determinant ⁠d⁠: the inverse is the multiplication by ⁠1/d⁠ of the adjugate matrix of A, which is a n × n matrix whose entries are, up to the sign, determinants of ⁠(n−1)×(n−1)⁠ submatrices of A. In the case ⁠n=1⁠, the single entry of the adjugate matrix is the determinant of the empty matrix, which equals 1. So, [d]−1=1d[1]=[1d], which is what is expected for 1 × 1 matrices.

Two by two matrices

The determinant of a 2 × 2 matrix (abcd) is

det(abcd)=|abcd|=ad−bc. This simple form allows verifying by direct computation the properties listed in § Properties.

Parallelogram area

One of the main uses of 2 × 2 determinants is the computation of the area of the parallelogram defined by two vectors in a Euclidean plane.

In fact, the two column vectors (ac) and (bd) of the matrix (abcd) define a parallelogram with vertices ⁠(0,0)⁠, ⁠(a,c)⁠, ⁠(b,d)⁠, and ⁠(a+b,c+d)⁠. The area of this parallogram is the absolute value of the determinant ⁠ad−bc⁠ of the matrix. The sign of the determinant determines the relative orientation of the vectors: the determinant is positive if one passes by a counterclockwise rotation from the direction of the vector ⁠(a,c)⁠ to that of⁠(b,d)⁠, and negative if a clockwise rotation is needed (if the vectors are aligned, the determinant is zero). So, the determinant is the signed area of the parallelogram.

The proof that the determinant is the signed area of the parallelogram can be done either with trigonometry or by dissection and rearrangement, as shown in the figure.

3 × 3 matrices

By the Leibniz formula for determinants, the determinant of a 3 × 3 matrix is |abcdefghi|=aei+bfg+cdh−ceg−bdi−afh.

The rule of Sarrus is a mnemonic for the expanded form of this determinant: the sum of the products of three diagonal north-west to south-east lines of matrix elements, minus the sum of the products of three diagonal south-west to north-east lines of elements, when the copies of the first two columns of the matrix are written beside it as in the illustration. This scheme for calculating the determinant of a 3 × 3 matrix does not carry over into higher dimensions.

Sign in to keep reading

9 more chapters are free with a Lably account.

More in Algebra