Tutorials › Linear Algebra › Recognizing Inconsistency as Failed Span Membership

Span and the Column Space View · Tutorial 152 of 1000

Recognizing Inconsistency as Failed Span Membership

Use a contradictory row to recognize an inconsistent system and explain why its right-hand side is outside the column span.

Beginner 9 min read

What You'll Learn

  • Identify a contradictory row in a reduced augmented matrix.
  • Explain why that row rules out every solution.
  • Connect solvability of Ax = b to membership in the span of A’s columns.
  • Verify inconsistency directly from the original equations or column combinations.
  • Avoid mistaking a zero row in the coefficient matrix for a consistent system.

When a Target Cannot Be Made from the Columns

A system \(\mathbf{A}\mathbf{x}=\mathbf{b}\) asks whether some combination of the columns of \(\mathbf{A}\) equals the target vector \(\mathbf{b}\). Sometimes the equations expose an obstruction: one equation says that a certain quantity is zero, while the same system forces it to be nonzero. In row reduction, that conflict appears as a row of zeros in the coefficient part and a nonzero entry in the right-hand side.

Throughout, matrices and vectors have real entries. If \(\mathbf{A}\in\mathbb{R}^{m\times n}\), write its columns as \(\mathbf{a}_1,\dots,\mathbf{a}_n\). The span of these columns is the set of all their linear combinations:

$$ \operatorname{span}\{\mathbf{a}_1,\dots,\mathbf{a}_n\} = \{x_1\mathbf{a}_1+\cdots+x_n\mathbf{a}_n: x_1,\dots,x_n\in\mathbb{R}\}. $$

By the definition of matrix-vector multiplication, \(\mathbf{A}\mathbf{x}=x_1\mathbf{a}_1+\cdots+x_n\mathbf{a}_n\). Thus solving \(\mathbf{A}\mathbf{x}=\mathbf{b}\) means finding a combination of the columns equal to \(\mathbf{b}\). The system is consistent if it has at least one solution, and inconsistent if it has no solution.

Definition: A contradictory row in an augmented matrix \([\mathbf{A}\mid\mathbf{b}]\) is a row whose first \(n\) entries are all zero and whose final entry is nonzero. It represents an equation of the form \(0=c\), where \(c\ne0\).

A row such as \([0\quad 0\quad 0\mid 1]\) is not a solution with free variables. It asserts \(0=1\), which no choice of variables can satisfy. The key is to inspect the augmented matrix, including its final column: a zero row in the coefficient part alone does not tell us whether the system is consistent.

Reading the Contradiction in a Reduced Matrix

Row reduction is useful because elementary row operations preserve the solution set of an augmented system. Swapping two rows merely changes their order; multiplying a row by a nonzero number gives an equivalent equation; and adding a multiple of one row to another replaces an equation by an equivalent one when the other equation is retained. Each operation is reversible, so it does not add or remove solutions. The standard result that row operations preserve augmented-system solutions is proved in the later material on that subject.

Consequently, a contradiction found after row reduction was already present in the original system, even if its meaning was less visible there. Conversely, if the reduced system has no contradictory row, it is consistent: assign zero to each free variable and determine the pivot variables by working upward through the equations. A row with all coefficient entries zero must then have right-hand side zero; otherwise it would be a contradictory row.

Theorem: Let \(\mathbf{A}\in\mathbb{R}^{m\times n}\) and \(\mathbf{b}\in\mathbb{R}^m\). The system \(\mathbf{A}\mathbf{x}=\mathbf{b}\) is inconsistent if and only if the reduced row echelon form of \([\mathbf{A}\mid\mathbf{b}]\) contains a contradictory row. Equivalently, \(\mathbf{b}\notin\operatorname{span}\{\mathbf{a}_1,\dots,\mathbf{a}_n\}\).

Proof. First consider the reduced augmented matrix. If it contains a row \([0\ \cdots\ 0\mid c]\) with \(c\ne0\), the corresponding equation is \(0=c\), so the reduced system has no solution. Since row operations preserve the solution set, the original system has no solution either.

For the converse, suppose the reduced augmented matrix has no contradictory row. In each nonzero row, the first nonzero entry is a pivot in a coefficient column; a pivot in the augmented column would give a row whose coefficient entries are all zero and whose final entry is nonzero, contrary to the assumption. Assign zero to every variable in a nonpivot column. Starting from the last pivot row and working upward, choose each pivot variable to satisfy its row. Rows with all coefficient entries zero have right-hand side zero, since there is no contradictory row, so they impose no additional restriction. This constructs a solution. Therefore the original system is consistent. Finally, \(\mathbf{A}\mathbf{x}\) is a linear combination of the columns with coefficients given by \(\mathbf{x}\). Hence a solution exists exactly when \(\mathbf{b}\) is in their span, proving the equivalent statement. \(\square\)

The theorem is a test and an interpretation at once. The row certifies that no coefficients can produce the target, while the column-span statement describes the same failure without referring to a particular row reduction.

Worked Examples of Inconsistency

Worked Example: Two Equations Demand Different Values

Decide whether \(\mathbf{A}\mathbf{x}=\mathbf{b}\) is consistent for

$$ \mathbf{A}= \begin{bmatrix} 1&2\\ 2&4\\ 1&-1 \end{bmatrix}, \qquad \mathbf{b}= \begin{bmatrix} 1\\ 3\\ 0 \end{bmatrix}. $$

Augment the matrix and subtract twice the first row from the second. Then subtract the original first row from the third:

