All Topics  
Determinant

 

   Email Print
   Bookmark   Link






 

Determinant



 
 
In algebra
Algebra

Algebra is a branch of mathematics concerning the study of structure , relation , and quantity. Together with geometry, mathematical analysis, combinatorics, and number theory, algebra is one of the main branches of mathematics....
, a determinant is a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 depending on n that associates a scalar
Scalar (mathematics)

In linear algebra, real numbers are called scalars and relate to vectors in a vector space through the operation of scalar multiplication, in which a vector can be multiplied by a number to produce another vector....
, det(A), to an n×n square matrix A. The fundamental geometric meaning of a determinant is a scale factor
Scale factor

A scale factor is a number which scaling, or multiplies, some quantity. In the equation, is the scale factor for . is also the coefficient of , and may be called the constant of proportionality of to ....
 for measure
Measure (mathematics)

In mathematics, more specifically in measure theory, a measure on a set is a systematic way to assign to each suitable subset a number, intuitively interpreted as the size of the subset....
 when A is regarded as a linear transformation
Linear transformation

In mathematics, a linear map is a function between two vector spaces that preserves the operations of vector addition and scalar multiplication....
. Determinants are important both in calculus
Calculus

Calculus is a branch of mathematics that includes the study of limit , derivatives, integrals, and infinite series, and constitutes a major part of modern university education....
, where they enter the substitution rule for several variables, and in multilinear algebra
Multilinear algebra

In mathematics, multilinear algebra extends the methods of linear algebra. Just as linear algebra is built on the concept of a vector space and develops the theory of vector spaces, multilinear algebra builds on the concept of a tensor and develops the theory of 'tensor spaces'....
.

For a fixed nonnegative integer n, there is a unique determinant function for the n×n matrices over any commutative ring
Commutative ring

In ring theory, a branch of abstract algebra, a commutative ring is a Ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra....
 R.






Discussion
Ask a question about 'Determinant'
Start a new discussion about 'Determinant'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In algebra
Algebra

Algebra is a branch of mathematics concerning the study of structure , relation , and quantity. Together with geometry, mathematical analysis, combinatorics, and number theory, algebra is one of the main branches of mathematics....
, a determinant is a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 depending on n that associates a scalar
Scalar (mathematics)

In linear algebra, real numbers are called scalars and relate to vectors in a vector space through the operation of scalar multiplication, in which a vector can be multiplied by a number to produce another vector....
, det(A), to an n×n square matrix A. The fundamental geometric meaning of a determinant is a scale factor
Scale factor

A scale factor is a number which scaling, or multiplies, some quantity. In the equation, is the scale factor for . is also the coefficient of , and may be called the constant of proportionality of to ....
 for measure
Measure (mathematics)

In mathematics, more specifically in measure theory, a measure on a set is a systematic way to assign to each suitable subset a number, intuitively interpreted as the size of the subset....
 when A is regarded as a linear transformation
Linear transformation

In mathematics, a linear map is a function between two vector spaces that preserves the operations of vector addition and scalar multiplication....
. Determinants are important both in calculus
Calculus

Calculus is a branch of mathematics that includes the study of limit , derivatives, integrals, and infinite series, and constitutes a major part of modern university education....
, where they enter the substitution rule for several variables, and in multilinear algebra
Multilinear algebra

In mathematics, multilinear algebra extends the methods of linear algebra. Just as linear algebra is built on the concept of a vector space and develops the theory of vector spaces, multilinear algebra builds on the concept of a tensor and develops the theory of 'tensor spaces'....
.

For a fixed nonnegative integer n, there is a unique determinant function for the n×n matrices over any commutative ring
Commutative ring

In ring theory, a branch of abstract algebra, a commutative ring is a Ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra....
 R. In particular, this function exists when R is the field
Field (mathematics)

In abstract algebra, a field is an algebraic structure with notions of addition, subtraction, multiplication and division , satisfying certain axioms....
 of real
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
 or complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
s.

Definition

The determinant is a number associated to any square matrix, that is to say, a rectangular array of numbers, such that the (finite) number of rows and columns are equal. The definition of determinants of matrices will first be given for low-dimensional cases: the determinant of an 1-by-1 matrix A is the only entry of that matrix:, :det(A) = A11. The case of 2-by-2 and 3-by-3 matrices will be expounded below. These definitions are then subsumed in a general definition, valid for all n-by-n matrices.Some authors also define determinants of 0-by-0 matrices
Matrix (mathematics)

In mathematics, a matrix is a rectangular array of numbers, as shown at the right. In addition to a number of elementary, entrywise operations such as matrix addition a key notion is matrix multiplication....
. There is only one 0-by-0 matrix and its determinant is one. See .


The determinant of a matrix A, is denoted det(A) or |A|. It is also common to denote the determinant with elongated vertical bars:

2-by-2 matrices


The 2×2 matrix

has determinant

det A = adbc.


A matrix with real number entries also produces a representation of the oriented area of the parallelogram
Parallelogram

In geometry, a parallelogram is a quadrilateral with two sets of parallel sides. The opposite or facing sides of a parallelogram are of equal length, and the opposite angles of a parallelogram are of equal size....
 with vertices at (0,0), (a,b), (a + c, b + d), and (c,d). The oriented area is the same as the usual area, except that it is negative when the vertices are listed in clockwise order.

