Tutorials › Linear Algebra › Echelon Form or Reduced Echelon Form

Row Reduction and Echelon Forms · Tutorial 55 of 1000

Echelon Form or Reduced Echelon Form

Choose an efficient stopping point: use echelon form to test consistency or back-substitute, and continue to reduced echelon form when its direct solution description is useful.

Beginner 10 min read

What You'll Learn

  • Distinguish echelon form from reduced echelon form by their pivot conditions.
  • Identify when a pivot column is skipped and which variables are free.
  • Test consistency from an echelon form of an augmented matrix.
  • Describe every solution by back-substitution or by reading reduced echelon form.
  • Decide whether forward elimination or Gauss–Jordan elimination suits a given goal.

Two Stopping Points in Elimination

Row reduction can stop at different stages. If the goal is only to decide whether a system is consistent, forward elimination often gives enough information: it exposes any contradictory equation without requiring every pivot column to be cleared above. If the goal is to state all solutions explicitly, one can either back-substitute from echelon form or continue to reduced echelon form and read the solution description more directly. The useful stopping point depends on the question being asked, not on a rule that every matrix must be reduced as far as possible.

For a system with \(n\) variables, its augmented matrix has \(n\) coefficient columns followed by one right-hand-side column. The entries in that last column are constants, not coefficients of another variable. Row operations are applied to the entire augmented matrix, including that column. In the definitions below, a pivot means the first nonzero entry in a nonzero row.

Definition: A matrix is in row echelon form if all zero rows are below the nonzero rows and the pivot in each nonzero row is strictly to the right of the pivot in the row above it. A matrix is in reduced row echelon form (RREF) if, in addition, every pivot is \(1\) and is the only nonzero entry in its column. Successive pivots may skip columns; they need not be in consecutive columns.

Forward elimination uses row operations to produce echelon form. Once the pivots have been located and entries below them cleared, the process can stop. Gauss–Jordan elimination continues: it scales pivots to \(1\) and clears the other entries in each pivot column, producing RREF. Both methods use elementary row operations: swap two rows, multiply a row by a nonzero scalar, or add a multiple of one row to another.

Why Row Operations Preserve the System

Before deciding when to stop, it matters that each allowed operation preserves the solutions. A row of an augmented matrix represents an equation. Swapping rows only changes the order of the equations. Multiplying an equation by a nonzero number gives an equivalent equation, since the operation can be reversed by multiplying by its reciprocal. Adding a multiple of one equation to another also preserves the solutions, because the original equation can be recovered by subtracting that same multiple. Thus the original and row-reduced augmented matrices have exactly the same solution set.

Theorem (Consistency test in echelon form): Let an augmented matrix for a system of \(n\) variables be row-reduced to echelon form. The system is consistent if and only if the echelon form has no row of the form \(\begin{bmatrix}0&\cdots&0&\mid&b\end{bmatrix}\) with \(b\ne0\).

Proof. Each row of the echelon form is an equation equivalent, as part of the system, to the original equations because row operations preserve the solution set. A row with all zero coefficients and a nonzero right-hand side states \(0=b\), where \(b\ne0\). No values of the variables satisfy that equation, so the system is inconsistent. Conversely, suppose no such row occurs. Every zero-coefficient row then has right-hand side zero and states \(0=0\). Assign arbitrary values to the variables whose coefficient columns have no pivots. Starting with the bottom nonzero row and moving upwards, each pivot row has a nonzero coefficient on its pivot variable and has zero coefficients in the pivot columns to its left. Its pivot variable can therefore be solved for using the variables already assigned or solved for. This constructs values satisfying every nonzero row; the zero rows impose no further conditions. Hence the system is consistent. \(\square\)

This criterion explains why consistency testing usually does not require RREF. In echelon form, a contradictory row is already visible. Clearing entries above pivots cannot change whether a contradictory row exists, because those further steps are also solution-preserving row operations. If the task asks only whether a solution exists, Gauss–Jordan elimination may add work without adding a needed conclusion.

Worked Examples: Choosing the Stopping Point

Worked Example: Test Consistency Using Echelon Form

Test the consistency of the system \(x+2y=3\), \(2x+4y+z=7\), and \(3x+6y+z=10\). No explicit solution description is required.

Write its augmented matrix. Subtract \(2R_1\) from \(R_2\), and subtract \(3R_1\) from \(R_3\):

$$ \begin{bmatrix} 1&2&0&\mid&3\\ 2&4&1&\mid&7\\ 3&6&1&\mid&10 \end{bmatrix} \sim \begin{bmatrix} 1&2&0&\mid&3\\ 0&0&1&\mid&1\\ 0&0&1&\mid&1 \end{bmatrix}. $$

Now replace \(R_3\) by \(R_3-R_2\):

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

This is echelon form. Its pivot columns among the coefficient columns are columns 1 and 3; column 2 is skipped. There is no row with zero coefficients and nonzero right-hand side, so the consistency test proves that the system is consistent. The task is complete at this point. As a check, let \(y=t\). The rows give \(z=1\) and \(x=3-2t\). Substitution into the original equations gives \(x+2y=(3-2t)+2t=3\), \(2x+4y+z=2(3-2t)+4t+1=7\), and \(3x+6y+z=3(3-2t)+6t+1=10\).

Worked Example: Back-Substitute or Continue to RREF

Describe all solutions of \(x+2y-z=1\) and \(2x+4y+z=5\). First use forward elimination, then continue to RREF to compare the two ways of presenting the answer.

