Euler Hall — free maths guides

Leave a determinant unchanged when a multiple of one row is added to another

Identify which of the three row operations leaves the determinant unchanged. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

The one free row operation

There are three row operations, and each affects a determinant differently:

| Operation | Effect ondet⁡\det | |---|---| | exchange two rows | multiplies it by−1-1 | | multiply a row bycc | multiplies it bycc | | addcc times one row to a different row | nothing changes |

Only the third is free. Learn it as the reason elimination is allowed at all: every step of Gauss elimination except a row swap is a row addition, so the determinant of the reduced matrix is the determinant of the original — up to the swaps you had to make.

Why it is free, in one paragraph

A determinant is linear in one row at a time, with the other rows held still. That is the defining property, and it is why a determinant can be a sum of products at all.

So when you replace rowkk by(row k)+c (row i)(\text{row }k)+c\,(\text{row }i), the determinant splits into two:

det⁡[row k+c row i]=det⁡[row k]+cdet⁡[row i].\det\begin{bmatrix}\text{row }k+c\,\text{row }i\end{bmatrix}=\det\begin{bmatrix}\text{row }k\end{bmatrix}+c\det\begin{bmatrix}\text{row }i\end{bmatrix}.

In the second determinant, rowkk has been replaced by rowii — so the matrix now has two equal rows. A matrix with two equal rows has determinant zero, because exchanging them must flip the sign while leaving the matrix unchanged, and the only number equal to its own negative is zero.

The second term is thereforec⋅0=0c\cdot0=0, and only the original determinant remains. The addition is free because the price is a determinant with two equal rows, and that price is zero.

That is the entire proof. Every word of it is a consequence of the definition, and it is the reason the answer does not depend on whatcc is.

Complete worked example, in the paper's shape

Problem. LetA=[102311021]A=\begin{bmatrix}1&0&2\\ 3&1&1\\ 0&2&1\end{bmatrix} and letBB beAA with22 times row 3 subtracted from row 1. Computedet⁡B\det B without expanding the new matrix.

Solution. A row addition does not change the determinant, sodet⁡B=det⁡A\det B=\det A.

Computedet⁡A\det A by the cheapest line. Row 1 has a zero and column 2 has no zero, so take row 1, signs+,−,++,-,+:

det⁡A=1(1⋅1−1⋅2)−0⋅(⋯ )+2(3⋅2−1⋅0)=1(−1)+2(6)=11.\det A=1(1\cdot1-1\cdot2)-0\cdot(\cdots)+2(3\cdot2-1\cdot0)=1(-1)+2(6)=11.

Sodet⁡B=11\det B=11.

Check by computingBB directly.22 times row 3 is(0,4,2)(0,4,2), so subtracting it from row 1 givesB=[1−40311021]B=\begin{bmatrix}1&-4&0\\ 3&1&1\\ 0&2&1\end{bmatrix}. Expanding along row 1, whose third entry is now zero as well: det⁡B=1(1⋅1−1⋅2)−(−4)(3⋅1−1⋅0)+0=(−1)+4(3)=11.✓\det B=1(1\cdot1-1\cdot2)-(-4)(3\cdot1-1\cdot0)+0=(-1)+4(3)=11. \checkmark

Both routes give1111, and the point of the exercise is that the first route needs no new arithmetic at all.

By the end you can
  • Identify which of the three row operations leaves the determinant unchanged
  • Predict the determinant after a multiple of one row is added to a different row
  • Explain the change in terms of a determinant with two equal rows
Check yourself
  1. 1.A=[2153]A=\begin{bmatrix}2&1\\ 5&3\end{bmatrix}. FormBB by adding−2-2 times row 1 to row 2. What isdet⁡B\det B?
  2. 2. SameAA. FormCC by multiplying row 2 by−2-2. What isdet⁡C\det C?
  3. 3. Why is the price of a row addition a determinant with two equal rows?
  4. 4. A reduction uses 2 row exchanges, 5 row additions and no scalings. The triangular form has pivots1,3,21,3,2. What isdet⁡A\det A?
Answers
  1. 1. Unchanged.det⁡A=6−5=1\det A=6-5=1, andB=[2111]B=\begin{bmatrix}2&1\\ 1&1\end{bmatrix} has2−1=12-1=1. ✓
  2. 2.det⁡C=−2det⁡A=−2\det C=-2\det A=-2. Check:C=[21−10−6]C=\begin{bmatrix}2&1\\ -10&-6\end{bmatrix}, so−12+10=−2-12+10=-2. ✓
  3. 3. Because the addition splits the determinant into the original one plus a multiple of a determinant in which the replaced row has been swapped for the other row — and a matrix whose two rows are identical can be exchanged with itself for no change, so its determinant must be bothdd and−d-d, hence00.
  4. 4.det⁡A=(−1)2⋅(1⋅3⋅2)=6\det A=(-1)^2\cdot(1\cdot3\cdot2)=6. Exchanges only contribute the sign; additions contribute nothing at all.
Work out where to start — free, no accountAnswer six real questions — free, no account