The assumption here is that a linear transformation is applied to row vectors as the vector-matrix product , where is a column vector. The parallelogram in the figure is obtained by multiplying matrix A (which stores the co-ordinates of our parallelogram) with each of the row vectors and in turn. These row vectors define the vertices of the unit square. With the more common matrix-vector product the parallelogram has vertices at and (note that ).

Thus when the determinant is equal to one, then the matrix represents an equi-areal mapping
Real matrices (2 x 2)

The 2 x 2 real matrices are the linear mappings of the Cartesian coordinate system into itself by the ruleThe set of all such real matrices is denoted by M....
.

3-by-3 matrices


The determinant of a 3×3 matrix

is given by
det (A) = aeiafhbdi + bfg + cdhceg.


The rule of Sarrus
Rule of Sarrus

Sarrus' rule or Sarrus' scheme is a method and a memorization scheme to compute the determinant of a 3×3 matrix. It is named after the French mathematician Pierre Fr?d?ric Sarrus....
 is a mnemonic for this formula: 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 below:

This mnemonic does not carry over into higher dimensions.

n-by-n matrices

The determinant of an n-by-n matrix A is defined by the Leibniz formula

Here the sum is computed over all permutation
Permutation

In several fields of mathematics the term permutation is used with different but closely related meanings. They all relate to the notion of mapping the element s of a set to other elements of the same set, i.e., exchanging elements of a set....
s σ of the numbers A permutation is a function that reorders this set of integers. For example, for n = 3, the original sequence 1, 2, 3 might be reordered to 2, 3, 1 or 3, 2, 1. It is a basic fact of combinatorics
Combinatorics

Combinatorics is a branch of pure mathematics concerning the study of Countable set objects. It is related to many other areas of mathematics, such as algebra, probability theory, ergodic theory and geometry, as well as to applied subjects in computer science and statistical physics....
 that there are n! = 1 · 2 · 3 · ... · n (n factorial
Factorial

In mathematics, the factorial of a negative and non-negative numbers integer n, denoted by n!, is the Product of all positive integers less than or equal to n....
) such permutations. The set of all such permutations is denoted Sn. To any such permutation σ one attaches the signature σ, it is +1 for even
Even and odd permutations

In mathematics, when X is a finite set of at least two elements, the permutations of X fall into two classes of equal size: the even permutations and the odd permutations....
 and −1 for odd permutations
Even and odd permutations

In mathematics, when X is a finite set of at least two elements, the permutations of X fall into two classes of equal size: the even permutations and the odd permutations....
. Evenness or oddity can be defined as follows: the permutation is even (odd) if the new sequence can be obtained by an even number (odd, respectively) of switches of adjacent numbers. For example, starting from 1, 2, 3 and switching once one gets 1, 3, 2, switching once more yields 3, 1, 2, and finally, after a total of three (an odd number) switches, one gets 3, 2, 1. Therefore this permutation is odd. The permutation 2, 3, 1 is even (1, 2, 3 → 2, 1, 3 → 2, 3, 1, two switches).

In any of the n factorial summands, the term is a shorthand for the product over the indicated matrix entries, where i ranges from 1 to n, or equivalently
A1,σ(1) · A2,σ(2) · ... · An,σ(n).


For small matrices, one gets back the formulae given in the previous sections.

The formal extension to arbitrary dimensions was made by Levi-Civita
Levi-Civita

* Tullio Levi-Civita, a Jewish Italian mathematician* Levi-Civita , a crater on the Moon* Levi-Civita symbol, a mathematical symbol, also called permutation symbol or antisymmetric symbol....
, using a pseudo-tensor
Tensor

A tensor is an object which extends the notion of Scalar , Vector , and Matrix . The term has slightly different meanings in mathematics and physics....
 symbol (Levi-Civita symbol
Levi-Civita symbol

The Levi-Civita symbol, also called the permutation symbol, antisymmetric symbol, or alternating symbol, is a mathematics symbol used in particular in tensor calculus....
). An alternative, but equivalent definition of the determinant can be obtained by using the following theorem:
Let Mn(K) denote the set of all matrices over the field K. There exists exactly one function
with the two properties:
  • is alternating multilinear with regard to columns;
  • .


One can then define the determinant as the unique function with the above properties.

Applications

Determinants are used to characterize invertible matrices
Invertible matrix

In linear algebra, an n-by-n matrix A is called invertible or non-singular if there exists an n-by-n matrix B such that...
 (i.e., a matrix is invertible if and only if it has a non-zero determinant), and to explicitly describe the solution to a system of linear equation
Linear equation

A linear equation is an algebraic equation in which each term is either a constant or the product of a constant and a single variable.Linear equations can have one or more variables....
s with Cramer's rule
Cramer's rule

Cramer's rule is a theorem in linear algebra, which gives the solution of a system of linear equations or corresponding square matrices in terms of determinants....
. This rule is denoted where the matrix is the matrix formed by the insertion of the solution column vector in the system of linear equations.

They can be used to find the eigenvalues of the matrix A through the characteristic polynomial
Characteristic polynomial