Subtract \(2R_1\) from \(R_2\). Then divide the new second row by \(3\):

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

The result is echelon form, with pivots in columns 1 and 3. Column 2 has no pivot, so \(y\) is free. Back-substitution from the second row gives \(z=1\). The first row then gives \(x+2y-1=1\), so \(x=2-2y\). Setting \(y=t\), for any \(t\in\mathbb{R}\), gives all solutions \((x,y,z)=(2-2t,t,1)\).

To obtain RREF, clear the entry above the pivot in column 3 by replacing \(R_1\) with \(R_1+R_2\):

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

Reading this form gives \(x+2y=2\) and \(z=1\), with \(y\) free. It yields the same description \(x=2-2t,\ y=t,\ z=1\). For every real \(t\), check the first original equation: \((2-2t)+2t-1=1\). Check the second: \(2(2-2t)+4t+1=5\). Both equations hold, and the free variable accounts for every solution.

Worked Example: Detect an Inconsistent System

Determine whether \(x+2y=3\) and \(2x+4y=7\) have a solution. Subtract \(2R_1\) from \(R_2\) in the augmented matrix:

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

The second row says \(0=1\), so the system is inconsistent by the consistency test. This conclusion is also checked directly: if the first equation holds, doubling it gives \(2x+4y=6\), which cannot equal \(7\). The row-reduced contradiction is not a numerical accident; it records the incompatibility of the two equations.

Why Echelon Form Is Enough for Solution Descriptions

Forward elimination is not limited to consistency testing. Echelon form also supports a complete solution description, provided one performs back-substitution and identifies all free variables. In an echelon form, a coefficient column with a pivot corresponds to a variable solved for by its pivot row. A coefficient column without a pivot corresponds to a free variable. The pivot columns need not be consecutive, so one must identify them by their leading entries rather than assume that every column encountered is a pivot column.

Theorem (Back-substitution from echelon form): For a system in echelon form with no contradictory row, assigning arbitrary values to all variables in nonpivot coefficient columns and solving the pivot equations from bottom to top gives every solution, and no other solutions exist.

Proof. The absence of a contradictory row means that every row with all zero coefficients has right-hand side zero. Choose any values for the variables in nonpivot columns. Consider the nonzero rows in reverse order. In the bottom nonzero row, the pivot variable has a nonzero coefficient, and all other variables in that row are either free variables or variables with pivots to its right; those right-hand pivot variables have already been found because the rows are processed from bottom to top. Thus the row determines the bottom pivot variable. At each next row, its pivot variable is determined for the same reason: variables with pivots to its right have already been found, while nonpivot variables have assigned values. This constructs a solution of every nonzero row, and the zero rows are satisfied as \(0=0\). Conversely, every solution must satisfy the same row equations. Its free-variable values are among the chosen assignments, and each pivot variable is forced by its pivot equation. Therefore the procedure produces all solutions and only solutions. \(\square\)

RREF makes the final equations easier to read because each pivot column has zeros everywhere except its pivot \(1\). That convenience does not make RREF necessary for correctness. Echelon form plus careful back-substitution and RREF give equivalent solution sets; they differ in how much elimination is done before the solution is presented.

Common Pitfall: Assuming Pivots Are Consecutive

A wrong reading of the echelon matrix \(\begin{bmatrix}1&2&0&\mid&3\\0&0&1&\mid&1\end{bmatrix}\) is to call columns 1 and 2 the pivot columns and conclude that \(x\) and \(y\) are determined. This is incorrect: in the second row the first nonzero entry is in column 3, so the pivots are in columns 1 and 3. Column 2 is skipped and its variable \(y\) is free. The equations are \(x+2y=3\) and \(z=1\), which leave \(y\) arbitrary.

A second common mistake is to continue to RREF automatically, even when the only question is consistency. For a consistency test, stop as soon as echelon form makes it possible to check every row for the contradiction \(0=b\) with \(b\ne0\). For an explicit solution description, either back-substitute from echelon form or continue to RREF if reading the pivot equations directly is more useful.

GoalUseful stopping pointWhat to inspect
Test consistencyEchelon formLook for a zero-coefficient row with nonzero right-hand side
Find all solutionsEchelon form or RREFIdentify pivot and free variables; back-substitute or read the reduced equations
Display pivot equations directlyRREFRead each pivot variable equation with its free-variable terms

The central practical choice is therefore modest: forward elimination is usually the efficient route to a consistency decision, while a solution description requires either back-substitution or the extra clearing steps of Gauss–Jordan elimination. Whichever form is used, track pivot columns by their actual leading entries, and interpret any pivot in the final augmented column as a contradiction rather than as a variable.

Check Your Understanding

For each question, distinguish the goal from the amount of row reduction needed to reach it.

  1. What condition distinguishes echelon form from reduced row echelon form?
  2. In an echelon matrix whose pivots are in columns 1 and 4 of the coefficient matrix, which coefficient columns correspond to free variables?
  3. Why does a row \(\begin{bmatrix}0&0&0&\mid&-2\end{bmatrix}\) prove inconsistency?
  4. For the augmented matrix \(\begin{bmatrix}1&3&0&\mid&5\\0&0&1&\mid&2\end{bmatrix}\), identify the pivot and free variables, then write the solution using a parameter.
  5. If a problem asks only whether a system is consistent, what information in echelon form answers it?

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