Sponsored Links

Kamis, 31 Mei 2018

Sponsored Links

determinant of 3x3 and 4x4 matrices - YouTube
src: i.ytimg.com

In linear algebra, the determinant is a value that can be computed from the elements of a square matrix. The determinant of a matrix A is denoted det(A), det A, or |A|. It can be viewed as the scaling factor of the transformation described by the matrix.

In the case of a 2 × 2 matrix the specific formula for the determinant is:

| A | = | a b c d | = a d - b c . {\displaystyle {\begin{aligned}|A|={\begin{vmatrix}a&b\\c&d\end{vmatrix}}=ad-bc.\end{aligned}}}

Similarly, suppose we have a 3 × 3 matrix A, and we want the specific formula for its determinant |A|:

| A | = | a b c d e f g h i | = a | e f h i | - b | d f g i | + c | d e g h | = a e i + b f g + c d h - c e g - b d i - a f h . {\displaystyle {\begin{aligned}|A|={\begin{vmatrix}a&b&c\\d&e&f\\g&h&i\end{vmatrix}}&=a\,{\begin{vmatrix}e&f\\h&i\end{vmatrix}}-b\,{\begin{vmatrix}d&f\\g&i\end{vmatrix}}+c\,{\begin{vmatrix}d&e\\g&h\end{vmatrix}}\\&=aei+bfg+cdh-ceg-bdi-afh.\end{aligned}}}

Each determinant of a 2 × 2 matrix in this equation is called a "minor" of the matrix A. The same sort of procedure can be used to find the determinant of a 4 × 4 matrix, the determinant of a 5 × 5 matrix, and so forth.

Determinants occur throughout mathematics. For example, a matrix is often used to represent the coefficients in a system of linear equations, and the determinant can be used to solve those equations, although more efficient techniques are actually used, some of which are determinant-revealing and consist of computationally effective ways of computing the determinant itself. The use of determinants in calculus includes the Jacobian determinant in the change of variables rule for integrals of functions of several variables. Determinants are also used to define the characteristic polynomial of a matrix, which is essential for eigenvalue problems in linear algebra. In analytic geometry, determinants express the signed n-dimensional volumes of n-dimensional parallelepipeds. Sometimes, determinants are used merely as a compact notation for expressions that would otherwise be unwieldy to write down.

When the entries of the matrix are taken from a field (like the real or complex numbers), it can be proven that any matrix has a unique inverse if and only if its determinant is nonzero. Various other theorems can be proved as well, including that the determinant of a product of matrices is always equal to the product of determinants; and, the determinant of a Hermitian matrix is always real.


Video Determinant



Meaning

If an n × n real matrix A is written in terms of its column vectors A = [ a 1 , a 2 , ... , a n ] {\displaystyle A={\begin{bmatrix}a_{1},&a_{2},&\ldots ,&a_{n}\end{bmatrix}}} then

A ( 1 0 ? 0 ) = a 1 A ( 0 1 ? 0 ) = a 2 ... A ( 0 0 ? 1 ) = a n {\displaystyle A{\begin{pmatrix}1\\0\\\vdots \\0\end{pmatrix}}=a_{1}\quad A{\begin{pmatrix}0\\1\\\vdots \\0\end{pmatrix}}=a_{2}\quad \ldots \quad A{\begin{pmatrix}0\\0\\\vdots \\1\end{pmatrix}}=a_{n}}

This means that A {\displaystyle A} maps the unit n-cube to the n-dimensional parallelotope defined by the vectors a 1 , a 2 , ... , a n {\displaystyle a_{1},a_{2},\ldots ,a_{n}} . The determinant gives the signed n-dimensional volume of this parallelotope, and hence describes more generally the n-dimensional volume scaling factor of the linear transformation produced by A. In particular if the determinant is 0 then this parallelotope has volume 0 and is not fully n-dimensional which indicates that the dimension of the image of A is less than n. This means that A does not produce a 1-to-1 map, and is thus not invertible.


Maps Determinant



Definition

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. Perhaps the simplest way to express the determinant is by considering the elements in the top row and the respective minors; starting at the left, multiply the element by the minor, then subtract the product of the next element and its minor, and alternate adding and subtracting such products until all elements in the top row have been exhausted. For example, here is the result for a 4 × 4 matrix:

| a b c d e f g h i j k l m n o p | = a | f g h j k l n o p | - b | e g h i k l m o p | + c | e f h i j l m n p | - d | e f g i j k m n o | . {\displaystyle {\begin{vmatrix}a&b&c&d\\e&f&g&h\\i&j&k&l\\m&n&o&p\end{vmatrix}}=a\,{\begin{vmatrix}f&g&h\\j&k&l\\n&o&p\end{vmatrix}}-b\,{\begin{vmatrix}e&g&h\\i&k&l\\m&o&p\end{vmatrix}}+c\,{\begin{vmatrix}e&f&h\\i&j&l\\m&n&p\end{vmatrix}}-d\,{\begin{vmatrix}e&f&g\\i&j&k\\m&n&o\end{vmatrix}}.}

Another way to define the determinant is expressed in terms of the columns of the matrix. If we write an n × n matrix A in terms of its column vectors

A = [ a 1 , a 2 , ... , a n ] {\displaystyle A={\begin{bmatrix}a_{1},&a_{2},&\ldots ,&a_{n}\end{bmatrix}}}

where the a j {\displaystyle a_{j}} are vectors of size n, then the determinant of A is defined so that

det [ a 1 , ... , b a j + c v , ... , a n ] = b det ( A ) + c det [ a 1 , ... , v , ... , a n ] det [ a 1 , ... , a j , a j + 1 , ... , a n ] = - det [ a 1 , ... , a j + 1 , a j , ... , a n ] det ( I ) = 1 {\displaystyle {\begin{aligned}&\det {\begin{bmatrix}a_{1},&\ldots ,&ba_{j}+cv,&\ldots ,a_{n}\end{bmatrix}}=b\det(A)+c\det {\begin{bmatrix}a_{1},&\ldots ,&v,&\ldots ,a_{n}\end{bmatrix}}\\&\det {\begin{bmatrix}a_{1},&\ldots ,&a_{j},&a_{j+1},&\ldots ,a_{n}\end{bmatrix}}=-\det {\begin{bmatrix}a_{1},&\ldots ,&a_{j+1},&a_{j},&\ldots ,a_{n}\end{bmatrix}}\\&\det(I)=1\end{aligned}}}

where b and c are scalars, v is any vector of size n and I is the identity matrix of size n. These equations say that the determinant is a linear function of each column, that interchanging adjacent columns reverses the sign of the determinant, and that the determinant of the identity matrix is 1. These properties mean that the determinant is an alternating multilinear function of the columns that maps the identity matrix to the underlying unit scalar. These suffice to uniquely calculate the determinant of any square matrix. Provided the underlying scalars form a field (more generally, a commutative ring with unity), the definition below shows that such a function exists, and it can be shown to be unique.

Equivalently, the determinant can be expressed as a sum of products of entries of the matrix where each product has n terms and the coefficient of each product is -1 or 1 or 0 according to a given rule: it is a polynomial expression of the matrix entries. This expression grows rapidly with the size of the matrix (an n × n matrix contributes n! terms), so it will first be given explicitly for the case of 2 × 2 matrices and 3 × 3 matrices, followed by the rule for arbitrary size matrices, which subsumes these two cases.

Assume A is a square matrix with n rows and n columns, so that it can be written as

A = [ a 1 , 1 a 1 , 2 ... a 1 , n a 2 , 1 a 2 , 2 ... a 2 , n ? ? ? ? a n , 1 a n , 2 ... a n , n ] . {\displaystyle A={\begin{bmatrix}a_{1,1}&a_{1,2}&\dots &a_{1,n}\\a_{2,1}&a_{2,2}&\dots &a_{2,n}\\\vdots &\vdots &\ddots &\vdots \\a_{n,1}&a_{n,2}&\dots &a_{n,n}\end{bmatrix}}.}

The entries can be numbers or expressions (as happens when the determinant is used to define a characteristic polynomial); the definition of the determinant depends only on the fact that they can be added and multiplied together in a commutative manner.

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:

| a 1 , 1 a 1 , 2 ... a 1 , n a 2 , 1 a 2 , 2 ... a 2 , n ? ? ? ? a n , 1 a n , 2 ... a n , n | . {\displaystyle {\begin{vmatrix}a_{1,1}&a_{1,2}&\dots &a_{1,n}\\a_{2,1}&a_{2,2}&\dots &a_{2,n}\\\vdots &\vdots &\ddots &\vdots \\a_{n,1}&a_{n,2}&\dots &a_{n,n}\end{vmatrix}}.}