In linear algebra, one associates a polynomial to every square matrix, its characteristic polynomial. This polynomial encodes several important properties of the matrix , most notably its eigenvalues, its determinant and its Trace ....


where I is the identity matrix
Identity matrix

In linear algebra, the identity matrix or unit matrix of size n is the n-by-n square matrix with ones on the main diagonal and zeros elsewhere....
 of the same dimension as A.

One often thinks of the determinant as assigning a number to every sequence
Sequence

In mathematics, a sequence is an ordered list of objects . Like a Set , it contains Element , and the number of terms is called the length of the sequence....
 of vectors in , by using the square matrix whose columns are the given vectors. With this understanding, the sign of the determinant of a basis
Basis (linear algebra)

In linear algebra, a basis is a set of vectors that, in a linear combination, can represent every vector in a given vector space or free module, and such that no element of the set can be represented as a linear combination of the others....
 can be used to define the notion of orientation
Orientation (mathematics)

In mathematics, an orientation on a real number vector space is a choice of which ordered basis are "positively" oriented and which are "negatively" oriented....
 in Euclidean space
Euclidean space

Around 300 Before Christ, the Ancient Greece mathematician Euclid undertook a study of relationships among distances and angles, first in a plane and then in space....
s. The determinant of a set of vectors is positive
Negative and non-negative numbers

A negative number is a real number that is inequality 0 , such as -3. A positive number is a real number that is greater than zero, such as 2....
 if the vectors form a right-handed coordinate system
Coordinate system

In mathematics and its applications, a coordinate system is a system for assigning an n-tuple of numbers or scalar to each Point in an n-dimensional space....
, and negative if left-handed.

Determinants are used to calculate volume
Volume

The volume of any solid, liquid, plasma, vacuum or theoretical object is how much three-dimensional space it occupies, often quantified numerically....
s in vector calculus
Vector calculus

Vector calculus is a branch of mathematics concerned with derivative and integral of vector fields. The term "vector calculus" is sometimes used as a synonym for the broader subject of multivariable calculus, which includes vector calculus as well as partial derivative and multiple integral....
: the absolute value
Absolute value

In mathematics, the absolute value of a real number is its numerical value without regard to its Negative and non-negative numbers. So, for example, 3 is the absolute value of both 3 and -3....
 of the determinant of real vectors is equal to the volume of the parallelepiped
Parallelepiped

In geometry, a parallelepiped is a three-dimensional figure formed by six parallelograms. It is to a parallelogram as a cube is to a square : Euclidean geometry supports all four notions but affine geometry admits only parallelograms and parallelepipeds....
 spanned by those vectors. As a consequence, if the linear map
Linear transformation

In mathematics, a linear map is a function between two vector spaces that preserves the operations of vector addition and scalar multiplication....
  is represented by the matrix A, and is any measurable
Lebesgue measure

In mathematics, the Lebesgue measure, named after Henri Lebesgue, is the standard way of assigning a length, area or volume to subsets of Euclidean space....
 subset
Subset

In mathematics, especially in set theory, a Set A is a subset of a set B if A is "contained" inside B. Notice that A and B may coincide....
 of , then the volume of is given by . More generally, if the linear map is represented by the -by- matrix A, and is any measurable subset of , then the -dimension
Dimension

In mathematics, the dimension of a space is roughly defined as the minimum number of coordinates needed to specify every point within it. For example: a point on the unit circle in the plane can be specified by two Cartesian coordinates but one can make do with a single coordinate , so the circle is 1-dimensional even though it exists in...
al volume of is given by . By calculating the volume of the tetrahedron
Tetrahedron

A tetrahedron is a polyhedron composed of four triangle faces, three of which meet at each vertex . A regular tetrahedron is one in which the four triangles are regular, or "equilateral", and is one of the Platonic solids....
 bounded by four points, they can be used to identify skew lines.

The volume of any tetrahedron
Tetrahedron

A tetrahedron is a polyhedron composed of four triangle faces, three of which meet at each vertex . A regular tetrahedron is one in which the four triangles are regular, or "equilateral", and is one of the Platonic solids....
, given its vertices a, b, c, and d, is (1/6)·|det(a − bb − c, c − d)|, or any other combination of pairs of vertices that form a simply connected graph
Graph theory

In mathematics and computer science, graph theory is the study of graph : mathematical structures used to model pairwise relations between objects from a certain collection....
.

Properties characterizing the determinant

In addition to the Leibniz formula above, there is another way of calculating determinants of matrices. It is based on the following properties of determinants:
  1. If A is a triangular matrix
    Triangular matrix

    In the mathematics discipline of linear algebra, a triangular matrix is a special kind of square matrix where the entries either below or above the main diagonal are zero....
    , i.e. Ai,j = 0 whenever i > j or, alternatively, whenever i < j, then , the product of the diagonal entries of A. This is because, for triangular matrices, the product , for any permutation σ different from the identity permutation (the one not changing the order of the numbers 1, 2, ..., n)
  2. If B results from A by interchanging two rows or columns, then det(B) = −det(A).
  3. If B results from A by multiplying one row or column with a number c, then det(B) = c · det(A).
  4. If B results from A by adding a multiple of one row to another row, or a multiple of one column to another column, then


