Cofactor Expansion Calculator
Evaluate a 3×3 determinant by Laplace expansion and inspect every first-row minor, cofactor, and product.
About cofactor expansion
Cofactor expansion examples
These matrices demonstrate general, diagonal, and singular determinants.
| Matrix rows | Determinant | Expansion insight |
|---|---|---|
| [1 2 3], [0 1 4], [5 6 0] | 1 | The signed first-row cofactors are -24, 20, and -5. |
| [2 0 0], [0 3 0], [0 0 4] | 24 | Only the first expansion product is nonzero. |
| [1 2 3], [2 4 6], [0 1 1] | 0 | The second row depends on the first, so the matrix is singular. |
How to use cofactor expansion
- Enter the nine matrix values row by row.
- Select Calculate Cofactor Expansion.
- Review the three 2×2 minors and their alternating signed cofactors.
- Add the displayed expansion products to verify the determinant.
Cofactor expansion FAQ
What is the difference between a minor and a cofactor?
A minor is the determinant left after deleting one row and column. A cofactor is that minor multiplied by its checkerboard sign.
Can I expand along another row or column?
Yes, every complete row or column expansion produces the same determinant. Choosing one with several zeros usually reduces the arithmetic.
Why do cofactor signs alternate?
The sign at row i and column j is determined by whether i plus j is even or odd. This checkerboard pattern preserves determinant orientation and antisymmetry.
What does a zero determinant mean?
A zero determinant means the matrix is singular and has no inverse. Its rows or columns contain a linear dependency.
Does the calculator accept decimals?
Yes, every cell accepts integer or decimal values. Results are calculated with double-precision arithmetic and rounded only for display.