[Math] Swapping rows in matrix determinant

determinantmatrices

matrix image

can I directly swap row.1 with row.n and put a negative in front of the determinant or do I need to go n to n-1, then n-1 to n-2 while multiplying by -1 each time?

Best Answer

You may swap any two rows, and the determinant will change in sign.

You could also attain a swap between row $i$ and row $j$ like so:

  1. Replace row $j$ with row $i$ plus row $j$ -- no change in determinant
  2. Multiply row $i$ by $-1$ -- determinant has been negated
  3. Replace row $i$ with row $i$ plus row $j$ -- no additional change in determinant
  4. Replace row $j$ with row $j$ minus row $i$ -- no additional change in determinant
Related Question