The previous note defines determinants by cofactor expansion. That definition is correct, but it is not the way you want to compute every determinant by hand. The real power comes from combining determinants with row operations.
This note answers three questions:
- how does each elementary row operation affect the determinant;
- why does hold for square matrices;
- why is exactly the same as saying that is invertible.
Why row operations matter
Row reduction changes a matrix into a friendlier one. The determinant is useful only if we know precisely how much that friendly matrix differs from the original.
Theorem
How the three row operations change determinant
Let be a square matrix.
- If is obtained from by swapping two rows once, then
- If is obtained from by multiplying one row by a nonzero scalar , then
- If is obtained from by replacing one row with itself plus a multiple of another row, then
These are exact formulas, not rough heuristics. They are the bookkeeping rules that let elimination and determinants work together.
A row-reduction algorithm for determinants
Suppose you row-reduce a square matrix to an upper triangular matrix . Then:
- track how many row swaps you used;
- track every row-scaling factor you introduced;
- leave row-addition steps alone, because they do not change the determinant;
- read from the diagonal product.
Then undo the sign and scaling changes to recover .
Worked example
Evaluate a determinant by row reduction
Let
Apply row operations:
Only row-addition operations were used, so the determinant did not change during the reduction. The final matrix is upper triangular, so
Worked example
A row swap changes the sign
Let
Swap the two rows:
The new matrix is triangular, so its determinant is 4. Because one row swap
was used,
That agrees with the direct calculation:
Multiplicativity is the structural theorem
Theorem
Determinant of a product
If and are square matrices of the same size, then
This theorem is deeper than it first looks. Matrix multiplication is not commutative, and usually . Even so,
So determinants forget some of the order-sensitive detail of matrix multiplication while preserving a very important scalar invariant.
Proof
Why row-operation matrices lead to multiplicativity
Determinant and invertibility say the same thing
Theorem
Invertibility test by determinant
For a square matrix , the following are equivalent:
- is invertible.
- .
This turns determinants into a full invertibility test, not merely a numerical summary.
If a row-reduced form of has a zero row, then its determinant is 0, so
is not invertible. If row reduction reaches the identity matrix, then the
diagonal product is nonzero, so is invertible.
Theorem
Inverse and powers
If is invertible, then
More generally, for every positive integer m,
If is invertible, the same power rule remains true for negative integers as well.
Worked example
Find the parameter that makes a matrix singular
Let
Expand along the first column:
The first determinant is easiest by expanding along its second row:
The second determinant equals , so
Therefore is singular exactly when , that is,
A practical checklist for hand computation
When you compute a determinant by elimination, keep the following discipline.
- Use row-addition steps as freely as you like; they preserve the determinant.
- Delay row scaling unless it creates a major simplification, because each scaling factor must later be divided back out.
- Count row swaps carefully; each one flips the sign once.
- Stop as soon as you reach an upper triangular matrix or a zero row.
This is exactly the same kind of discipline you already use in solving linear systems. The difference is that the final goal is a scalar, not a solution vector.
Common mistake
Common mistake
Row-equivalent matrices do not usually have the same determinant
Students often remember that row-equivalent matrices describe the same solution set for a linear system and then incorrectly conclude that they must have the same determinant. That is false.
Only row-addition steps preserve the determinant. Row swaps change its sign, and row scaling multiplies it by the scaling factor.
Quick check
Quick check
If one row of A is multiplied by 5, what happens to ?
Use the row-scaling rule directly.
Solution
Answer
Quick check
If A has a zero row after row reduction, what can you conclude about ?
Think about the determinant of the echelon form first.
Solution
Answer
Quick check
Can a square matrix with determinant 0 be invertible?
Use the equivalence theorem.
Solution
Answer
Exercises
Quick check
Use row reduction to compute .
Try to avoid row scaling so the bookkeeping stays short.
Solution
Guided solution
Quick check
Suppose and for two matrices. What is ?
Use multiplicativity.
Solution
Guided solution
Quick check
If , what is ?
Assume A is invertible.
Solution
Guided solution
Related notes
Return to 7.1 Determinants and cofactor expansion if the basic definition still feels too symbolic.
Continue with 7.3 Transpose, column operations, and Cramer's rule to see the column viewpoint and the adjoint formula.
Keep 5.1 Invertible matrices in view, because this note upgrades that chapter with a determinant criterion.