Euler Hall — free maths guides

Decide whether a zero pivot is repaired by a row exchange

Look below a zero pivot for a nonzero entry, exchange, and continue. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

In plain words

Elimination clears a column using a pivot — the entry it divides by. That division is the only thing in the whole procedure that can fail, and it fails for one reason: the pivot position holds a zero.

When it does, do not panic and do not divide. Look straight down the column. If some entry below the zero is nonzero, exchange its row with the pivot row and carry on. The equation order changes; the equations do not.

The first pivot is now33. Nothing about the problem changed.

If every entry below the zero is also zero, no exchange can help. That column gets no pivot at all — it is a different situation with a different name, and it belongs to the next skill.

Why looking down the column is the right move

A pivot's only job is to be divided by. Elimination clears the entries below the pivot by computing

ℓij=aijpivot\ell_{ij}=\frac{a_{ij}}{\text{pivot}}

so a zero pivot makes every one of those divisions impossible — the entry below it can never be cleared, and the column below the pivot never becomes zero.

An exchange does not change which numbers exist; it changes which of them sits in the pivot position. So the question "can this zero be repaired?" is exactly "is there a nonzero entry lower in this column?", and an exchange is a way of choosing one. It is the only row operation that can move a value into the pivot position without changing the equations.

Two things this rules out. Multiplying the row by a nonzero constant leaves the zero a zero — it is a legal step, but it repairs nothing. Writing a11 in place of the zero is not a row operation at all; it changes the matrix.

Worked example, in the exam's shape

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

Column 1. The pivot position(1,1)(1,1) holds00. Look down: the entries below are44 and22. Both are nonzero, so either could come up; the textbook rule takes the first, row 2.

Column 1, continued. The pivot is44. Clear the entry below it:ℓ31=24=12\ell_{31}=\frac{2}{4}=\frac12,

Column 2. The pivot is22 and the entry below it is92\frac92:ℓ32=9/22=94\ell_{32}=\frac{9/2}{2}=\frac94,

Three nonzero pivots4, 2, −1544,\ 2,\ -\frac{15}{4}, soAA is invertible.

Check the third pivot independently, by the determinant of the original matrix: expanding along row 1 ofAA gives 0⋅(1⋅0−5⋅3)−2⋅(4⋅0−2⋅3)+1⋅(4⋅5−2⋅1)=0−2(−6)+18=30.0\cdot(1\cdot0-5\cdot3)-2\cdot(4\cdot0-2\cdot3)+1\cdot(4\cdot5-2\cdot1)=0-2(-6)+18=30. Elimination's pivot product is4⋅2⋅(−154)=−304\cdot2\cdot(-\frac{15}{4})=-30, and the two differ by exactly the sign of the row exchange that was made. ✓

By the end you can
  • Look below a zero pivot for a nonzero entry, exchange, and continue
  • Name the entry that becomes the first pivot after the exchange
  • Say why an exchange leaves the solution set unchanged
Check yourself
  1. 1.A=[0421]A=\begin{bmatrix}0&4\\2&1\end{bmatrix}. Which exchange makes elimination possible, and what is the first pivot?
  2. 2.B=[0103]B=\begin{bmatrix}0&1\\0&3\end{bmatrix}. Which exchange makes elimination possible?
  3. 3. Why is multiplying a row by a nonzero number useless as a repair here?
  4. 4. Does an exchange change an answer todet⁡A\det A? If so, how?
  5. 5. After an exchange, which row does elimination never change again?
Answers
  1. 1.R1↔R2R_1\leftrightarrow R_2, first pivot22.
  2. 2. None. Both entries in column 1 are zero, so no exchange puts a nonzero value there. This is the unrecoverable case, and it is the next skill.
  3. 3. A nonzero multiple of zero is still zero, so the pivot stays zero. The step is legal and irrelevant to the problem.
  4. 4. Yes — it flips the sign. That is why the pivot product of the exchanged matrix differed fromdet⁡A\det A by−- in the worked example above.
  5. 5. The first row. It is the pivot row for all of column 1 and nothing rewrites it.
Work out where to start — free, no accountAnswer six real questions — free, no account