$$ \begin{bmatrix} 1&2&\mid&1\\ 2&4&\mid&3\\ 1&-1&\mid&0 \end{bmatrix} \ \xrightarrow{\ R_2\to R_2-2R_1\ }\ \begin{bmatrix} 1&2&\mid&1\\ 0&0&\mid&1\\ 1&-1&\mid&0 \end{bmatrix} \ \xrightarrow{\ R_3\to R_3-R_1\ }\ \begin{bmatrix} 1&2&\mid&1\\ 0&0&\mid&1\\ 0&-3&\mid&-1 \end{bmatrix}. $$

The second row says \(0=1\), so the system is inconsistent. To check the obstruction in the original equations, the first equation says \(x_1+2x_2=1\), while twice that equation would give \(2x_1+4x_2=2\). The second equation instead requires \(2x_1+4x_2=3\). The left sides agree after doubling the first equation, but the right sides do not. Thus no coefficient choice produces \(\mathbf{b}\) from the columns of \(\mathbf{A}\).

Worked Example: A Target Outside a Plane in R³

The columns of \(\mathbf{A}\) are \((1,0,1)^{\top}\) and \((0,1,1)^{\top}\). Test whether \(\mathbf{b}=(1,1,3)^{\top}\) lies in their span.

$$ \left[ \begin{array}{cc|c} 1&0&1\\ 0&1&1\\ 1&1&3 \end{array} \right] \ \xrightarrow{\ R_3\to R_3-R_1\ }\ \left[ \begin{array}{cc|c} 1&0&1\\ 0&1&1\\ 0&1&2 \end{array} \right] \ \xrightarrow{\ R_3\to R_3-R_2\ }\ \left[ \begin{array}{cc|c} 1&0&1\\ 0&1&1\\ 0&0&1 \end{array} \right]. $$

The last row is contradictory. Directly, if a combination of the columns equalled \(\mathbf{b}\), its first coordinate would force \(x_1=1\), and its second coordinate would force \(x_2=1\). The third coordinate of that combination would then be \(x_1+x_2=2\), not \(3\). So \(\mathbf{b}\) is outside the column span. This coordinate check confirms the conclusion without relying only on the row-reduced form.

Worked Example: More Variables Do Not Remove a Contradiction

Consider the system with three variables whose augmented matrix is

$$ \left[ \begin{array}{ccc|c} 1&1&1&1\\ 2&2&2&3 \end{array} \right] \ \xrightarrow{\ R_2\to R_2-2R_1\ }\ \left[ \begin{array}{ccc|c} 1&1&1&1\\ 0&0&0&1 \end{array} \right]. $$

The second row requires \(0=1\), so there are no values of the three variables that solve the system. In column-combination terms, the second row of \(\mathbf{A}\) is twice its first row. Every vector made from its columns must therefore have second coordinate twice its first coordinate. The target has first coordinate \(1\) and second coordinate \(3\), which do not satisfy that requirement. This verifies that the target lies outside the column span.

A Common Mistake: Dropping the Right-Hand Side

A frequent error is to reduce only \(\mathbf{A}\), then treat a zero row in the reduced coefficient matrix as proof that \(\mathbf{A}\mathbf{x}=\mathbf{b}\) is consistent. The conclusion does not follow: the same row operations must be applied to the right-hand side. For example, take \(\mathbf{A}=\begin{bmatrix}1&1\\2&2\end{bmatrix}\) and \(\mathbf{b}=\begin{bmatrix}1\\3\end{bmatrix}\). Reducing the coefficient matrix gives

$$ \begin{bmatrix} 1&1\\ 2&2 \end{bmatrix} \ \xrightarrow{\ R_2\to R_2-2R_1\ }\ \begin{bmatrix} 1&1\\ 0&0 \end{bmatrix}. $$

It would be wrong to conclude that the system is consistent just because the second row is zero: that calculation omitted the transformed right-hand side. Reducing the augmented matrix gives the correct calculation:

$$ \left[ \begin{array}{cc|c} 1&1&1\\ 2&2&3 \end{array} \right] \ \xrightarrow{\ R_2\to R_2-2R_1\ }\ \left[ \begin{array}{cc|c} 1&1&1\\ 0&0&1 \end{array} \right]. $$

The resulting equation \(0=1\) proves inconsistency. In the original system, the first equation gives \(x_1+x_2=1\), so twice its left side equals \(2\), whereas the second equation requires that doubled left side to equal \(3\). The augmented column records exactly this conflict.

Using the Test Carefully

When a reduced augmented matrix contains a contradictory row, it gives a conclusive negative answer: the system has no solution, and the target is not in the column span. The row itself need not appear at the bottom of an intermediate matrix; row operations can move it, and further reduction can put it in the final position. What matters is that its coefficient entries are all zero while its right-hand entry is nonzero.

Keep the two equivalent viewpoints distinct. The row-reduction viewpoint finds a contradiction in equations; the column-space viewpoint says no linear combination of the columns equals \(\mathbf{b}\). Neither says that the columns themselves are zero, nor does inconsistency mean there are “too few variables” in every case. The examples show that even a system with several variables can fail because its equations impose incompatible requirements.

Check Your Understanding

For each question, use the augmented system and explain what the result says about column-span membership.

  1. What does the row \([0\quad 0\quad 0\mid -4]\) say about the system’s solutions?
  2. Row-reduce \(\begin{bmatrix}1&2&\mid&2\\2&4&\mid&5\end{bmatrix}\). Is the right-hand side in the span of the columns?
  3. Explain why a zero row in the coefficient matrix alone is not enough to decide consistency.
  4. For columns \((1,0,2)^{\top}\) and \((0,1,1)^{\top}\), test whether \((1,1,4)^{\top}\) lies in their span. Show the coefficient comparison.
  5. State the relationship between consistency of \(\mathbf{A}\mathbf{x}=\mathbf{b}\) and membership of \(\mathbf{b}\) in the span of the columns of \(\mathbf{A}\).

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon