# Determinant

In linear algebra, the determinant is a function that associates a scalar det(A) to every square matrix A. The fundamental geometric meaning of the determinant is as the scale factor for volume when A is regarded as a linear transformation. Determinants are important both in calculus, where they enter the substitution rule for several variables, and in multilinear algebra.

The determinant of A is also sometimes denoted by |A|, but this notation is ambiguous: it is also used to for certain matrix norms, and for the square root of [itex]{AA}^*[itex].

 Contents

## Determinants of 2-by-2 matrices

The 2×2 matrix

[itex]A=\begin{bmatrix}a&b\\

c&d\end{bmatrix}[itex] has determinant

The interpretation is that this gives the area of the parallelogram with vertices at (0,0), (a,c), (b,d), and (a + b, c + d), with a sign factor (which is −1 if A as a transformation matrix flips the unit square over).

A formula for larger matrices will be given below.

## Applications

Determinants are used to characterize invertible matrices (namely as those matrices, and only those matrices, with non-zero determinants), and to explicitly describe the solution to a system of linear equations with Cramer's rule. They can be used to find the eigenvalues of the matrix [itex]A[itex] through the characteristic polynomial [itex]p(x) = \det(xI - A)[itex] (where I is the identity matrix of the same format as A).

One often thinks of the determinant as assigning a number to every sequence of [itex]n[itex] vectors in [itex]\Bbb{R}^n[itex], 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. The determinant of a set of vectors is positive if the vectors form a right-handed coordinate system, and negative if left-handed.

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 [itex]f: \Bbb{R}^n \rightarrow \Bbb{R}^n[itex] is represented by the matrix [itex]A[itex], and [itex]S[itex] is any measurable subset of [itex]\Bbb{R}^n[itex], then the volume of [itex]f(S)[itex] is given by [itex]\left| \det(A) \right| \times \operatorname{volume}(S)[itex]. More generally, if the linear map [itex]f: \Bbb{R}^n \rightarrow \Bbb{R}^m[itex] is represented by the [itex]m[itex]-by-[itex]n[itex] matrix [itex]A[itex], and [itex]S[itex] is any measurable subset of [itex]\Bbb{R}^{n}[itex], then the [itex]n[itex]-dimensional volume of [itex]f(S)[itex] is given by [itex]\sqrt{\det(A^t A)} \times \operatorname{volume}(S)[itex]. By calculating the volume of the tetrahedron bounded by four points, they can be used to identify skew lines.

## General definition and computation

Suppose [itex]A = (A_{i,j}) \,[itex] is a square matrix.

If [itex]A[itex] is a 1-by-1 matrix, then [itex]\det(A) = A_{1,1} \,[itex]

If [itex]A[itex] is a 2-by-2 matrix, then [itex]\det(A) = A_{1,1}A_{2,2} - A_{2,1}A_{1,2} \,[itex]

For a 3-by-3 matrix [itex]A[itex], the formula is more complicated:

[itex]

\det(A) = A_{1,1}A_{2,2}A_{3,3} + A_{1,3}A_{2,1}A_{3,2} + A_{1,2}A_{2,3}A_{3,1} -

         A_{1,3}A_{2,2}A_{3,1} - A_{1,1}A_{2,3}A_{3,2} - A_{1,2}A_{2,1}A_{3,3}


\,[itex]

For a general [itex]n[itex]-by-[itex]n[itex] matrix, the determinant was defined by Gottfried Leibniz with what is now known as the Leibniz formula:

[itex]\det(A) = \sum_{\sigma \in S_n}

\sgn(\sigma) \prod_{i=1}^n A_{i, \sigma(i)}[itex]

The sum is computed over all permutations [itex]\sigma[itex] of the numbers {1,2,...,n} and [itex]\sgn(\sigma)[itex] denotes the signature of the permutation [itex]\sigma[itex]: +1 if [itex]\sigma[itex] is an even permutation and −1 if it is odd. See even and odd permutations for an explanation of even/odd permutations.

This formula contains [itex]n![itex] (factorial) summands and is therefore impractical to use it to calculate determinants for large [itex]n[itex].

In general, determinants can be computed with the Gauss algorithm using the following rules:

• If [itex]A[itex] is a triangular matrix, i.e. [itex]A_{i,j} = 0 \,[itex] whenever [itex]i > j[itex], then [itex]\det(A) = A_{1,1} A_{2,2} \cdots A_{n,n} \,[itex]
• If [itex]B[itex] results from [itex]A[itex] by exchanging two rows or columns, then [itex]\det(B) = -\det(A) \,[itex]
• If [itex]B[itex] results from [itex]A[itex] by multiplying one row or column with the number [itex]c[itex], then [itex]\det(B) = c\,\det(A) \,[itex]
• If [itex]B[itex] results from [itex]A[itex] by adding a multiple of one row to another row, or a multiple of one column to another column, then [itex]\det(B) = \det(A) \,[itex]

