Intuition
Every determinant is built the same way. Pick one entry from each row, never two from the same column, multiply them, and give the product a sign. Add all such signed products: two for a 2 by 2 matrix, six for 3 by 3, twenty-four for 4 by 4.
Rooks placed on a chessboard so that none attacks another stand one in each row and one in each column. A determinant adds up one signed product for every such placement of rooks on the matrix.
The general determinant
A choice of one entry from each row of an matrix, no two in one column, is recorded by listing the columns used in rows : a rearrangement of the numbers . There are rearrangements. An inversion is a pair of positions where the larger number comes first, and counts them. The determinant adds the product for every rearrangement, with sign when the number of inversions is even and when it is odd.
Reading the definition
- For the rearrangements are , with no inversion, and , with one: , the formula already known.
The determinant of a triangular matrix
Take an upper triangular matrix. Row is zero except in its last column, so a term that is not zero must take there. Row is zero before its own diagonal entry and column is already used, so it must take , and so on up the matrix. Only the diagonal product survives, and the natural order has no inversions. A lower triangular matrix is the same argument read downwards.
Proof steps
In an upper triangular matrix the last row is zero except in its last column.
So a term that is not zero takes its entry in row from column .
Row is zero before column , and column is taken. Going up row by row, each row is forced onto the diagonal.
The one surviving rearrangement is the natural order, which has no inversions, so its sign is .
Every other term contains a zero, so the determinant is the product of the diagonal.
Applications
Practice
Counting the Terms
Row 1 can use any of the columns, row 2 any of the left, and so on, down to one column for the last row.
So terms for a matrix and for a one, as already seen.
Try it
How many terms does the definition give for a determinant?
Try it
Select the entries of the term given by the rearrangement .
Counting Inversions
Go through the rearrangement number by number and count how many smaller numbers stand to its right. The total is the number of inversions.
Two inversions, an even number, so the sign is .
Try it
How many inversions does the rearrangement have?
Try it
What sign does the term of a determinant carry?
Try it
is a term of a determinant.
Try it
Compute .
Try it
What is ?
Try it
If one row of an matrix is zero, its determinant is .
Try it
Which rearrangements give the terms of a determinant, and with which signs?
Try it
Compute .
What You Learned
- A term of an determinant takes one entry from each row and each column: there are of them.
- The columns used, row by row, form a rearrangement; its inversions are the pairs out of order.
- An even number of inversions gives , an odd number .
- The determinant of a triangular matrix is the product of its diagonal.
Final checkpoint
Try it
How many inversions does have?
Try it
What is ?
Try it
The determinant of a matrix is a sum of signed products.
Completion
Lesson complete
Great work! You now know how to:
- describe a term of any determinant: one entry per row and per column;
- count inversions and read the sign of a term;
- count the terms of an determinant;
- prove and use the diagonal rule for triangular matrices.