2 × 2 matrices

The Leibniz formula for the determinant of a 2 × 2 matrix is

| a b c d | = a d - b c . {\displaystyle {\begin{vmatrix}a&b\\c&d\end{vmatrix}}=ad-bc.}

If the matrix entries are real numbers, the matrix A can be used to represent two linear maps: one that maps the standard basis vectors to the rows of A, and one that maps them to the columns of A. In either case, the images of the basis vectors form a parallelogram that represents the image of the unit square under the mapping. The parallelogram defined by the rows of the above matrix is the one with vertices at (0, 0), (a, b), (a + c, b + d), and (c, d), as shown in the accompanying diagram.

The absolute value of ad - bc is the area of the parallelogram, and thus represents the scale factor by which areas are transformed by A. (The parallelogram formed by the columns of A is in general a different parallelogram, but since the determinant is symmetric with respect to rows and columns, the area will be the same.)

The absolute value of the determinant together with the sign becomes the oriented area of the parallelogram. The oriented area is the same as the usual area, 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).

To show that ad - bc is the signed area, one may consider a matrix containing two vectors a = (a, b) and b = (c, d) representing the parallelogram's sides. The signed area can be expressed as |a||b|sin? 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 this already is the signed area, yet it may be expressed more conveniently using the cosine of the complementary angle to a perpendicular vector, e.g. a? = (-b, a), such that |a?||b|cos?' , which can be determined by the pattern of the scalar product to be equal to ad - bc:

