Choose one row or column. Multiply each entry in it by its checkerboard sign and by the determinant of what is left after deleting its row and column, then add. Zeros in the chosen line cost nothing.
| Step | On | |
|---|---|---|
| 1 | Pick the row or column with the most zeros. Every line gives the same answer; a column expansion works exactly like a row expansion. | column 2 has two zeros: only counts |
| 2 | Write the signs for that line. Position has sign : a checkerboard starting with at the top left. | column 2 signs ; position is |
| 3 | Find the minor of each nonzero entry. Delete the row and the column of the entry and take the determinant of what remains.The ad − bc formula ↗ | |
| 4 | Add entry times sign times minor. Sign times minor is the cofactor . |