Guide: Determinant Calculator
2×2 and 3×3
det [a b; c d] = ad − bc. For 3×3, the rule of Sarrus adds the three down-right diagonal products and subtracts the three down-left ones; it does not extend to 4×4.
Cofactor expansion and row reduction
Laplace expansion sums a_ij·(−1)^(i+j)·det(M_ij) along one row or column; choosing the line with the most zeros saves work. Row reduction to upper triangular form gives the determinant as the product of the diagonal, with one sign change per row swap.
Properties
det(Aᵀ) = det(A), det(AB) = det(A)·det(B) and det(kA) = kⁿ·det(A) for n×n matrices. A zero determinant means the matrix is singular and has no inverse.
Worked examples
- 2×2: det(A) — 2×2 det = −14
- 3×3 Sarrus: det(A) — 3×3 det = −9
- 4×4 cofactor expansion: det(A) — 4×4 det = 2
- Row reduction: det(A) — 4×4 det = 2
Frequently asked questions
Can I use Sarrus for a 4×4 matrix?
No. It is only valid for 3×3 matrices; use cofactor expansion or row reduction.
What does a zero determinant mean?
The rows are linearly dependent, the matrix has no inverse and A·x = b has either no solution or infinitely many.
How do row swaps affect the determinant?
Each swap changes the sign; adding a multiple of one row to another leaves it unchanged.
Related tools
Sources: OpenStax — College Algebra 2e, Systems of Equations and Matrices