Signed Area = | a | | b | sin ? = | a ? | | b | cos ? ? = ( - b a ) ? ( c d ) = a d - b c . {\displaystyle {\text{Signed Area}}=|{\boldsymbol {a}}||{\boldsymbol {b}}|\sin \theta =|{\boldsymbol {a}}^{\perp }||{\boldsymbol {b}}|\cos \theta '={\begin{pmatrix}-b\\a\end{pmatrix}}\cdot {\begin{pmatrix}c\\d\end{pmatrix}}=ad-bc.}

Thus the determinant gives the scaling 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 is equi-areal and orientation-preserving.

The object known as the bivector is related to these ideas. In 2D, it can be interpreted as an oriented plane segment formed by imagining two vectors each with origin (0, 0), and coordinates (a, b) and (c, d). The bivector magnitude (denoted by (a, b) ? (c, d)) is the signed area, which is also the determinant ad - bc.

3 × 3 matrices

The Laplace formula for the determinant of a 3 × 3 matrix is

| a b c d e f g h i | = a | e f h i | - b | d f g i | + c | d e g h | {\displaystyle {\begin{aligned}{\begin{vmatrix}a&b&c\\d&e&f\\g&h&i\end{vmatrix}}&=a{\begin{vmatrix}e&f\\h&i\end{vmatrix}}-b{\begin{vmatrix}d&f\\g&i\end{vmatrix}}+c{\begin{vmatrix}d&e\\g&h\end{vmatrix}}\\\end{aligned}}}

this can be expanded out to give

| a b c d e f g h i | = a ( e i - f h ) - b ( d i - f g ) + c ( d h - e g ) = a e i + b f g + c d h - c e g - b d i - a f h . {\displaystyle {\begin{aligned}{\begin{vmatrix}a&b&c\\d&e&f\\g&h&i\end{vmatrix}}&=a(ei-fh)-b(di-fg)+c(dh-eg)\\&=aei+bfg+cdh-ceg-bdi-afh.\end{aligned}}}

which is the Leibniz formula for the determinant of a 3 × 3 matrix.

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

n × n matrices

The determinant of a matrix of arbitrary size can be defined by the Leibniz formula or the Laplace formula.

The Leibniz formula for the determinant of an n × n matrix A is

det ( A ) = ? ? ? S n ( sgn ( ? ) ? i = 1 n a i , ? i ) . {\displaystyle \det(A)=\sum _{\sigma \in S_{n}}\left(\operatorname {sgn}(\sigma )\prod _{i=1}^{n}a_{i,\sigma _{i}}\right).}

Here the sum is computed over all permutations ? of the set {1, 2, ..., n}. A permutation is a function that reorders this set of integers. The value in the ith position after the reordering ? is denoted by ?i. For example, for n = 3, the original sequence 1, 2, 3 might be reordered to ? = [2, 3, 1], with ?1 = 2, ?2 = 3, and ?3 = 1. The set of all such permutations (also known as the symmetric group on n elements) is denoted by Sn. For each permutation ?, sgn(?) denotes the signature of ?, a value that is +1 whenever the reordering given by ? can be achieved by successively interchanging two entries an even number of times, and -1 whenever it can be achieved by an odd number of such interchanges.

In any of the n ! {\displaystyle n!} summands, the term

? i = 1 n a i , ? i {\displaystyle \prod _{i=1}^{n}a_{i,\sigma _{i}}}

is notation for the product of the entries at positions (i, ?i), where i ranges from 1 to n:

a 1 , ? 1 ? a 2 , ? 2 ? a n , ? n . {\displaystyle a_{1,\sigma _{1}}\cdot a_{2,\sigma _{2}}\cdots a_{n,\sigma _{n}}.}

For example, the determinant of a 3 × 3 matrix A (n = 3) is

? ? ? S n sgn ( ? ) ? i = 1 n a i , ? i = sgn ( [ 1 , 2 , 3 ] ) ? i = 1 n a i , [ 1 , 2 , 3 ] i + sgn ( [ 1 , 3 , 2 ] ) ? i = 1 n a i , [ 1 , 3 , 2 ] i + sgn ( [ 2 , 1 , 3 ] ) ? i = 1 n a i , [ 2 , 1 , 3 ] i + sgn ( [ 2 , 3 , 1 ] ) ? i = 1 n a i , [ 2 , 3 , 1 ] i + sgn ( [ 3 , 1 , 2 ] ) ? i = 1 n a i , [ 3 , 1 , 2 ] i + sgn ( [ 3 , 2 , 1 ] ) ? i = 1 n a i , [ 3 , 2 , 1 ] i = ? i = 1 n a i , [ 1 , 2 , 3 ] i - ? i = 1 n a i , [ 1 , 3 , 2 ] i - ? i = 1 n a i , [ 2 , 1 , 3 ] i + ? i = 1 n a i , [ 2 , 3 , 1 ] i + ? i = 1 n a i , [ 3 , 1 , 2 ] i - ? i = 1 n a i , [ 3 , 2 , 1 ] i = a 1 , 1 a 2 , 2 a 3 , 3 - a 1 , 1 a 2 , 3 a 3 , 2 - a 1 , 2 a 2 , 1 a 3 , 3 + a 1 , 2 a 2 , 3 a 3 , 1 + a 1 , 3 a 2 , 1 a 3 , 2 - a 1 , 3 a 2 , 2 a 3 , 1 . {\displaystyle {\begin{aligned}\sum _{\sigma \in S_{n}}\operatorname {sgn}(\sigma )\prod _{i=1}^{n}a_{i,\sigma _{i}}&=\operatorname {sgn}([1,2,3])\prod _{i=1}^{n}a_{i,[1,2,3]_{i}}+\operatorname {sgn}([1,3,2])\prod _{i=1}^{n}a_{i,[1,3,2]_{i}}+\operatorname {sgn}([2,1,3])\prod _{i=1}^{n}a_{i,[2,1,3]_{i}}\\&+\operatorname {sgn}([2,3,1])\prod _{i=1}^{n}a_{i,[2,3,1]_{i}}+\operatorname {sgn}([3,1,2])\prod _{i=1}^{n}a_{i,[3,1,2]_{i}}+\operatorname {sgn}([3,2,1])\prod _{i=1}^{n}a_{i,[3,2,1]_{i}}\\&=\prod _{i=1}^{n}a_{i,[1,2,3]_{i}}-\prod _{i=1}^{n}a_{i,[1,3,2]_{i}}-\prod _{i=1}^{n}a_{i,[2,1,3]_{i}}+\prod _{i=1}^{n}a_{i,[2,3,1]_{i}}+\prod _{i=1}^{n}a_{i,[3,1,2]_{i}}-\prod _{i=1}^{n}a_{i,[3,2,1]_{i}}\\&=a_{1,1}a_{2,2}a_{3,3}-a_{1,1}a_{2,3}a_{3,2}-a_{1,2}a_{2,1}a_{3,3}+a_{1,2}a_{2,3}a_{3,1}\\&\qquad +a_{1,3}a_{2,1}a_{3,2}-a_{1,3}a_{2,2}a_{3,1}.\end{aligned}}}

Levi-Civita symbol

It is sometimes useful to extend the Leibniz formula to a summation in which not only permutations, but all sequences of n indices in the range 1, ..., n occur, ensuring that the contribution of a sequence will be zero unless it denotes a permutation. Thus the totally antisymmetric Levi-Civita symbol ? i 1 , ? , i n {\displaystyle \varepsilon _{i_{1},\cdots ,i_{n}}} extends the signature of a permutation, by setting ? ? ( 1 ) , ? , ? ( n ) = sgn ( ? ) {\displaystyle \varepsilon _{\sigma (1),\cdots ,\sigma (n)}=\operatorname {sgn} (\sigma )} for any permutation ? of n, and ? i 1 , ? , i n = 0 {\displaystyle \varepsilon _{i_{1},\cdots ,i_{n}}=0} when no permutation ? exists such that ? ( j ) = i j {\displaystyle \sigma (j)=i_{j}} for j = 1 , ... , n {\displaystyle j=1,\ldots ,n} (or equivalently, whenever some pair of indices are equal). The determinant for an n × n matrix can then be expressed using an n-fold summation as

det ( A ) = ? i 1 , i 2 , ... , i n = 1 n ? i 1 ? i n a 1 , i 1 ? a n , i n , {\displaystyle \det(A)=\sum _{i_{1},i_{2},\ldots ,i_{n}=1}^{n}\varepsilon _{i_{1}\cdots i_{n}}a_{1,i_{1}}\cdots a_{n,i_{n}},}

or using two epsilon symbols as

det ( A ) = 1 n ! ? ? i 1 ? i n ? j 1 ? j n a i 1 j 1 ? a i n j n , {\displaystyle \det(A)={\frac {1}{n!}}\sum \varepsilon _{i_{1}\cdots i_{n}}\varepsilon _{j_{1}\cdots j_{n}}a_{i_{1}j_{1}}\cdots a_{i_{n}j_{n}},}

where now each ir and each jr should be summed over 1, ..., n.


TI Calculator Tutorial: Finding Determinants - YouTube
src: i.ytimg.com


Properties of the determinant

The determinant has many properties. Some basic properties of determinants are

  1. det ( I n ) = 1 {\displaystyle \det(I_{n})=1} where In is the n × n identity matrix.
  2. det ( A T ) = det ( A ) , {\displaystyle \det(A^{\rm {T}})=\det(A),} where A T {\displaystyle A^{\rm {T}}} denotes the transpose of A {\displaystyle A} .
  3. det ( A - 1 ) = 1 det ( A ) = det ( A ) - 1 . {\displaystyle \det(A^{-1})={\frac {1}{\det(A)}}=\det(A)^{-1}.}
  4. For square matrices A and B of equal size,
det ( A B ) = det ( A ) det ( B ) . {\displaystyle \det(AB)=\det(A)\det(B).}
  1. det ( c A ) = c n det ( A ) {\displaystyle \det(cA)=c^{n}\det(A)} for an n × n matrix, A.
  2. For positive semidefinite matrices A, B, and C of equal size, det ( A + B + C ) + det ( C ) >= det ( A + C ) + det ( B + C ) {\displaystyle \det(A+B+C)+\det(C)\geq \det(A+C)+\det(B+C)} , for A , B , C >= 0 {\displaystyle A,B,C\geq 0} with the corollary det ( A + B ) >= det ( A ) + det ( B ) . {\displaystyle \det(A+B)\geq \det(A)+\det(B).}
  3. If A is a triangular matrix, i.e. ai,j = 0 whenever i > j or, alternatively, whenever i < j, then its determinant equals the product of the diagonal entries:
det ( A ) = a 1 , 1 a 2 , 2 ? a n , n = ? i = 1 n a i , i . {\displaystyle \det(A)=a_{1,1}a_{2,2}\cdots a_{n,n}=\prod _{i=1}^{n}a_{i,i}.}

This can be deduced from some of the properties below, but it follows most easily directly from the Leibniz formula (or from the Laplace expansion), in which the identity permutation is the only one that gives a non-zero contribution.

A number of additional properties relate to the effects on the determinant of changing particular rows or columns:

  1. Viewing an n × n matrix as being composed of n columns, the determinant is an n-linear function. This means that if one column of a matrix A is written as a sum v + w of two column vectors, and all other columns are left unchanged, then the determinant of A is the sum of the determinants of the matrices obtained from A by replacing the column by v and then by w (and a similar relation holds when writing a column as a scalar multiple of a column vector).
  2. If in a matrix, any row or column has all elements equal to zero, then the determinant of that matrix is 0.
  3. This n-linear function is an alternating form. This means that whenever two columns of a matrix are identical, or more generally some column can be expressed as a linear combination of the other columns (i.e. the columns of the matrix form a linearly dependent set), its determinant is 0.

Properties 1, 8 and 10 -- which all follow from the Leibniz formula -- completely characterize the determinant; in other words the determinant is the unique function from n × n matrices to scalars that is n-linear alternating in the columns, and takes the value 1 for the identity matrix (this characterization holds even if scalars are taken in any given commutative ring). 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 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. For matrices over non-commutative rings, properties 8 and 9 are incompatible for n >= 2, so there is no good definition of the determinant in this setting.

Property 2 above implies that properties for columns have their counterparts in terms of rows:

  1. Viewing an n × n matrix as being composed of n rows, the determinant is an n-linear function.
  2. This n-linear function is an alternating form: whenever two rows of a matrix are identical, its determinant is 0.
  3. Interchanging any pair of columns or rows of a matrix multiplies its determinant by -1. This follows from properties 8 and 10 (it is a general property of multilinear alternating maps). More generally, any permutation of the rows or columns multiplies the determinant by the sign of the permutation. By permutation, it is meant viewing each row as a vector Ri (equivalently each column as Ci) and reordering the rows (or columns) by interchange of Rj and Rk (or Cj and Ck), where j,k are two indices chosen from 1 to n for an n × n square matrix.
  4. Adding a scalar multiple of one column to another column does not change the value of the determinant. This is a consequence of properties 8 and 10 in the following way: by property 8 the determinant changes by a multiple of the determinant of a matrix with two equal columns, which determinant is 0 by property 10. Similarly, adding a scalar multiple of one row to another row leaves the determinant unchanged.

Property 5 says that the determinant on n × n matrices is homogeneous of degree n. These properties can be used to facilitate the computation of determinants by simplifying the matrix to the point where the determinant can be determined immediately. Specifically, for matrices with coefficients in a field, properties 13 and 14 can be used to transform any matrix into a triangular matrix, whose determinant is given by property 6; this is essentially the method of Gaussian elimination.

For example, the determinant of

A = [ - 2 2 - 3 - 1 1 3 2 0 - 1 ] {\displaystyle A={\begin{bmatrix}-2&2&-3\\-1&1&3\\2&0&-1\end{bmatrix}}}

can be computed using the following matrices:

B = [ - 2 2 - 3 0 0 4.5 2 0 - 1 ] , C = [ - 2 2 - 3 0 0 4.5 0 2 - 4 ] , D = [ - 2 2 - 3 0 2 - 4 0 0 4.5 ] . {\displaystyle B={\begin{bmatrix}-2&2&-3\\0&0&4.5\\2&0&-1\end{bmatrix}},\quad C={\begin{bmatrix}-2&2&-3\\0&0&4.5\\0&2&-4\end{bmatrix}},\quad D={\begin{bmatrix}-2&2&-3\\0&2&-4\\0&0&4.5\end{bmatrix}}.}

Here, 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). Finally, D is obtained 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: (-2) · 2 · 4.5 = -18. Therefore, det(A) = -det(D) = +18.

Multiplicativity and matrix groups

The determinant of a matrix product of square matrices equals the product of their determinants:

det ( A B ) = det ( A ) det ( B ) . {\displaystyle \det(AB)=\det(A)\det(B).}