Explicitly, starting out with some matrix, use the last three rules to convert it into a triangular matrix, then use the first rule to compute its determinant.

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 [itex]i[itex], say, we write

[itex]\det(A) = \sum_{j=1}^n\ A_{i,j}C_{i,j}[itex]

where the [itex]C_{i,j}[itex] represent the matrix cofactors, i.e. [itex]C_{i,j}[itex] is [itex](-1)^{i+j}[itex] times the determinant of the matrix that results from [itex]A[itex] by removing the [itex]i[itex]-th row and the [itex]j[itex]-th column.

## Example

Suppose we want to compute the determinant of

[itex]A = \begin{bmatrix}-2&2&-3\\

-1& 1& 3\\ 2 &0 &-1\end{bmatrix}[itex] We can go ahead and use the Leibniz formula directly:

[itex]\det(A)=(-2)\cdot 1 \cdot (-1) + (-3)\cdot 0 \cdot (-1) + 2\cdot 3\cdot 2 - (-3)\cdot 1 \cdot 2 - (-2)\cdot 3 \cdot 0 - 2\cdot (-1) \cdot (-1)[itex]
[itex]=2+0+12-(-6)-0-2 = 18.\;[itex]

Alternatively, we can use Laplace's formula to expand the determinant along a row or column. It is best to choose a row or column with many zeros, so we will expand along the second column:

[itex]\det(A)=(-1)^{1+2}\cdot 2 \cdot \det \begin{bmatrix}-1&3\\

2 &-1\end{bmatrix} + (-1)^{2+2}\cdot 1 \cdot \det \begin{bmatrix}-2&-3\\ 2&-1\end{bmatrix}[itex]

[itex]=(-2)\cdot((-1)\cdot(-1)-2\cdot3)+1\cdot((-2)\cdot(-1)-2\cdot(-3)) = (-2)(-5)+8 = 18.[itex]

A third way (and the method of choice for larger matrices) would involve the Gauss algorithm. When doing computations by hand, one can often shorten things dramatically by smartly adding multiples of columns or rows to other columns or rows; this doesn't change the value of the determinant, but may create zero entries which simplifies the subsequent calculations. In our example, adding the second column to the first one is especially useful:

[itex]\begin{bmatrix}0&2&-3\\

0 &1 &3\\ 2 &0 &-1\end{bmatrix}[itex] and this determinant can be quickly expanded along the first column:

[itex]\det(A)=(-1)^{3+1}\cdot 2\cdot \det \begin{bmatrix}2&-3\\

1&3\end{bmatrix}[itex]

[itex]=2\cdot(2\cdot3-1\cdot(-3)) = 2\cdot 9 = 18.[itex]

## Properties

The determinant is a multiplicative map in the sense that

[itex]\det(AB) = \det(A)\det(B) \,[itex] for all n-by-n matrices [itex]A[itex] and [itex]B[itex].

This is generalized by the Cauchy-Binet formula to products of non-square matrices.

It is easy to see that [itex]\det(rI_n) = r^n \,[itex] and thus

[itex]\det(rA) = r^n \det(A) \,[itex] for all [itex]n[itex]-by-[itex]n[itex] matrices [itex]A[itex] and all scalars [itex]r[itex].

The matrix [itex]A[itex] (over the real or complex numbers, or some other field) is invertible if and only if det(A)≠0; in this case we have

[itex]\det(A^{-1}) = \det(A)^{-1} \,[itex]

Expressed differently: the vectors v1,...,vn in Rn form a basis if and only if det(v1,...,vn) is non-zero.

A matrix and its transpose have the same determinant:

[itex]\det(A) = \det(A^T) \,[itex].

If [itex]A[itex] and [itex]B[itex] are similar, i.e. if there exists an invertible matrix [itex]X[itex] such that [itex]A[itex] = [itex]X^{-1} B X \,[itex], then by the multiplicative property,

[itex]\det(A) = \det(B) \,[itex]

This means that the determinant is a similarity invariant. Because of this, the determinant of some linear transformation T : VV for some finite dimensional vector space V is independent of the basis for V. The relationship is one-way, however: there exist matrices which have the same determinant but are not similar.

If [itex]A[itex] is a square [itex]n[itex]-by-[itex]n[itex] matrix with real or complex entries and if λ1,...,λn are the (complex) eigenvalues of [itex]A[itex] listed according to their algebraic multiplicities, then

[itex]\det(A) = \lambda_{1}\lambda_{2} \cdots \lambda_{n}[itex]

This follows from the fact that [itex]A[itex] is always similar to its Jordan normal form, an upper triangular matrix with the eigenvalues on the main diagonal.

From this connection between the determinant and the eigenvalues, one can derive a connection between the trace function, the exponential function, and the determinant:

[itex]\det(\exp(A)) = \exp(\operatorname{tr}(A))[itex].

### Derivative

The determinant of real square matrices is a polynomial function from [itex]\Bbb{R}^{n \times n}[itex] to [itex]\Bbb{R}[itex], and as such is everywhere differentiable. Its derivative can be expressed using Jacobi's formula:

