Web - Amazon

We provide Linux to the World


We support WINRAR [What is this] - [Download .exe file(s) for Windows]

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
SITEMAP
Audiobooks by Valerio Di Stefano: Single Download - Complete Download [TAR] [WIM] [ZIP] [RAR] - Alphabetical Download  [TAR] [WIM] [ZIP] [RAR] - Download Instructions

Make a donation: IBAN: IT36M0708677020000000008016 - BIC/SWIFT:  ICRAITRRU60 - VALERIO DI STEFANO or
Privacy Policy Cookie Policy Terms and Conditions
Determinant - Wikipedia, the free encyclopedia

Determinant

From Wikipedia, the free encyclopedia

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

For a fixed positive integer n, there is a unique determinant function for the n×n matrices over any commutative ring R. In particular, this function exists when R is the field of real or complex numbers.

A determinant of A is also sometimes denoted by |A|, but this notation is ambiguous: it is also used to for certain matrix norms, and for the absolute value.

The area of the parallelogram is the determinant of the matrix formed by the vectors representing the parallelogram's sides.
Enlarge
The area of the parallelogram is the determinant of the matrix formed by the vectors representing the parallelogram's sides.

Contents

[edit] Determinants of 2-by-2 matrices

The 2×2 matrix A=\begin{bmatrix}a&b\\ c&d\end{bmatrix} has determinant \det(A)=ad-bc\,.

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

A formula for larger matrices will be given below.

[edit] Determinants as a wedge product

If u and v are vectors in an n-dimensional vector space, we may introduce the wedge product with the property u Λ v = - v Λ u. This antisymmetric property also entails u Λ u = 0. With such a product defined for vectors in an n(n-1)/2 dimensional vector space, we can continue the process to k-fold products. Then an n-fold wedge product v1 Λ v2 Λ ... Λ vn is a vector in a 1-dimensional vector space, whose single coefficient is a scalar. This scalar quantity is the determinant of the square matrix whose rows are the vectors v1, ..., vn. From the defining properties of a wedge product it easily follows that the determinant is zero if and only if v1 ... vn are linearly dependent, and that the determinant is antisymmetric with respect to swapping rows. Transposing, this is also true of columns.

This gives a means of computing the determinant, but more significantly, a means of demonstrating the basic properties of the determinant and placing it in a broader context.

[edit] Applications

Determinants are used to characterize invertible matrices (namely as those matrices, and only those matrices, with non-zero determinants), and to explicitly describe the solution to a system of linear equations with Cramer's rule. They can be used to find the eigenvalues of the matrix A through the characteristic polynomial

p(x) = \det(xI - A) \,

where I is the identity matrix of the same dimension as A.

One often thinks of the determinant as assigning a number to every sequence of n vectors in \Bbb{R}^n, by using the square matrix whose columns are the given vectors. With this understanding, the sign of the determinant of a basis can be used to define the notion of orientation in Euclidean spaces. The determinant of a set of vectors is positive if the vectors form a right-handed coordinate system, and negative if left-handed.

