Tutorials › Linear Algebra › The Existence Criterion for Solutions

Row Reduction and Echelon Forms · Tutorial 40 of 1000

The Existence Criterion for Solutions

Learn to decide whether a linear system has a solution by checking its echelon form and, when it does, constructing a solution by back substitution.

Beginner 9 min read

What You'll Learn

  • Define consistency for a linear system over the real numbers.
  • Identify contradictory rows in an echelon form of an augmented matrix.
  • Prove that a contradictory row rules out every solution.
  • Construct a solution when no contradictory row occurs.
  • Use back substitution to verify existence in systems with free variables.
  • Avoid confusing a zero coefficient row with a contradictory row.

When Does a Linear System Have a Solution?

A system of linear equations is consistent if there is at least one choice of its unknowns that satisfies every equation. Row reduction makes this existence question visible: an equation whose coefficients are all zero can either impose no restriction, as in \(0=0\), or be impossible, as in \(0=1\). The important detail is the augmented entry on that row.

Consider a finite system with real unknowns \(x_1,\dots,x_n\). Write it as \(\mathbf{A}\mathbf{x}=\mathbf{b}\), where \(\mathbf{A}\in\mathbb{R}^{m\times n}\) is the coefficient matrix, \(\mathbf{x}\in\mathbb{R}^n\) is the column of unknowns, and \(\mathbf{b}\in\mathbb{R}^m\) is the column of right-hand sides. Its augmented matrix is \([\mathbf{A}\mid\mathbf{b}]\). An echelon form of this matrix is obtained using elementary row operations on the entire augmented matrix. Those operations preserve the solution set, so the original system and the system represented by the echelon form have exactly the same solutions.

Definition: A row of an augmented matrix is a contradictory row if all its entries in the coefficient columns are zero but its augmented entry is nonzero. It represents an equation \(0=c\), where \(c\ne0\). A system is consistent if it has at least one solution, and inconsistent if it has none.

The condition is about the coefficient columns, not about whether the whole row is zero. For example, \([0\;\;0\mid 0]\) represents \(0=0\), which every assignment satisfies. The row \([0\;\;0\mid 5]\) represents \(0=5\), which no assignment satisfies. An echelon form may contain either kind of row.

Why a Contradictory Row Rules Out Solutions

Proposition: If an echelon form of an augmented matrix contains a contradictory row, then the original system is inconsistent.

Proof. A contradictory row represents \(0=c\) for some \(c\ne0\). No values of the unknowns can satisfy this equation, since its left side is zero for every choice while its right side is nonzero. Thus the system represented by the echelon form has no solution. Elementary row operations preserve the solution set, so the original system has no solution either. \(\square\)

This direction is a direct obstruction: finding one contradictory row is enough to settle the question. If no such row appears, however, the absence of an obstruction alone does not yet exhibit a solution. We also need to show that the echelon equations can actually be satisfied.

Worked Example: A Contradictory Row

Determine whether the system \(x+2y=3\), \(2x+4y=7\) is consistent.

Its augmented matrix is \(\begin{bmatrix}1&2&3\\2&4&7\end{bmatrix}\). Replace the second row by itself minus twice the first row:

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

The second row says \(0x+0y=1\), or \(0=1\). It is contradictory, so the system is inconsistent. In the original equations, the second left side is twice the first left side, but its right side is not twice the first right side: \(7\ne2\cdot3\). This confirms the conflict.

Why No Contradictory Row Guarantees a Solution

In an echelon system with no contradictory row, every row whose coefficient entries are all zero must also have augmented entry zero. Such a row is \(0=0\) and imposes no restriction. Every other row has a leading nonzero coefficient, called its pivot; the pivot columns move to the right as we move down the nonzero rows.

Proposition: Suppose an augmented matrix is in echelon form and contains no contradictory row. Then the system it represents has at least one solution.

Proof. Let the system have \(n\) unknowns. If every coefficient row is zero, the absence of a contradictory row means every augmented entry is zero as well. The system consists only of equations \(0=0\), so choosing all unknowns to be zero gives a solution.

Otherwise, consider the nonzero coefficient rows, in order from top to bottom. Their pivot columns are strictly increasing. Set every variable in a nonpivot column equal to zero. Starting at the last nonzero coefficient row and working upward, solve each row for the variable in its pivot column. This is possible because the pivot coefficient is nonzero, and every other variable appearing to its right has already been assigned a value or solved for. If row \(i\) has pivot in column \(j_i\), set

$$ x_{j_i}= \frac{b_i-\sum_{j>j_i}a_{ij}x_j}{a_{i j_i}}. $$

The denominator is nonzero by the definition of a pivot. This choice makes row \(i\) true, because its terms in columns before \(j_i\) have zero coefficients. Working upward assigns all pivot variables and satisfies every nonzero coefficient row. The remaining rows have zero coefficient entries and, since there is no contradictory row, zero augmented entries; they are equations \(0=0\). Thus all rows are satisfied, and the system has a solution. \(\square\)

The construction proves existence without requiring that the solution be unique. A nonpivot variable can be assigned zero for convenience; other assignments might also work. The existence question asks only whether at least one solution can be produced.

Worked Example: Existence with a Free Variable

Find one solution, or determine that none exists, for the system \(x+y+z=4\), \(2x+2y+2z=8\), \(x-y+z=2\).

Reduce its augmented matrix, first subtracting twice row 1 from row 2 and subtracting row 1 from row 3:

