25. Properties of determinants

25. Properties of determinants

Recall that det ⁡ ( M ) = ∑ σ ∈ S n sgn ⁢ ( σ ) ⁢ M 1 ⁢ σ ⁢ ( 1 ) ⁢ M 2 ⁢ σ ⁢ ( 2 ) ⁢ ⋯ ⁢ M n ⁢ σ ⁢ ( n ) . We'll use this formula to prove some nice properties of the determinant.

Lemma:

If two rows coincide then det ⁡ ( M ) = 0 . For example det ⁡ ( 1 1 0 1 1 0 2 4 5 ) = 0 .

If row i and row j coincide then M i ⁢ k = M j ⁢ k for all k . Consider one of the terms sgn ⁢ ( σ ) ⁢ M 1 ⁢ σ ⁢ ( 1 ) ⁢ ⋯ ⁢ M i ⁢ σ ⁢ ( i ) ⁢ ⋯ ⁢ M j ⁢ σ ⁢ ( j ) ⁢ ⋯ ⁢ M n ⁢ σ ⁢ ( n ) in the determinant. Since M i ⁢ k = M j ⁢ k for all k , we have M i ⁢ σ ⁢ ( i ) = M j ⁢ σ ⁢ ( i ) , M j ⁢ σ ⁢ ( j ) = M i ⁢ σ ⁢ ( j ) . Therefore sgn ⁢ ( σ ) ⁢ M 1 ⁢ σ ⁢ ( 1 ) ⁢ ⋯ ⁢ M i ⁢ σ ⁢ ( i ) ⁢ ⋯ ⁢ M j ⁢ σ ⁢ ( j ) ⁢ ⋯ ⁢ M n ⁢ σ ⁢ ( n ) = sgn ⁢ ( σ ) ⁢ M 1 ⁢ σ ⁢ ( 1 ) ⁢ ⋯ ⁢ M i ⁢ σ ⁢ ( j ) ⁢ ⋯ ⁢ M j ⁢ σ ⁢ ( i ) ⁢ ⋯ ⁢ M n ⁢ σ ⁢ ( n ) This is another term in our determinant, corresponding to the permutation σ ′ , which is defined by σ ′ ⁢ ( i ) = σ ⁢ ( j ) , σ ′ ⁢ ( j ) = σ ⁢ ( i ) , σ ′ ⁢ ( k ) = σ ⁢ ( k ) ⁢  for all  ⁢ k ≠ i , j . In other words: M 1 ⁢ σ ⁢ ( 1 ) ⁢ ⋯ ⁢ M i ⁢ σ ⁢ ( j ) ⁢ ⋯ ⁢ M j ⁢ σ ⁢ ( i ) ⁢ ⋯ ⁢ M n ⁢ σ ⁢ ( n ) = M 1 ⁢ σ ′ ⁢ ( 1 ) ⁢ ⋯ ⁢ M i ⁢ σ ′ ⁢ ( i ) ⁢ ⋯ ⁢ M j ⁢ σ ′ ⁢ ( j ) ⁢ ⋯ ⁢ M n ⁢ σ ′ ⁢ ( n ) Since σ ′ differs from σ by a single transposition, sgn ⁢ ( σ ′ ) = - sgn ⁢ ( σ ) . Therefore these two terms contribute with opposite signs to det ⁡ ( M ) , and cancel out sgn ⁢ ( σ ) ⁢ M 1 ⁢ σ ⁢ ( 1 ) ⁢ ⋯ ⁢ M i ⁢ σ ⁢ ( j ) ⁢ ⋯ ⁢ M j ⁢ σ ⁢ ( i ) ⁢ ⋯ ⁢ M n ⁢ σ ⁢ ( n ) + sgn ⁢ ( σ ′ ) ⁢ M 1 ⁢ σ ′ ⁢ ( 1 ) ⁢ ⋯ ⁢ M i ⁢ σ ′ ⁢ ( j ) ⁢ ⋯ ⁢ M j ⁢ σ ′ ⁢ ( i ) ⁢ ⋯ ⁢ M n ⁢ σ ′ ⁢ ( n ) = 0 Therefore all terms cancel in pairs, and the determinant is zero.

Type I row operations

Lemma:

If M ′ is obtained from M by the row operation R i ↦ R i + λ ⁢ R j then det ⁡ ( M ′ ) = det ⁡ ( M ) .