Determinants are used to calculate volumes in vector calculus: the absolute value of the determinant of real vectors is equal to the volume of the parallelepiped spanned by those vectors. As a consequence, if the linear map f: \Bbb{R}^n \rightarrow \Bbb{R}^n is represented by the matrix A, and S is any measurable subset of \Bbb{R}^n, then the volume of f(S) is given by \left| \det(A) \right| \times \operatorname{volume}(S). More generally, if the linear map f: \Bbb{R}^n \rightarrow \Bbb{R}^m is represented by the m-by-n matrix A, and S is any measurable subset of \Bbb{R}^{n}, then the n-dimensional volume of f(S) is given by \sqrt{\det(A^\top 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(ab, bc, cd)|, or any other combination of pairs of vertices that form a simply connected graph.

[edit] General definition and computation

The definition of the determinant comes from the following Theorem.

Theorem. Let Mn(K) denote the set of all n \times n matrices over the field K. There exists exactly one function

F : M_n(K) \longrightarrow K

with the two properties:

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

In proving the above theorem, one also obtains the Leibniz formula:

\det(A) = \sum_{\sigma \in S_n} \sgn(\sigma) \prod_{i=1}^n A_{i,\sigma(i)}

Here the sum is computed over all permutations σ of the numbers {1,2,...,n} and sgn(σ) denotes the signature of the permutation σ: +1 if σ is an even permutation and −1 if it is odd.

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

For small matrices, one does not actually need to take permutations, i.e.:

  • if A is a 1-by-1 matrix, then \det(A) = A_{1,1}. \,
  • if A is a 2-by-2 matrix, then \det(A) = A_{1,1}A_{2,2} - A_{2,1}A_{1,2}. \,
  • for a 3-by-3 matrix A, the formula is more complicated:
\begin{matrix} \det(A) & = & A_{1,1}A_{2,2}A_{3,3} + A_{1,3}A_{2,1}A_{3,2} + A_{1,2}A_{2,3}A_{3,1}\\ & & - A_{1,3}A_{2,2}A_{3,1} - A_{1,1}A_{2,3}A_{3,2} - A_{1,2}A_{2,1}A_{3,3}. \end{matrix}\,

In general, determinants can be computed using Gaussian elimination using the following rules:

  • If A is a triangular matrix, i.e. A_{i,j} = 0 \, whenever i > j or, alternatively, whenever i < j, then \det(A) =  A_{1,1} A_{2,2} \cdots A_{n,n} \, (the product of the diagonal entries of A).
  • If B results from A by exchanging two rows or columns, then \det(B) = -\det(A). \,
  • If B results from A by multiplying one row or column with the number c, then \det(B) = c\,\det(A). \,
  • 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 \det(B) = \det(A). \,

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

It is also possible to expand a determinant along a row or column using Laplace's formula, which is efficient for relatively small matrices. To do this along row i, say, we write

\det(A) = \sum_{j=1}^n A_{i,j}C_{i,j} = \sum_{j=1}^n A_{i,j} (-1)^{i+j} M_{i,j}

where the Ci,j represent the matrix cofactors, i.e. Ci,j is ( − 1)i + j times the minor Mi,j, which is the determinant of the matrix that results from A by removing the i-th row and the j-th column.

[edit] Quick Reference

The determinants for square matrices of size 1 to 3 are:

\det \begin{bmatrix} a \end{bmatrix}  = a
\det \begin{bmatrix}a&b\\ c&d\end{bmatrix}  = ad - bc
\det \begin{bmatrix}a&b&c\\ d&e&f\\ g&h&i\end{bmatrix}  = a(ei - fh) -b(di - gf) + c(dh - eg)

[edit] Example

Suppose we want to compute the determinant of

A = \begin{bmatrix}-2&2&-3\\ -1& 1& 3\\ 2 &0 &-1\end{bmatrix}.

We can go ahead and use the Leibniz formula directly:

\det(A)\, =\, (-2\cdot 1 \cdot -1) + (-3\cdot -1 \cdot 0) + (2\cdot 3\cdot 2)
- (-3\cdot 1 \cdot 2) - (-2\cdot 3 \cdot 0) - (2\cdot -1 \cdot -1)
=\, 2 + 0 + 12 - (-6) - 0 - 2 = 18.\,

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

\det(A)\, =\, (-1)^{1+2}\cdot 2 \cdot \det \begin{bmatrix}-1&3\\ 2 &-1\end{bmatrix} + (-1)^{2+2}\cdot 1 \cdot \det \begin{bmatrix}-2&-3\\ 2&-1\end{bmatrix}
=\, (-2)\cdot((-1)\cdot(-1)-2\cdot3)+1\cdot((-2)\cdot(-1)-2\cdot(-3))
=\, (-2)(-5)+8 = 18.\,

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

\begin{bmatrix}0&2&-3\\ 0 &1 &3\\ 2 &0 &-1\end{bmatrix}

and this determinant can be quickly expanded along the first column:

\det(A)\, =\, (-1)^{3+1}\cdot 2\cdot \det \begin{bmatrix}2&-3\\ 1&3\end{bmatrix}
=\, 2\cdot(2\cdot3-1\cdot(-3)) = 2\cdot 9 = 18.\,

[edit] Properties

The determinant is a multiplicative map in the sense that

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

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

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

\det(rA) = \det(rI_n \cdot A) = r^n \det(A) \, for all n-by-n matrices A and all scalars r.

A matrix over a commutative ring R is invertible if and only if its determinant is a unit in R. In particular, if A is a matrix over a field such as the real or complex numbers, then A is invertible if and only if det(A) is not zero. In this case we have

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

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

A matrix and its transpose have the same determinant:

\det(A^\top) = \det(A). \,

The determinants of a complex matrix and of its conjugate transpose are conjugate:

\det(A^*) = \det(A)^*. \,

(Note the conjugate transpose is identical to the transpose for a real matrix)

The determinant of a matrix A exhibits the following properties under elementary matrix transformations of A:

  1. Exchanging rows or columns multiplies the determinant by -1.
  2. Multiplying a row or column by m multiplies the determinant by m.
  3. Adding a multiple of a row or column to another leaves the determinant unchanged.

This follows from the multiplicative property and the determinants of the elementary matrix transformation matrices.

If A and B are similar, i.e., if there exists an invertible matrix X such that A = X − 1BX, then by the multiplicative property,

\det(A) = \det(B). \,

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

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

\det(A) = \lambda_{1}\lambda_{2} \cdots \lambda_{n}.\,

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

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

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

Performing the substitution A \mapsto \log A in the above equation yields

\det(A) = e^{\operatorname{tr}(\log A)}. \

[edit] Derivative

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

d \,\det(A) = \operatorname{tr}(\operatorname{adj}(A) \,dA)

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

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

or, more colloquially,

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

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

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

[edit] 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 n! (n factorial) for an n×n matrix M.
  • An improvement to order n3 can be achieved by using LU decomposition 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 if possible or the QR decomposition 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 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.
  • 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, 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, an exact division method based on Sylvester's identity to give a run time of order n3 and bit complexity roughly the bit size of the original entries in the matrix times n.

[edit] History

Historically, determinants were considered before matrices. Originally, a determinant was defined as a property of a system of linear equations. The determinant "determines" whether the system has a unique solution (which occurs precisely if the determinant is non-zero). In this sense, two-by-two determinants were considered by Cardano at the end of the 16th century and larger ones by Leibniz about 100 years later. Following him Cramer (1750) added to the theory, treating the subject in relation to sets of equations. The recurrent law was first announced by Bezout (1764).

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

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

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

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

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

[edit] External links

Our "Network":

Project Gutenberg
https://gutenberg.classicistranieri.com

Encyclopaedia Britannica 1911
https://encyclopaediabritannica.classicistranieri.com

Librivox Audiobooks
https://librivox.classicistranieri.com

Linux Distributions
https://old.classicistranieri.com

Magnatune (MP3 Music)
https://magnatune.classicistranieri.com

Static Wikipedia (June 2008)
https://wikipedia.classicistranieri.com

Static Wikipedia (March 2008)
https://wikipedia2007.classicistranieri.com/mar2008/

Static Wikipedia (2007)
https://wikipedia2007.classicistranieri.com

Static Wikipedia (2006)
https://wikipedia2006.classicistranieri.com

Liber Liber
https://liberliber.classicistranieri.com

ZIM Files for Kiwix
https://zim.classicistranieri.com


Other Websites:

Bach - Goldberg Variations
https://www.goldbergvariations.org

Lazarillo de Tormes
https://www.lazarillodetormes.org

Madame Bovary
https://www.madamebovary.org

Il Fu Mattia Pascal
https://www.mattiapascal.it

The Voice in the Desert
https://www.thevoiceinthedesert.org

Confessione d'un amore fascista
https://www.amorefascista.it

Malinverno
https://www.malinverno.org

Debito formativo
https://www.debitoformativo.it

Adina Spire
https://www.adinaspire.com