Tutorials › Linear Algebra › Classifying Systems by Pivot Patterns

Row Reduction and Echelon Forms · Tutorial 39 of 1000

Classifying Systems by Pivot Patterns

Use pivots in the variable columns and contradictory rows in the augmented column to classify a linear system and interpret its solution set.

Beginner 9 min read

What You'll Learn

  • Distinguish pivot columns for variables from a pivot in the augmented column.
  • Recognize a contradictory row and explain why it rules out every solution.
  • Classify a consistent system by checking whether any variable is free.
  • Read unique and infinitely many solutions from reduced augmented matrices.
  • Verify classifications by substituting solutions or identifying a contradiction.
  • Avoid mistaking an augmented-column pivot for a pivot belonging to a variable.

Three Outcomes, One Reduced Matrix

A linear system can have no solution, exactly one solution, or infinitely many solutions. Row reduction lets us distinguish these possibilities by inspecting the reduced augmented matrix. The key is to keep track of which columns represent variables and which column represents the right-hand sides: a pivot in a variable column and a pivot in the augmented column have different meanings.

Consider a system of \(m\) linear equations in \(n\) real variables \(x_1,\dots,x_n\). Its augmented matrix has the coefficients in its first \(n\) columns and the right-hand sides in its last column. Row operations preserve the system's solution set: swapping equations, multiplying an equation by a nonzero scalar, and adding a multiple of one equation to another all produce equivalent equations. We reduce the augmented matrix to reduced row echelon form (RREF), so the pivot positions and any contradictory rows are easy to identify.

Definition: A row of an augmented matrix is contradictory if its coefficient entries are all zero and its right-hand-side entry is nonzero. It represents an equation of the form \(0=c\), where \(c\ne0\). A variable column is one of the first \(n\) columns; the final column is the augmented column and does not represent a variable.

In a reduced augmented matrix, a contradictory row may appear as \([0\ \cdots\ 0\mid 1]\), because the row can be scaled by its nonzero right-hand-side entry. Any such row rules out a solution. If there is no contradictory row, the system is consistent, meaning that at least one solution exists. Among consistent systems, the variable columns determine whether that solution is unique or whether free variables allow infinitely many solutions.

The Pivot-Pattern Classification

Theorem (Classification by pivots): Consider a system of \(m\) linear equations in \(n\) real variables, and row-reduce its augmented matrix to RREF. If the RREF has a contradictory row, the system has no solution. If it has no contradictory row, the system has a unique solution exactly when every variable column contains a pivot. If it has no contradictory row and at least one variable column has no pivot, the system has infinitely many solutions.

Proof. A contradictory row represents the equation \(0=c\) for some \(c\ne0\), which no values of the variables can satisfy. Since row operations preserve the solution set, the original system then has no solution.

Now suppose there is no contradictory row. Every nonzero row must have a pivot in a variable column: a row with its pivot in the augmented column would have zero entries in all earlier columns, and so would be contradictory. Thus the equations represented by the nonzero rows have leading variables in variable columns. Any variable column without a pivot corresponds to a free variable, meaning that its variable is not a leading variable in these equations.

If every variable column has a pivot, there are no free variables. In RREF, each pivot variable is specified by its row equation in terms of variables to its right, and there are no unassigned variables left. Reading the pivot equations from the last pivot row upwards determines exactly one value for every variable. This produces a solution, and any solution must have those same values, so the solution is unique.

If at least one variable column has no pivot, assign any real value to each free variable. The pivot equations then determine the pivot variables, working from the last pivot row upwards. There are no zero-coefficient rows with nonzero right-hand sides by the assumption that the system has no contradictory row, so these assignments satisfy every row. In particular, assigning one free variable two different values gives different solutions: that variable itself changes. Since a real free variable can take infinitely many values, the system has infinitely many solutions. These cases exhaust the possibilities. \(\square\)

The theorem gives a reliable order for classifying a system: first check for a contradictory row; only if none occurs, count pivots in the variable columns. In particular, do not count a pivot in the augmented column as if it belonged to a variable.

Worked Classifications

Worked Example: A Contradictory Row

Classify the system \(x+y=2\), \(2x+2y=5\) using its augmented matrix.

Subtract twice the first row from the second, then subtract twice the new second row from the first:

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

The last row represents \(0=1\), so it is contradictory. The system is inconsistent and has no solution. The second pivot is in the augmented column, not in a variable column.

Check: The first equation requires \(x+y=2\), while half of the second equation requires \(x+y=\tfrac52\). A sum cannot equal both \(2\) and \(\tfrac52\), confirming that no solution exists.

Worked Example: A Unique Solution

Classify and solve the system \(x+y+z=6\), \(2x-y+z=3\), \(x+2y-z=2\).

Start with its augmented matrix. Apply the indicated row operations in order:

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

Swap rows 2 and 3, then add three times row 2 to row 3:

$$ \begin{bmatrix}1&1&1&6\\0&-3&-1&-9\\0&1&-2&-4\end{bmatrix} \xrightarrow{R_2\leftrightarrow R_3} \begin{bmatrix}1&1&1&6\\0&1&-2&-4\\0&-3&-1&-9\end{bmatrix} \xrightarrow{R_3\to R_3+3R_2} \begin{bmatrix}1&1&1&6\\0&1&-2&-4\\0&0&-7&-21\end{bmatrix}. $$