We have det ⁡ ( M ′ ) = ∑ σ ∈ S n sgn ⁢ ( σ ) ⁢ M 1 ⁢ σ ⁢ ( 1 ) ′ ⁢ ⋯ ⁢ M i ⁢ σ ⁢ ( i ) ′ ⁢ ⋯ ⁢ M n ⁢ σ ⁢ ( n ) ′ = ∑ σ ∈ S n sgn ⁢ ( σ ) ⁢ M 1 ⁢ σ ⁢ ( 1 ) ⁢ ⋯ ⁢ ( M i ⁢ σ ⁢ ( i ) + λ ⁢ M j ⁢ σ ⁢ ( i ) ) ⁢ ⋯ ⁢ M n ⁢ σ ⁢ ( n ) = ∑ σ ∈ S n sgn ⁢ ( σ ) ⁢ M 1 ⁢ σ ⁢ ( 1 ) ⁢ ⋯ ⁢ M i ⁢ σ ⁢ ( i ) ⁢ ⋯ ⁢ M n ⁢ σ ⁢ ( n ) + λ ⁢ ∑ σ ∈ S n sgn ⁢ ( σ ) ⁢ M 1 ⁢ σ ⁢ ( 1 ) ⁢ ⋯ ⁢ M j ⁢ σ ⁢ ( i ) ⁢ ⋯ ⁢ M n ⁢ σ ⁢ ( n ) . The first term here is det ⁡ ( M ) . The second term is the determinant of the matrix obtained from M by replacing the i th row with the j th row; in other words, the j th row now appears twice. By the previous lemma, this second term vanishes, so det ⁡ ( M ′ ) = det ⁡ ( M ) .

We can put any matrix into echelon form using type I row operations without changing the determinant. Once you're in echelon form (since you're then upper triangular), the determinant is just the product of diagonal entries.

Type III row operations

Lemma:

If M ′ is obtained from M by switching two rows (say R i ↔ R j then det ⁡ ( M ′ ) = - det ⁡ ( M ) .

Every term in det ⁡ ( M ) has the form sgn ⁢ ( σ ) ⁢ M 1 ⁢ σ ⁢ ( 1 ) ′ ⁢ ⋯ ⁢ M i ⁢ σ ⁢ ( i ) ′ ⁢ ⋯ ⁢ M j ⁢ σ ⁢ ( j ) ′ ⁢ ⋯ ⁢ M n ⁢ σ ⁢ ( n ) ′ . Since M ′ and M are related by switching rows i and j , this is just sgn ⁢ ( σ ) ⁢ M 1 ⁢ σ ⁢ ( 1 ) ⁢ ⋯ ⁢ M i ⁢ σ ⁢ ( j ) ⁢ ⋯ ⁢ M j ⁢ σ ⁢ ( i ) ⁢ ⋯ ⁢ M n ⁢ σ ⁢ ( n ) , which is equal to sgn ⁢ ( σ ) ⁢ M 1 ⁢ σ ′ ⁢ ( 1 ) ⁢ ⋯ ⁢ M i ⁢ σ ′ ⁢ ( i ) ⁢ ⋯ ⁢ M j ⁢ σ ′ ⁢ ( j ) ⁢ ⋯ ⁢ M n ⁢ σ ′ ⁢ ( n ) , where σ ′ is (as before): σ ′ ⁢ ( i ) = σ ⁢ ( j ) , σ ′ ⁢ ( j ) = σ ⁢ ( i ) , σ ′ ⁢ ( k ) = σ ⁢ ( k ) ⁢  for all  ⁢ k ≠ i , j . Since sgn ⁢ ( σ ′ ) = - sgn ⁢ ( σ ) , this is equal to - sgn ⁢ ( σ ′ ) ⁢ M 1 ⁢ σ ′ ⁢ ( 1 ) ⁢ ⋯ ⁢ M i ⁢ σ ′ ⁢ ( i ) ⁢ ⋯ ⁢ M j ⁢ σ ′ ⁢ ( j ) ⁢ ⋯ ⁢ M n ⁢ σ ′ ⁢ ( n ) , so for every term in det ⁡ ( M ′ ) there's a corresponding term in det ⁡ ( M ) which differs only by a sign. Therefore det ⁡ ( M ′ ) = - det ⁡ ( M ) .

Type II row operations

Lemma:

If M ′ is obtained from M by R i ↦ λ ⁢ R i then det ⁡ ( M ′ ) = λ ⁢ det ⁡ ( M ) .

Exercise.