What a Pivot Does
In Gaussian elimination, the pivot is the entry used to clear entries below it in the current column. For an \(n\times n\) matrix, the first pivot is the entry in position \((1,1)\). After clearing below it, the next pivot is the entry in position \((2,2)\) of the updated matrix, and the process continues down the diagonal. These are the pivots of the elimination process; after earlier row operations, they need not equal the original diagonal entries.
Suppose the current pivot is \(a_{kk}^{(k)}\), and the entry beneath it in row \(i\) is \(a_{ik}^{(k)}\). When the pivot is nonzero, the elimination multiplier is the quotient \(a_{ik}^{(k)}/a_{kk}^{(k)}\). Subtracting that multiple of row \(k\) from row \(i\) makes the entry in column \(k\) zero. This simple division explains two different concerns: a zero pivot makes that formula unavailable, while a nonzero but very small pivot can make the multiplier large.
These distinctions matter. A zero pivot can occur in a nonsingular matrix, and a small pivot does not, on its own, prove that elimination will be inaccurate. The exact obstruction and the numerical warning have different causes and should not be treated as the same diagnosis.
Why a Zero Pivot Can Block Elimination
Proof. Write \(c\) for the multiple of row \(k\) to subtract from row \(i\). The resulting entry in column \(k\) is \(a_{ik}^{(k)}-c\,a_{kk}^{(k)}\). If \(a_{kk}^{(k)}\ne0\), setting this expression to zero requires \(c=a_{ik}^{(k)}/a_{kk}^{(k)}\), and this value is unique. If \(a_{kk}^{(k)}=0\), the expression is \(a_{ik}^{(k)}\) for every \(c\). When \(a_{ik}^{(k)}\ne0\), it therefore cannot be made zero this way. \(\square\)
The zero-pivot obstruction is specifically about continuing the current column without changing rows. If the pivot is zero but every entry below it in that column is already zero, there is nothing to clear in that column. The zero diagonal entry is still important: it is not a nonzero pivot, and it may prevent a triangular solve from determining a unique solution. Do not label both situations as the same failed division; check whether there is a nonzero entry below the pivot.
Worked Example: A Zero Pivot in a Nonsingular Matrix
Consider \(\mathbf{A}=\begin{bmatrix}0&1\\1&0\end{bmatrix}\). Its first pivot is zero, while the entry directly below it is \(1\). The multiplier formula would require \(1/0\), so ordinary no-pivot elimination cannot clear the first column using the first row.
This obstruction does not mean that \(\mathbf{A}\) is singular. In fact, multiplication gives
Thus \(\mathbf{A}^{-1}=\mathbf{A}\), as is verified by the product. The matrix is invertible, even though this particular no-pivot elimination step is blocked. The correct conclusion is “the current elimination procedure cannot proceed as written,” not “the matrix is singular.”
There is another zero-pivot situation. If a pivot is zero and all entries below it in its column are zero, no elimination is needed in that column, but the zero diagonal entry can still matter when solving a triangular system. For example, a zero row produced by elimination may signal that the equations are dependent rather than inconsistent; what happens depends on the right-hand side as well as the matrix. The immediate diagnosis should describe the pivot and the entries beneath it, rather than jumping to a conclusion about every associated system.
Worked Example: A Later Zero Pivot with No Entry Below It
For \(\mathbf{B}=\begin{bmatrix}1&2\\2&4\end{bmatrix}\), the first pivot is \(1\), so the multiplier for row 2 is \(2/1=2\). Subtracting twice row 1 from row 2 gives
The second pivot is now zero, and there are no entries below it. The elimination has reached an upper-triangular matrix, but the diagonal is not all nonzero. The rows of the original matrix satisfy \((2,4)=2(1,2)\); equivalently, \(\mathbf{B}\begin{bmatrix}-2\\1\end{bmatrix}=\begin{bmatrix}0\\0\end{bmatrix}\). The nonzero vector in this check shows that the matrix does not have a unique solution for every right-hand side. It also confirms that the zero second pivot here accompanies dependent rows.
Check: Multiplying the displayed row operation out gives \((2,4)-2(1,2)=(0,0)\), exactly the second row shown. This example differs from the preceding one: there, the zero pivot had a nonzero entry below it and blocked the column elimination; here, the last zero pivot has nothing beneath it to clear.
Why a Small Pivot Raises a Numerical Warning
With a nonzero pivot, elimination is defined in exact arithmetic, however small that pivot is. But the multiplier is a quotient, so its size depends on both the entry being cleared and the pivot. If the pivot is tiny while an entry below it is not, the multiplier can be large. In finite-precision arithmetic, calculations involving large multipliers can magnify the effects of rounding. This is a reason to investigate a small pivot, not a proof that an answer will be inaccurate.
Proof. Since the pivot is nonzero, the multiplier is defined. Taking absolute values gives \(\left|a_{ik}^{(k)}/a_{kk}^{(k)}\right|=|a_{ik}^{(k)}|/|a_{kk}^{(k)}|\). The numerator is at least \(c\) and the positive denominator is at most \(\varepsilon\), so the quotient is at least \(c/\varepsilon\). \(\square\)
Worked Example: A Small Pivot Produces a Large Multiplier
Consider the exact matrix \(\mathbf{C}=\begin{bmatrix}\tfrac{1}{10000}&1\\1&1\end{bmatrix}\). Its first pivot is \(\tfrac{1}{10000}\), not zero. To clear the \(1\) below it, the multiplier is \(1/(\tfrac{1}{10000})=10000\). Subtracting \(10000\) times row 1 from row 2 gives
The updated second entry is \(1-10000(1)=-9999\). The multiplier is large because the entry being cleared is large relative to the pivot; this is the kind of situation that raises a numerical warning.
We can check the associated factorization directly. The elimination multiplier is the entry below the diagonal in \(\mathbf{L}\), and the resulting upper-triangular matrix is \(\mathbf{U}\):
Multiplying verifies the factorization exactly:
The large multiplier is an exact-arithmetic fact, not an arithmetic mistake. Whether it causes a significant error in a particular finite-precision computation depends on the data and the arithmetic; the pivot alone does not answer that question.
Small Relative to What?
A pivot's absolute size is not enough to assess a warning. The entries being processed also have a scale. For instance, \(\tfrac{1}{10000}\) is small compared with \(1\), as in \(\mathbf{C}\), where it leads to a multiplier of \(10000\). But a small pivot can occur without producing a large multiplier if the entries below it are also small or zero.
Worked Example: A Small Pivot with No Large Multiplier
Let \(\mathbf{D}=\begin{bmatrix}\tfrac{1}{10000}&0\\0&1\end{bmatrix}\). The first pivot is again \(\tfrac{1}{10000}\), but the entry below it is zero. The multiplier needed to clear that entry is \(0/(\tfrac{1}{10000})=0\), so the elimination step does not create a large multiplier. In fact, the matrix is already upper triangular and \(\mathbf{L}=\mathbf{I}_2\), \(\mathbf{U}=\mathbf{D}\).
Check: \(\mathbf{L}\mathbf{U}=\mathbf{I}_2\mathbf{D}=\mathbf{D}\). This example does not establish that every calculation involving \(\mathbf{D}\) is insensitive to rounding. It shows only that a small absolute pivot is not, by itself, evidence of a large elimination multiplier or of breakdown.
Scaling also changes the numerical meaning of an absolute threshold. Multiplying a row and its corresponding right-hand-side entry by a nonzero scalar leaves the set of solutions unchanged, but changes the magnitudes appearing in that row. Therefore, a rule such as “treat every pivot below a fixed number as bad” can give different warnings for differently scaled versions of the same equations. In practice, a small-pivot warning is assessed relative to the entries under consideration, with attention to how the system is scaled and to the precision of the computation.
Common Mistake: Treating Both Cases as the Same
Wrong calculation: In the matrix \(\mathbf{A}=\begin{bmatrix}0&1\\1&0\end{bmatrix}\), one might write the multiplier as \(1/0\) and continue as though this were an ordinary number, or conclude from the failed division that \(\mathbf{A}\) has no inverse. Neither step is valid. Division by zero is undefined, and the matrix is invertible, as the check \(\mathbf{A}^2=\mathbf{I}_2\) shows.
Correction: State what has actually failed: no-pivot elimination cannot clear the first column using the first row. Separately check invertibility or the behavior of the system; do not infer singularity merely from that blocked step. For a nonzero small pivot, use the actual multiplier formula and compare the resulting multiplier and pivot with the scale of the active entries. A numerical warning calls for care, not an automatic declaration of failure.
These checks keep three questions separate: Is the current pivot exactly zero? If so, is there a nonzero entry below it that the current row must clear? If the pivot is nonzero but small, does its size relative to the entries being eliminated create a large multiplier? Answering them in that order distinguishes an exact obstacle from a numerical concern without overclaiming what either one implies.
Check Your Understanding
For each question, identify the pivot and justify the conclusion from the entries shown.
- For \(\begin{bmatrix}0&2\\3&1\end{bmatrix}\), is the first pivot an exact obstruction to clearing the entry below it without changing rows? Explain.
- In \(\begin{bmatrix}1&2\\2&4\end{bmatrix}\), perform the first elimination step and state what the second pivot tells you about the resulting triangular matrix.
- If a pivot is \(\tfrac{1}{1000}\) and the entry below it is \(\tfrac{1}{10}\), calculate the elimination multiplier. Is the pivot zero?
- Give a reason an absolute “small pivot” cutoff can be misleading when equations have been rescaled.
- Explain why a small nonzero pivot is a numerical warning rather than an exact-arithmetic breakdown.