Find the determinant of this matrix.
The determinant is not , so the matrix has an inverse.
Say what the determinant measures
A formula for the determinant can be memorised in a minute and forgotten in a week. What stays is knowing what the number MEANS, because the meaning explains every rule about it: why a swap flips its sign, why a zero determinant means no inverse, why it multiplies when matrices multiply.
Expand along the first row
A determinant is built from three ones, which we already know how to do. Each entry of the first row is paired with the small determinant left when its own row and column are struck out. The signs alternate ; they are not decoration: they are what makes the answer flip sign when two rows are swapped, as any measure of orientation must.
Strike out row and column . What is left is , and its determinant is:
Strike out row and column . What is left is , and its determinant is:
Strike out row and column . What is left is , and its determinant is:
Combine the three pieces with their signs
Each first-row entry multiplies its own small determinant, and the middle term carries a minus sign. This is the step where most slips happen, because two minus signs often meet: the pattern's minus and a negative entry or a negative small determinant. So we write every sign out.
Check by a completely different method: reduce to a triangle
The expansion had a dozen small multiplications and several sign decisions. A second method that shares none of them is the honest way to check it. For a triangular matrix (zeros below the diagonal) the determinant is simply the product of the diagonal, so we row reduce to a triangle, keeping track of what each move does to the determinant.
Pivot 1: column 1, row 1
We work one column at a time, left to right. The goal for a column is zeros BELOW its pivot; the pivot itself may be any number that is not zero. We deliberately never multiply a row by a number here, because that would multiply the determinant too. The two moves we do use have the simplest possible effect on a determinant: a swap flips its sign, and adding a multiple of one row to another leaves it untouched.
Replace row 3 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Pivot 2: column 2, row 2
The same job for the next column. Working left to right matters: the rows we use now already have zeros in the earlier pivot columns, so clearing this column cannot spoil the columns already finished. That is why the method never has to go back.
Replace row 3 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Pivot 3: column 3, row 3
The same job for the next column. Working left to right matters: the rows we use now already have zeros in the earlier pivot columns, so clearing this column cannot spoil the columns already finished. That is why the method never has to go back.
The pivot is already and the rest of its column is already zero, so there is nothing to do for this column.
Multiply down the diagonal
Below the diagonal everything is now zero, so in the expansion of this determinant every product except the one down the diagonal contains a zero and vanishes. All that remains is to multiply the diagonal and account for the row swaps we made on the way.
We made no row swaps, so the sign is unchanged and the determinant is .