Take the matrix with rows (a, b, c), (d, e, f) and (g, h, i).
- det = aei + bfg + cdh − ceg − bdi − afh
Write the first two columns again to the right of the matrix. The products along the three diagonals going down
to the right (aei, bfg, cdh) are added, and the three going down to the left (ceg, bdi, afh) are subtracted.
Enter the nine entries in the card above.
Sarrus’s rule works for 3×3 matrices only. For larger ones, expand along a row into 2×2
determinants.
Worked example
Rows (2, 0, 1), (3, 1, 4) and (1, 5, 2). The down-right products are 2·1·2 = 4, 0·4·1 = 0 and 1·3·5 = 15. The
down-left products are 1·1·1 = 1, 0·3·2 = 0 and 2·4·5 = 40:
- det = 4 + 0 + 15 − 1 − 0 − 40 = −22
A second example
Rows (−2, 2, −3), (−1, 1, 3) and (2, 0, −1): 2 + 12 + 0 − (−6) − 2 − 0 = 18. Expanding along the first row
gives the same: −2·(−1) − 2·(1 − 6) + (−3)·(−2) = 2 + 10 + 6.
Common mistakes
- Adding all six products. The three down-left products are subtracted. Adding them gives 60 in the first example.
- Using Sarrus on a 4×4. Extending the diagonals does not give the determinant there.
- Dropping a sign in a product. With negative entries, count the minus signs in each product before adding.
Frequently asked questions
What does a determinant of 0 mean?
The rows are linearly dependent, so the matrix has no inverse, and a system with this coefficient matrix has no
solution or infinitely many.
Where is it used?
In Cramer’s rule for three equations, and for the volume of the
parallelepiped spanned by the three rows.