Let
. Rather than applying our formula (sum over permutations), we're going to apply type I row operations to put this matrix into echelon form; this won't change the determinant, so we can take the determinant afterwards (at which point it will be the product of diagonal entries).
To clear the first column, we do
and
which gives:
To clear the
below the diagonal, we do
, giving:
This is in echelon form. Therefore
.
Example:
Let
. Let's clear the first column with
,
,
, yielding:
Now let's swap
:
The determinant just changed sign! We'll need to remember to stick an extra minus sign in at the end. To clear the final
below the diagonal, we do
:
which is now in echelon form.