| 5 | 6 |
| 8 | 9 |
Remove row 1 and column 1. ei - fh = -3, so the first contribution is 1 x (5 x 9 - 6 x 8) = -3.
MATH / LINEAR ALGEBRA
Calculate a three-by-three determinant by cofactor expansion along the first row. Review the equation, substituted values, result context, and modelling limits in one guided workspace.
COFACTOR AUDIT / SINGULARITY CHECK
This explainer follows the same first-row expansion used by the calculator. With the default matrix [[1, 2, 3], [4, 5, 6], [7, 8, 9]], the signed terms are 1 x (5 x 9 - 6 x 8) = -3, -2 x (4 x 9 - 6 x 7) = 12, and 3 x (4 x 8 - 5 x 7) = -9, so the full expansion becomes -3 + 12 - 9 = 0. That zero result is not random: the third column (3, 6, 9) can be rebuilt from the first two as (3, 6, 9) = 2 x (2, 5, 8) - (1, 4, 7), so the matrix is singular.
Worked default example
Enter the nine real-number entries in row order: a b c across the top row, d e f across the middle row, and g h i across the bottom row. The result card reports one signed scalar. A nonzero determinant means the rows and columns stay independent; zero means the matrix collapses into a dependent case.
Nirmion expands det(A) along the first row as a(ei-fh) - b(di-fg) + c(dh-eg). In the default example, the middle term changes sign, so the positive contribution offsets the two negative terms and produces 0. The visual keeps each 2x2 minor separate so you can audit where that cancellation comes from before reusing the result in Cramer's Rule or inverse work.
This page treats all nine entries as real scalars and stops at the determinant itself. It does not row-reduce the matrix, solve a full 3x3 system, compute an inverse, preserve symbolic fractions, or diagnose numerical instability near zero. If your entries are measured values, the sign and zero or nonzero status are often more reliable than over-rounded decimals.
The linked OpenStax section shows how 3x3 determinants are expanded inside Cramer's Rule. Use it when you want the textbook determinant layout behind the calculator's first-row workflow.
Read OpenStax on 3x3 determinants and Cramer's RuleFirst-row cofactor audit for the default 3x3 matrix
A highlighted 3x3 matrix with its first row marked, three 2x2 minors for a, b, and c, the signed expansion -3 + 12 - 9 = 0, and the column relation (3, 6, 9) = 2 x (2, 5, 8) - (1, 4, 7) that explains the zero determinant.
| 1 | 2 | 3 |
| 4 | 5 | 6 |
| 7 | 8 | 9 |
The calculator removes row 1 and one column at a time, then applies the alternating plus, minus, plus signs across a, b, and c.
| 5 | 6 |
| 8 | 9 |
Remove row 1 and column 1. ei - fh = -3, so the first contribution is 1 x (5 x 9 - 6 x 8) = -3.
| 4 | 6 |
| 7 | 9 |
Remove row 1 and column 2. di - fg = -6, then the middle sign flips the contribution to -2 x (4 x 9 - 6 x 7) = 12.
| 4 | 5 |
| 7 | 8 |
Remove row 1 and column 3. dh - eg = -3, so the third contribution is 3 x (4 x 8 - 5 x 7) = -9.
Three signed contributions collapse to one determinant: 0.
Because one column is a linear combination of the others, the 3x3 volume scale drops to zero and the matrix becomes singular.
CONTINUE THE MATRIX WORKFLOW
COMMON QUESTIONS
It means the rows or columns are linearly dependent, so the matrix is singular. In the default example the columns satisfy (3, 6, 9) = 2 x (2, 5, 8) - (1, 4, 7), which is why det(A) returns 0 instead of a nonzero volume scale.
Read the matrix row by row: a b c on the top row, d e f in the middle, and g h i on the bottom. The calculator then expands along that first row as a(ei-fh) - b(di-fg) + c(dh-eg).
No. It only returns the determinant and the worked substitution behind it. Use the determinant as a gate: nonzero means an inverse or Cramer's Rule step may exist, while zero means you need a dependence-aware method instead.
Use boundary
Calculate a three-by-three determinant by cofactor expansion along the first row. The page evaluates the displayed equation from your supplied values and presents both symbolic and substituted KaTeX working so the arithmetic can be checked.
det(A) = a(ei-fh)-b(di-fg)+c(dh-eg)