Multiply the two diagonals in the correct order and subtract. A determinant of zero signals a singular two-by-two matrix.
Where this helps
Solving linear systems and understanding matrix transformations.
Before you start
Try the examples to see what you’ll practice. Check the answer form and any stated conditions.
Explainers
Subtract the diagonal products
For A = [[2, 1], [3, 6]]:
det(A) = 2 × 6 − 1 × 3 = 9.
For rows (a, b) and (c, d), the rule is det(A) = ad − bc. Multiply down the main diagonal, then subtract the other diagonal’s product. Keep each entry’s sign when multiplying. The determinant can be negative or zero.