Matrix determinant calculator
Determinant of a 2 × 2 or 3 × 3 matrix, expanded step by step.
-59
- |A| = a(ei − fh) − b(di − fg) + c(dh − eg)
- = 2(-2) − 1(-5) + 3(-20)
- = -59
- The determinant is not 0, so A has an inverse.
How it works
For [[a, b], [c, d]] the determinant is ad − bc. A 3 × 3 determinant is expanded along the first row using 2 × 2 minors.
If the determinant is 0, the matrix has no inverse.
Worked example
With Matrix rows = 2 1 3; 0 4 1; 5 2 0:
- |A| = a(ei − fh) − b(di − fg) + c(dh − eg)
- = 2(-2) − 1(-5) + 3(-20)
- = -59
- The determinant is not 0, so A has an inverse.
Answer: -59
Questions
- What does a zero determinant mean?
- The rows are dependent: one row can be made from the others. Geometrically, the matrix squashes space flat.
Learn the method properly
The chapter behind this tool, with animations, an experiment and an AI tutor who checks each step you write.
Open the chapter