Determinants
In questa pagina 5
1. Determinants of -matrices
Definition. For the determinant is
Examples.
- .
- . In particular .
- If the second column is a multiple of the first (so the columns are linearly dependent), , then . By the invertibility criteria in Matrices and Change of BasisEvery linear map between finite-dimensional spaces is described by a matrix once bases are chosen, composition of maps corresponds to the matrix product, invertible matrices are those reducible to the identity, and a change of basis conjugates the matrix by the base change matrix.Matrices and Change of Basis → such an is not invertible: this is an instance of the general fact proved below (determinant not invertible).
1.1 Geometric meaning
Recall that the absolute value of a real number is if and if .
Lemma (area). Let , with columns and . Then is the area of the parallelogram spanned by and .
Proof (geometric, for positive entries, with and placed so that the angle from to is counterclockwise). Enclose the parallelogram in the rectangle with sides and (area ). Around the parallelogram, this rectangle contains:
- two triangles with long side (resp. parallel to it), each of area , together ;
- two triangles with long side (resp. parallel to it), together ;
- two rectangles (in the bottom right and top left corners) of sides and , together .
Therefore the area of the parallelogram is
Lemma (sign). Let and let , be obtained by swapping the two columns, resp. the two rows. Then So swapping two rows or two columns changes the sign of the determinant.
Proof. Directly from the definition: , and similarly for .
So the determinant (not only its absolute value) records the area of the parallelogram spanned by the columns and the orientation (whether the angle from the first to the second vector runs counterclockwise or clockwise).
2. Determinants of larger matrices
There are several equivalent definitions for larger matrices; the following is satisfactory both conceptually and practically.
Theorem (characterization of the determinant). There is a unique function with the following properties (for ):
- .
- If results from by interchanging two rows, then .
- Writing a matrix as a column of its rows , for every and : (linearity in each row, the other rows being fixed).
2.1 Consequences of the properties
Scaling and zero rows. Taking in (3): multiplying one row by (here is allowed, unlike for elementary operations) multiplies the determinant by . In particular
Equal rows. If two rows of are equal then . Indeed, interchanging these rows gives a matrix equal to , so ; but by (2) also . Hence , which is only possible for .
Adding a multiple of a row to another does not change the determinant. For and , by property (3) and the previous remark,
since the last matrix has in two rows (the middle one has in the -th row), so its determinant is .
Summary of the effect of row operations on :
| Row operation | Effect on the determinant |
|---|---|
| swap two rows | multiplied by |
| multiply a row by | multiplied by |
| add a multiple of one row to another | unchanged |
2.2 Computing a determinant by row reduction
Taking the theorem for granted, we compute for
by stepwise applying the rules and keeping track of how the determinant changes.
- : row 1 minus row 2; : row 1 minus row 3; : row 3 minus row 1. These are additions of multiples of a row to another, so .
- : multiply the last row by , so .
- (row 1 minus row 3, row 2 plus row 3) and (row 2 plus row 1) are additions again: .
- : swapping the first two rows, so .
Altogether
(Check with Sarrus' rule below: .)
Idea of the proof of the theorem. One proceeds for a general square matrix as above: use Gaussian elimination to bring into reduced row echelon form . The properties of the theorem determine in terms of . If has a zero row then ; if it has no zero row then and . (The source only sketches the proof.)
2.3 Small matrices
- : for , .
- : the determinant satisfies the three properties: ; a row swap changes the sign (previous lemma); and for the linearity in the second row, (the first row is analogous). So by uniqueness the general definition agrees with .
- : Sarrus' rule.
(One checks by direct computation that this function satisfies the three properties.) To remember it, repeat the first two columns to the right of the matrix; the products along the three top-left to bottom-right diagonals get a plus sign, the products along the three top-right to bottom-left diagonals a minus sign:
a b c a b + : aei, bfg, cdh (down to the right)
d e f d e - : ceg, afh, bdi (down to the left)
g h i g hWarning. Sarrus' rule does not apply to larger matrices. For a -matrix, is a sum of expressions, each a product of 4 entries of ; use row reduction or cofactor expansion instead.
Example. .
3. Invertibility and determinants
Definition (cofactors and adjugate). Let . For let be the matrix obtained from by deleting the -th row and the -th column. The number
is the -cofactor of . The adjugate of is the -matrix
Theorem (invertibility criterion). An -matrix is invertible if and only if . In this case the inverse is given by the adjugate formula
Proof of the criterion. Bring by Gaussian elimination into a reduced row echelon matrix . In this process no row is multiplied by zero, so if and only if (by the table above, each operation multiplies the determinant by a non-zero number). Also with invertible (a product of elementary matrices), so is invertible if and only if is. Hence
and it remains to show the middle equivalence. Being in reduced row echelon form, either or has a zero row. In the first case is invertible and . In the second case is not invertible (its rows are linearly dependent, see the criteria in Matrices and Change of BasisEvery linear map between finite-dimensional spaces is described by a matrix once bases are chosen, composition of maps corresponds to the matrix product, invertible matrices are those reducible to the identity, and a change of basis conjugates the matrix by the base change matrix.Matrices and Change of Basis →) and by (1). The proof of the adjugate formula is skipped in the source.
Example (). For the adjugate is , so if
For instance has and .
Remark. The adjugate formula is of theoretical significance only: for larger matrices computing the inverse by Gaussian elimination on is much cheaper.
4. Further properties of determinants
Proposition (product formula). For ,
In particular , even though in general.
Proof (outline, as in the source). For an elementary matrix one checks the formula by direct computation. This gives the formula when is invertible, since then is a product of elementary matrices. If is not invertible, one shows that is not invertible either (for any ), so both and and the formula holds.
Remark. The determinant is multiplicative but not additive: in general . For example .
Proposition (triangular matrices). If is upper triangular (all entries below the main diagonal are ) or lower triangular (all entries above the main diagonal are ), then
the product of the diagonal entries.
Proof. If one diagonal entry is , the columns of are linearly dependent, so is not invertible and (matching the product, which is ). If all , divide the -th row by (this divides the determinant by ), so that all diagonal entries are . Then adding suitable multiples of rows to the rows above (resp. below for a lower triangular matrix), which does not change the determinant, gives , so the determinant of the normalized matrix is and .
Example. A lower triangular matrix with diagonal entries has determinant , whatever the entries below the diagonal.
Proposition (transpose). .
Proof. For matrices of size at most this can be seen directly from the formulae in the section on small matrices. In general: if is not invertible, is not invertible either (see Matrices and Change of BasisEvery linear map between finite-dimensional spaces is described by a matrix once bases are chosen, composition of maps corresponds to the matrix product, invertible matrices are those reducible to the identity, and a change of basis conjugates the matrix by the base change matrix.Matrices and Change of Basis →), so both sides are . If is invertible, it is a product of elementary matrices, , and . By the product formula we may assume is an elementary matrix, and then we check by inspection:
- for a row swap matrix (identity with rows and exchanged) we have ;
- for a scaling matrix (diagonal) we have ;
- is a triangular matrix (lower or upper, depending on or ) and its transpose a triangular matrix of the other kind; both have determinant by the triangular proposition.
Remark. Since , the word "row" can be replaced by "column" in all the statements above. For instance if has two identical columns, or a zero column; swapping two columns changes the sign.
Proposition (cofactor expansion, Laplace). Let with cofactors . Then for every (expansion along the -th row)
and for every (expansion along the -th column)
(The source gives no proof.)
Example. Let . Expand along the second row (, , ):
With and :
The choice of the row is arbitrary and the result is the same for any other row or column; the zero entry simplifies the computation (choose the row or column with the most zeros). Check with Sarrus' rule: .
5. Worked exercises
Squares equal to the identity. If is a square matrix with , then . Indeed by the product formula , while . So and, since , or .
Rotation matrices. For : . So every rotation matrix has determinant , and in particular is invertible (area and orientation are preserved).
Zero row and equal rows. A matrix with a zero row, or with two equal rows, has determinant , hence is not invertible (its rows are linearly dependent).
Versione ripasso
. . For columns : = area of the parallelogram spanned by ; the sign records orientation. Swapping two rows or columns changes the sign.
Characterization (unique function). (1) ; (2) swapping two rows gives ; (3) linear in each row: .
Consequences. Zero row ; two equal rows (since ); scaling a row by multiplies by ; adding a multiple of a row to another leaves unchanged; swap gives a sign. Method: reduce to echelon form and track the factors (example: ).
Small sizes. : . Sarrus ( only): . For and larger use row reduction or cofactor expansion.
Invertibility. invertible . Then , with and cofactors (: delete row and column ). In the case . Reason: row reduction never multiplies a row by , and the reduced form is either () or has a zero row (). See Matrices and Change of BasisEvery linear map between finite-dimensional spaces is described by a matrix once bases are chosen, composition of maps corresponds to the matrix product, invertible matrices are those reducible to the identity, and a change of basis conjugates the matrix by the base change matrix.Matrices and Change of Basis → for the other criteria (independent rows or columns, rank ).
Further properties.
- Product formula: , so although . Not additive: in general.
- Triangular (upper or lower) matrices: = product of the diagonal entries.
- , so everything holds for columns too.
- Cofactor expansion along any row or column : ; choose the row or column with the most zeros. Example: .
- ; every rotation matrix has .
Typical mistakes. Applying Sarrus' rule to matrices; forgetting the factor when a row is scaled (and forgetting the sign after a swap); forgetting the checkerboard signs in cofactors; assuming ; using the adjugate without transposing the cofactor matrix.