Euler Hall — free maths guides

Recognize when elimination cannot produce a pivot

Detect a column with no pivot at or below the pivot position. 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

Sometimes a column has no pivot to be found: the entry in the pivot position is zero, and every entry below it is zero too. No exchange can help, because there is nothing nonzero in that column to bring up.

When that happens, leave the column alone and move to the next one. The column that gets no pivot is called free, and its variable is free to be anything.

Column 2 has nothing to pivot on: its entries are3,0,03,0,0 below the first row. So it is free, and the matrix has22 pivots instead of33.

The number of pivots is the rank. Losing one pivot means the columns are dependent — here column 2 is exactly32\tfrac32 of column 1.

Why a full column of zeros costs exactly one pivot

Elimination works left to right. In each column it takes the top surviving entry as the pivot and clears everything below it. A column with no nonzero entry in any surviving row cannot do that step, and the only honest response is to move on: the row index that tracks "which row is next" does not advance.

So each such column costs exactly one pivot. That is why, for a matrix withnn columns,

free variables=n−pivots=n−rank⁡A.\text{free variables} = n - \text{pivots} = n - \operatorname{rank}A.

And why dependent columns are exactly what a lost pivot detects: if column 2 is a multiple of column 1, then after column 1 is cleared, every entry of column 2 below the pivot has also been cleared — the dependence travels with the row operations, because a row operation applies the same combination to every column.

Worked example, in the exam's shape

Decide the fate of [122124523674].\left[\begin{array}{ccc|c}1&2&2&1\\2&4&5&2\\3&6&7&4\end{array}\right].

Column 1. Pivot11. Clear below:R2→R2−2R1R_2\to R_2-2R_1 andR3→R3−3R1R_3\to R_3-3R_1: [122100100011].\left[\begin{array}{ccc|c}1&2&2&1\\0&0&1&0\\0&0&1&1\end{array}\right].

Column 2. The entries at and below the pivot position are0,0,00,0,0. No exchange can help. Column 2 is free; move on.

Column 3. Pivot11 in row 2. Clear below,R3→R3−R2R_3\to R_3-R_2: [122100100001].\left[\begin{array}{ccc|c}1&2&2&1\\0&0&1&0\\0&0&0&1\end{array}\right].

Last row:0=10=1. No solution.

Two pivots, sorank⁡A=2\operatorname{rank}A=2 and the columns are dependent — column 2 is2×2\times column 1. But the verdict on solvability came from the last row, not from the pivot count.

For contrast, with right side(1,2,3)(1,2,3) the same elimination ends at(0,0,0∣0)(0,0,0\mid0), and thenyy is free and there are infinitely many solutions:x=1−2yx=1-2y,z=0z=0,yy arbitrary.

By the end you can
  • Detect a column with no pivot at or below the pivot position
  • Read the rank off the number of pivots that survive
  • Distinguish 'fewer pivots' from 'no solution' and say what decides each
Check yourself
  1. 1. A4×44\times4 matrix has rank33. How many pivots, and how many free variables?
  2. 2. A3×53\times5 matrix has rank33. How many free variables?
  3. 3.A=[1224]A=\begin{bmatrix}1&2\\2&4\end{bmatrix},b=(3,7)\mathbf{b}=(3,7). Solvable?
  4. 4.A=[1224]A=\begin{bmatrix}1&2\\2&4\end{bmatrix},b=(3,6)\mathbf{b}=(3,6). How many solutions?
  5. 5. Why can no exchange repair a column whose entries are all zero at and below the pivot position?
Answers

1. Three pivots, one free variable. 2. Two free variables:5−3=25-3=2. 3. No. Row 2 minus twice row 1 gives(0∣1)(0\mid1). 4. Infinitely many: row 2 minus twice row 1 gives(0∣0)(0\mid0), soyy is free andx=3−2yx=3-2y. 5. An exchange only moves existing entries. If every candidate is zero, whichever one you move up is still zero, so no pivot exists in that column.

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