These four properties can be used to compute determinants of any matrix, using Gaussian elimination
Gaussian elimination

In linear algebra, Gaussian elimination is an efficient algorithm for solving system of linear equations, finding the Rank of a matrix , and calculating the inverse of an invertible matrix....
. This is an algorithm that transforms any given matrix to a triangular matrix, only by using the operations in the last three items. Since the effect of these operations on the determinant can be traced, the determinant of the original matrix is known, once Gaussian elimination is performed.

It is also possible to expand a determinant along a row or column using Laplace's formula
Laplace expansion

In linear algebra, the Laplace expansion of the determinant ofan n × n square Matrix B expresses the determinant |B| as a sum of n determinants of  ×  sub-matrices of B....
, which is efficient for relatively small matrices. To do this along row , say, we write

where the represent the matrix cofactors, i.e. is times the minor , which is the determinant of the matrix that results from A by removing the -th row and the -th column, and is the length of the matrix.

Example


The following compares various ways of calculating the determinant of the three-by-three matrix

|-valign="top" | Gauss algorithm |

B is obtained from A by adding −1/2 × the first row to the second, so that det(A) = det(B)

C is obtained from B by adding the first to the third row, so that det(C) = det(B)

D is gotten from C by exchanging the second and third row, so that det(D) = −det(C)

The determinant of the (upper) triangular matrix D is the product of its entries on the main diagonal
Main diagonal

In linear algebra, the main diagonal of a matrix is the collection of cells where is equal to .The main diagonal of a square matrix is the diagonal which runs from the top left corner to the bottom right corner....
: (−2) · 2 · 4.5 = −18. Therefore det(A) = +18. |}

Further properties

The determinant of the identity matrix

is one.

In the sequel, let A and B be any n-by-n matrices.

The determinant is a multiplicative map in the sense that the determinant of a matrix product equals the product of the determinants of the factors:
det(AB) = det(A)det(B).
This property implies the properties characterizing the determinant above, since any transformation as above can be realized by multiplying the given matrix with a certain elementary matrix, whose determinants are also known. This product formula is generalized by the Cauchy-Binet formula
Cauchy-Binet formula

In linear algebra, the Cauchy?Binet formula generalizes the multiplicativity of the determinant to non-square matrices.Suppose A is an m×n matrix and B is an n×m matrix....
 to products of non-square matrices.

A matrix over a commutative ring
Commutative ring

In ring theory, a branch of abstract algebra, a commutative ring is a Ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra....
 R is invertible if and only if its determinant is a unit
Unit (ring theory)

In mathematics, a unit in a ring R is an invertible element of R, i.e. an element u such that there is a v in R withThat is, u is an invertible element of the multiplicative monoid of R....
 in R. In particular, if A is a matrix over a field
Field (mathematics)

In abstract algebra, a field is an algebraic structure with notions of addition, subtraction, multiplication and division , satisfying certain axioms....
 such as the real
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
 or complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
s, then A is invertible if and only if det(A) is not zero. In this case
det(A−1) = det(A)−1.


An important implication of the previous properties is the following: if A and B are similar
Similar matrix

In linear algebra, two n-by-n matrix A and B are called similar iffor some invertible matrix n-by-n matrix P. Similar matrices represent the same linear map under two different Basis , with P being the change of basis matrix....
, i.e., if there exists an invertible matrix X such that A = X−1BX, then
det(A) = det(X)−1det(BX) = det(X)−1det(B)det(X) = det(B)det(X)−1det(X) = det(B).
This means that the determinant is a similarity invariant
Similarity invariance

In mathematics, similarity invariance is a property exhibited by a function whose value is unchanged under similarities of its domain. That is, is invariant under similarities if where is a similarity of A....
. Because of this, the determinant of some linear transformation T : V ? V for some finite dimensional vector space
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
 V is independent of the basis for V. The relationship is one-way, however: there exist matrices which have the same determinant but are not similar.

Multiplying a matrix by r a number affects the determinant as follows:
det(rA) = rndet(A).


Expressed differently: the vectors v1,...,vn in Rn form a basis
Basis (linear algebra)

In linear algebra, a basis is a set of vectors that, in a linear combination, can represent every vector in a given vector space or free module, and such that no element of the set can be represented as a linear combination of the others....
 if and only if det(v1,...,vn) is non-zero.

A matrix and its transpose
Transpose

In linear algebra, the transpose of a matrix A is another matrix AT created by any one of the following equivalent actions:...
 have the same determinant:
det(AT) = det(A).
The determinants of a complex matrix and of its conjugate transpose
Conjugate transpose

In mathematics, the conjugate transpose, Hermitian transpose, or adjoint matrix of an m-by-n matrix A with complex number entries is the n-by-m matrix A* obtained from A by taking the transpose and then taking the complex conjugate of each entry....
 are conjugate
Complex conjugate

In mathematics, the complex conjugate of a complex number is given by changing the sign of the imaginary part. Thus, the conjugate of the complex number...
:
det(A) = det(A).
This generalizes the previous property since the conjugate transpose is identical to the transpose for a real matrix.

If A is a square n-by-n matrix with real
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
 or complex
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
 entries and if ?1, ..., ?n are the (complex) eigenvalues of A listed according to their algebraic multiplicities, then

