In linear algebra, the determinant is a function that associates a scalar to every square matrix. For instance, the 2-by-2 matrix
The determinant of A is also sometimes denoted by |A|, but this notation should be avoided as it is also used to denote other matrix functions, such as the square root of AA*.
Table of contents |
2 Definition and Computation 3 Properties 4 Generalizations |
Historically, determinants were considered before matrices. Originally, a determinant was defined as a property of a system of linear equations. The determinant "determines" whether the system has a unique solution (which occurs precisely if the determinant is non-zero). In this sense, two-by-two determinants were considered by Cardano at the end of the 16th century and larger ones by Leibniz about 100 years later.
Determinants are used to characterize invertible matrices, and to explicitly describe the solution to a system of linear equations with Cramer's rule. It can be used to find the eigenvalues of the matrix A through the characteristic polynomial p(x) = det(A-xIn).
One often thinks of the determinant as assigning a number to every sequence of n vectors in Rn, by using the square matrix whose columns are the given vectors.
With this understanding, the sign of the determinant of a basis can be used to define the notion of orientation in Euclidean spaces.
Determinants are used to calculate volumes in vector calculus: the absolute value of the determinant of real vectors is equal to the volume of the parallelepiped spanned by those vectors. As a consequence, if the linear map f : Rn -> Rn is represented by the matrix A, and S is any measurable subset of Rn, then the volume of f(S) is given by |det(A)| × volume(S). More generally, if the linear map f : Rn -> Rm is represented by the m-by-n matrix A, and S is any measurable subset of Rn, then the n-dimensional volume of f(S) is given by √(det(ATA)) × volume(S).
Suppose A = (Ai,j) is a square matrix.
If A is a 1-by-1 matrix, then det(A) = A1,1. If A is a 2-by-2 matrix, then det(A) = A1,1 · A2,2 - A2,1 · A1,2. For a 3-by-3 matrix A, the formula is more complicated:
History and applications
Definition and Computation
For a general n-by-n matrix, the determinant was defined by Gottfried Leibniz with what is now known as the Leibniz formula:
The sum is computed over all permutations σ of the numbers {1,...,n} and sgn(σ) denotes the signature of the permutation σ: +1 if σ is an even permutation and -1 if it is odd. See symmetric group for an explanation of even/odd permutations.
This formula contains n summands and is therefore impractical to use if n is bigger than 3.
In general, determinants can be computed with the Gauss algorithm using the following rules:
It is also possible to expand a determinant along a row or column using Laplace's formula, which is efficient for relatively small matrices. To do this along row i, say, we write
The determinant is a multiplicative map in the sense that
Properties
This is generalized by the Cauchy-Binet formula to products of non-square matrices.
It is easy to see that det(rIn)=rn and thus
There exist matrices which have the same determinant but are not similar.
If A is a square n-by-n matrix with real or complex entries and if λ1,...,λn are the (complex) eigenvalues of A listed according to their algebraic multiplicities, then
From the connection between the determinant and the eigenvalues, one can derive a connection between the trace function, the exponential function, and the determinant:
The determinant of real square matrices is a polynomial function from Rn×n to R, and as such is everywhere differentiable. Its derivative can be expressed using Jacobi's formula:
It makes sense to define the determinant for matrices whose entries come from any commutative ring. The computation rules, the Leibniz formula and the compatibility with matrix multiplication remain valid, except that now a matrix A is invertible if and only if det(A) is an invertible element of the ground ring.
Abstractly, one may define the determinant as a certain anti-symmetric multilinear map as follows: if R is a commutative ring and M = Rn denotes the free R-module with n generators, then