HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the determinant is a scalar-valued function of the entries of a
square matrix In mathematics, a square matrix is a Matrix (mathematics), matrix with the same number of rows and columns. An ''n''-by-''n'' matrix is known as a square matrix of order Any two square matrices of the same order can be added and multiplied. Squ ...
. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the matrix and the
linear map In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that p ...
represented, on a given basis, by the matrix. In particular, the determinant is nonzero
if and only if In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
the matrix is
invertible In mathematics, the concept of an inverse element generalises the concepts of opposite () and reciprocal () of numbers. Given an operation denoted here , and an identity element denoted , if , one says that is a left inverse of , and that ...
and the corresponding linear map is an
isomorphism In mathematics, an isomorphism is a structure-preserving mapping or morphism between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between the ...
. However, if the determinant is zero, the matrix is referred to as singular, meaning it does not have an inverse. The determinant is completely determined by the two following properties: the determinant of a product of matrices is the product of their determinants, and the determinant of a
triangular matrix In mathematics, a triangular matrix is a special kind of square matrix. A square matrix is called if all the entries ''above'' the main diagonal are zero. Similarly, a square matrix is called if all the entries ''below'' the main diagonal are z ...
is the product of its diagonal entries. The determinant of a matrix is :\begin a & b\\c & d \end=ad-bc, and the determinant of a matrix is : \begin a & b & c \\ d & e & f \\ g & h & i \end = aei + bfg + cdh - ceg - bdi - afh. The determinant of an matrix can be defined in several equivalent ways, the most common being Leibniz formula, which expresses the determinant as a sum of n! (the
factorial In mathematics, the factorial of a non-negative denoted is the Product (mathematics), product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial: \begin n! &= n \times ...
of ) signed products of matrix entries. It can be computed by the
Laplace expansion In linear algebra, the Laplace expansion, named after Pierre-Simon Laplace, also called cofactor expansion, is an expression of the determinant of an -matrix as a weighted sum of minors, which are the determinants of some - submatrices of . Spe ...
, which expresses the determinant as a
linear combination In mathematics, a linear combination or superposition is an Expression (mathematics), expression constructed from a Set (mathematics), set of terms by multiplying each term by a constant and adding the results (e.g. a linear combination of ''x'' a ...
of determinants of submatrices, or with
Gaussian elimination In mathematics, Gaussian elimination, also known as row reduction, is an algorithm for solving systems of linear equations. It consists of a sequence of row-wise operations performed on the corresponding matrix of coefficients. This method can a ...
, which allows computing a
row echelon form In linear algebra, a matrix is in row echelon form if it can be obtained as the result of Gaussian elimination. Every matrix can be put in row echelon form by applying a sequence of elementary row operations. The term ''echelon'' comes from the F ...
with the same determinant, equal to the product of the diagonal entries of the row echelon form. Determinants can also be defined by some of their properties. Namely, the determinant is the unique function defined on the matrices that has the four following properties: # The determinant of the
identity matrix In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
is . # The exchange of two rows multiplies the determinant by . # Multiplying a row by a number multiplies the determinant by this number. # Adding a multiple of one row to another row does not change the determinant. The above properties relating to rows (properties 2–4) may be replaced by the corresponding statements with respect to columns. The determinant is invariant under
matrix similarity In linear algebra, two ''n''-by-''n'' matrices and are called similar if there exists an invertible ''n''-by-''n'' matrix such that B = P^ A P . Similar matrices represent the same linear map under two possibly different bases, with being th ...
. This implies that, given a linear
endomorphism In mathematics, an endomorphism is a morphism from a mathematical object to itself. An endomorphism that is also an isomorphism is an automorphism. For example, an endomorphism of a vector space is a linear map , and an endomorphism of a g ...
of a
finite-dimensional vector space In mathematics, the dimension of a vector space ''V'' is the cardinality (i.e., the number of vectors) of a basis of ''V'' over its base field. p. 44, §2.36 It is sometimes called Hamel dimension (after Georg Hamel) or algebraic dimension to d ...
, the determinant of the matrix that represents it on a basis does not depend on the chosen basis. This allows defining the ''determinant'' of a linear endomorphism, which does not depend on the choice of a
coordinate system In geometry, a coordinate system is a system that uses one or more numbers, or coordinates, to uniquely determine and standardize the position of the points or other geometric elements on a manifold such as Euclidean space. The coordinates are ...
. Determinants occur throughout mathematics. For example, a matrix is often used to represent the
coefficient In mathematics, a coefficient is a Factor (arithmetic), multiplicative factor involved in some Summand, term of a polynomial, a series (mathematics), series, or any other type of expression (mathematics), expression. It may be a Dimensionless qu ...
s in a
system of linear equations In mathematics, a system of linear equations (or linear system) is a collection of two or more linear equations involving the same variable (math), variables. For example, : \begin 3x+2y-z=1\\ 2x-2y+4z=-2\\ -x+\fracy-z=0 \end is a system of th ...
, and determinants can be used to solve these equations (
Cramer's rule In linear algebra, Cramer's rule is an explicit formula for the solution of a system of linear equations with as many equations as unknowns, valid whenever the system has a unique solution. It expresses the solution in terms of the determinants of ...
), although other methods of solution are computationally much more efficient. Determinants are used for defining the
characteristic polynomial In linear algebra, the characteristic polynomial of a square matrix is a polynomial which is invariant under matrix similarity and has the eigenvalues as roots. It has the determinant and the trace of the matrix among its coefficients. The ...
of a square matrix, whose roots are the
eigenvalue In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s. In
geometry Geometry (; ) is a branch of mathematics concerned with properties of space such as the distance, shape, size, and relative position of figures. Geometry is, along with arithmetic, one of the oldest branches of mathematics. A mathematician w ...
, the signed -dimensional
volume Volume is a measure of regions in three-dimensional space. It is often quantified numerically using SI derived units (such as the cubic metre and litre) or by various imperial or US customary units (such as the gallon, quart, cubic inch) ...
of a -dimensional
parallelepiped In geometry, a parallelepiped is a three-dimensional figure formed by six parallelograms (the term ''rhomboid'' is also sometimes used with this meaning). By analogy, it relates to a parallelogram just as a cube relates to a square. Three equiva ...
is expressed by a determinant, and the determinant of a linear
endomorphism In mathematics, an endomorphism is a morphism from a mathematical object to itself. An endomorphism that is also an isomorphism is an automorphism. For example, an endomorphism of a vector space is a linear map , and an endomorphism of a g ...
determines how the orientation and the -dimensional volume are transformed under the endomorphism. This is used in
calculus Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations. Originally called infinitesimal calculus or "the ...
with exterior differential forms and the Jacobian determinant, in particular for changes of variables in multiple integrals.


Two by two matrices

The determinant of a matrix \begin a & b \\c & d \end is denoted either by "" or by vertical bars around the matrix, and is defined as :\det \begin a & b \\c & d \end = \begin a & b \\c & d \end = ad - bc. For example, :\det \begin 3 & 7 \\1 & -4 \end = \begin 3 & 7 \\ 1 & \end = (3 \cdot (-4)) - (7 \cdot 1) = -19.


First properties

The determinant has several key properties that can be proved by direct evaluation of the definition for 2 \times 2-matrices, and that continue to hold for determinants of larger matrices. They are as follows: first, the determinant of the
identity matrix In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
\begin1 & 0 \\ 0 & 1 \end is 1. Second, the determinant is zero if two rows are the same: :\begin a & b \\ a & b \end = ab - ba = 0. This holds similarly if the two columns are the same. Moreover, :\begina & b + b' \\ c & d + d' \end = a(d+d')-(b+b')c = \begina & b\\ c & d \end + \begina & b' \\ c & d' \end. Finally, if any column is multiplied by some number r (i.e., all entries in that column are multiplied by that number), the determinant is also multiplied by that number: :\begin r \cdot a & b \\ r \cdot c & d \end = rad - brc = r(ad-bc) = r \cdot \begin a & b \\c & d \end.


Geometric meaning

If the matrix entries are real numbers, the matrix represents the
linear map In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that p ...
that maps the
basis vector In mathematics, a set of elements of a vector space is called a basis (: bases) if every element of can be written in a unique way as a finite linear combination of elements of . The coefficients of this linear combination are referred to as ...
s to the columns of . The images of the basis vectors form a
parallelogram In Euclidean geometry, a parallelogram is a simple polygon, simple (non-list of self-intersecting polygons, self-intersecting) quadrilateral with two pairs of Parallel (geometry), parallel sides. The opposite or facing sides of a parallelogram a ...
that represents the image of the
unit square In mathematics, a unit square is a square whose sides have length . Often, ''the'' unit square refers specifically to the square in the Cartesian plane with corners at the four points ), , , and . Cartesian coordinates In a Cartesian coordinat ...
under the mapping. The parallelogram defined by the columns of the above matrix is the one with vertices at , , , and , as shown in the accompanying diagram. The absolute value of is the area of the parallelogram, and thus represents the scale factor by which areas are transformed by . The absolute value of the determinant together with the sign becomes the
signed area In mathematics, the signed area or oriented area of a region of an affine plane is its area with orientation specified by the positive or negative sign, that is "plus" () or "minus" (). More generally, the signed area of an arbitrary surface r ...
of the parallelogram. The signed area is the same as the usual
area Area is the measure of a region's size on a surface. The area of a plane region or ''plane area'' refers to the area of a shape or planar lamina, while '' surface area'' refers to the area of an open surface or the boundary of a three-di ...
, except that it is negative when the angle from the first to the second vector defining the parallelogram turns in a clockwise direction (which is opposite to the direction one would get for the
identity matrix In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
). To show that is the signed area, one may consider a matrix containing two vectors and representing the parallelogram's sides. The signed area can be expressed as for the angle ''θ'' between the vectors, which is simply base times height, the length of one vector times the perpendicular component of the other. Due to the
sine In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side opposite th ...
this already is the signed area, yet it may be expressed more conveniently using the
cosine In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side opposite that ...
of the complementary angle to a perpendicular vector, e.g. , so that becomes the signed area in question, which can be determined by the pattern of the
scalar product In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. Not to be confused wit ...
to be equal to according to the following equations: : \text = , \boldsymbol, \,, \boldsymbol, \,\sin\,\theta = \left, \boldsymbol^\perp\\,\left, \boldsymbol\\,\cos\,\theta' = \begin -c \\ a \end \cdot \begin b \\ d \end = ad - bc. Thus the determinant gives the area scale factor and the orientation induced by the mapping represented by ''A''. When the determinant is equal to one, the linear mapping defined by the matrix preserves area and orientation. If an real matrix ''A'' is written in terms of its column vectors A = \left begin \mathbf_1 & \mathbf_2 & \cdots & \mathbf_n\end\right/math>, then : A\begin1 \\ 0\\ \vdots \\0\end = \mathbf_1, \quad A\begin0 \\ 1\\ \vdots \\0\end = \mathbf_2, \quad \ldots, \quad A\begin0 \\0 \\ \vdots \\1\end = \mathbf_n. This means that A maps the unit ''n''-cube to the ''n''-dimensional parallelotope defined by the vectors \mathbf_1, \mathbf_2, \ldots, \mathbf_n, the region P = \left\ (\forall stands for "for all" as a logical symbol.) The determinant gives the signed ''n''-dimensional volume of this parallelotope, \det(A) = \pm \text(P), and hence describes more generally the ''n''-dimensional volume scale factor of the
linear transformation In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pr ...
produced by ''A''. (The sign shows whether the transformation preserves or reverses orientation.) In particular, if the determinant is zero, then this parallelotope has volume zero and is not fully ''n''-dimensional, which indicates that the dimension of the image of ''A'' is less than ''n''. This
means Means may refer to: * Means LLC, an anti-capitalist media worker cooperative * Means (band), a Christian hardcore band from Regina, Saskatchewan * Means, Kentucky, a town in the US * Means (surname) * Means Johnston Jr. (1916–1989), US Navy ...
that ''A'' produces a linear transformation which is neither
onto In mathematics, a surjective function (also known as surjection, or onto function ) is a function such that, for every element of the function's codomain, there exists one element in the function's domain such that . In other words, for a f ...
nor one-to-one, and so is not invertible.