This follows from the fact that A is always similar to its Jordan normal form
Jordan normal form

In linear algebra, Jordan normal form shows that a given square matrix M over a field K containing the eigenvalues of M can be transformed into a certain normal form by changing the Basis ....
, an upper triangular matrix with the eigenvalues on the main diagonal.

Sylvester's determinant theorem


Sylvester's determinant theorem
Sylvester's determinant theorem

In matrix theory, Sylvester's determinant theorem is a theorem useful for evaluating certain types of determinants. It is named after James Joseph Sylvester....
 states that for any m-by-n matrices A and B, det(Idm + ABT) = det (Idn + BT·A). For the case of column vectors a and b, i.e., m×1-matrices, this reads
det(Idm + a·bT) = 1 + bT·a.
More generally, for any invertible m-by-m matrix X,
det(X + abT) = det (X) (1 + bT·X−1·a).


Block matrices


Suppose A, B, C, and D are n×n-, n×m-, m×n-, and m×m-matrices, respectively. Then This can be seen from the Leibniz formula or by induction on n. Employing the following identity leads to A similar identity with factored out can be derived analogously.

If are diagonal matrices, then

Relationship to trace


From this connection between the determinant and the eigenvalues, one can derive a connection between the trace
Trace (linear algebra)

In linear algebra, the trace of an n-by-n square matrix A is defined to be the sum of the elements on the main diagonal of A, i.e.,...
 function, the matrix exponential
Matrix exponential

In mathematics, the matrix exponential is a matrix function on square matrix analogous to the ordinary exponential function. Abstractly, the matrix exponential gives the connection between a matrix Lie algebra and the corresponding Lie group....
 function, and the determinant:
det(exp(A)) = exp(tr(A)).
Under the substitution A ? log (A), the matrix logarithm of A,the above equation yields det(A) = exp(tr(log(A))), which is closely related to the Fredholm determinant
Fredholm determinant

In mathematics, the Fredholm determinant is a complex-valued function which generalizes the determinant of a matrix . It is defined for bounded operators on a Hilbert space which differ from the identity operator by a trace-class operator....
. Similarly, tr(A) = log(det(exp(A))).

For low n, these read: det(A) = tr(A) for n=1; det(A) = 1/2 (tr(A)2 − tr(A2)); and for n=3: det(A) = 1/6 (tr(A)3 − 3 tr(A) tr(A)2 + 2 tr(A3)). They are closely related to Newton's identities
Newton's identities

In mathematics, Newton's identities, also known as the Newton?Girard formulae, give relations between two types of symmetric polynomials, namely between Power sum symmetric polynomial and elementary symmetric polynomials....
.

Derivative


By definition, e.g., using the Leibniz formula, the determinant of real (or analogously for complex) square matrices is a polynomial function
Polynomial

In mathematics, a polynomial is an expression constructed from variables and constants, using the operations of addition, subtraction, multiplication, and constant non-negative whole number exponents....
 from Rn×n to R. As such it is everywhere differentiable
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
. Its derivative can be expressed using Jacobi's formula
Jacobi's formula

In matrix calculus, Jacobi's formula expresses the differential of the determinant of a matrix A in terms of the adjugate of A and the derivative of A....
:
d det(A) = tr(adj(A) dA)
where adj(A) denotes the adjugate of A. In particular, if A is invertible, we have
d det(A) = det(A) tr(A−1 dA).


Expressed in terms of the entries of A, these are
Yet another equivalent formulation is
det (A + εX) − det(A) = tr(adj(A)X)) ε + O(ε2) = det(A) tr(A−1X) ε + O(ε2),
using big O notation
Big O notation

In mathematics, big O notation describes the asymptotic analysis of a function when the argument tends towards a particular value or infinity, usually in terms of simpler functions....
. The special case where A = Id, the identity matrix, yields
det (Id + εX) = 1 + tr(X) ε + O(ε2) = det(A) tr(A−1X) ε + O(ε2).
This identity is used in describing the tangent space
Tangent space

In mathematics, the tangent space of a manifold is a concept which facilitates the generalization of vectors from affine spaces to general manifolds, since in the latter case one cannot simply subtract two points to obtain a vector pointing from one to the other....
 of certain matrix Lie groups.

A useful property in the case of 3 x 3 matrices is the following:

A may be written as where , , are vectors, then the gradient over one of the three vectors may be written as the cross product
Cross product

In mathematics, the cross product is a binary operation on two vector s in a three-dimensional Euclidean space that results in another vector which is orthogonal to the plane containing the two input vectors....
 of the other two:


Abstract formulation


An n × n square matrix A may be thought of as the coordinate representation of a linear transformation
Linear transformation

In mathematics, a linear map is a function between two vector spaces that preserves the operations of vector addition and scalar multiplication....
 of an n-dimensional vector space
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
 V. Given any linear transformation
A: VV,
we can define the determinant of A as the determinant of any matrix representation of A. This is a well-defined
Well-defined