Thus the determinant is a multiplicative map. This property is a consequence of the characterization given above of the determinant as the unique n-linear alternating function of the columns with value 1 on the identity matrix, since the function Mn(K) -> K that maps M ? det(AM) can easily be seen to be n-linear and alternating in the columns of M, and takes the value det(A) at the identity. The formula can be generalized to (square) products of rectangular matrices, giving the Cauchy-Binet formula, which also provides an independent proof of the multiplicative property.

The determinant det(A) of a matrix A is non-zero if and only if A is invertible or, yet another equivalent statement, if its rank equals the size of the matrix. If so, the determinant of the inverse matrix is given by

det ( A - 1 ) = 1 det ( A ) . {\displaystyle \det(A^{-1})={\frac {1}{\det(A)}}.}

In particular, products and inverses of matrices with determinant one still have this property. Thus, the set of such matrices (of fixed size n) form a group known as the special linear group. More generally, the word "special" indicates the subgroup of another matrix group of matrices of determinant one. Examples include the special orthogonal group (which if n is 2 or 3 consists of all rotation matrices), and the special unitary group.

Laplace's formula and the adjugate matrix

Laplace's formula expresses the determinant of a matrix in terms of its minors. The minor Mi,j is defined to be the determinant of the (n-1) × (n-1)-matrix that results from A by removing the i-th row and the j-th column. The expression (-1)i+jMi,j is known as a cofactor. The determinant of A is given by

det ( A ) = ? j = 1 n ( - 1 ) i + j a i , j M i , j {\displaystyle \det(A)=\sum _{j=1}^{n}(-1)^{i+j}a_{i,j}M_{i,j}} (for a fixed i {\displaystyle i} ) = ? i = 1 n ( - 1 ) i + j a i , j M i , j {\displaystyle =\sum _{i=1}^{n}(-1)^{i+j}a_{i,j}M_{i,j}} (for a fixed j {\displaystyle j} )

Calculating det(A) by means of this formula is referred to as expanding the determinant along a row, the i-th row using the first form with fixed i, or expanding along a column, using the second form with fixed j. For example, the Laplace expansion of the 3 × 3 matrix

A = [ - 2 2 - 3 - 1 1 3 2 0 - 1 ] , {\displaystyle A={\begin{bmatrix}-2&2&-3\\-1&1&3\\2&0&-1\end{bmatrix}},}

along the second column (j = 2 and the sum runs over i) is given by,

However, Laplace expansion is efficient for small matrices only.

The adjugate matrix adj(A) is the transpose of the matrix consisting of the cofactors, i.e.,

( adj ( A ) ) i , j = ( - 1 ) i + j M j , i . {\displaystyle (\operatorname {adj} (A))_{i,j}=(-1)^{i+j}M_{j,i}.}

In terms of the adjugate matrix, Laplace's expansion can be written as

( det A ) I = A adj A = ( adj A ) A . {\displaystyle (\operatorname {det} A)I=A\,\operatorname {adj} A=(\operatorname {adj} A)\,A.}

Sylvester's determinant theorem

Sylvester's determinant theorem states that for A, an m × n matrix, and B, an n × m matrix (so that A and B have dimensions allowing them to be multiplied in either order forming a square matrix):

det ( I m + A B ) = det ( I n + B A ) {\displaystyle \det(I_{\mathit {m}}+AB)=\det(I_{\mathit {n}}+BA)} ,

where Im and In are the m × m and n × n identity matrices, respectively.

From this general result several consequences follow.

(a) For the case of column vector c and row vector r, each with m components, the formula allows quick calculation of the determinant of a matrix that differs from the identity matrix by a matrix of rank 1:
det ( I m + c r ) = 1 + r c {\displaystyle \det(I_{\mathit {m}}+cr)=1+rc} .
(b) More generally, for any invertible m × m matrix X,
det ( X + A B ) = det ( X ) det ( I n + B X - 1 A ) {\displaystyle \det(X+AB)=\det(X)\det(I_{\mathit {n}}+BX^{-1}A)} ,
(c) For a column and row vector as above, det ( X + c r ) = det ( X ) det ( 1 + r X - 1 c ) = det ( X ) + r a d j ( X ) c {\displaystyle \det(X+cr)=\det(X)\det(1+rX^{-1}c)=\det(X)+r\,\mathrm {adj} (X)\,c} .

Second-Order Determinants - YouTube
src: i.ytimg.com


Properties of the determinant in relation to other notions

Relation to eigenvalues and trace

Let A be an arbitrary n×n matrix of complex numbers with eigenvalues ? 1 {\displaystyle \lambda _{1}} , ? 2 {\displaystyle \lambda _{2}} , ... ? n {\displaystyle \lambda _{n}} . (Here it is understood that an eigenvalue with algebraic multiplicity ? occurs ? times in this list.) Then the determinant of A is the product of all eigenvalues,

det ( A ) = ? i = 1 n ? i = ? 1 ? 2 ? ? n {\displaystyle \operatorname {det} (A)=\prod _{i=1}^{n}\lambda _{i}=\lambda _{1}\lambda _{2}\cdots \lambda _{n}} .

The product of all non-zero eigenvalues is referred to as pseudo-determinant.

Conversely, determinants can be used to find the eigenvalues of the matrix A: they are the solutions of the characteristic equation

det ( A - x I ) = 0   , {\displaystyle \det(A-xI)=0~,}

where I is the identity matrix of the same dimension as A and x is a (scalar) number which solves the equation (there are no more than n solutions, where n is the dimension of A).

A Hermitian matrix is positive definite if all its eigenvalues are positive. Sylvester's criterion asserts that this is equivalent to the determinants of the submatrices

A k := [ a 1 , 1 a 1 , 2 ... a 1 , k a 2 , 1 a 2 , 2 ... a 2 , k ? ? ? ? a k , 1 a k , 2 ... a k , k ] {\displaystyle A_{k}:={\begin{bmatrix}a_{1,1}&a_{1,2}&\dots &a_{1,k}\\a_{2,1}&a_{2,2}&\dots &a_{2,k}\\\vdots &\vdots &\ddots &\vdots \\a_{k,1}&a_{k,2}&\dots &a_{k,k}\end{bmatrix}}}

being positive, for all k between 1 and n.

The trace tr(A) is by definition the sum of the diagonal entries of A and also equals the sum of the eigenvalues. Thus, for complex matrices A,

det ( exp ( A ) ) = exp ( tr ( A ) ) {\displaystyle \det(\exp(A))=\exp(\operatorname {tr} (A))}

or, for real matrices A,

tr ( A ) = log ( det ( exp ( A ) ) ) . {\displaystyle \operatorname {tr} (A)=\log(\det(\exp(A))).}

Here exp(A) denotes the matrix exponential of A, because every eigenvalue ? of A corresponds to the eigenvalue exp(?) of exp(A). In particular, given any logarithm of A, that is, any matrix L satisfying

exp ( L ) = A {\displaystyle \exp(L)=A}

the determinant of A is given by

det ( A ) = exp ( tr ( L ) ) . {\displaystyle \det(A)=\exp(\operatorname {tr} (L)).}

For example, for n = 2, n = 3, and n = 4, respectively,

det ( A ) = ( ( tr A ) 2 - tr ( A 2 ) ) / 2 , {\displaystyle \det(A)={\bigl (}(\operatorname {tr} A)^{2}-\operatorname {tr} (A^{2}){\bigr )}/2,}
det ( A ) = ( ( tr A ) 3 - 3 tr A   tr ( A 2 ) + 2 tr ( A 3 ) ) / 6 , {\displaystyle \det(A)={\Bigl (}(\operatorname {tr} A)^{3}-3\operatorname {tr} A~\operatorname {tr} (A^{2})+2\operatorname {tr} (A^{3}){\Bigr )}/6,}
det ( A ) = ( ( tr A ) 4 - 6 tr ( A 2 ) ( tr A ) 2 + 3 ( tr ( A 2 ) ) 2 + 8 tr ( A 3 )   tr A - 6 tr ( A 4 ) ) / 24. {\displaystyle \det(A)={\Bigl (}(\operatorname {tr} A)^{4}-6\operatorname {tr} (A^{2})(\operatorname {tr} A)^{2}+3(\operatorname {tr} (A^{2}))^{2}+8\operatorname {tr} (A^{3})~\operatorname {tr} A-6\operatorname {tr} (A^{4}){\Bigr )}/24.}

cf. Cayley-Hamilton theorem. Such expressions are deducible from combinatorial arguments, Newton's identities, or the Faddeev-LeVerrier algorithm. That is, for generic n, detA = (-)nc0 the signed constant term of the characteristic polynomial, determined recursively from