where adj(A) denotes the adjugate of A. In particular, if A is invertible, we have

[itex]d \,\det(A) = \det(A) \,\operatorname{tr}(A^{-1} \,dA)[itex]

or, more colloquially,

[itex]\det(A + X) - \det(A) \approx \det(A) \,\operatorname{tr}(A^{-1} X)[itex]

if the entries in the matrix [itex]X[itex] are sufficiently small. The special case where [itex]A[itex] is equal to the identity matrix [itex]I[itex] yields

[itex]\det(I + X) \approx 1 + \operatorname{tr}(X)[itex].

## Generalizations and related functions

As was pointed out above, it is possible to unambiguously define the determinant of any linear map f : VV, if V is a finite-dimensional vector space.

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 [itex]A[itex] is invertible if and only if [itex]\det(A)[itex] is an invertible element of the ground ring.

Abstractly, one may define the determinant as a certain anti-symmetric multilinear map as follows: if [itex]R[itex] is a commutative ring and [itex]M = R^n[itex] denotes the free R-module with [itex]n[itex] generators, then

[itex]\det: M^n \rightarrow R[itex]

is the unique map with the following properties:

• det is [itex]R[itex]-linear in each of the [itex]n[itex] arguments.
• det is anti-symmetric, meaning that if two of the [itex]n[itex] arguments are equal, then the determinant is zero.
• [itex]\det(e_1,\ldots,e_n) = 1[itex], where [itex]e_i[itex] is that element of [itex]M[itex] which has a 1 in the [itex]i[itex]-th coordinate and zeros elsewhere.

Linear algebraists prefer to use the multilinear map approach to define determinant, whereas combinatorialists may prefer the Leibniz formula. (Of course, even when using the above abstract approach, one has to use the Leibniz formula to show that such a multilinear map actually exists.)

The Pfaffian is an analog of the determinant for [itex]2n\times 2n[itex] antisymmetric matrices. It is a polynomial of degree [itex]n[itex], and its square is equal to the determinant of the matrix.

There is no direct generalisation of determinants, or of the notion of volume, to spaces of infinite dimension. There are various approaches possible, including the use of the extension of the trace of a matrix, and functional determinants.

## History

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. Following him Cramer (1750) added to the theory, treating the subject in relation to sets of equations. The recurrent law was first announced by Bezout (1764).

It was Vandermonde (1771) who first recognized determinants as independent functions. Laplace (1772) gave the general method of expanding a determinant in terms of its complementary minors: Vandermonde had already given a special case. Immediately following, Lagrange (1773) treated determinants of the second and third order. Lagrange was the first to apply determinants to questions outside elimination theory; he proved many special cases of general identities.

Gauss (1801) made the next advance. Like Lagrange, he made much use of determinants in the theory of numbers. He introduced the word determinants (Laplace had used resultant), though not in the present signification, but rather as applied to the discriminant of a quantic. Gauss also arrived at the notion of reciprocal (inverse) determinants, and came very near the multiplication theorem.

The next contributor of importance is Binet (1811, 1812), who formally stated the theorem relating to the product of two matrices of [itex]m[itex] columns and [itex]n[itex] rows, which for the special case of [itex]m = n[itex] reduces to the multiplication theorem. On the same day (Nov. 30, 1812) that Binet presented his paper to the Academy, Cauchy also presented one on the subject. (See Cauchy-Binet formula.) In this he used the word determinant in its present sense, summarized and simplified what was then known on the subject, improved the notation, and gave the multiplication theorem with a proof more satisfactory than Binet's. With him begins the theory in its generality.

The next important figure was Jacobi (from 1827). He early used the functional determinant which Sylvester later called the Jacobian, and in his memoirs in Crelle for 1841 he specially treats this subject, as well as the class of alternating functions which Sylvester has called alternants. About the time of Jacobi's last memoirs, Sylvester (1839) and Cayley began their work.

The study of special forms of determinants has been the natural result of the completion of the general theory. Axisymmetric determinants have been studied by Lebesgue, Hesse, and Sylvester; persymmetric determinants by Sylvester and Hankel; circulants by Catalan, Spottiswoode, Glaisher, and Scott; skew determinants and Pfaffians, in connection with the theory of orthogonal transformation, by Cayley; continuants by Sylvester; Wronskians (so called by Muir) by Christoffel and Frobenius; compound determinants by Sylvester, Reiss, and Picquet; Jacobians and Hessians by Sylvester; and symmetric gauche determinants by Trudi. Of the text-books on the subject Spottiswoode's was the first. In America, Hanus (1886) and Weld (1893) published treatises.de:Determinante et:Determinant es:Determinante (matemticas) fr:Dterminant (mathmatiques) ko:행렬식 it:Determinante he:דטרמיננטה nl:Determinant ja:行列式 pl:Wyznacznik sv:Determinant

• Art and Cultures
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Space and Astronomy