In mathematics, the term well-defined is used to specify that a certain concept or object is defined in a mathematical or logical way using a set of base axioms in an entirely unambiguous way and satisfies the properties it is required to satisfy....
 notion (i.e. independent of a choice of basis
Basis (linear algebra)

In linear algebra, a basis is a set of vectors that, in a linear combination, can represent every vector in a given vector space or free module, and such that no element of the set can be represented as a linear combination of the others....
) since the determinant is invariant under similarity transformations.

The determinant of a linear transformation can be formulated in a coordinate-free manner, as follows: let V be n-dimensional vector space (with n finite). The n-th exterior power ?nV is a one-dimensional vector space whose elements are written where each vi is a vector in V and the wedge product ? is antisymmetric
Antisymmetric

In set theory, the adjective antisymmetric usually refers to an antisymmetric relation.The term "antisymmetric function" is sometimes used for Even and odd functions, although some meanings of antisymmetric are essentiality f = −f....
 (i.e., u ? v = − v ? u, so that in particular u ? u = 0). Any linear transformation A : V ? V induces a linear transformation of ?nV by
v1 ? v2 ? ... ? vn ? Av1 ? Av2 ? ... ? Avn.
Since ?nV is one-dimensional this operation is just multiplication by some scalar that depends on A. This scalar is called the determinant of A. That is, det(A) is defined by the equation
Av1 ? Av2 ? ... ? Avn = det(A) · v1 ? v2 ? ... ? vn
To see that this definition agrees with the coordinate-dependent definition given above, one can use the characterization of the determinant given above: for example switching two columns changes the parity of the determinant; likewise, permuting the vectors in the exterior product v1 ? v2 ? ... ? vn to v2 ? v1 ? v3 ? ... ? vn, say, also alters the parity. Minors of a matrix can also be cast in this setting, by considering lower exterior products ?kV with k < dim V.

Algorithmic implementation


  • The naive method of implementing an algorithm to compute the determinant is to use Laplace's formula for expansion by cofactors. This approach is extremely inefficient in general, however, as it is of order
    Big O notation

    In mathematics, big O notation describes the asymptotic analysis of a function when the argument tends towards a particular value or infinity, usually in terms of simpler functions....
     n! (n factorial
    Factorial

    In mathematics, the factorial of a negative and non-negative numbers integer n, denoted by n!, is the Product of all positive integers less than or equal to n....
    ) for an n×n matrix M.
  • An improvement to order n3 can be achieved by using LU decomposition
    LU decomposition

    In linear algebra, the LU decomposition is a matrix decomposition which writes a matrix as the product of a lower triangular matrix and an upper triangular matrix....
     to write M = LU for triangular matrices L and U. Now, det M = det LU = det L det U, and since L and U are triangular the determinant of each is simply the product of its diagonal elements. Alternatively one can perform the Cholesky decomposition
    Cholesky decomposition

    In linear algebra, a subfield of mathematics, the Cholesky decomposition is a matrix decomposition of a symmetric matrix, positive-definite matrix matrix into a lower triangular matrix and the transpose of the lower triangular matrix....
     if possible or the QR decomposition
    QR decomposition

    In linear algebra, the QR decomposition of a matrix is a matrix decomposition of the matrix into an orthogonal matrix and a right triangular matrix....
     and find the determinant in a similar fashion.
  • Since the definition of the determinant does not need divisions, a question arises: do fast algorithms exist that do not need divisions? This is especially interesting for matrices over rings. Indeed algorithms with run-time proportional to n4 exist. An is based on closed ordered walks (short clow). It computes more products than the determinant definition requires, but some of these products cancel and the sum of these products can be computed more efficiently. The final algorithm looks very much like an iterated product of triangular matrices.
  • What is not often discussed is the so-called "bit complexity" of the problem, i.e. how many bits of accuracy you need to store for intermediate values. For example, using Gaussian elimination
    Gaussian elimination

    In linear algebra, Gaussian elimination is an efficient algorithm for solving system of linear equations, finding the Rank of a matrix , and calculating the inverse of an invertible matrix....
    , you can reduce the matrix to upper triangular form, then multiply the main diagonal to get the determinant (this is essentially a special case of the LU decomposition as above), but a quick calculation will show that the bit size of intermediate values could potentially become exponential. One could talk about when it is appropriate to round intermediate values, but an elegant way of calculating the determinant uses the Bareiss Algorithm
    Bareiss algorithm

    In mathematics, the Bareiss algorithm is an algorithm to calculate the determinant of a Matrix using fraction-free elementary operations.For an n ? n matrix of maximum value M for each entry, the Bareiss algorithm runs in Big O notation elementary operations with an O bound on intermediate values....
    , an exact-division method based on Sylvester's identity
    Sylvester's determinant theorem

    In matrix theory, Sylvester's determinant theorem is a theorem useful for evaluating certain types of determinants. It is named after James Joseph Sylvester....
     to give a run time of order n3 and bit complexity roughly the bit size of the original entries in the matrix times n.


History

Historically, determinants were considered before matrices. Originally, a determinant was defined as a property of a system of linear equations
System of linear equations

In mathematics, a system of linear equations is a collection of linear equations involving the same set of variables. For example,is a system of three equations in the three variables ....
. 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 Chinese mathematics textbook The Nine Chapters on the Mathematical Art
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 BC, and the latest stage being the 1st century AD....
 (????, Chinese scholars, around the 3rd century BC). In Europe, two-by-two determinants were considered by Cardano