$$ \begin{bmatrix} 1&1&1&4\\ 2&2&2&8\\ 1&-1&1&2 \end{bmatrix} \sim \begin{bmatrix} 1&1&1&4\\ 0&0&0&0\\ 0&-2&0&-2 \end{bmatrix}. $$

Swap rows 2 and 3, scale the new row 2 by \(-\tfrac12\), then subtract row 2 from row 1:

$$ \begin{bmatrix} 1&1&1&4\\ 0&0&0&0\\ 0&-2&0&-2 \end{bmatrix} \sim \begin{bmatrix} 1&1&1&4\\ 0&-2&0&-2\\ 0&0&0&0 \end{bmatrix} \sim \begin{bmatrix} 1&1&1&4\\ 0&1&0&1\\ 0&0&0&0 \end{bmatrix} \sim \begin{bmatrix} 1&0&1&3\\ 0&1&0&1\\ 0&0&0&0 \end{bmatrix}. $$

There is no contradictory row. The equations are \(x+z=3\), \(y=1\), and \(0=0\). Set the nonpivot variable \(z=0\); then \(x=3\) and \(y=1\). This gives the solution \((x,y,z)=(3,1,0)\).

Check: In the original equations, \(3+1+0=4\), \(2(3)+2(1)+2(0)=8\), and \(3-1+0=2\). All three equations hold.

The Existence Criterion

Theorem (Existence criterion): A finite linear system over \(\mathbb{R}\) is consistent if and only if an echelon form of its augmented matrix contains no contradictory row.

Proof. Row operations preserve the solution set, so it is enough to compare the original system with the system represented by its echelon form. If that form contains a contradictory row, the first proposition shows that the system has no solution. Therefore, consistency implies that the echelon form contains no contradictory row. Conversely, if the echelon form has no contradictory row, the second proposition constructs a solution, which is also a solution of the original system because the row operations preserved the solution set. Hence the system is consistent exactly when its echelon form contains no contradictory row. \(\square\)

The same criterion applies no matter which sequence of valid row operations produces the echelon form. If one such form has no contradictory row, the system is consistent and therefore no row-equivalent form can contain a contradictory row. If one form has a contradictory row, the system is inconsistent and no row-equivalent form can be free of them.

Worked Example: A Zero Row Is Not a Contradiction

Determine whether the system \(2x+y=5\), \(x-y=1\), \(3x=6\) is consistent.

Swap the first two rows. Then subtract twice the new row 1 from row 2 and subtract three times row 1 from row 3:

$$ \begin{bmatrix} 2&1&5\\ 1&-1&1\\ 3&0&6 \end{bmatrix} \sim \begin{bmatrix} 1&-1&1\\ 2&1&5\\ 3&0&6 \end{bmatrix} \sim \begin{bmatrix} 1&-1&1\\ 0&3&3\\ 0&3&3 \end{bmatrix}. $$

Subtract row 2 from row 3, scale row 2 by \(\tfrac13\), and add row 2 to row 1:

$$ \begin{bmatrix} 1&-1&1\\ 0&3&3\\ 0&3&3 \end{bmatrix} \sim \begin{bmatrix} 1&-1&1\\ 0&3&3\\ 0&0&0 \end{bmatrix} \sim \begin{bmatrix} 1&-1&1\\ 0&1&1\\ 0&0&0 \end{bmatrix} \sim \begin{bmatrix} 1&0&2\\ 0&1&1\\ 0&0&0 \end{bmatrix}. $$

The last row represents \(0=0\), not a contradiction. The other rows give \(x=2\) and \(y=1\), so the system is consistent.

Check: \(2(2)+1=5\), \(2-1=1\), and \(3(2)=6\). Thus \((x,y)=(2,1)\) satisfies every original equation.

Common Mistake: Ignoring the Augmented Entry

A common error is to label every row with zero coefficients as contradictory. For example, the row \([0\;\;0\mid 0]\) does not say that the system is impossible; it says \(0=0\). Treating the first two rows of the preceding example as inconsistent just because the final row has zero coefficients would incorrectly reject a system that has the verified solution \((2,1)\).

The correction is to inspect the entire row: all coefficient entries must be zero and the augmented entry must be nonzero for a contradiction. A second error is to look only for a visibly impossible equation before row reduction. Row combinations can reveal a conflict that is hidden among the original equations, as \(0=1\) was in the first example. Reduce the augmented matrix, preserving the augmented column at every step, and apply the criterion to the resulting rows.

Row in echelon formEquation representedEffect on existence
Zero coefficients, zero augmented entry\(0=0\)No restriction
Zero coefficients, nonzero augmented entry\(0=c\), \(c\ne0\)Contradiction; no solution
At least one nonzero coefficientAn equation involving unknownsUse back substitution when no contradiction occurs

The criterion separates two questions that are easy to blur together. First ask whether a solution exists: inspect for a contradictory row. If none occurs, back substitution constructs at least one solution. How many solutions there are is a separate issue; the existence test alone does not decide that question.

Check Your Understanding

For each question, distinguish the coefficient entries from the augmented entry and justify your conclusion.

  1. Does the row \([0\;\;0\;\;0\mid -4]\) rule out a solution? State the equation it represents.
  2. Does the row \([0\;\;0\;\;0\mid 0]\) rule out a solution? Explain why or why not.
  3. In an echelon system with no contradictory row, what values can you initially assign to the nonpivot variables when constructing a solution?
  4. Explain why a solution constructed for an echelon form also solves the original system.
  5. Give the existence criterion in both directions: what does a contradictory row imply, and what follows if there is none?

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