Scale row 3 by \(-\tfrac17\), add twice row 3 to row 2, subtract row 3 from row 1, and finally subtract row 2 from row 1:

$$ \begin{bmatrix}1&1&1&6\\0&1&-2&-4\\0&0&-7&-21\end{bmatrix} \xrightarrow{R_3\to-\frac17R_3} \begin{bmatrix}1&1&1&6\\0&1&-2&-4\\0&0&1&3\end{bmatrix} \xrightarrow{\substack{R_2\to R_2+2R_3\\R_1\to R_1-R_3}} \begin{bmatrix}1&1&0&3\\0&1&0&2\\0&0&1&3\end{bmatrix} \xrightarrow{R_1\to R_1-R_2} \begin{bmatrix}1&0&0&1\\0&1&0&2\\0&0&1&3\end{bmatrix}. $$

There is no contradictory row, and every variable column has a pivot. The system has a unique solution: \(x=1\), \(y=2\), \(z=3\).

Check: Substitution into the original equations gives \(1+2+3=6\), \(2(1)-2+3=3\), and \(1+2(2)-3=2\), as required.

Worked Example: A Free Variable and Infinitely Many Solutions

Classify and solve the system \(x+y+z=4\), \(2x+2y+2z=8\), \(x-y+z=2\).

Subtract twice row 1 from row 2 and subtract row 1 from row 3. Then swap rows 2 and 3:

$$ \begin{bmatrix}1&1&1&4\\2&2&2&8\\1&-1&1&2\end{bmatrix} \xrightarrow{\substack{R_2\to R_2-2R_1\\R_3\to R_3-R_1}} \begin{bmatrix}1&1&1&4\\0&0&0&0\\0&-2&0&-2\end{bmatrix} \xrightarrow{R_2\leftrightarrow R_3} \begin{bmatrix}1&1&1&4\\0&-2&0&-2\\0&0&0&0\end{bmatrix}. $$

Scale row 2 by \(-\tfrac12\) and subtract the new row 2 from row 1:

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

There is no contradictory row. Columns 1 and 2 have pivots, but variable column 3 does not. Set the free variable \(z=t\), where \(t\in\mathbb{R}\). The pivot equations give \(x=3-t\) and \(y=1\), so the solutions are \((x,y,z)=(3-t,1,t)\) for all real \(t\). The system has infinitely many solutions.

Check: Substitution gives \((3-t)+1+t=4\); \(2(3-t)+2+2t=8\); and \((3-t)-1+t=2\). All three equations hold for every real \(t\).

Read the Columns Carefully

The same number of pivots can appear in systems with different classifications, so the pivot count alone is not enough. The location of each pivot matters. In the inconsistent example, the pivot in the augmented column accompanies a contradictory row. In a consistent system, every pivot belongs to a variable column, and any variable column without a pivot marks a free variable.

RREF patternClassificationReason
A row has zero variable entries and a nonzero augmented entryNo solutionThe row requires \(0=c\) with \(c\ne0\)
No contradictory row; every variable column has a pivotOne solutionThere are no free variables
No contradictory row; at least one variable column has no pivotInfinitely many solutionsA free variable can take infinitely many real values

A useful way to interpret the procedure is to separate two questions. First, do the equations conflict? A contradictory row answers yes, and the system has no solution. If there is no conflict, ask whether any variable is free. No free variables means that the pivot equations determine a single solution; at least one free variable means that there are infinitely many choices.

Common Mistake: Counting the Augmented Pivot

A tempting but incorrect argument is: “The inconsistent example has two pivots for two variables, so it has a unique solution.” The reduced matrix is \(\begin{bmatrix}1&1&0\\0&0&1\end{bmatrix}\). Its second pivot is in column 3, the augmented column, not in the second variable column. The bottom row says \(0=1\), so this system has no solution. To classify a system correctly, first check for a contradictory row; then count pivots only in the variable columns.

For a consistent system, do not mistake a zero row for a contradiction. A row of all zeros represents \(0=0\), which imposes no restriction. In the infinitely many solutions example, the last row is all zero, while the missing pivot in variable column 3 leaves a free variable. The zero row and the free variable have distinct roles.

Check Your Understanding

For each question, identify any contradictory row before deciding what the variable-column pivots imply.

  1. A reduced augmented matrix has rows \([1\ 0\mid 3]\) and \([0\ 1\mid -2]\). How many solutions does its system have?
  2. A reduced augmented matrix has rows \([1\ 2\mid 4]\) and \([0\ 0\mid 1]\). Is the system consistent? Explain using the last row.
  3. A consistent system has three variables and pivots in variable columns 1 and 3. How many solutions does it have, and which variable is free?
  4. In a system with two variables, the RREF has a pivot in variable column 1, no pivot in variable column 2, and no contradictory row. Classify the system.
  5. Explain why a pivot in the augmented column cannot be counted as a pivot for a variable.

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