Gerolamo Cardano

Gerolamo Cardano or Girolamo Cardano was an Italy Renaissance mathematician, physician, astrologer and gambler....
 at the end of the 16th century and larger ones by Leibniz
Gottfried Leibniz

Gottfried Wilhelm Leibniz was a Germany polymath who wrote primarily in Latin and French language.He occupies an equally grand place in both the history of philosophy and the history of mathematics....
 and, in Japan, by Seki
Seki Takakazu

' or ' was a Japanese mathematician who created a new algebraic notation system and laid foundation for the later development of wasan . He also, motivated by astronomical computations, had done some important works in calculus and integer indeterminate equations, which were to be developed by his successors....
 about 100 years later.

In Japan, determinants were introduced to study elimination of variables
Elimination theory

In commutative algebra and algebraic geometry, elimination theory is the classical name for algorithmic approaches to eliminating between polynomials of several variables....
 in systems of higher-order algebraic equations. They used it to give short-hand representation for the resultant
Resultant

In mathematics, the resultant of two monic polynomials and over a Field_ is defined as the productof the differences of their roots, where and take on values in the algebraic closure of ....
. After the first work by Seki
Seki Takakazu

' or ' was a Japanese mathematician who created a new algebraic notation system and laid foundation for the later development of wasan . He also, motivated by astronomical computations, had done some important works in calculus and integer indeterminate equations, which were to be developed by his successors....
 in 1683, Laplace's formula was given by two independent groups of scholars: Tanaka, Iseki (????, Sampo-Hakki, published in 1690) and Seki
Seki Takakazu

' or ' was a Japanese mathematician who created a new algebraic notation system and laid foundation for the later development of wasan . He also, motivated by astronomical computations, had done some important works in calculus and integer indeterminate equations, which were to be developed by his successors....
, Takebe, Takebe (????, taisei-sankei, written at least before 1710). However, doubts have been raised about how much they recognized the determinant as an independent object.

In Europe, Cramer
Gabriel Cramer

Gabriel Cramer was a Swiss mathematician, born in Geneva. He showed promise in mathematics from an early age. At 18 he received his doctorate and at 20 he was co-chair of mathematics....
 (1750) added to the theory, treating the subject in relation to sets of equations. The recurrent law was first announced by Bézout (1764).

It was Vandermonde (1771) who first recognized determinants as independent functions. Laplace (1772) gave the general method of expanding a determinant in terms of its complementary minors: Vandermonde had already given a special case. Immediately following, Lagrange
Joseph Louis Lagrange

Joseph-Louis Lagrange, born Giuseppe Lodovico Lagrangia was an Italy mathematician and astronomer, who lived most of his life in Prussia and France, making significant contributions to all fields of mathematical analysis, to number theory, and to classical mechanics and celestial mechanics....
 (1773) treated determinants of the second and third order. Lagrange was the first to apply determinants to questions of elimination theory
Elimination theory

In commutative algebra and algebraic geometry, elimination theory is the classical name for algorithmic approaches to eliminating between polynomials of several variables....
; he proved many special cases of general identities.

Gauss
Carl Friedrich Gauss

Johann Carl Friedrich Gauss. was a Germans mathematician and scientist who contributed significantly to many fields, including number theory, statistics, mathematical analysis, Differential geometry and topology, geodesy, electrostatics, astronomy and optics....
 (1801) made the next advance. Like Lagrange, he made much use of determinants in the theory of numbers. He introduced the word determinants (Laplace had used resultant), though not in the present signification, but rather as applied to the discriminant
Discriminant

In algebra, the discriminant of a polynomial with real number or complex number coefficients is a certain expression in the coefficients of the polynomial which is equal to zero if and only if the polynomial has a multiple Root in the complex numbers....
 of a quantic. Gauss also arrived at the notion of reciprocal (inverse) determinants, and came very near the multiplication theorem.

The next contributor of importance is Binet
Jacques Philippe Marie Binet

