Euler Hall — free maths guides

Compute a determinant by elimination

Name the effect of each row operation on the determinant. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

One sentence

Eliminate toUU, count the row exchanges, and multiply the pivots. Nothing else changes the determinant.

Two rules, and both are visible in the big formula

The determinant is a sum over permutations, and each term is a product ofnn entries with a sign from the permutation's parity.

- Addingcc times rowjj to rowii changes each term by adding a second term, and every added term contains two entries from the same row of the original matrix — so it is a term of a determinant with a repeated row, which is zero. The sum of added terms vanishes. - Exchanging two rows composes every permutation with one transposition, which flips the parity of every one of then!n! terms. So the whole sum changes sign.

Both facts are consequences of the same object, not extra rules to memorise.

Worked, with a check

A=[211433014].A=\begin{bmatrix}2&1&1\\ 4&3&3\\ 0&1&4\end{bmatrix}.

R2←R2−2R1R_2\leftarrow R_2-2R_1 gives(0,1,1)(0,1,1). ThenR3←R3−R2R_3\leftarrow R_3-R_2 gives(0,0,3)(0,0,3). Pivots2,1,32,1,3, no exchanges:

det⁡A=2⋅1⋅3=6.\det A=2\cdot1\cdot3=6.

Cross-check along row 1:2(12−3)−1(16−0)+1(4−0)=18−16+4=62(12-3)-1(16-0)+1(4-0)=18-16+4=6. ✓

By the end you can
  • Name the effect of each row operation on the determinant
  • Eliminate with row additions only, track forced exchanges, multiply the pivots
  • Check a determinant answer with one cofactor expansion
Test yourself

Elimination of a3×33\times3 needs one row exchange and gives pivots2, 4, 342,\ 4,\ \tfrac34. What isdet⁡A\det A?

Answer

(−1)1⋅2⋅4⋅34=−6(-1)^1\cdot2\cdot4\cdot\tfrac34=-6.

2⋅4=82\cdot4=8, then8⋅34=68\cdot\tfrac34=6, then the single exchange makes it−6-6.

Work out where to start — free, no accountAnswer six real questions — free, no account