display | more...

A function defined on square matrices. There are many equivalent definitions of the determinant, most of them useful. It is often useful to treat the determinant as a function of n vectors of dimension n. Here are a few:

Geometrical
The determinant of n vectors is the volume of the parallelopiped they span (this is only useful in n-dimensional euclidian space Rn).
Axiomatic
The determinant is a (in fact, "the") function D of n vectors which is linear is each of them, satisfies D(...,a,...,b,...) = -D(...,b,...,a,...) (for every interchange of 2 arguments) and D(e1,...,en) = 1 (for e1,...,en the standard basis vectors (1,0,...,0), ..., (0,...,0,1)).
Explicit formula
The determinant of a matrix
```   a11 ... a1n
a21 ... a2n
.......
an1 ... ann
```
is the sum over all even permutations p of the integers 1...n of the products of ai,p(i), minus the sum over all odd permutations q of the products of ai,q(i).
Recursive formula
The determinant of the matrix above is the sum
i=1,...,n (-1)i+1 a1,i Di,
where Di is the determinant of the (n-1)×(n-1)-matrix you get by deleting column i and row 1 of the matrix above.

Some methods for calculating the determinant:

For a 2x2 matrix,
| a1 a2 |
| a3 a4 |

the determinant is defined as D = a1 * a4 - a2 * a3

For a 3x3 or above, row elimination can be used.
Choose any row or column. For each element in the row, remove the row and the column of the matrix the element is on, find the determinant of this matrix, and multiply it by the element. Even elements have a negative sign.

In practice for a 3 x 3 matrix, it works out to:
| a1 a2 a3 |
| a4 a5 a6 |
| a7 a8 a9 |

det =
| a5 a6 | a1 -
| a8 a9 |

| a4 a6 | a2 +
| a7 a9 |

| a4 a5 | a3
| a7 a8 |

This method gets very tedious as you get to larger matrices because of its recursive nature. For a four-by-four matrix, writing this out gives you four 3x3 determinants, which each require 3 2x2 determinants each. For a 5x5, you need 5 4x4, each of which needs 4 3x3, etc, etc, etc. Something you want to leave to a computer, obviously.

Another math thing that seems hard, but can be looked at in an easy way:

Quick rule... to just represent the value of a matrix, enclose the elements (technically, they're "entities") in brackets. To say "the determinant of," enclose the elements in two big pipes.

```    +-   -+   |     |
|a b c|   |a b c|
det |d e f| = |d e f|
|g h i|   |g h i|
+-   -+   |     |
```

Finding the determinant of any matrix just requires you to start at the first element of the first row, and multiply it by all the elements diagonally below and to the right of it. Do this for every element in the row, then add the results together. Next, start at the first element of the bottom row, and multiply it by every element diagonally above and to the right of it, and continue for each element in the row, adding the results together. Subtract this result from the total you got before. To make the process easier ("What's diagonally above i? It's in the last column!") you must wrap around the matrix, or copy the elements to be on the right side of the matrix:

```   |     |
|a b c|a b   <- these last two columns
A= |d e f|d e      placed for visual
|g h i|g h      reference
|     |

|A|=((a*e*i)+(b*f*g)+(c*d*h))-((g*e*c)+(h*f*a)+(i*d*b))

|     |
|1 3 4|1 3
B= |5 2 9|5 2
|6 1 2|6 1
|     |
```

1*2*2=4
3*9*6=162
4*5*1=20

4+162+20=186

6*2*4=48
1*9*1=9
2*5*3=30

48+9+30=87

186-87=99

|B|=99

The more compact way of finding out the determinant is:

|B|=((1*2*2)+(3*9*6)+(4*5*1))-((6*2*4)+(1*9*1)+(2*5*3))
|B|=(4+162+20)-(48+9+30)
|B|=186-87
|B|=99

While all of the above writeups give correct and useful definitions and methods for computing or dealing with determinants, they omit one very useful tool: row and column operations.

These can be helpful both with the concrete task of finding a determinant for a given matrix or with slightly more intangible beings, such as calculating this determinant :

```|1  x_1  x_1^2 ... x_1^n|
|1  x_2  x_2^2 ... x_2^n|
|.                     .|
|.                     .|
|1  x_n  x_n^2 ... x_n^n|
```
which is known as Van der Mond's determinant. where the underscores indicate subscripts.

Doing this by expanding the determinant along a row or column is hard (but none the less left as an exercise to the reader). Not only is it hard, but if at the end I tell you that I want the determinant in a factorised form, then you will probably be in a world of pain, even if there are only 6 or 7 variables.

Definitions

The main row operation is adding a multiple of a row to another row. These are not quite the same as the operations defined in elementary row operations. I have put to one side multiplication by a non-zero scalar λ, as this multiplies the determinant by λ , and swapping 2 rows as this changes the sign of the determinant. The main operation is the adding of multiples of rows that really makes things happen, the other 2 are mainly convenience. Column operations are defined similarly, just substitute column for row.

But what do I do with them ?

A quick example is the easiest way to go. Consider the determinant:

```|1 2 3 4|
|4 5 6 7|
|6 8 9 2|
|2 4 5 6|
```
It's a 4x4 matrix, so that means computing 4 3x3 determinants, each of which has 3 2x2 determinants. Somewhat tedious. But if we subtract the first row 4 times from the 2nd, 6 times from the 3rd and 2 times from the 4th, then the matrix becomes:
```|1  2  3   4|
|0 -3 -6  -9|
|0 -4 -9 -22|
|0  0 -1  -2|
```
Already a lot less painful, only one 3x3 determinant, and one of the 2x2 determinants in it is zero. Of course you could continue this process.

But why does it work ?

Good question, glad that you asked. Row operations can be represented by matrices. To swap rows i and j, multiply (on the left) by this matrix:

start with the identity matrix and change these elements: A_ii = A_jj = 0
A_ij = A_ji = 1
So to swap rows 1 and 3 of a 4x4 matrix, you would use this matrix:

```|0 0 1 0|
|0 1 0 0|
|1 0 0 0|
|0 0 0 1|
```
To add λ times row j to row i, you start with an identity matrix, and change A_ij to λ, so this matrix adds 3 times the 4th row to the second:
```|1 0 0 0|
|0 1 0 0|
|0 0 1 0|
|0 3 0 1|
```
To multiply row i by a scalar λ, again start with an identity matrix and change A_ii to λ, so this matrix multiplies the 3rd row by 2:
```|1 0 0 0|
|0 1 0 0|
|0 0 2 0|
|0 0 0 1|
```
So we could represent our entire sequence of row and column operations by a product of matrices (multiply by these very same matrices on the right hand side for column operations). Look at the matrices defined above: their determinants are very easy to calculate, -1 for the row swapping matrix, λ for multiplying a row by λ and 1 for adding a multiple of a row to another one.

One of the properties of determinants, is that, assuming that A and B are 2 nxn matrices, det(A.B)=det(A).det(B). So we can transform our matrix into something we can calculate the determinant of easily, and divide it by the product of the determinants of the transformation matrices to get the original determinant. Even better, if you only do adding multiples of a row to another row, then your row operations do not change the determinant!

Applications:

Numerical evaluation of determinants: Basically perform Gaussian elimination then calculate the product of the terms on the diagonal. Gaussian elimination is O(n^3), so this is much cheaper than expanding the determinant (which is O(n!)). It is also common to use LU decomposition to calculate determinants (among other things).

More abstract determinants: recall Van der Mond's determinant, given above. Subtract the first row from all the others, this gives:

```|1  x_1      x_1^2       ...       x_1^n|
|0  x_2-x_1  x_2^2-x_1^2 ... x_2^n-x_1^n|
|.                                     .|
|.                                     .|
|0  x_n-x_1  x_n^2-x_1^2 ... x_n^n-x_1^n|
```
Note that we can divide out (x2-x1) out of the second row, (x3-x1) out of the 3rd row and so on.

You can then subtract the 2nd row from all those beneath it, factor out a term from all of those rows and so on, eventually yielding the answer ∏i>j(xi-xj).

De*ter"mi*nant (?), a. [L. determinans, p. pr. of determinare: cf. F. d'eterminant.]

Serving to determine or limit; determinative.

De*ter"mi*nant, n.

1.

That which serves to determine; that which causes determination.

2. Math.

The sum of a series of products of several numbers, these products being formed according to certain specified laws; thus, the determinant of the nine numbers a, b, c,a', b', c',a'', b'', c'', is a b' c'' - a b'' c' + a' b'' c] - a' b c'' + a'' b' c. The theory of determinants forms a very important branch of modern mathematics.

3. Logic

A mark or attribute, attached to the subject or predicate, narrowing the extent of both, but rendering them more definite and precise.

Abp. Thomson.

Log in or register to write something here or to contact authors.