Definition

Let ''A'' be a
square matrix In mathematics, a square matrix is a Matrix (mathematics), matrix with the same number of rows and columns. An ''n''-by-''n'' matrix is known as a square matrix of order Any two square matrices of the same order can be added and multiplied. Squ ...
with ''n'' rows and ''n'' columns, so that it can be written as :A = \begin a_ & a_ & \cdots & a_ \\ a_ & a_ & \cdots & a_ \\ \vdots & \vdots & \ddots & \vdots \\ a_ & a_ & \cdots & a_ \end. The entries a_ etc. are, for many purposes, real or complex numbers. As discussed below, the determinant is also defined for matrices whose entries are in a
commutative ring In mathematics, a commutative ring is a Ring (mathematics), ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra. Complementarily, noncommutative algebra is the study of ring prope ...
. The determinant of ''A'' is denoted by det(''A''), or it can be denoted directly in terms of the matrix entries by writing enclosing bars instead of brackets: :\begin a_ & a_ & \cdots & a_ \\ a_ & a_ & \cdots & a_ \\ \vdots & \vdots & \ddots & \vdots \\ a_ & a_ & \cdots & a_ \end. There are various equivalent ways to define the determinant of a square matrix ''A'', i.e. one with the same number of rows and columns: the determinant can be defined via the Leibniz formula, an explicit formula involving sums of products of certain entries of the matrix. The determinant can also be characterized as the unique function depending on the entries of the matrix satisfying certain properties. This approach can also be used to compute determinants by simplifying the matrices in question.


Leibniz formula


3 × 3 matrices

The ''Leibniz formula'' for the determinant of a matrix is the following: :\begina&b&c\\d&e&f\\g&h&i\end = aei + bfg + cdh - ceg - bdi - afh.\ In this expression, each term has one factor from each row, all in different columns, arranged in increasing row order. For example, ''bdi'' has ''b'' from the first row second column, ''d'' from the second row first column, and ''i'' from the third row third column. The signs are determined by how many transpositions of factors are necessary to arrange the factors in increasing order of their columns (given that the terms are arranged left-to-right in increasing row order): positive for an even number of transpositions and negative for an odd number. For the example of ''bdi'', the single transposition of ''bd'' to ''db'' gives ''dbi,'' whose three factors are from the first, second and third columns respectively; this is an odd number of transpositions, so the term appears with negative sign. The
rule of Sarrus In matrix theory, the rule of Sarrus is a mnemonic device for computing the determinant of a 3 \times 3 matrix Matrix (: matrices or matrixes) or MATRIX may refer to: Science and mathematics * Matrix (mathematics), a rectangular array of ...
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 matrix does not carry over into higher dimensions.


''n'' × ''n'' matrices

Generalizing the above to higher dimensions, the determinant of an n \times n matrix is an expression involving
permutation In mathematics, a permutation of a set can mean one of two different things: * an arrangement of its members in a sequence or linear order, or * the act or process of changing the linear order of an ordered set. An example of the first mean ...
s and their signatures. A permutation of the set \ is a
bijective function In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between two sets such that each element of the second set (the codomain) is the image of exactly one element of the first set (the domain). Equivale ...
\sigma from this set to itself, with values \sigma(1), \sigma(2),\ldots,\sigma(n) exhausting the entire set. The set of all such permutations, called the
symmetric group In abstract algebra, the symmetric group defined over any set is the group whose elements are all the bijections from the set to itself, and whose group operation is the composition of functions. In particular, the finite symmetric grou ...
, is commonly denoted S_n. The signature \sgn(\sigma) of a permutation \sigma is +1, if the permutation can be obtained with an even number of transpositions (exchanges of two entries); otherwise, it is -1. Given a matrix :A=\begin a_\ldots a_\\ \vdots\qquad\vdots\\ a_\ldots a_ \end, the Leibniz formula for its determinant is, using sigma notation for the sum, :\det(A)=\begin a_\ldots a_\\ \vdots\qquad\vdots\\ a_\ldots a_ \end = \sum_\sgn(\sigma)a_\cdots a_. Using pi notation for the product, this can be shortened into :\det(A) = \sum_ \left( \sgn(\sigma) \prod_^n a_\right). The
Levi-Civita symbol In mathematics, particularly in linear algebra, tensor analysis, and differential geometry, the Levi-Civita symbol or Levi-Civita epsilon represents a collection of numbers defined from the sign of a permutation of the natural numbers , for some ...
\varepsilon_ is defined on the -
tuple In mathematics, a tuple is a finite sequence or ''ordered list'' of numbers or, more generally, mathematical objects, which are called the ''elements'' of the tuple. An -tuple is a tuple of elements, where is a non-negative integer. There is o ...
s of integers in \ as if two of the integers are equal, and otherwise as the signature of the permutation defined by the ''n-''tuple of integers. With the Levi-Civita symbol, the Leibniz formula becomes :\det(A) = \sum_ \varepsilon_ a_ \!\cdots a_, where the sum is taken over all -tuples of integers in \.


Properties


Characterization of the determinant

