Euler Hall — free maths guides

Read the determinant as the product of the pivots in U

Compute det A as the product of the pivots U produces. 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 to an upper triangularUU using only row additions. Then

det⁡A=(−1)#row exchanges×(product of the pivots).\det A=(-1)^{\#\text{row exchanges}}\times(\text{product of the pivots}).

That is the whole rule. Multiplication, not addition, and a minus sign for every row exchange.

It is true, and it is not a coincidence

Three facts, applied in order.

1. A triangular determinant is the product of its diagonal. Expand along the first row: every term except the diagonal one contains a zero from below. Repeat, and the only surviving term is the product of the diagonal entries.

2. Adding a multiple of one row to another leaves the determinant unchanged. The determinant is linear in one row at a time, so

, and the second determinant is zero because two rows are equal.

3. Exchange two rows and the sign flips, because the sign of every term in the big formula is the parity of its permutation and one swap reverses all of them.

Elimination uses only operations 2 and 3. Sodet⁡A\det A equalsdet⁡U\det U up to the(−1)#swaps(-1)^{\#\text{swaps}} factor — anddet⁡U\det U is the pivot product by fact 1.

Worked, with the arithmetic checked

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

R2←R2−2R1R_2\leftarrow R_2-2R_1 gives row 2 as(0,1,1)(0,1,1). ThenR3←R3−2R2R_3\leftarrow R_3-2R_2 gives row 3 as(0,0,3)(0,0,3). No exchange. The pivots are2,1,32,1,3:

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

Cross-check by cofactors along row 1:

Notice that the pivots summed give66 too — here only. Sum the pivots of a matrix with pivots3,3,33,3,3 and you get99 against a determinant of2727. Multiply, always.

By the end you can
  • Compute det A as the product of the pivots U produces
  • Track the sign from the number of row exchanges
  • Predict how scaling A scales its determinant
Test yourself

A4×44\times4 elimination needs two row exchanges and produces pivots3, 12, −2, 53,\ \tfrac12,\ -2,\ 5. What isdet⁡A\det A?

Answer

(−1)2⋅3⋅12⋅(−2)⋅5=1⋅(−15)=−15(-1)^2\cdot 3\cdot\tfrac12\cdot(-2)\cdot 5=1\cdot(-15)=-15.

Two exchanges give+1+1, so the sign is unchanged. The product is3⋅12=1.53\cdot\tfrac12=1.5, then×(−2)=−3\times(-2)=-3, then×5=−15\times5=-15.

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