c n = 1 ;       c n - m = - 1 m ? k = 1 m c n - m + k t r A k     ( 1 <= m <= n )   . {\displaystyle c_{n}=1;~~~c_{n-m}=-{\frac {1}{m}}\sum _{k=1}^{m}c_{n-m+k}\mathrm {tr} A^{k}~~(1\leq m\leq n)~.}

In the general case, this may also be obtained from

det ( A ) = ? k 1 , k 2 , ... , k n ? l = 1 n ( - 1 ) k l + 1 l k l k l ! tr ( A l ) k l , {\displaystyle \det(A)=\sum _{k_{1},k_{2},\ldots ,k_{n}}\prod _{l=1}^{n}{\frac {(-1)^{k_{l}+1}}{l^{k_{l}}k_{l}!}}\operatorname {tr} (A^{l})^{k_{l}},}

where the sum is taken over the set of all integers kl >= 0 satisfying the equation

? l = 1 n l k l = n . {\displaystyle \sum _{l=1}^{n}lk_{l}=n.}

The formula can be expressed in terms of the complete exponential Bell polynomial of n arguments sl = - (l - 1)! tr(Al) as

det ( A ) = ( - 1 ) n n ! B n ( s 1 , s 2 , ... , s n ) . {\displaystyle \det(A)={\frac {(-1)^{n}}{n!}}B_{n}(s_{1},s_{2},\ldots ,s_{n}).}

This formula can also be used to find the determinant of a matrix AIJ with multidimensional indices I = (i1,i2,...,ir) and J = (j1,j2,...,jr). The product and trace of such matrices are defined in a natural way as

( A B ) J I = ? K A K I B J K , tr ( A ) = ? I A I I . {\displaystyle (AB)_{J}^{I}=\sum _{K}A_{K}^{I}B_{J}^{K},\operatorname {tr} (A)=\sum _{I}A_{I}^{I}.}

An important arbitrary dimension n 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 ) = ? k = 0 ? 1 k ! ( - ? j = 1 ? ( - 1 ) j j tr ( A j ) ) k , {\displaystyle {\begin{aligned}\det(I+A)=\sum _{k=0}^{\infty }{\frac {1}{k!}}\left(-\sum _{j=1}^{\infty }{\frac {(-1)^{j}}{j}}\operatorname {tr} (A^{j})\right)^{k}\,,\end{aligned}}}

where I is the identity matrix. More generally, if

? k = 0 ? 1 k ! ( - ? j = 1 ? ( - 1 ) j s j j tr ( A j ) ) k , {\displaystyle {\begin{aligned}\sum _{k=0}^{\infty }{\frac {1}{k!}}\left(-\sum _{j=1}^{\infty }{\frac {(-1)^{j}s^{j}}{j}}\operatorname {tr} (A^{j})\right)^{k}\,,\end{aligned}}}

is expanded as a formal power series in s then all coefficients of sm for m > n are zero and the remaining polynomial is det(I+sA).

Upper and lower bounds

For a positive definite matrix A, the trace operator gives the following tight lower and upper bounds on the log determinant

tr ( I - A - 1 ) <= log det ( A ) <= tr ( A - I ) {\displaystyle {\begin{aligned}\operatorname {tr} (I-A^{-1})\leq \log \det(A)\leq \operatorname {tr} (A-I)\end{aligned}}}

with equality if and only if A=I. This relationship can be derived via the formula for the KL-divergence between two multivariate normal distributions.

Also,

n t r ( A - 1 ) <= det ( A ) 1 / n <= 1 n t r ( A ) <= 1 n t r ( A 2 ) . {\displaystyle {\frac {n}{\mathrm {tr} (A^{-1})}}\leq \det(A)^{1/n}\leq {\frac {1}{n}}\mathrm {tr} (A)\leq {\sqrt {{\frac {1}{n}}\mathrm {tr} (A^{2})}}.}

These inequalities can be proved by bringing the matrix A to the diagonal form. As such, they represent the well-known fact that the harmonic mean is less than the geometric mean, which is less than the arithmetic mean, which is, in turn, less than the root mean square.

Cramer's rule

For a matrix equation

A x = b {\displaystyle Ax=b} , given that A has a nonzero determinant,

the solution is given by Cramer's rule:

x i = det ( A i ) det ( A ) i = 1 , 2 , 3 , ... , n {\displaystyle x_{i}={\frac {\det(A_{i})}{\det(A)}}\qquad i=1,2,3,\ldots ,n}

where Ai is the matrix formed by replacing the ith column of A by the column vector b. This follows immediately by column expansion of the determinant, i.e.

det ( A i ) = det [ a 1 , ... , b , ... , a n ] = ? j = 1 n x j det [ a 1 , ... , a i - 1 , a j , a i + 1 , ... , a n ] = x i det ( A ) {\displaystyle \det(A_{i})=\det {\begin{bmatrix}a_{1},&\ldots ,&b,&\ldots ,&a_{n}\end{bmatrix}}=\sum _{j=1}^{n}x_{j}\det {\begin{bmatrix}a_{1},&\ldots ,a_{i-1},&a_{j},&a_{i+1},&\ldots ,&a_{n}\end{bmatrix}}=x_{i}\det(A)}

where the vectors a j {\displaystyle a_{j}} are the columns of A. The rule is also implied by the identity

A adj ( A ) = adj ( A ) A = det ( A ) I n . {\displaystyle A\,\operatorname {adj} (A)=\operatorname {adj} (A)\,A=\det(A)\,I_{n}.}

It has recently been shown that Cramer's rule can be implemented in O(n3) time, which is comparable to more common methods of solving systems of linear equations, such as LU, QR, or singular value decomposition.

Block matrices

Suppose A, B, C, and D are matrices of dimension n × n, n × m, m × n, and m × m, respectively. Then

det ( A 0 C D ) = det ( A ) det ( D ) = det ( A B 0 D ) . {\displaystyle \det {\begin{pmatrix}A&0\\C&D\end{pmatrix}}=\det(A)\det(D)=\det {\begin{pmatrix}A&B\\0&D\end{pmatrix}}.}

This can be seen from the Leibniz formula, or from a decomposition like (for the former case)

( A 0 C D ) = ( A 0 C I m ) ( I n 0 0 D ) . {\displaystyle {\begin{pmatrix}A&0\\C&D\end{pmatrix}}={\begin{pmatrix}A&0\\C&I_{m}\end{pmatrix}}{\begin{pmatrix}I_{n}&0\\0&D\end{pmatrix}}.}

When A is invertible, one has

det ( A B C D ) = det ( A ) det ( D - C A - 1 B ) . {\displaystyle \det {\begin{pmatrix}A&B\\C&D\end{pmatrix}}=\det(A)\det(D-CA^{-1}B).}

as can be seen by employing the decomposition

( A B C D ) = ( A 0 C I m ) ( I n A - 1 B 0 D - C A - 1 B ) . {\displaystyle {\begin{pmatrix}A&B\\C&D\end{pmatrix}}={\begin{pmatrix}A&0\\C&I_{m}\end{pmatrix}}{\begin{pmatrix}I_{n}&A^{-1}B\\0&D-CA^{-1}B\end{pmatrix}}.}

When D is invertible, a similar identity with det ( D ) {\displaystyle \det(D)} factored out can be derived analogously, that is,

det ( A B C D ) = det ( D ) det ( A - B D - 1 C ) . {\displaystyle \det {\begin{pmatrix}A&B\\C&D\end{pmatrix}}=\det(D)\det(A-BD^{-1}C).}

When the blocks are square matrices of the same order further formulas hold. For example, if C and D commute (i.e., CD = DC), then the following formula comparable to the determinant of a 2 × 2 matrix holds:

det ( A B C D ) = det ( A D - B C ) . {\displaystyle \det {\begin{pmatrix}A&B\\C&D\end{pmatrix}}=\det(AD-BC).}

Generally, if all pairs of n × n matrices of the np × np block matrix commute, then the determinant of the block matrix is equal to the determinant of the matrix obtained by computing the determinant of the block matrix considering its entries as the entries of a p × p matrix. As the above example shows for p = 2, this criterion is sufficient, but not necessary.

When A = D and B = C, the blocks are square matrices of the same order and the following formula holds (even if A and B do not commute)

det ( A B B A ) = det ( A - B ) det ( A + B ) . {\displaystyle \det {\begin{pmatrix}A&B\\B&A\end{pmatrix}}=\det(A-B)\det(A+B).}

