Euler Hall — free maths guides

Invert an elimination matrix by changing the sign of the multiplier

Write the inverse of an elimination matrix immediately by changing the sign of the multiplier. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

Undo the step by adding it back

An elimination matrixE21E_{21} that subtractsℓ\ell times row 1 from row 2 is undone by addingℓ\ell times row 1 back. So

The multiplier changes sign, and nothing else changes.

But not every elementary matrix works this way. A scaling matrixRi→cRiR_i\to cR_i is undone byRi→1cRiR_i\to\frac1cR_i, so its inverse takes the reciprocal, not the negative sign. Two kinds of matrix, two rules:

| operation | inverse | |---|---| |Ri→Ri−ℓRjR_i\to R_i-\ell R_j (subtract a multiple) | flip the sign:+ℓ+\ell | |Ri→cRiR_i\to cR_i (scale a row) | take the reciprocal:1/c1/c |

A permutation matrix is its own inverse, which is a third rule.

Why the sign flip is the honest explanation

The step does an addition: rowii becomes rowii plus(−ℓ)(-\ell) times rowjj. The opposite of adding−ℓ-\ell times rowjj is adding+ℓ+\ell times rowjj. Nothing is being divided; the operation is reversible by doing the same kind of operation with the negated input.

Compare what a scaling does: rowii is multiplied bycc. To undo a multiplication you divide bycc, so the inverse multiplies by1/c1/c. Two operations, two kinds of reversal — additive and multiplicative — and mixing them up is the commonest error here.

Why this matters beyond one step. Gauss-Jordan invertsAA by multiplying a chain of elementary matrices:Ek⋯E1A=IE_k\cdots E_1A=I, soA−1=Ek⋯E1A^{-1}=E_k\cdots E_1. Inverting the chain reverses the order and inverts each factor, and doing that by hand is easy exactly because each elementary inverse is a one-line edit. The inverse of an elimination matrix is free; the inverse of an arbitrary matrix is not.

A worked example in the exam's shape

FindE−1E^{-1} forE=[1000100−41]E=\begin{bmatrix}1&0&0\\0&1&0\\0&-4&1\end{bmatrix} and verify.

The non-identity entry is−4-4 in row 3, column 2, soEE performsR3→R3−4R2R_3\to R_3-4R_2. Inverting it adds44 times row 2 back, so the entry becomes+4+4:

E−1=[100010041].E^{-1}=\begin{bmatrix}1&0&0\\0&1&0\\0&4&1\end{bmatrix}.

Verify:

Row 3 of the product is−4⋅(row 2)+1⋅(row 3)-4\cdot(\text{row 2})+1\cdot(\text{row 3}) of the second factor:−4⋅(0,1,0)+(0,4,1)=(0,0,1)-4\cdot(0,1,0)+(0,4,1)=(0,0,1) ✓. The two multipliers cancel exactly, which is why flipping the sign is enough.

By the end you can
  • Write the inverse of an elimination matrix immediately by changing the sign of the multiplier
  • Tell a subtraction matrix from a scaling matrix and apply the right rule to each
Check yourself
  1. 1. InvertE=[100010−301]E=\begin{bmatrix}1&0&0\\0&1&0\\-3&0&1\end{bmatrix}.
  2. 2. InvertD=[2005]D=\begin{bmatrix}2&0\\0&5\end{bmatrix}. Which rule did you use?
  3. 3. Why does the sign flip work but the reciprocal not?
Answers

1.E−1=[100010301]E^{-1}=\begin{bmatrix}1&0&0\\0&1&0\\3&0&1\end{bmatrix} — sign flipped, slot unchanged. 2.D−1=[120015]\def\arraystretch{1.6}D^{-1}=\begin{bmatrix}\frac12&0\\0&\frac15\end{bmatrix}, by the reciprocal rule, becauseDD scales rather than subtracts. 3. Because the operation is additive: it adds a multiple of one row to another, and the opposite of adding is adding the negative. A reciprocal is the opposite of multiplying.

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