Compute the determinant of a 3x3 matrix by reducing it to upper
triangular form using row elimination. The determinant equals the
product of the diagonal entries of the triangular result. Each
elimination step shows the pivot, multiplier, and updated row.
The answer is reconciled with the cofactor-expansion result for the
same matrix.
Example
Reduce to triangular form and multiply the diagonal entries.
highlighted = computed this step
Step 1 — Set up
Start with the given matrix data.
A=201130−124
Step 2 — Update row 3
Update row 3 using row 1: R3 <- R3 - 1/2*R1.
A=20013-1/2−129/2
Step 3 — Update row 3
Update row 3 using row 2: R3 <- R3 + 1/6*R2.
A=200130−1229/6
Step 4 — Diagonal product
Multiply the diagonal entries: 2 * 3 * 29/6 = 29.
A=200130−12629,2⋅3⋅629=29
Step 5 — Result
Read the determinant: det = 29.
A=200130−12629,det=29,det(A)=29
row reduction and detElementary row operations (add a multiple of one row to another) do not change the determinant. Reducing A to upper triangular form U gives det(A) = u_11 * u_22 * u_33.