Jacques Philippe Marie Binet was a France mathematician, physicist and astronomer born in Rennes; he died in Paris, France, in 1856. He made significant contributions to number theory, and the mathematical foundations of matrix algebra which would later lead to important contributions by Cayley and others....
 (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 m = n reduces to the multiplication theorem. On the same day (November 30, 1812) that Binet presented his paper to the Academy, Cauchy also presented one on the subject. (See Cauchy-Binet formula
Cauchy-Binet formula

In linear algebra, the Cauchy?Binet formula generalizes the multiplicativity of the determinant to non-square matrices.Suppose A is an m×n matrix and B is an n×m matrix....
.) In this he used the word determinant in its present sense, summarized and simplified what was then known on the subject, improved the notation, and gave the multiplication theorem with a proof more satisfactory than Binet's. With him begins the theory in its generality.

The next important figure was Jacobi
Carl Gustav Jakob Jacobi

Carl Gustav Jacob Jacobi was a Prussian mathematician, widely considered to be the most inspiring teacher of his time and one of the greatest mathematicians of all time ....
 (from 1827). He early used the functional determinant which Sylvester later called the Jacobian
Jacobian

In vector calculus, the Jacobian is shorthand for either the Jacobian matrix or its determinant, the Jacobian determinant.In algebraic geometry the Jacobian of a algebraic curve means the Jacobian variety: a group variety associated to the curve, in which the curve can be embedded....
, and in his memoirs in Crelle for 1841 he specially treats this subject, as well as the class of alternating functions which Sylvester has called alternants. About the time of Jacobi's last memoirs, Sylvester
James Joseph Sylvester

James Joseph Sylvester was an England mathematician. He made fundamental contributions to matrix theory, invariant theory, number theory, Integer partition and combinatorics....
 (1839) and Cayley
Arthur Cayley

Arthur Cayley was a British mathematician. He helped found the modern British school of pure mathematics.As a child, Cayley enjoyed solving complex maths problems for amusement....
 began their work.

The study of special forms of determinants has been the natural result of the completion of the general theory. Axisymmetric determinants have been studied by Lebesgue, Hesse
Otto Hesse

Ludwig Otto Hesse was a Germany mathematician. Hesse was born in K?nigsberg, Kingdom of Prussia, and died in Munich, Kingdom of Bavaria.He worked on algebraic invariants....
, and Sylvester; persymmetric determinants by Sylvester and Hankel
Hermann Hankel

Hermann Hankel was a Germany mathematician who was born in Halle, Saxony-Anhalt, Germany and died in Schramberg , Germany.He studied and worked with, among others, August Ferdinand M?bius, Riemann, Weierstrass and Kronecker....
; circulants by Catalan
Eugène Charles Catalan

Eug?ne Charles Catalan was a France and Belgium mathematician....
, Spottiswoode
William Spottiswoode

William Spottiswoode Royal Society was an English mathematician and physicist....
, Glaisher
James Whitbread Lee Glaisher

James Whitbread Lee Glaisher son of James Glaisher, the meteorologist, was a prolific England mathematician.He was educated at St Paul's School and Trinity College, Cambridge....
, and Scott; skew determinants and Pfaffian
Pfaffian

In mathematics, the determinant of a skew-symmetric matrix can always be written as the square of a polynomial in the matrix entries. This polynomial is called the Pfaffian of the matrix....
s, in connection with the theory of orthogonal transformation, by Cayley; continuants by Sylvester; Wronskian
Wronskian

In mathematics, the Wronskian is a function named after the Poland mathematician J?zef Maria Hoene-Wronski. It is especially important in the study of differential equations, where it can be used to determine whether a set of solutions is linear independence....
s (so called by Muir
Thomas Muir (mathematician)

Sir Thomas Muir was a Scotland mathematician, remembered as an authority on determinants. He was born in Stonebyres in South Lanarkshire, and brought up in the small town of Biggar, Scotland....
) by Christoffel
Elwin Bruno Christoffel

Elwin Bruno Christoffel was a Germany mathematician and physicist....
 and Frobenius
Ferdinand Georg Frobenius

Ferdinand Georg Frobenius was a Germany mathematician, best-known for his contributions to the theory of differential equations and to group theory....
; compound determinants by Sylvester, Reiss
Reiss

Reiss is a village in the former county of Caithness, now in the Highland of Northern Scotland. It is well known in the Caithness area for its beach and also the 18-hole Wick, Highland golf course....
, and Picquet
Picquet

The picquet was a military punishment in vogue in late medieval Europe that was sufficiently cruel and ingenious to be characterized by some as a method of torture....
; Jacobians and Hessian
Hessian matrix

In mathematics, the Hessian matrix is the square matrix of second-order partial derivatives of a function ; that is, it describes the local curvature of a function of many variables....
s by Sylvester; and symmetric gauche determinants by Trudi. Of the text-books on the subject Spottiswoode's was the first. In America, Hanus (1886), Weld (1893), and Muir/Metzler (1933) published treatises.

See also


  • Matrix determinant lemma
    Matrix determinant lemma

    In mathematics, in particular linear algebra, the matrix determinant lemma computes the determinant of the sum of an inverse matrixmatrix A'...
  • Permanent
    Permanent

    In linear algebra, the permanent of a square matrix is a function of the matrix similar to the determinant. The permanent, as well as the determinant, is a polynomial in the entries of the matrix....
  • Minor (linear algebra)
    Minor (linear algebra)

    In linear algebra, a minor of a matrix A is the determinant of some smaller square matrix, cut down from A by removing one or more of its rows or columns....
  • Trace (linear algebra)
    Trace (linear algebra)

    In linear algebra, the trace of an n-by-n square matrix A is defined to be the sum of the elements on the main diagonal of A, i.e.,...
  • Slater determinant
    Slater determinant

    In quantum mechanics, a Slater determinant is an expression which describes the wavefunction of a multi-fermionic system that satisfies Skew-symmetric matrix requirements and subsequently the Pauli exclusion principle by changing Plus and minus signs upon exchange of fermions....


External links

  • Chee Yap's chapter on Linear Systems describing implementation aspects of Determinant computation.
  • Mahajan, Meena and V. Vinay, , Chicago Journal of Theoretical Computer Science, v. 1997 article 5 (1997).
  • Online Matrix calculator.
  • Compute determinants of matrices up to order 6 using Laplace expansion you choose.