Change the sign of a determinant when two rows are exchanged
Predict the determinant after one row exchange. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
If you exchange two rows of a matrix, the determinant is multiplied by.
Same four numbers, different rows, opposite sign.
Which gives you the counting rule immediately:
- - 1 exchange: multiplied by.
- - 2 exchanges: multiplied by, i.e. back to the original.
- - 3 exchanges: multiplied by again.
In general.
And one consequence worth remembering in its own right: a matrix with two equal rows has determinant zero. Exchange them and the matrix does not change, so its determinant would have to equal its own negative — and the only such number is.
The definition is a sum over orderings of the columns. Take one term: it multiplies and carries the sign of.
Now exchange rows and. The same set of products is still available, but the entry that was in row is now in row and vice versa. So the ordering that was used for the product has had and swapped — a single transposition.
A transposition changes the parity of an ordering. That is the one fact this rule rests on, and it is easy to see: swapping two items changes the count of inversions by an odd amount, always. So every even ordering became odd and every odd ordering became even.
Every term therefore flips its sign. And a sum of terms that have all flipped is the negative of the original sum.
Two exchanges compose two transpositions, restoring every parity, and the determinant comes back. That is why the rule is rather than a fresh rule per exchange.
Problem. has. Let be with rows 1 and 3 exchanged. Compute without expanding.
Solution. One exchange, so.
Check by expanding.. Row 1 has a zero, so expand along it, signs:
- Predict the determinant after one row exchange
- Track the sign through several row operations at once
- Explain the sign change from the parity of the column ordering
- 1.. Exchange rows 1 and 2, then rows 2 and 3. What is the determinant now?
- 2.. Multiply row 1 by. What is the determinant?
- 3. Why must a matrix with two equal rows have determinant zero?
- 4. A reduction uses 3 exchanges and 4 row additions. The triangular form has pivots. What is?
Answers
- 1. Two exchanges, so. Unchanged.
- 2.. One scaling by, no exchanges.
- 3. Exchanging the two equal rows leaves the matrix unchanged, so its determinant satisfies, hence.
- 4.. Additions contribute nothing.