When D is a 1×1 matrix, B is a column vector, and C is a row vector then

det ( A B C D ) = ( D - C A - 1 B ) det ( A ) . {\displaystyle \det {\begin{pmatrix}A&B\\C&D\end{pmatrix}}=(D-CA^{-1}B)\det(A)\,.}

Let s {\displaystyle s} be a scalar complex number. If a block matrix is square, its characteristic polynomial can be factored with

det ( A - s I B C D - s I ) = det ( A - s I ) det ( D - C a d j ( A - s I ) B det ( A - s I ) - s I ) i f s ? e i g ( A ) = det ( A - s I ) 1 - n - m det ( det ( A - s I ) D - C a d j ( A - s I ) B - det ( A - s I ) s I ) {\displaystyle {\begin{aligned}\det {\begin{pmatrix}A-sI&B\\C&D-sI\end{pmatrix}}&=\det(A-sI)\det \left(D-{\frac {C\mathrm {adj} (A-sI)B}{\det(A-sI)}}-sI\right)\quad \mathrm {if} \quad s\notin \mathrm {eig} (A)\\&=\det(A-sI)^{1-n-m}\det \left(\det(A-sI)D-C\mathrm {adj} (A-sI)B-\det(A-sI)sI\right)\end{aligned}}}

Derivative

By definition, e.g., using the Leibniz formula, the determinant of real (or analogously for complex) square matrices is a polynomial function from Rn × n to R. As such it is everywhere differentiable. Its derivative can be expressed using Jacobi's formula:

d det ( A ) d ? = tr ( adj ( A ) d A d ? ) . {\displaystyle {\frac {\mathrm {d} \det(A)}{\mathrm {d} \alpha }}=\operatorname {tr} \left(\operatorname {adj} (A){\frac {\mathrm {d} A}{\mathrm {d} \alpha }}\right).}

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

d det ( A ) d ? = det ( A ) tr ( A - 1 d A d ? ) . {\displaystyle {\frac {\mathrm {d} \det(A)}{\mathrm {d} \alpha }}=\det(A)\operatorname {tr} \left(A^{-1}{\frac {\mathrm {d} A}{\mathrm {d} \alpha }}\right).}

Expressed in terms of the entries of A, these are

? det ( A ) ? A i j = adj ( A ) j i = det ( A ) ( A - 1 ) j i . {\displaystyle {\frac {\partial \det(A)}{\partial A_{ij}}}=\operatorname {adj} (A)_{ji}=\det(A)(A^{-1})_{ji}.}

Yet another equivalent formulation is

det ( A + ? X ) - det ( A ) = tr ( adj ( A ) X ) ? + O ( ? 2 ) = det ( A ) tr ( A - 1 X ) ? + O ( ? 2 ) {\displaystyle \det(A+\epsilon X)-\det(A)=\operatorname {tr} (\operatorname {adj} (A)X)\epsilon +O(\epsilon ^{2})=\det(A)\operatorname {tr} (A^{-1}X)\epsilon +O(\epsilon ^{2})} ,

using big O notation. The special case where A = I {\displaystyle A=I} , the identity matrix, yields

det ( I + ? X ) = 1 + tr ( X ) ? + O ( ? 2 ) . {\displaystyle \det(I+\epsilon X)=1+\operatorname {tr} (X)\epsilon +O(\epsilon ^{2}).}

This identity is used in describing the tangent space of certain matrix Lie groups.

If the matrix A is written as A = [ a b c ] {\displaystyle A={\begin{bmatrix}\mathbf {a} &\mathbf {b} &\mathbf {c} \end{bmatrix}}} 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 of the other two:

? a det ( A ) = b × c ? b det ( A ) = c × a ? c det ( A ) = a × b . {\displaystyle {\begin{aligned}\nabla _{\mathbf {a} }\det(A)&=\mathbf {b} \times \mathbf {c} \\\nabla _{\mathbf {b} }\det(A)&=\mathbf {c} \times \mathbf {a} \\\nabla _{\mathbf {c} }\det(A)&=\mathbf {a} \times \mathbf {b} .\end{aligned}}}

9 determinant of 3×3 matrix | ars-eloquentiae
src: ars-eloquentiae.com


Abstract algebraic aspects

Determinant of an endomorphism

The above identities concerning the determinant of products and inverses of matrices imply that similar matrices have the same determinant: two matrices A and B are similar, if there exists an invertible matrix X such that A = X-1BX. Indeed, repeatedly applying the above identities yields

det ( A ) = det ( X ) - 1 det ( B ) det ( X ) = det ( B ) det ( X ) - 1 det ( X ) = det ( B ) . {\displaystyle \det(A)=\det(X)^{-1}\det(B)\det(X)=\det(B)\det(X)^{-1}\det(X)=\det(B).}

The determinant is therefore also called a similarity invariant. The determinant of a linear transformation