The determinant can be characterized by the following three key properties. To state these, it is convenient to regard an n \times n matrix ''A'' as being composed of its n columns, so denoted as :A = \big ( a_1, \dots, a_n \big ), where the
column vector In linear algebra, a column vector with elements is an m \times 1 matrix consisting of a single column of entries, for example, \boldsymbol = \begin x_1 \\ x_2 \\ \vdots \\ x_m \end. Similarly, a row vector is a 1 \times n matrix for some , c ...
a_i (for each ''i'') is composed of the entries of the matrix in the ''i''-th column. #
  • \det\left(I\right) = 1, where I is an
    identity matrix In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
    . #
  • The determinant is '' multilinear'': if the ''j''th column of a matrix A is written as a
    linear combination In mathematics, a linear combination or superposition is an Expression (mathematics), expression constructed from a Set (mathematics), set of terms by multiplying each term by a constant and adding the results (e.g. a linear combination of ''x'' a ...
    a_j = r \cdot v + w of two
    column vector In linear algebra, a column vector with elements is an m \times 1 matrix consisting of a single column of entries, for example, \boldsymbol = \begin x_1 \\ x_2 \\ \vdots \\ x_m \end. Similarly, a row vector is a 1 \times n matrix for some , c ...
    s ''v'' and ''w'' and a number ''r'', then the determinant of ''A'' is expressible as a similar linear combination: #: \begin, A, &= \big , a_1, \dots, a_, r \cdot v + w, a_, \dots, a_n , \\ &= r \cdot , a_1, \dots, v, \dots a_n , + , a_1, \dots, w, \dots, a_n , \end #
  • The determinant is '' alternating'': whenever two columns of a matrix are identical, its determinant is 0: #: , a_1, \dots, v, \dots, v, \dots, a_n, = 0. If the determinant is defined using the Leibniz formula as above, these three properties can be proved by direct inspection of that formula. Some authors also approach the determinant directly using these three properties: it can be shown that there is exactly one function that assigns to any n \times n matrix ''A'' a number that satisfies these three properties. This also shows that this more abstract approach to the determinant yields the same definition as the one using the Leibniz formula. To see this it suffices to expand the determinant by multi-linearity in the columns into a (huge) linear combination of determinants of matrices in which each column is a
    standard basis In mathematics, the standard basis (also called natural basis or canonical basis) of a coordinate vector space (such as \mathbb^n or \mathbb^n) is the set of vectors, each of whose components are all zero, except one that equals 1. For exampl ...
    vector. These determinants are either 0 (by property 9) or else ±1 (by properties 1 and 12 below), so the linear combination gives the expression above in terms of the Levi-Civita symbol. While less technical in appearance, this characterization cannot entirely replace the Leibniz formula in defining the determinant, since without it the existence of an appropriate function is not clear.


    Immediate consequences

    These rules have several further consequences: * The determinant is a
    homogeneous function In mathematics, a homogeneous function is a function of several variables such that the following holds: If each of the function's arguments is multiplied by the same scalar (mathematics), scalar, then the function's value is multiplied by some p ...
    , i.e., \det(cA) = c^n\det(A) (for an n \times n matrix A). * Interchanging any pair of columns of a matrix multiplies its determinant by −1. This follows from the determinant being multilinear and alternating (properties 2 and 3 above): , a_1, \dots, a_j, \dots a_i, \dots, a_n, = - , a_1, \dots, a_i, \dots, a_j, \dots, a_n, . This formula can be applied iteratively when several columns are swapped. For example , a_3, a_1, a_2, a_4 \dots, a_n, = - , a_1, a_3, a_2, a_4, \dots, a_n, = , a_1, a_2, a_3, a_4, \dots, a_n, . Yet more generally, any permutation of the columns multiplies the determinant by the
    sign A sign is an object, quality, event, or entity whose presence or occurrence indicates the probable presence or occurrence of something else. A natural sign bears a causal relation to its object—for instance, thunder is a sign of storm, or me ...
    of the permutation. * If some column can be expressed as a linear combination of the ''other'' columns (i.e. the columns of the matrix form a
    linearly dependent In the theory of vector spaces, a set of vectors is said to be if there exists no nontrivial linear combination of the vectors that equals the zero vector. If such a linear combination exists, then the vectors are said to be . These concepts ...
    set), the determinant is 0. As a special case, this includes: if some column is such that all its entries are zero, then the determinant of that matrix is 0. * Adding a scalar multiple of one column to ''another'' column does not change the value of the determinant. This is a consequence of multilinearity and being alternative: by multilinearity the determinant changes by a multiple of the determinant of a matrix with two equal columns, which determinant is 0, since the determinant is alternating. * If A is a
    triangular matrix In mathematics, a triangular matrix is a special kind of square matrix. A square matrix is called if all the entries ''above'' the main diagonal are zero. Similarly, a square matrix is called if all the entries ''below'' the main diagonal are z ...
    , i.e. a_=0, whenever i>j or, alternatively, whenever i, then its determinant equals the product of the diagonal entries: \det(A) = a_ a_ \cdots a_ = \prod_^n a_. Indeed, such a matrix can be reduced, by appropriately adding multiples of the columns with fewer nonzero entries to those with more entries, to a
    diagonal matrix In linear algebra, a diagonal matrix is a matrix in which the entries outside the main diagonal are all zero; the term usually refers to square matrices. Elements of the main diagonal can either be zero or nonzero. An example of a 2×2 diagon ...
    (without changing the determinant). For such a matrix, using the linearity in each column reduces to the identity matrix, in which case the stated formula holds by the very first characterizing property of determinants. Alternatively, this formula can also be deduced from the Leibniz formula, since the only permutation \sigma which gives a non-zero contribution is the identity permutation.


    Example

    These characterizing properties and their consequences listed above are both theoretically significant, but can also be used to compute determinants for concrete matrices. In fact,
    Gaussian elimination In mathematics, Gaussian elimination, also known as row reduction, is an algorithm for solving systems of linear equations. It consists of a sequence of row-wise operations performed on the corresponding matrix of coefficients. This method can a ...
    can be applied to bring any matrix into upper triangular form, and the steps in this algorithm affect the determinant in a controlled way. The following concrete example illustrates the computation of the determinant of the matrix A using that method: :A = \begin -2 & -1 & 2 \\ 2 & 1 & 4 \\ -3 & 3 & -1 \end. Combining these equalities gives , A, = -, E, = -(18 \cdot 3 \cdot (-1)) = 54.


    Transpose

    The determinant of the
    transpose In linear algebra, the transpose of a Matrix (mathematics), matrix is an operator which flips a matrix over its diagonal; that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other ...
    of A equals the determinant of ''A'': :\det\left(A^\textsf\right) = \det(A). This can be proven by inspecting the Leibniz formula. This implies that in all the properties mentioned above, the word "column" can be replaced by "row" throughout. For example, viewing an matrix as being composed of ''n'' rows, the determinant is an ''n''-linear function.


    Multiplicativity and matrix groups

    The determinant is a ''multiplicative map'', i.e., for square matrices A and B of equal size, the determinant of a
    matrix product In mathematics, specifically in linear algebra, matrix multiplication is a binary operation that produces a matrix from two matrices. For matrix multiplication, the number of columns in the first matrix must be equal to the number of rows in the s ...
    equals the product of their determinants: :\det(AB) = \det (A) \det (B) This key fact can be proven by observing that, for a fixed matrix B, both sides of the equation are alternating and multilinear as a function depending on the columns of A. Moreover, they both take the value \det B when A is the identity matrix. The above-mentioned unique characterization of alternating multilinear maps therefore shows this claim. A matrix A with entries in a field is
    invertible In mathematics, the concept of an inverse element generalises the concepts of opposite () and reciprocal () of numbers. Given an operation denoted here , and an identity element denoted , if , one says that is a left inverse of , and that ...
    precisely if its determinant is nonzero. This follows from the multiplicativity of the determinant and the formula for the inverse involving the adjugate matrix mentioned below. In this event, the determinant of the inverse matrix is given by :\det\left(A^\right) = \frac = det(A). In particular, products and inverses of matrices with non-zero determinant (respectively, determinant one) still have this property. Thus, the set of such matrices (of fixed size n over a field K) forms a group known as the
    general linear group In mathematics, the general linear group of degree n is the set of n\times n invertible matrices, together with the operation of ordinary matrix multiplication. This forms a group, because the product of two invertible matrices is again inve ...
    \operatorname_n(K) (respectively, a
    subgroup In group theory, a branch of mathematics, a subset of a group G is a subgroup of G if the members of that subset form a group with respect to the group operation in G. Formally, given a group (mathematics), group under a binary operation  ...
    called the
    special linear group In mathematics, the special linear group \operatorname(n,R) of degree n over a commutative ring R is the set of n\times n Matrix (mathematics), matrices with determinant 1, with the group operations of ordinary matrix multiplication and matrix ...
    \operatorname_n(K) \subset \operatorname_n(K). More generally, the word "special" indicates the subgroup of another matrix group of matrices of determinant one. Examples include the
    special orthogonal group In mathematics, the orthogonal group in dimension , denoted , is the group of distance-preserving transformations of a Euclidean space of dimension that preserve a fixed point, where the group operation is given by composing transformations. ...
    (which if ''n'' is 2 or 3 consists of all rotation matrices), and the
    special unitary group In mathematics, the special unitary group of degree , denoted , is the Lie group of unitary matrices with determinant 1. The matrices of the more general unitary group may have complex determinants with absolute value 1, rather than real 1 ...
    . Because the determinant respects multiplication and inverses, it is in fact a
    group homomorphism In mathematics, given two groups, (''G'',∗) and (''H'', ·), a group homomorphism from (''G'',∗) to (''H'', ·) is a function ''h'' : ''G'' → ''H'' such that for all ''u'' and ''v'' in ''G'' it holds that : h(u*v) = h(u) \cdot h(v) whe ...
    from \operatorname_n(K) into the multiplicative group K^\times of nonzero elements of K. This homomorphism is surjective and its kernel is \operatorname_n(K) (the matrices with determinant one). Hence, by the
    first isomorphism theorem In mathematics, specifically abstract algebra, the isomorphism theorems (also known as Noether's isomorphism theorems) are theorems that describe the relationship among quotients, homomorphisms, and subobjects. Versions of the theorems exist for ...
    , this shows that \operatorname_n(K) is a
    normal subgroup In abstract algebra, a normal subgroup (also known as an invariant subgroup or self-conjugate subgroup) is a subgroup that is invariant under conjugation by members of the group of which it is a part. In other words, a subgroup N of the group ...
    of \operatorname_n(K), and that the
    quotient group A quotient group or factor group is a mathematical group obtained by aggregating similar elements of a larger group using an equivalence relation that preserves some of the group structure (the rest of the structure is "factored out"). For ex ...
    \operatorname_n(K)/\operatorname_n(K) is isomorphic to K^\times. The
    Cauchy–Binet formula In mathematics, specifically linear algebra, the Cauchy–Binet formula, named after Augustin-Louis Cauchy and Jacques Philippe Marie Binet, is an identity for the determinant of the product of two rectangular matrices of transpose shapes (so th ...
    is a generalization of that product formula for ''rectangular'' matrices. This formula can also be recast as a multiplicative formula for compound matrices whose entries are the determinants of all quadratic submatrices of a given matrix.


    Laplace expansion

    Laplace expansion In linear algebra, the Laplace expansion, named after Pierre-Simon Laplace, also called cofactor expansion, is an expression of the determinant of an -matrix as a weighted sum of minors, which are the determinants of some - submatrices of . Spe ...
    expresses the determinant of a matrix A recursively in terms of determinants of smaller matrices, known as its minors. The minor M_ is defined to be the determinant of the (n-1) \times (n-1) matrix that results from A by removing the i-th row and the j-th column. The expression (-1)^M_ is known as a cofactor. For every i, one has the equality :\det(A) = \sum_^n (-1)^ a_ M_, which is called the ''Laplace expansion along the th row''. For example, the Laplace expansion along the first row (i=1) gives the following formula: : \begina&b&c\\ d&e&f\\ g&h&i\end = a\begine&f\\ h&i\end - b\begind&f\\ g&i\end + c\begind&e\\ g&h\end Unwinding the determinants of these 2 \times 2-matrices gives back the Leibniz formula mentioned above. Similarly, the ''Laplace expansion along the j-th column'' is the equality :\det(A)= \sum_^n (-1)^ a_ M_. Laplace expansion can be used iteratively for computing determinants, but this approach is inefficient for large matrices. However, it is useful for computing the determinants of highly symmetric matrix such as the Vandermonde matrix \begin 1 & 1 & 1 & \cdots & 1 \\ x_1 & x_2 & x_3 & \cdots & x_n \\ x_1^2 & x_2^2 & x_3^2 & \cdots & x_n^2 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ x_1^ & x_2^ & x_3^ & \cdots & x_n^ \end = \prod_ \left(x_j - x_i\right). The ''n''-term Laplace expansion along a row or column can be generalized to write an ''n'' x ''n'' determinant as a sum of \tbinom nk terms, each the product of the determinant of a ''k'' x ''k''
    submatrix In mathematics, a matrix (: matrices) is a rectangular array or table of numbers, symbols, or expressions, with elements or entries arranged in rows and columns, which is used to represent a mathematical object or property of such an object. ...
    and the determinant of the complementary (''n−k'') x (''n−k'') submatrix.


    Adjugate matrix

    The adjugate matrix \operatorname(A) is the transpose of the matrix of the cofactors, that is, : (\operatorname(A))_ = (-1)^ M_. For every matrix, one has : (\det A) I = A\operatornameA = (\operatornameA)\,A. Thus the adjugate matrix can be used for expressing the inverse of a
    nonsingular matrix In linear algebra, an invertible matrix (''non-singular'', ''non-degenarate'' or ''regular'') is a square matrix that has an inverse. In other words, if some other matrix is multiplied by the invertible matrix, the result can be multiplied by an ...
    : : A^ = \frac 1\operatornameA.


    Block matrices

    The formula for the determinant of a 2 \times 2 matrix above continues to hold, under appropriate further assumptions, for a
    block matrix In mathematics, a block matrix or a partitioned matrix is a matrix that is interpreted as having been broken into sections called blocks or submatrices. Intuitively, a matrix interpreted as a block matrix can be visualized as the original matrix w ...
    , i.e., a matrix composed of four submatrices A, B, C, D of dimension m \times m, m \times n, n \times m and n \times n, respectively. The easiest such formula, which can be proven using either the Leibniz formula or a factorization involving the
    Schur complement The Schur complement is a key tool in the fields of linear algebra, the theory of matrices, numerical analysis, and statistics. It is defined for a block matrix. Suppose ''p'', ''q'' are nonnegative integers such that ''p + q > 0'', and suppose ...
    , is :\det\beginA& 0\\ C& D\end = \det(A) \det(D) = \det\beginA& B\\ 0& D\end. If A is
    invertible In mathematics, the concept of an inverse element generalises the concepts of opposite () and reciprocal () of numbers. Given an operation denoted here , and an identity element denoted , if , one says that is a left inverse of , and that ...
    , then it follows with results from the section on multiplicativity that :\begin \det\beginA& B\\ C& D\end & = \det(A)\det\beginA& B\\ C& D\end \underbrace_\\ & = \det(A) \det\beginI_m& 0\\ C A^& D-C A^ B\end\\ & = \det(A) \det(D - C A^ B), \end which simplifies to \det (A) (D - C A^ B) when D is a 1 \times 1 matrix. A similar result holds when D is invertible, namely :\begin \det\beginA& B\\ C& D\end & = \det(D)\det\beginA& B\\ C& D\end \underbrace_\\ & = \det(D) \det\beginA - B D^ C& B D^\\ 0& I_n\end\\ & = \det(D) \det(A - B D^ C). \end Both results can be combined to derive Sylvester's determinant theorem, which is also stated below. If the blocks are square matrices of the ''same'' size further formulas hold. For example, if C and D commute (i.e., CD=DC), then :\det\beginA& B\\ C& D\end = \det(AD - BC). This formula has been generalized to matrices composed of more than 2 \times 2 blocks, again under appropriate commutativity conditions among the individual blocks. For A = D and B = C, the following formula holds (even if A and B do not commute). :\det\beginA & B\\ B & A\end = \det\beginA+B & B\\ B+A & A\end = \det\beginA+B & B\\ 0 & A-B\end = \det(A+B) \det(A-B).


    Sylvester's determinant theorem

    Sylvester's determinant theorem states that for ''A'', an matrix, and ''B'', an matrix (so that ''A'' and ''B'' have dimensions allowing them to be multiplied in either order forming a square matrix): :\det\left(I_\mathit + AB\right) = \det\left(I_\mathit + BA\right), where ''I''''m'' and ''I''''n'' are the and identity matrices, respectively. From this general result several consequences follow. A generalization is \det\left(Z + AWB\right) = \det\left( Z\right) \det\left(W \right) \det\left(W^ + B Z^ A\right)(see Matrix determinant lemma), where ''Z'' is an invertible matrix and ''W'' is an invertible matrix.


    Sum

    The determinant of the sum A+B of two square matrices of the same size is not in general expressible in terms of the determinants of ''A'' and of ''B''. However, for positive semidefinite matrices A, B and C of equal size, \det(A + B + C) + \det(C) \geq \det(A + C) + \det(B + C)\text with the corollary \det(A + B) \geq \det(A) + \det(B)\text Brunn–Minkowski theorem implies that the th root of determinant is a
    concave function In mathematics, a concave function is one for which the function value at any convex combination of elements in the domain is greater than or equal to that convex combination of those domain elements. Equivalently, a concave function is any funct ...
    , when restricted to
    Hermitian {{Short description, none Numerous things are named after the French mathematician Charles Hermite (1822–1901): Hermite * Cubic Hermite spline, a type of third-degree spline * Gauss–Hermite quadrature, an extension of Gaussian quadrature me ...
    positive-definite n\times n matrices. Therefore, if and are Hermitian positive-definite n\times n matrices, one has \sqrt geq\sqrt \sqrt since the th root of the determinant is a
    homogeneous function In mathematics, a homogeneous function is a function of several variables such that the following holds: If each of the function's arguments is multiplied by the same scalar (mathematics), scalar, then the function's value is multiplied by some p ...
    .


    Sum identity for 2×2 matrices

    For the special case of 2\times 2 matrices with complex entries, the determinant of the sum can be written in terms of determinants and traces in the following identity: :\det(A+B) = \det(A) + \det(B) + \text(A)\text(B) - \text(AB).


    Properties of the determinant in relation to other notions


    Eigenvalues and characteristic polynomial

    The determinant is closely related to two other central concepts in linear algebra, the
    eigenvalue In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
    s and the
    characteristic polynomial In linear algebra, the characteristic polynomial of a square matrix is a polynomial which is invariant under matrix similarity and has the eigenvalues as roots. It has the determinant and the trace of the matrix among its coefficients. The ...
    of a matrix. Let A be an n \times n matrix with
    complex Complex commonly refers to: * Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe ** Complex system, a system composed of many components which may interact with each ...
    entries. Then, by the Fundamental Theorem of Algebra, A must have exactly ''n''
    eigenvalues In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
    \lambda_1, \lambda_2, \ldots, \lambda_n. (Here it is understood that an eigenvalue with algebraic multiplicity occurs times in this list.) Then, it turns out the determinant of is equal to the ''product'' of these eigenvalues, :\det(A) = \prod_^n \lambda_i=\lambda_1\lambda_2\cdots\lambda_n. The product of all non-zero eigenvalues is referred to as pseudo-determinant. From this, one immediately sees that the determinant of a matrix A is zero if and only if 0 is an eigenvalue of A. In other words, A is invertible if and only if 0 is not an eigenvalue of A. The characteristic polynomial is defined as :\chi_A(t) = \det(t \cdot I - A). Here, t is the indeterminate of the polynomial and I is the identity matrix of the same size as A. By means of this polynomial, determinants can be used to find the
    eigenvalue In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
    s of the matrix A: they are precisely the
    roots A root is the part of a plant, generally underground, that anchors the plant body, and absorbs and stores water and nutrients. Root or roots may also refer to: Art, entertainment, and media * ''The Root'' (magazine), an online magazine focusin ...
    of this polynomial, i.e., those complex numbers \lambda such that :\chi_A(\lambda) = 0. A
    Hermitian matrix In mathematics, a Hermitian matrix (or self-adjoint matrix) is a complex square matrix that is equal to its own conjugate transpose—that is, the element in the -th row and -th column is equal to the complex conjugate of the element in the ...
    is positive definite if all its eigenvalues are positive.
    Sylvester's criterion In mathematics, Sylvester’s criterion is a necessary and sufficient condition, necessary and sufficient criterion to determine whether a Hermitian matrix is Definite matrix, positive-definite. Sylvester's criterion states that a ''n'' × ''n'' ...
    asserts that this is equivalent to the determinants of the submatrices :A_k := \begin a_ & a_ & \cdots & a_ \\ a_ & a_ & \cdots & a_ \\ \vdots & \vdots & \ddots & \vdots \\ a_ & a_ & \cdots & a_ \end being positive, for all k between 1 and n.


    Trace

    The trace tr(''A'') is by definition the sum of the diagonal entries of and also equals the sum of the eigenvalues. Thus, for complex matrices , :\det(\exp(A)) = \exp(\operatorname(A)) or, for real matrices , :\operatorname(A) = \log(\det(\exp(A))). Here exp() denotes the
    matrix exponential In mathematics, the matrix exponential is a matrix function on square matrix, square matrices analogous to the ordinary exponential function. It is used to solve systems of linear differential equations. In the theory of Lie groups, the matrix exp ...
    of , because every eigenvalue of corresponds to the eigenvalue exp() of exp(). In particular, given any
    logarithm In mathematics, the logarithm of a number is the exponent by which another fixed value, the base, must be raised to produce that number. For example, the logarithm of to base is , because is to the rd power: . More generally, if , the ...
    of , that is, any matrix satisfying :\exp(L) = A the determinant of is given by :\det(A) = \exp(\operatorname(L)). For example, for , , and , respectively, :\begin \det(A) &= \frac\left(\left(\operatorname(A)\right)^2 - \operatorname\left(A^2\right)\right), \\ \det(A) &= \frac\left(\left(\operatorname(A)\right)^3 - 3\operatorname(A) ~ \operatorname\left(A^2\right) + 2 \operatorname\left(A^3\right)\right), \\ \det(A) &= \frac\left(\left(\operatorname(A)\right)^4 - 6\operatorname\left(A^2\right)\left(\operatorname(A)\right)^2 + 3\left(\operatorname\left(A^2\right)\right)^2 + 8\operatorname\left(A^3\right)~\operatorname(A) - 6\operatorname\left(A^4\right)\right). \end cf. Cayley-Hamilton theorem. Such expressions are deducible from combinatorial arguments,
    Newton's identities In mathematics, Newton's identities, also known as the Girard–Newton formulae, give relations between two types of symmetric polynomials, namely between power sums and elementary symmetric polynomials. Evaluated at the roots of a monic polynomi ...
    , or the Faddeev–LeVerrier algorithm. That is, for generic , the signed constant term of the
    characteristic polynomial In linear algebra, the characteristic polynomial of a square matrix is a polynomial which is invariant under matrix similarity and has the eigenvalues as roots. It has the determinant and the trace of the matrix among its coefficients. The ...
    , determined recursively from :c_n = 1; ~~~c_ = -\frac\sum_^m c_ \operatorname\left(A^k\right) ~~(1 \le m \le n)~. In the general case, this may also be obtained from :\det(A) = \sum_\prod_^n \frac \operatorname\left(A^l\right)^, where the sum is taken over the set of all integers satisfying the equation :\sum_^n lk_l = n. The formula can be expressed in terms of the complete exponential Bell polynomial of ''n'' arguments ''s''''l'' = −(''l'' – 1)! tr(''A''''l'') as :\det(A) = \frac B_n(s_1, s_2, \ldots, s_n). This formula can also be used to find the determinant of a matrix with multidimensional indices and . The product and trace of such matrices are defined in a natural way as :(AB)^I_J = \sum_K A^I_K B^K_J, \operatorname(A) = \sum_I A^I_I. An important arbitrary dimension identity can be obtained from the Mercator series expansion of the logarithm when the expansion converges. If every eigenvalue of ''A'' is less than 1 in absolute value, :\det(I + A) = \sum_^\infty \frac \left(-\sum_^\infty \frac \operatorname\left(A^j\right)\right)^k\,, where is the identity matrix. More generally, if :\sum_^\infty \frac \left(-\sum_^\infty \frac\operatorname\left(A^j\right)\right)^k\,, is expanded as a formal
    power series In mathematics, a power series (in one variable) is an infinite series of the form \sum_^\infty a_n \left(x - c\right)^n = a_0 + a_1 (x - c) + a_2 (x - c)^2 + \dots where ''a_n'' represents the coefficient of the ''n''th term and ''c'' is a co ...
    in then all coefficients of for are zero and the remaining polynomial is .


    Upper and lower bounds

    For a positive definite matrix , the trace operator gives the following tight lower and upper bounds on the log determinant :\operatorname\left(I - A^\right) \le \log\det(A) \le \operatorname(A - I) with equality if and only if . This relationship can be derived via the formula for the Kullback-Leibler divergence between two multivariate normal distributions. Also, :\frac \leq \det(A)^\frac \leq \frac\operatorname(A) \leq \sqrt. These inequalities can be proved by expressing the traces and the determinant in terms of the eigenvalues. As such, they represent the well-known fact that the
    harmonic mean In mathematics, the harmonic mean is a kind of average, one of the Pythagorean means. It is the most appropriate average for ratios and rate (mathematics), rates such as speeds, and is normally only used for positive arguments. The harmonic mean ...
    is less than the
    geometric mean In mathematics, the geometric mean is a mean or average which indicates a central tendency of a finite collection of positive real numbers by using the product of their values (as opposed to the arithmetic mean which uses their sum). The geometri ...
    , which is less than the
    arithmetic mean In mathematics and statistics, the arithmetic mean ( ), arithmetic average, or just the ''mean'' or ''average'' is the sum of a collection of numbers divided by the count of numbers in the collection. The collection is often a set of results fr ...
    , which is, in turn, less than the
    root mean square In mathematics, the root mean square (abbrev. RMS, or rms) of a set of values is the square root of the set's mean square. Given a set x_i, its RMS is denoted as either x_\mathrm or \mathrm_x. The RMS is also known as the quadratic mean (denote ...
    .


    Derivative

    The Leibniz formula shows that the determinant of real (or analogously for complex) square matrices is a
    polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
    function from \mathbf R^ to \mathbf R. In particular, it is everywhere
    differentiable In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non- vertical tangent line at each interior point in ...
    . Its derivative can be expressed using
    Jacobi's formula In matrix calculus, Jacobi's formula expresses the derivative of the determinant of a matrix ''A'' in terms of the adjugate of ''A'' and the derivative of ''A''., Part Three, Section 8.3 If is a differentiable map from the real numbers to matr ...
    : :\frac = \operatorname\left(\operatorname(A) \frac\right). where \operatorname(A) denotes the adjugate of A. In particular, if A is invertible, we have :\frac = \det(A) \operatorname\left(A^ \frac\right). Expressed in terms of the entries of A, these are : \frac= \operatorname(A)_ = \det(A)\left(A^\right)_. Yet another equivalent formulation is :\det(A + \epsilon X) - \det(A) = \operatorname(\operatorname(A) X) \epsilon + O\left(\epsilon^2\right) = \det(A) \operatorname\left(A^ X\right) \epsilon + O\left(\epsilon^2\right), using
    big O notation Big ''O'' notation is a mathematical notation that describes the asymptotic analysis, limiting behavior of a function (mathematics), function when the Argument of a function, argument tends towards a particular value or infinity. Big O is a memb ...
    . The special case where A = I, the identity matrix, yields :\det(I + \epsilon X) = 1 + \operatorname(X) \epsilon + O\left(\epsilon^2\right). This identity is used in describing
    Lie algebra In mathematics, a Lie algebra (pronounced ) is a vector space \mathfrak g together with an operation called the Lie bracket, an alternating bilinear map \mathfrak g \times \mathfrak g \rightarrow \mathfrak g, that satisfies the Jacobi ident ...
    s associated to certain matrix
    Lie group In mathematics, a Lie group (pronounced ) is a group (mathematics), group that is also a differentiable manifold, such that group multiplication and taking inverses are both differentiable. A manifold is a space that locally resembles Eucli ...
    s. For example, the special linear group \operatorname_n is defined by the equation \det A = 1. The above formula shows that its Lie algebra is the special linear Lie algebra \mathfrak_n consisting of those matrices having trace zero. Writing a 3 \times 3 matrix as A = \begina & b & c\end where a, b,c are column vectors of length 3, then the gradient over one of the three vectors may be written as the
    cross product In mathematics, the cross product or vector product (occasionally directed area product, to emphasize its geometric significance) is a binary operation on two vectors in a three-dimensional oriented Euclidean vector space (named here E), and ...
    of the other two: : \begin \nabla_\mathbf\det(A) &= \mathbf \times \mathbf \\ \nabla_\mathbf\det(A) &= \mathbf \times \mathbf \\ \nabla_\mathbf\det(A) &= \mathbf \times \mathbf. \end


    History

    Historically, determinants were used long before matrices: A determinant was originally defined as a property of a
    system of linear equations In mathematics, a system of linear equations (or linear system) is a collection of two or more linear equations involving the same variable (math), variables. For example, : \begin 3x+2y-z=1\\ 2x-2y+4z=-2\\ -x+\fracy-z=0 \end is a system of th ...
    . The determinant "determines" whether the system has a unique solution (which occurs precisely if the determinant is non-zero). In this sense, determinants were first used in the Chinese mathematics textbook ''
    The Nine Chapters on the Mathematical Art ''The Nine Chapters on the Mathematical Art'' is a Chinese mathematics book, composed by several generations of scholars from the 10th–2nd century BCE, its latest stage being from the 1st century CE. This book is one of the earliest surviving ...
    '' (九章算術, Chinese scholars, around the 3rd century BCE). In Europe, solutions of linear systems of two equations were expressed by Cardano in 1545 by a determinant-like entity. Determinants proper originated separately from the work of Seki Takakazu in 1683 in Japan and parallelly of
    Leibniz Gottfried Wilhelm Leibniz (or Leibnitz; – 14 November 1716) was a German polymath active as a mathematician, philosopher, scientist and diplomat who is credited, alongside Sir Isaac Newton, with the creation of calculus in addition to many ...
    in 1693. stated, without proof, Cramer's rule. Both Cramer and also were led to determinants by the question of
    plane curve In mathematics, a plane curve is a curve in a plane that may be a Euclidean plane, an affine plane or a projective plane. The most frequently studied cases are smooth plane curves (including piecewise smooth plane curves), and algebraic plane c ...
    s passing through a given set of points. Vandermonde (1771) first recognized determinants as independent functions.Campbell, H: "Linear Algebra With Applications", pages 111–112. Appleton Century Crofts, 1971 gave the general method of expanding a determinant in terms of its complementary minors: Vandermonde had already given a special case. Immediately following,
    Lagrange Joseph-Louis Lagrange (born Giuseppe Luigi Lagrangiaelimination theory In commutative algebra and algebraic geometry, elimination theory is the classical name for algorithmic approaches to eliminating some variables between polynomials of several variables, in order to solve systems of polynomial equations. Classica ...
    ; he proved many special cases of general identities.
    Gauss Johann Carl Friedrich Gauss (; ; ; 30 April 177723 February 1855) was a German mathematician, astronomer, Geodesy, geodesist, and physicist, who contributed to many fields in mathematics and science. He was director of the Göttingen Observat ...
    (1801) made the next advance. Like Lagrange, he made much use of determinants in the
    theory of numbers Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
    . He introduced the word "determinant" (Laplace had used "resultant"), though not in the present signification, but rather as applied to the
    discriminant In mathematics, the discriminant of a polynomial is a quantity that depends on the coefficients and allows deducing some properties of the zero of a function, roots without computing them. More precisely, it is a polynomial function of the coef ...
    of a
    quadratic form In mathematics, a quadratic form is a polynomial with terms all of degree two (" form" is another name for a homogeneous polynomial). For example, 4x^2 + 2xy - 3y^2 is a quadratic form in the variables and . The coefficients usually belong t ...
    . 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 ''m'' columns and ''n'' rows, which for the special case of reduces to the multiplication theorem. On the same day (November 30, 1812) that Binet presented his paper to the Academy,
    Cauchy Baron Augustin-Louis Cauchy ( , , ; ; 21 August 1789 – 23 May 1857) was a French mathematician, engineer, and physicist. He was one of the first to rigorously state and prove the key theorems of calculus (thereby creating real a ...
    also presented one on the subject. (See
    Cauchy–Binet formula In mathematics, specifically linear algebra, the Cauchy–Binet formula, named after Augustin-Louis Cauchy and Jacques Philippe Marie Binet, is an identity for the determinant of the product of two rectangular matrices of transpose shapes (so th ...
    .) 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. used the functional determinant which Sylvester later called the Jacobian. In his memoirs in '' Crelle's Journal'' 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 Sylvester or Silvester is a name derived from the Latin adjective ''silvestris'' meaning "wooded" or "wild", which derives from the noun ''silva'' meaning "woodland". Classical Latin spells this with ''i''. In Classical Latin, ''y'' represented a ...
    (1839) and Cayley began their work. introduced the modern notation for the determinant using vertical bars. 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 Hesse or Hessen ( ), officially the State of Hesse (), is a States of Germany, state in Germany. Its capital city is Wiesbaden, and the largest urban area is Frankfurt, which is also the country's principal financial centre. Two other major hist ...
    , 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 In linear algebra, an orthogonal transformation is a linear transformation ''T'' : ''V'' → ''V'' on a real inner product space ''V'', that preserves the inner product. That is, for each pair of elements of ''V'', we hav ...
    , by Cayley; continuants by Sylvester;
    Wronskian In mathematics, the Wronskian of ''n'' differentiable functions is the determinant formed with the functions and their derivatives up to order . It was introduced in 1812 by the Polish mathematician Józef Wroński, and is used in the study of ...
    s (so called by Muir) by Christoffel and
    Frobenius Frobenius is a surname. Notable people with the surname include: * Ferdinand Georg Frobenius (1849–1917), mathematician ** Frobenius algebra ** Frobenius endomorphism ** Frobenius inner product ** Frobenius norm ** Frobenius method ** Frobenius g ...
    ; compound determinants by Sylvester, Reiss, and Picquet; Jacobians and Hessians by Sylvester; and symmetric gauche determinants by Trudi. Of the textbooks on the subject Spottiswoode's was the first. In America, Hanus (1886), Weld (1893), and Muir/Metzler (1933) published treatises.


    Applications


    Cramer's rule

    Determinants can be used to describe the solutions of a linear system of equations, written in matrix form as Ax = b. This equation has a unique solution x if and only if \det (A) is nonzero. In this case, the solution is given by
    Cramer's rule In linear algebra, Cramer's rule is an explicit formula for the solution of a system of linear equations with as many equations as unknowns, valid whenever the system has a unique solution. It expresses the solution in terms of the determinants of ...
    : :x_i = \frac \qquad i = 1, 2, 3, \ldots, n where A_i is the matrix formed by replacing the i-th column of A by the column vector b. This follows immediately by column expansion of the determinant, i.e. :\det(A_i) = \det\begina_1 & \ldots & b & \ldots & a_n\end =\sum_^n x_j\det\begina_1 & \ldots & a_ & a_j & a_ & \ldots & a_n\end = x_i\det(A) where the vectors a_j are the columns of ''A''. The rule is also implied by the identity :A\, \operatorname(A) = \operatorname(A)\, A = \det(A)\, I_n. Cramer's rule can be implemented in \operatorname O(n^3) time, which is comparable to more common methods of solving systems of linear equations, such as LU, QR, or
    singular value decomposition In linear algebra, the singular value decomposition (SVD) is a Matrix decomposition, factorization of a real number, real or complex number, complex matrix (mathematics), matrix into a rotation, followed by a rescaling followed by another rota ...
    .


    Linear independence

    Determinants can be used to characterize
    linearly dependent In the theory of vector spaces, a set of vectors is said to be if there exists no nontrivial linear combination of the vectors that equals the zero vector. If such a linear combination exists, then the vectors are said to be . These concepts ...
    vectors: \det A is zero if and only if the column vectors of the matrix A are linearly dependent. For example, given two linearly independent vectors v_1, v_2 \in \mathbf R^3, a third vector v_3 lies in the plane spanned by the former two vectors exactly if the determinant of the 3 \times 3 matrix consisting of the three vectors is zero. The same idea is also used in the theory of differential equations: given functions f_1(x), \dots, f_n(x) (supposed to be n-1 times
    differentiable In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non- vertical tangent line at each interior point in ...
    ), the
    Wronskian In mathematics, the Wronskian of ''n'' differentiable functions is the determinant formed with the functions and their derivatives up to order . It was introduced in 1812 by the Polish mathematician Józef Wroński, and is used in the study of ...
    is defined to be :W(f_1, \ldots, f_n)(x) = \begin f_1(x) & f_2(x) & \cdots & f_n(x) \\ f_1'(x) & f_2'(x) & \cdots & f_n'(x) \\ \vdots & \vdots & \ddots & \vdots \\ f_1^(x) & f_2^(x) & \cdots & f_n^(x) \end. It is non-zero (for some x) in a specified interval if and only if the given functions and all their derivatives up to order n-1 are linearly independent. If it can be shown that the Wronskian is zero everywhere on an interval then, in the case of
    analytic function In mathematics, an analytic function is a function that is locally given by a convergent power series. There exist both real analytic functions and complex analytic functions. Functions of each type are infinitely differentiable, but complex ...
    s, this implies the given functions are linearly dependent. See the Wronskian and linear independence. Another such use of the determinant is the
    resultant In mathematics, the resultant of two polynomials is a polynomial expression of their coefficients that is equal to zero if and only if the polynomials have a common root (possibly in a field extension), or, equivalently, a common factor (over th ...
    , which gives a criterion when two
    polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
    s have a common
    root In vascular plants, the roots are the plant organ, organs of a plant that are modified to provide anchorage for the plant and take in water and nutrients into the plant body, which allows plants to grow taller and faster. They are most often bel ...
    .


    Orientation of a basis

    The determinant can be thought of as assigning a number to every
    sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is cal ...
    of ''n'' vectors in R''n'', by using the square matrix whose columns are the given vectors. The determinant will be nonzero if and only if the sequence of vectors is a ''basis'' for R''n''. In that case, the sign of the determinant determines whether the orientation of the basis is consistent with or opposite to the orientation of the
    standard basis In mathematics, the standard basis (also called natural basis or canonical basis) of a coordinate vector space (such as \mathbb^n or \mathbb^n) is the set of vectors, each of whose components are all zero, except one that equals 1. For exampl ...
    . In the case of an orthogonal basis, the magnitude of the determinant is equal to the ''product'' of the lengths of the basis vectors. For instance, an
    orthogonal matrix In linear algebra, an orthogonal matrix, or orthonormal matrix, is a real square matrix whose columns and rows are orthonormal vectors. One way to express this is Q^\mathrm Q = Q Q^\mathrm = I, where is the transpose of and is the identi ...
    with entries in R''n'' represents an
    orthonormal basis In mathematics, particularly linear algebra, an orthonormal basis for an inner product space V with finite Dimension (linear algebra), dimension is a Basis (linear algebra), basis for V whose vectors are orthonormal, that is, they are all unit vec ...
    in
    Euclidean space Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
    , and hence has determinant of ±1 (since all the vectors have length 1). The determinant is +1 if and only if the basis has the same orientation. It is −1 if and only if the basis has the opposite orientation. More generally, if the determinant of ''A'' is positive, ''A'' represents an orientation-preserving
    linear transformation In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pr ...
    (if ''A'' is an orthogonal or matrix, this is a
    rotation Rotation or rotational/rotary motion is the circular movement of an object around a central line, known as an ''axis of rotation''. A plane figure can rotate in either a clockwise or counterclockwise sense around a perpendicular axis intersect ...
    ), while if it is negative, ''A'' switches the orientation of the basis.


    Volume and Jacobian determinant

    As pointed out above, the
    absolute value In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if x is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), ...
    of the determinant of real vectors is equal to the volume of the
    parallelepiped In geometry, a parallelepiped is a three-dimensional figure formed by six parallelograms (the term ''rhomboid'' is also sometimes used with this meaning). By analogy, it relates to a parallelogram just as a cube relates to a square. Three equiva ...
    spanned by those vectors. As a consequence, if f : \mathbf R^n \to \mathbf R^n is the linear map given by multiplication with a matrix A, and S \subset \mathbf R^n is any
    measurable In mathematics, the concept of a measure is a generalization and formalization of geometrical measures (length, area, volume) and other common notions, such as magnitude, mass, and probability of events. These seemingly distinct concepts hav ...
    subset In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
    , then the volume of f(S) is given by , \det(A), times the volume of S. More generally, if the linear map f : \mathbf R^n \to \mathbf R^m is represented by the m \times n matrix A, then the n-
    dimension In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coo ...
    al volume of f(S) is given by: :\operatorname(f(S)) = \sqrt \operatorname(S). By calculating the volume of the tetrahedron bounded by four points, they can be used to identify skew lines. The volume of any tetrahedron, given its vertex (geometry), vertices a, b, c, d, \frac 1 6 \cdot , \det(a-b,b-c,c-d), , or any other combination of pairs of vertices that form a spanning tree over the vertices. For a general differentiable function, much of the above carries over by considering the Jacobian matrix of ''f''. For :f: \mathbf R^n \rightarrow \mathbf R^n, the Jacobian matrix is the matrix whose entries are given by the partial derivatives :D(f) = \left(\frac \right)_. Its determinant, the Jacobian determinant, appears in the higher-dimensional version of integration by substitution: for suitable functions ''f'' and an open subset ''U'' of R''n'' (the domain of ''f''), the integral over ''f''(''U'') of some other function is given by :\int_ \phi(\mathbf)\, d\mathbf = \int_U \phi(f(\mathbf)) \left, \det(\operatornamef)(\mathbf)\ \,d\mathbf. The Jacobian also occurs in the inverse function theorem. When applied to the field of Cartography, the determinant can be used to measure the rate of expansion of a map near the poles.


    Abstract algebraic aspects


    Determinant of an endomorphism

    The above identities concerning the determinant of products and inverses of matrices imply that matrix similarity, similar matrices have the same determinant: two matrices ''A'' and ''B'' are similar, if there exists an invertible matrix ''X'' such that . Indeed, repeatedly applying the above identities yields :\det(A) = \det(X)^ \det(B)\det(X) = \det(B) \det(X)^ \det(X) = \det(B). The determinant is therefore also called a similarity invariance, similarity invariant. The determinant of a
    linear transformation In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pr ...
    :T : V \to V for some finite-dimensional vector space ''V'' is defined to be the determinant of the matrix describing it, with respect to an arbitrary choice of basis in ''V''. By the similarity invariance, this determinant is independent of the choice of the basis for ''V'' and therefore only depends on the endomorphism ''T''.


    Square matrices over commutative rings

    The above definition of the determinant using the Leibniz rule holds works more generally when the entries of the matrix are elements of a
    commutative ring In mathematics, a commutative ring is a Ring (mathematics), ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra. Complementarily, noncommutative algebra is the study of ring prope ...
    R, such as the integers \mathbf Z, as opposed to the field of real or complex numbers. Moreover, the characterization of the determinant as the unique alternating multilinear map that satisfies \det(I) = 1 still holds, as do all the properties that result from that characterization. A matrix A \in \operatorname_(R) is invertible (in the sense that there is an inverse matrix whose entries are in R) if and only if its determinant is an Unit (ring theory), invertible element in R. For R = \mathbf Z, this means that the determinant is +1 or −1. Such a matrix is called unimodular matrix, unimodular. The determinant being multiplicative, it defines a
    group homomorphism In mathematics, given two groups, (''G'',∗) and (''H'', ·), a group homomorphism from (''G'',∗) to (''H'', ·) is a function ''h'' : ''G'' → ''H'' such that for all ''u'' and ''v'' in ''G'' it holds that : h(u*v) = h(u) \cdot h(v) whe ...
    :\operatorname_n(R) \rightarrow R^\times, between the
    general linear group In mathematics, the general linear group of degree n is the set of n\times n invertible matrices, together with the operation of ordinary matrix multiplication. This forms a group, because the product of two invertible matrices is again inve ...
    (the group of invertible n \times n-matrices with entries in R) and the multiplicative group of units in R. Since it respects the multiplication in both groups, this map is a
    group homomorphism In mathematics, given two groups, (''G'',∗) and (''H'', ·), a group homomorphism from (''G'',∗) to (''H'', ·) is a function ''h'' : ''G'' → ''H'' such that for all ''u'' and ''v'' in ''G'' it holds that : h(u*v) = h(u) \cdot h(v) whe ...
    . Given a ring homomorphism f : R \to S, there is a map \operatorname_n(f) : \operatorname_n(R) \to \operatorname_n(S) given by replacing all entries in R by their images under f. The determinant respects these maps, i.e., the identity :f(\det((a_))) = \det ((f(a_))) holds. In other words, the displayed commutative diagram commutes. For example, the determinant of the complex conjugate of a complex matrix (which is also the determinant of its conjugate transpose) is the complex conjugate of its determinant, and for integer matrices: the reduction modulo m of the determinant of such a matrix is equal to the determinant of the matrix reduced modulo m (the latter determinant being computed using modular arithmetic). In the language of category theory, the determinant is a natural transformation between the two functors \operatorname_n and (-)^\times. Adding yet another layer of abstraction, this is captured by saying that the determinant is a morphism of algebraic groups, from the general linear group to the multiplicative group, :\det: \operatorname_n \to \mathbb G_m.


    Exterior algebra

    The determinant of a linear transformation T : V \to V of an n-dimensional vector space V or, more generally a free module of (finite) rank of a module, rank n over a commutative ring R can be formulated in a coordinate-free manner by considering the n-th exterior algebra, exterior power \bigwedge^n V of V. The map T induces a linear map :\begin \bigwedge^n T: \bigwedge^n V &\rightarrow \bigwedge^n V \\ v_1 \wedge v_2 \wedge \dots \wedge v_n &\mapsto T v_1 \wedge T v_2 \wedge \dots \wedge T v_n. \end As \bigwedge^n V is one-dimensional, the map \bigwedge^n T is given by multiplying with some scalar, i.e., an element in R. Some authors such as use this fact to ''define'' the determinant to be the element in R satisfying the following identity (for all v_i \in V): :\left(\bigwedge^n T\right)\left(v_1 \wedge \dots \wedge v_n\right) = \det(T) \cdot v_1 \wedge \dots \wedge v_n. This definition agrees with the more concrete coordinate-dependent definition. This can be shown using the uniqueness of a multilinear alternating form on n-tuples of vectors in R^n. For this reason, the highest non-zero exterior power \bigwedge^n V (as opposed to the determinant associated to an endomorphism) is sometimes also called the determinant of V and similarly for more involved objects such as vector bundles or chain complexes of vector spaces. Minors of a matrix can also be cast in this setting, by considering lower alternating forms \bigwedge^k V with k < n.


    Berezin integral

    The conventional definition of the determinant, as a sum over permutations over a product of matrix elements, can be written using the somewhat surprising notation of the Berezin integral. In this notation, the determinant can be written as :\int \exp\left[-\theta^TA\eta\right] \,d\theta\,d\eta = \det A This holds for any n\times n-dimensional matrix A. The symbols \theta,\eta are two n-dimensional vectors of anti-commuting Grassmann numbers (aka "supernumbers"), taken from the Grassmann algebra. The \exp here is the exponential function. The integral sign is meant to be understood as the Berezin integral. Despite the use of the integral symbol, this expression is in fact an entirely finite sum. This unusual-looking expression can be understood as a notational trick that rewrites the conventional expression for the determinant :\det A = \sum_\sgn(\sigma)a_\cdots a_. by using some novel notation. The anti-commuting property of the Grassmann numbers captures the sign (signature) of the permutation, while the integral combined with the \exp ensures that all permutations are explored. That is, the Taylor's series for \exp terminates after exactly n terms, because the square of a Grassmann number is zero, and there are exactly n distinct Grassmann variables. Meanwhile, the integral is defined to vanish, if the corresponding Grassmann number does ''not'' appear in the integrand. Thus, the integral selects out only those terms in the \exp series that have exactly n distinct variables; all lower-order terms vanish. Thus, the somewhat magical combination of the integral sign, the use of anti-commuting variables, and the Taylor's series for \exp just encodes a finite sum, identical to the conventional summation. This form is popular in physics, where it is often used as a stand-in for the Jacobian determinant. The appeal is that, notationally, the integral takes the form of a Functional integration, path integral, such as in the path integral formulation for quantized Hamiltonian mechanics. An example can be found in the theory of Fadeev–Popov ghosts; although this theory may seem rather abstruse, it's best to keep in mind that the use of the ghost fields is little more than a notational trick to express a Jacobian determinant. The Pfaffian \mathrm\,A of a skew-symmetric matrix A is the square-root of the determinant: that is, \left(\mathrm\,A\right)^2=\det A. The Berezin integral form for the Pfaffian is even more suggestive; it is :\int \exp\left[- \tfrac \theta^T A \theta\right] \,d\theta = \mathrm\, A The integrand has exactly the same formal structure as a normal Gaussian distribution, albeit with Grassman numbers, instead of real numbers. This formal resemblance accounts for the occasional appearance of supernumbers in the theory of stochastic dynamics and stochastic differential equations.


    Generalizations and related notions

    Determinants as treated above admit several variants: the Permanent (mathematics), permanent of a matrix is defined as the determinant, except that the factors \sgn(\sigma) occurring in Leibniz's rule are omitted. The immanant of a matrix, immanant generalizes both by introducing a character theory, character of the
    symmetric group In abstract algebra, the symmetric group defined over any set is the group whose elements are all the bijections from the set to itself, and whose group operation is the composition of functions. In particular, the finite symmetric grou ...
    S_n in Leibniz's rule.


    Determinants for finite-dimensional algebras

    For any associative algebra A that is dimension, finite-dimensional as a vector space over a field F, there is a determinant map :\det : A \to F. This definition proceeds by establishing the characteristic polynomial independently of the determinant, and defining the determinant as the lowest order term of this polynomial. This general definition recovers the determinant for the matrix algebra A = \operatorname_(F), but also includes several further cases including the determinant of a quaternion, :\det (a + ib+jc+kd) = a^2 + b^2 + c^2 + d^2, the Field norm, norm N_ : L \to F of a field extension, as well as the Pfaffian of a skew-symmetric matrix and the reduced norm of a central simple algebra, also arise as special cases of this construction.


    Infinite matrices

    For matrices with an infinite number of rows and columns, the above definitions of the determinant do not carry over directly. For example, in the Leibniz formula, an infinite sum (all of whose terms are infinite products) would have to be calculated. Functional analysis provides different extensions of the determinant for such infinite-dimensional situations, which however only work for particular kinds of operators. The Fredholm determinant defines the determinant for operators known as trace class operators by an appropriate generalization of the formula :\det(I+A) = \exp(\operatorname(\log(I+A))). Another infinite-dimensional notion of determinant is the functional determinant.


    Operators in von Neumann algebras

    For operators in a finite von Neumann algebra#Factors, factor, one may define a positive real-valued determinant called the Fuglede−Kadison determinant using the canonical trace. In fact, corresponding to every State (functional analysis)#tracial state, tracial state on a von Neumann algebra there is a notion of Fuglede−Kadison determinant.


    Related notions for non-commutative rings

    For matrices over non-commutative rings, multilinearity and alternating properties are incompatible for , so there is no good definition of the determinant in this setting. For square matrices with entries in a non-commutative ring, there are various difficulties in defining determinants analogously to that for commutative rings. A meaning can be given to the Leibniz formula provided that the order for the product is specified, and similarly for other definitions of the determinant, but non-commutativity then leads to the loss of many fundamental properties of the determinant, such as the multiplicative property or that the determinant is unchanged under transposition of the matrix. Over non-commutative rings, there is no reasonable notion of a multilinear form (existence of a nonzero with a Regular element (ring theory), regular element of ''R'' as value on some pair of arguments implies that ''R'' is commutative). Nevertheless, various notions of non-commutative determinant have been formulated that preserve some of the properties of determinants, notably quasideterminants and the Dieudonné determinant. For some classes of matrices with non-commutative elements, one can define the determinant and prove linear algebra theorems that are very similar to their commutative analogs. Examples include the ''q''-determinant on quantum groups, the Capelli determinant on Capelli matrices, and the Berezinian on supermatrices (i.e., matrices whose entries are elements of \mathbb Z_2-graded rings). Manin matrices form the class closest to matrices with commutative elements.


    Calculation

    Determinants are mainly used as a theoretical tool. They are rarely calculated explicitly in numerical linear algebra, where for applications such as checking invertibility and finding eigenvalues the determinant has largely been supplanted by other techniques. Computational geometry, however, does frequently use calculations related to determinants. While the determinant can be computed directly using the Leibniz rule this approach is extremely inefficient for large matrices, since that formula requires calculating n! (n
    factorial In mathematics, the factorial of a non-negative denoted is the Product (mathematics), product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial: \begin n! &= n \times ...
    ) products for an n \times n matrix. Thus, the number of required operations grows very quickly: it is Big O notation, of order n!. The Laplace expansion is similarly inefficient. Therefore, more involved techniques have been developed for calculating determinants.


    Gaussian elimination

    Gaussian elimination In mathematics, Gaussian elimination, also known as row reduction, is an algorithm for solving systems of linear equations. It consists of a sequence of row-wise operations performed on the corresponding matrix of coefficients. This method can a ...
    consists of left multiplying a matrix by elementary matrices for getting a matrix in a
    row echelon form In linear algebra, a matrix is in row echelon form if it can be obtained as the result of Gaussian elimination. Every matrix can be put in row echelon form by applying a sequence of elementary row operations. The term ''echelon'' comes from the F ...
    . One can restrict the computation to elementary matrices of determinant . In this case, the determinant of the resulting row echelon form equals the determinant of the initial matrix. As a row echelon form is a
    triangular matrix In mathematics, a triangular matrix is a special kind of square matrix. A square matrix is called if all the entries ''above'' the main diagonal are zero. Similarly, a square matrix is called if all the entries ''below'' the main diagonal are z ...
    , its determinant is the product of the entries of its diagonal. So, the determinant can be computed for almost free from the result of a Gaussian elimination.


    Decomposition methods

    Some methods compute \det(A) by writing the matrix as a product of matrices whose determinants can be more easily computed. Such techniques are referred to as decomposition methods. Examples include the LU decomposition, the QR decomposition or the Cholesky decomposition (for Positive definite matrix, positive definite matrices). These methods are of order \operatorname O(n^3), which is a significant improvement over \operatorname O (n!). For example, LU decomposition expresses A as a product : A = PLU. of a permutation matrix P (which has exactly a single 1 in each column, and otherwise zeros), a lower triangular matrix L and an upper triangular matrix U. The determinants of the two triangular matrices L and U can be quickly calculated, since they are the products of the respective diagonal entries. The determinant of P is just the sign \varepsilon of the corresponding permutation (which is +1 for an even number of permutations and is -1 for an odd number of permutations). Once such a LU decomposition is known for A, its determinant is readily computed as : \det(A) = \varepsilon \det(L)\cdot\det(U).


    Further methods

    The order \operatorname O(n^3) reached by decomposition methods has been improved by different methods. If two matrices of order n can be multiplied in time M(n), where M(n) \ge n^a for some a>2, then there is an algorithm computing the determinant in time O(M(n)). This means, for example, that an \operatorname O(n^) algorithm for computing the determinant exists based on the Coppersmith–Winograd algorithm. This exponent has been further lowered, as of 2016, to 2.373. In addition to the complexity of the algorithm, further criteria can be used to compare algorithms. Especially for applications concerning matrices over rings, algorithms that compute the determinant without any divisions exist. (By contrast, Gauss elimination requires divisions.) One such algorithm, having complexity \operatorname O(n^4) is based on the following idea: one replaces permutations (as in the Leibniz rule) by so-called closed ordered walks, in which several items can be repeated. The resulting sum has more terms than in the Leibniz rule, but in the process several of these products can be reused, making it more efficient than naively computing with the Leibniz rule. Algorithms can also be assessed according to their bit complexity, i.e., how many bits of accuracy are needed to store intermediate values occurring in the computation. For example, the
    Gaussian elimination In mathematics, Gaussian elimination, also known as row reduction, is an algorithm for solving systems of linear equations. It consists of a sequence of row-wise operations performed on the corresponding matrix of coefficients. This method can a ...
    (or LU decomposition) method is of order \operatorname O(n^3), but the bit length of intermediate values can become exponentially long. By comparison, the Bareiss Algorithm, is an exact-division method (so it does use division, but only in cases where these divisions can be performed without remainder) is of the same order, but the bit complexity is roughly the bit size of the original entries in the matrix times n. If the determinant of ''A'' and the inverse of ''A'' have already been computed, the matrix determinant lemma allows rapid calculation of the determinant of , where ''u'' and ''v'' are column vectors. Charles Dodgson (i.e. Lewis Carroll of ''Alice's Adventures in Wonderland'' fame) invented a method for computing determinants called Dodgson condensation. Unfortunately this interesting method does not always work in its original form.


    See also

    * Cauchy determinant * Cayley–Menger determinant * Dieudonné determinant * Slater determinant * Determinantal conjecture


    Notes


    References

    * * * * * * * * * * * * * * * * * * * * G. Baley Price (1947) "Some identities in the theory of determinants", American Mathematical Monthly 54:75–90 * * * * * * *


    Historical references

    * * * * * * * * *
    Robert Forsyth Scott (1880): ''A Treatise on the Theory of Determinants and Their Applications in Analysis and Geometry'', Cambridge University Press

    E. R. Hedrick: ''On Three Dimensional Determinants'', Annals of Mathematics, Vol.1, No.1/4 (1899-1900), pp.49-67 (19pages). https://doi.org/10.2307/1967268
    # Note: This is not the ordinal determinant.


    External links

    * * *


    Linear algebra: determinants.
    Compute determinants of matrices up to order 6 using Laplace expansion you choose.
    Determinant Calculator
    Calculator for matrix determinants, up to the 8th order.


    Determinants explained in an easy fashion in the 4th chapter as a part of a Linear Algebra course.
    {{authority control Determinants, Matrix theory Linear algebra Homogeneous polynomials