Determinant via Row Reduction
Reduce a matrix to upper-triangular form, then combine its diagonal product with the sign from row swaps.
Eliminate below the diagonal
Row replacement does not change the determinant. Once the matrix is upper triangular, multiply the diagonal entries to get 29.
det([[2, 1, −1], [0, 3, 2], [1, 0, 4]])Count the row swap sign
A zero pivot requires a row exchange. Each exchange multiplies the determinant by −1, so apply that sign after the diagonal product.
det([[0, 2, 1], [1, 1, 0], [2, 1, 3]])Read a zero diagonal product
Dependent rows produce a zero row during elimination. A diagonal factor of zero makes the determinant zero without further calculation.
det([[1, 2, 1], [2, 4, 3], [3, 6, 4]])Practice
Practice: problems like this one, made and checked in your browser.
Recap
- Row replacement preserves the determinant.
- Each row swap reverses its sign.
- The determinant is the signed product of the upper-triangular diagonal.