T : V -> V {\displaystyle T:V\rightarrow 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.

Exterior algebra

The determinant of a linear transformation A : V -> V of an n-dimensional vector space V can be formulated in a coordinate-free manner by considering the nth exterior power ?nV of V. A induces a linear map

? n A : ? n V -> ? n V {\displaystyle \Lambda ^{n}A:\Lambda ^{n}V\rightarrow \Lambda ^{n}V}
v 1 ? v 2 ? ? ? v n ? A v 1 ? A v 2 ? ? ? A v n . {\displaystyle v_{1}\wedge v_{2}\wedge \dots \wedge v_{n}\mapsto Av_{1}\wedge Av_{2}\wedge \dots \wedge Av_{n}.}

As ?nV is one-dimensional, the map ?nA is given by multiplying with some scalar. This scalar coincides with the determinant of A, that is to say

( ? n A ) ( v 1 ? ? ? v n ) = det ( A ) ? v 1 ? ? ? v n . {\displaystyle (\Lambda ^{n}A)(v_{1}\wedge \dots \wedge v_{n})=\det(A)\cdot v_{1}\wedge \dots \wedge v_{n}.}

This definition agrees with the more concrete coordinate-dependent definition. This follows from the characterization of the determinant given above. For example, switching two columns changes the sign of the determinant; likewise, permuting the vectors in the exterior product v1 ? v2 ? v3 ? ... ? vn to v2 ? v1 ? v3 ? ... ? vn, say, also changes its sign.

For this reason, the highest non-zero exterior power ?n(V) 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 ?kV with k < n.

Transformation on alternating multilinear n-forms

The vector space W of all alternating multilinear n-forms on an n-dimensional vector space V has dimension one. To each linear transformation T on V we associate a linear transformation T? on W, where for each w in W we define (T?w)(x1, ..., xn) = w(Tx1, ..., Txn). As a linear transformation on a one-dimensional space, T? is equivalent to a scalar multiple. We call this scalar the determinant of T.

Square matrices over commutative rings and abstract properties

The determinant can also be characterized as the unique function

D : M n ( K ) -> K {\displaystyle D:M_{n}(K)\to K}

from the set of all n × n matrices with entries in a field K to this field satisfying the following three properties: first, D is an n-linear function: considering all but one column of A fixed, the determinant is linear in the remaining column, that is

D ( v 1 , ... , v i - 1 , a v i + b w , v i + 1 , ... , v n ) = a D ( v 1 , ... , v i - 1 , v i , v i + 1 , ... , v n ) + b D ( v 1 , ... , v i - 1 , w , v i + 1 , ... , v n ) {\displaystyle D(v_{1},\dots ,v_{i-1},av_{i}+bw,v_{i+1},\dots ,v_{n})=aD(v_{1},\dots ,v_{i-1},v_{i},v_{i+1},\dots ,v_{n})+bD(v_{1},\dots ,v_{i-1},w,v_{i+1},\dots ,v_{n})}

for any column vectors v1, ..., vn, and w and any scalars (elements of K) a and b. Second, D is an alternating function: for any matrix A with two identical columns, D(A) = 0. Finally, D(In) = 1, where In is the identity matrix.

This fact also implies that every other n-linear alternating function F: Mn(K) -> K satisfies

F ( M ) = F ( I ) D ( M ) . {\displaystyle F(M)=F(I)D(M).}

This definition can also be extended where K is a commutative ring R, in which case a matrix is invertible if and only if its determinant is an invertible element in R. For example, a matrix A with entries in Z, the integers, is invertible (in the sense that there exists an inverse matrix with integer entries) if the determinant is +1 or -1. Such a matrix is called unimodular.

The determinant defines a mapping

G L n ( R ) -> R × , {\displaystyle \mathrm {GL} _{n}(R)\rightarrow R^{\times },}

between the group of invertible n × 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. Secondly, given a ring homomorphism f: R -> S, there is a map GLn(f): GLn(R) -> GLn(S) given by replacing all entries in R by their images under f. The determinant respects these maps, i.e., given a matrix A = (ai,j) with entries in R, the identity

f ( det ( ( a i , j ) ) ) = det ( ( f ( a i , j ) ) ) {\displaystyle f(\det((a_{i,j})))=\det((f(a_{i,j})))}

holds. In other words, the following 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 GLn and (?)× (see also Natural transformation#Determinant). 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 : G L n -> G m . {\displaystyle \det :\mathrm {GL} _{n}\rightarrow \mathbb {G} _{m}.}

Example 30 - If a, b, c are positive, unequal, show determinant - Exa
src: d1avenlh0i1xmr.cloudfront.net


Generalizations and related notions

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 ( tr ( log ( I + A ) ) ) . {\displaystyle \det(I+A)=\exp(\operatorname {tr} (\log(I+A))).}

Another infinite-dimensional notion of determinant is the functional determinant.

Related notions for non-commutative rings

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 ways to define the determinant, but non-commutativity then leads to the loss of many fundamental properties of the determinant, for instance the multiplicative property or the fact 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 bilinear form with a 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, which preserve some of the properties of determinants, notably quasideterminants and the Dieudonné determinant. It may be noted that if one considers certain specific classes of matrices with non-commutative elements, then there are examples where one can define the determinant and prove linear algebra theorems that are very similar to their commutative analogs. Examples include quantum groups and q-determinant, Capelli matrix and Capelli determinant, super-matrices and Berezinian; Manin matrices is the class of matrices which is most close to matrices with commutative elements.

Further variants

Determinants of matrices in superrings (that is, Z2-graded rings) are known as Berezinians or superdeterminants.

The permanent of a matrix is defined as the determinant, except that the factors sgn(?) occurring in Leibniz's rule are omitted. The immanant generalizes both by introducing a character of the symmetric group Sn in Leibniz's rule.


Misc 2 - Without expanding the determinant, prove that - Miscellaneous
src: d1avenlh0i1xmr.cloudfront.net


Calculation

Determinants are mainly used as a theoretical tool. They are rarely calculated explicitly in numerical linear algebra, where for applications like checking invertibility and finding eigenvalues the determinant has largely been supplanted by other techniques. Computational geometry, however, does frequently use calculations related to determinants.

Naive methods of implementing an algorithm to compute the determinant include using the Leibniz formula or Laplace's formula. Both these approaches are extremely inefficient for large matrices, though, since the number of required operations grows very quickly: it is of order n! (n factorial) for an n × n matrix M. For example, Leibniz's formula requires calculating n! products. Therefore, more involved techniques have been developed for calculating determinants.

Decomposition methods

Given a matrix A, some methods compute its determinant by writing A 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 matrices). These methods are of order O(n3), which is a significant improvement over O(n!)

The LU decomposition expresses A in terms of a lower triangular matrix L, an upper triangular matrix U and a permutation matrix P:

A = P L U . {\displaystyle A=PLU.}

The determinants of 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 ? {\displaystyle \varepsilon } of the corresponding permutation (which is +1 for an even number of permutations and is -1 for an uneven number of permutations). The determinant of A is then

det ( A ) = ? det ( L ) ? det ( U ) . {\displaystyle \det(A)=\varepsilon \det(L)\cdot \det(U).}

(See determinant identities.) Moreover, the decomposition can be chosen such that L is a unitriangular matrix and therefore has determinant 1, in which case the formula further simplifies to

det ( A ) = ? det ( U ) . {\displaystyle \det(A)=\varepsilon \det(U).}

Further methods

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 A + uvT, where u and v are column vectors.

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 algorithm of Mahajan and Vinay, and Berkowitz 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.

If two matrices of order n can be multiplied in time M(n), where M(n) >= na for some a > 2, then the determinant can be computed in time O(M(n)). This means, for example, that an O(n2.376) algorithm exists based on the Coppersmith-Winograd algorithm.

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.

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 (or LU decomposition) method is of order O(n3), but the bit length of intermediate values can become exponentially long. The Bareiss Algorithm, on the other hand, is an exact-division method based on Sylvester's identity is also of order n3, but the bit complexity is roughly the bit size of the original entries in the matrix times n.


How to find the Determinant of a Matrix Tutorial - YouTube
src: i.ytimg.com


History

Historically, determinants were used long before matrices: originally, a determinant was defined as a property of a system of linear equations. The determinant "determines" whether the system has a unique solution (which occurs precisely if the determinant is non-zero). In this sense, determinants were first used in the Chinese mathematics textbook The Nine Chapters on the Mathematical Art (????, Chinese scholars, around the 3rd century BCE). In Europe, 2 × 2 determinants were considered by Cardano at the end of the 16th century and larger ones by Leibniz.

In Japan, Seki Takakazu (? ??) is credited with the discovery of the resultant and the determinant (at first in 1683, the complete version no later than 1710). In Europe, Cramer (1750) added to the theory, treating the subject in relation to sets of equations. The recurrence 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 (1773) treated determinants of the second and third order and applied it to questions of elimination theory; he proved many special cases of general identities.

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

The next contributor of importance is Binet (1811, 1812), who formally stated the theorem relating to the product of two matrices of 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.) In this he used the word determinant in its present sense, summarized and simplified what was then known on the subject, improved the notation, and gave the multiplication theorem with a proof more satisfactory than Binet's. With him begins the theory in its generality.

The next important figure was Jacobi (from 1827). He early used the functional determinant which Sylvester later called the Jacobian, and in his memoirs in Crelle'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 (1839) and Cayley began their work.

The study of special forms of determinants has been the natural result of the completion of the general theory. Axisymmetric determinants have been studied by Lebesgue, Hesse, and Sylvester; persymmetric determinants by Sylvester and Hankel; circulants by Catalan, Spottiswoode, Glaisher, and Scott; skew determinants and Pfaffians, in connection with the theory of orthogonal transformation, by Cayley; continuants by Sylvester; Wronskians (so called by Muir) by Christoffel and Frobenius; compound determinants by Sylvester, Reiss, and Picquet; Jacobians and Hessians by Sylvester; and symmetric gauche determinants by Trudi. Of the textbooks on the subject Spottiswoode's was the first. In America, Hanus (1886), Weld (1893), and Muir/Metzler (1933) published treatises.


Ex 4.1, 2 - Evaluate determinant (i) |cos sin -sin cos| - Ex 4.1
src: d1avenlh0i1xmr.cloudfront.net


Applications

Linear independence

As mentioned above, the determinant of a matrix (with real or complex entries, say) is zero if and only if the column vectors (or the row vectors) of the matrix are linearly dependent. Thus, determinants can be used to characterize linearly dependent vectors. For example, given two linearly independent vectors v1, v2 in R3, a third vector v3 lies in the plane spanned by the former two vectors exactly if the determinant of the 3 × 3 matrix consisting of the three vectors is zero. The same idea is also used in the theory of differential equations: given n functions f1(x), ..., fn(x) (supposed to be n - 1 times differentiable), the Wronskian is defined to be

W ( f 1 , ... , f n ) ( x ) = | f 1 ( x ) f 2 ( x ) ? f n ( x ) f 1 ? ( x ) f 2 ? ( x ) ? f n ? ( x ) ? ? ? ? f 1 ( n - 1 ) ( x ) f 2 ( n - 1 ) ( x ) ? f n ( n - 1 ) ( x ) | . {\displaystyle W(f_{1},\ldots ,f_{n})(x)={\begin{vmatrix}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}^{(n-1)}(x)&f_{2}^{(n-1)}(x)&\cdots &f_{n}^{(n-1)}(x)\end{vmatrix}}.}

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 functions, this implies the given functions are linearly dependent. See the Wronskian and linear independence.

Orientation of a basis

The determinant can be thought of as assigning a number to every sequence of n vectors in Rn, by using the square matrix whose columns are the given vectors. For instance, an orthogonal matrix with entries in Rn represents an orthonormal basis in Euclidean space. The determinant of such a matrix determines whether the orientation of the basis is consistent with or opposite to the orientation of the standard basis. If the determinant is +1, the basis has the same orientation. If it is -1, the basis has the opposite orientation.

More generally, if the determinant of A is positive, A represents an orientation-preserving linear transformation (if A is an orthogonal 2 × 2 or 3 × 3 matrix, this is a rotation), while if it is negative, A switches the orientation of the basis.

Volume and Jacobian determinant

As pointed out above, the absolute value of the determinant of real vectors is equal to the volume of the parallelepiped spanned by those vectors. As a consequence, if f: Rn -> Rn is the linear map represented by the matrix A, and S is any measurable subset of Rn, then the volume of f(S) is given by |det(A)| times the volume of S. More generally, if the linear map f: Rn -> Rm is represented by the m × n matrix A, then the n-dimensional volume of f(S) is given by:

volume ( f ( S ) ) = det ( A T A ) × volume ( S ) . {\displaystyle \operatorname {volume} (f(S))={\sqrt {\det(A^{\mathrm {T} }A)}}\times \operatorname {volume} (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 vertices a, b, c, and d, is (1/6)·|det(a - b, b - c, c - d)|, or any other combination of pairs of vertices that would 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 : R n -> R n , {\displaystyle f:\mathbf {R} ^{n}\rightarrow \mathbf {R} ^{n},}

the Jacobian matrix is the n × n matrix whose entries are given by

D ( f ) = ( ? f i ? x j ) 1 <= i , j <= n . {\displaystyle D(f)=\left({\frac {\partial f_{i}}{\partial x_{j}}}\right)_{1\leq i,j\leq n}.}

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 Rn (the domain of f), the integral over f(U) of some other function ?: Rn -> Rm is given by

? f ( U ) ? ( v ) d v = ? U ? ( f ( u ) ) | det ( D f ) ( u ) | d u . {\displaystyle \int _{f(U)}\phi (\mathbf {v} )\,d\mathbf {v} =\int _{U}\phi (f(\mathbf {u} ))\left|\det(\operatorname {D} f)(\mathbf {u} )\right|\,d\mathbf {u} .}

The Jacobian also occurs in the inverse function theorem.

Vandermonde determinant (alternant)

The third order Vandermonde determinant is

| 1 1 1 x 1 x 2 x 3 x 1 2 x 2 2 x 3 2 | = ( x 3 - x 2 ) ( x 3 - x 1 ) ( x 2 - x 1 ) . {\displaystyle \left|{\begin{array}{ccc}1&1&1\\x_{1}&x_{2}&x_{3}\\x_{1}^{2}&x_{2}^{2}&x_{3}^{2}\end{array}}\right|=\left(x_{3}-x_{2}\right)\left(x_{3}-x_{1}\right)\left(x_{2}-x_{1}\right).}

In general, the nth-order Vandermonde determinant is

| 1 1 1 ? 1 x 1 x 2 x 3 ? x n x 1 2 x 2 2 x 3 2 ? x n 2 ? ? ? ? ? x 1 n - 1 x 2 n - 1 x 3 n - 1 ? x n n - 1 | = ? 1 <= i < j <= n ( x j - x i ) , {\displaystyle \left|{\begin{array}{ccccc}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}^{n-1}&x_{2}^{n-1}&x_{3}^{n-1}&\cdots &x_{n}^{n-1}\end{array}}\right|=\prod _{1\leq i<j\leq n}\left(x_{j}-x_{i}\right),}

where the right-hand side is the continued product of all the differences that can be formed from the n(n-1)/2 pairs of numbers taken from x1, x2, ..., xn, with the order of the differences taken in the reversed order of the suffixes that are involved.

Circulants

Second order

| x 1 x 2 x 2 x 1 | = ( x 1 + x 2 ) ( x 1 - x 2 ) . {\displaystyle \left|{\begin{array}{cc}x_{1}&x_{2}\\x_{2}&x_{1}\end{array}}\right|=\left(x_{1}+x_{2}\right)\left(x_{1}-x_{2}\right).}

Third order

| x 1 x 2 x 3 x 3 x 1 x 2 x 2 x 3 x 1 | = ( x 1 + x 2 + x 3 ) ( x 1 + ? x 2 + ? 2 x 3 ) ( x 1 + ? 2 x 2 + ? x 3 ) , {\displaystyle \left|{\begin{array}{ccc}x_{1}&x_{2}&x_{3}\\x_{3}&x_{1}&x_{2}\\x_{2}&x_{3}&x_{1}\end{array}}\right|=\left(x_{1}+x_{2}+x_{3}\right)\left(x_{1}+\omega x_{2}+\omega ^{2}x_{3}\right)\left(x_{1}+\omega ^{2}x_{2}+\omega x_{3}\right),}

where ? and ?2 are the complex cube roots of 1. In general, the nth-order circulant determinant is

| x 1 x 2 x 3 ? x n x n x 1 x 2 ? x n - 1 x n - 1 x n x 1 ? x n - 2 ? ? ? ? ? x 2 x 3 x 4 ? x 1 | = ? j = 1 n ( x 1 + x 2 ? j + x 3 ? j 2 + ... + x n ? j n - 1 ) , {\displaystyle \left|{\begin{array}{ccccc}x_{1}&x_{2}&x_{3}&\cdots &x_{n}\\x_{n}&x_{1}&x_{2}&\cdots &x_{n-1}\\x_{n-1}&x_{n}&x_{1}&\cdots &x_{n-2}\\\vdots &\vdots &\vdots &\ddots &\vdots \\x_{2}&x_{3}&x_{4}&\cdots &x_{1}\end{array}}\right|=\prod _{j=1}^{n}\left(x_{1}+x_{2}\omega _{j}+x_{3}\omega _{j}^{2}+\ldots +x_{n}\omega _{j}^{n-1}\right),}

where ?j is an nth root of 1.


Third-Order Determinants - YouTube
src: i.ytimg.com


See also


Ex 4.2, 5 - Prove using property of determinants |b+c q+r - Ex 4.2
src: d1avenlh0i1xmr.cloudfront.net


Notes


Determinant of the product of two n x n matrices - Part 1 of 2 ...
src: i.ytimg.com


References

  • Axler, Sheldon Jay (1997), Linear Algebra Done Right (2nd ed.), Springer-Verlag, ISBN 0-387-98259-0 
  • de Boor, Carl (1990), "An empty exercise" (PDF), ACM SIGNUM Newsletter, 25 (2): 3-7, doi:10.1145/122272.122273 .
  • Lay, David C. (August 22, 2005), Linear Algebra and Its Applications (3rd ed.), Addison Wesley, ISBN 978-0-321-28713-7 
  • Meyer, Carl D. (February 15, 2001), Matrix Analysis and Applied Linear Algebra, Society for Industrial and Applied Mathematics (SIAM), ISBN 978-0-89871-454-8, archived from the original on 2009-10-31 
  • Muir, Thomas (1960) [1933], A treatise on the theory of determinants, Revised and enlarged by William H. Metzler, New York, NY: Dover 
  • Poole, David (2006), Linear Algebra: A Modern Introduction (2nd ed.), Brooks/Cole, ISBN 0-534-99845-3 
  • G. Baley Price (1947) "Some identities in the theory of determinants", American Mathematical Monthly 54:75-90 MR0019078
  • Horn, R. A.; Johnson, C. R. (2013), Matrix Analysis (2nd ed.), Cambridge University Press, ISBN 978-0-521-54823-6 
  • Anton, Howard (2005), Elementary Linear Algebra (Applications Version) (9th ed.), Wiley International 
  • Leon, Steven J. (2006), Linear Algebra With Applications (7th ed.), Pearson Prentice Hall 

Economics 2301 Matrices Lecture ppt download
src: slideplayer.com


External links

  • Suprunenko, D.A. (2001) [1994], "Determinant", in Hazewinkel, Michiel, Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4 
  • Weisstein, Eric W. "Determinant". MathWorld. 
  • O'Connor, John J.; Robertson, Edmund F., "Matrices and determinants", MacTutor History of Mathematics archive, University of St Andrews .
  • Determinant Interactive Program and Tutorial
  • Linear algebra: determinants. Compute determinants of matrices up to order 6 using Laplace expansion you choose.
  • Matrices and Linear Algebra on the Earliest Uses Pages
  • Determinants explained in an easy fashion in the 4th chapter as a part of a Linear Algebra course.
  • Instructional Video on taking the determinant of an nxn matrix (Khan Academy)
  • "The determinant". Essence of linear algebra - via YouTube. 

Source of the article : Wikipedia

Comments
0 Comments