Tutorials › Linear Algebra › Uniqueness of Reduced Row Echelon Form

Row Reduction and Echelon Forms · Tutorial 53 of 1000

Uniqueness of Reduced Row Echelon Form

See why a matrix’s homogeneous solution set determines its reduced row echelon form, and follow the induction proof that establishes uniqueness.

Beginner 11 min read

What You'll Learn

  • Define reduced row echelon form and row-equivalent matrices precisely
  • Explain why elementary row operations preserve homogeneous solution sets
  • Prove uniqueness of reduced row echelon form by induction on columns
  • Distinguish the zero-first-column and pivot-first-column cases
  • Use solution sets to compare reduced forms in concrete examples
  • Identify a common mistake in deciding whether a matrix is in reduced row echelon form

Why a Reduced Form Is Unique

Row reduction can follow different paths. One calculation might scale a row before eliminating an entry, while another eliminates first and scales later. The intermediate matrices can differ, but if the starting matrices are row-equivalent, the final reduced row echelon form is always the same. This is a uniqueness claim: it says that there cannot be two different reduced forms at the end of valid row operations.

We will establish that claim using the homogeneous solution set alone. The key idea is that a reduced form records enough information to determine which vectors solve its homogeneous system. We then prove, by induction on the number of columns, that two matrices in reduced row echelon form with the same homogeneous solution set must be identical. Throughout, matrices and scalars are over \(\mathbb{R}\).

Definition: A matrix is in reduced row echelon form if every nonzero row is above every zero row; the first nonzero entry of each nonzero row is \(1\); the leading \(1\) in each lower nonzero row is farther to the right than the leading \(1\) in the row above it; and each column containing a leading \(1\) has zeros everywhere else. The leading \(1\) in a row is called its pivot. Two matrices of the same size are row-equivalent if one can be obtained from the other by a finite sequence of elementary row operations.

For a matrix \(\mathbf{A}\) with \(n\) columns, its homogeneous solution set is \(\{\mathbf{x}\in\mathbb{R}^n:\mathbf{A}\mathbf{x}=\mathbf{0}\}\). An elementary row operation does not change this set. Swapping two rows only reorders equations; multiplying a row by a nonzero scalar preserves exactly the same equation; and replacing one row by itself plus a multiple of another preserves the solutions because the operation can be reversed by subtracting that multiple. Consequently, row-equivalent matrices have the same homogeneous solution set.

Worked Example: Two Reduction Paths, One Reduced Form

Reduce the row-equivalent matrices \(\mathbf{A}=\begin{bmatrix}2&2&2\\0&3&-3\end{bmatrix}\) and \(\mathbf{B}=\begin{bmatrix}1&0&2\\0&1&-1\end{bmatrix}\). The second matrix is already in reduced row echelon form. Starting from \(\mathbf{A}\), scale the first row by \(\tfrac12\), scale the second row by \(\tfrac13\), and subtract the new second row from the first:

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

Thus both matrices reduce to \(\begin{bmatrix}1&0&2\\0&1&-1\end{bmatrix}\). To check the solution set, write \(\mathbf{x}=(x_1,x_2,x_3)^\top\). The reduced equations are \(x_1+2x_3=0\) and \(x_2-x_3=0\). Taking \(x_3=t\) gives \(\mathbf{x}=(-2t,t,t)^\top\). Substituting into the original equations gives \(2(-2t)+2t+2t=0\) and \(3t-3t=0\), as required.

The Induction Principle Behind Uniqueness

We prove a slightly focused statement: among matrices of the same size that are already in reduced row echelon form, the homogeneous solution set determines the matrix. The number of rows can be any nonnegative integer, so the argument also covers the smaller matrices that arise during induction.

Theorem: For every nonnegative integer \(n\), if \(\mathbf{R}\) and \(\mathbf{S}\) are matrices in reduced row echelon form with the same number of rows and \(n\) columns, and if \(\mathbf{R}\mathbf{x}=\mathbf{0}\) and \(\mathbf{S}\mathbf{x}=\mathbf{0}\) have the same solution set, then \(\mathbf{R}=\mathbf{S}\).

Proof. We use induction on \(n\). If \(n=0\), a matrix with zero columns has no entries, so there is only one such matrix for a given number of rows. Therefore \(\mathbf{R}=\mathbf{S}\).

Now let \(n\geq 1\), and assume the statement holds for matrices with \(n-1\) columns. Let \(\mathbf{R}\) and \(\mathbf{S}\) satisfy the theorem’s hypotheses. Write \(\mathbf{e}_1=(1,0,\dots,0)^\top\in\mathbb{R}^n\). The first column of a reduced row echelon matrix is either zero or is its first pivot column. In the latter case, that column has a \(1\) in its pivot row and zeros in every other row. Thus \(\mathbf{e}_1\) belongs to the homogeneous solution set exactly when the first column is zero. Since the two solution sets are equal, the first columns of \(\mathbf{R}\) and \(\mathbf{S}\) are either both zero or both pivot columns.

First suppose both first columns are zero. Delete the first column from each matrix, obtaining \(\mathbf{R}'\) and \(\mathbf{S}'\). These are still in reduced row echelon form. For every \(\mathbf{y}\in\mathbb{R}^{n-1}\), the vector \((0,\mathbf{y})^\top\) solves the homogeneous system for \(\mathbf{R}\) exactly when \(\mathbf{y}\) solves the system for \(\mathbf{R}'\); the same statement holds for \(\mathbf{S}\) and \(\mathbf{S}'\). The original solution sets are equal, so the solution sets for \(\mathbf{R}'\) and \(\mathbf{S}'\) are equal. The induction hypothesis gives \(\mathbf{R}'=\mathbf{S}'\). Putting back their identical zero first columns gives \(\mathbf{R}=\mathbf{S}\).

Now suppose the first column is a pivot column in both matrices. In reduced row echelon form it is the first row’s pivot column, so write the matrices in block form as

$$ \mathbf{R}= \begin{bmatrix} 1&\mathbf{a}\\ \mathbf{0}&\mathbf{B} \end{bmatrix}, \qquad \mathbf{S}= \begin{bmatrix} 1&\mathbf{d}\\ \mathbf{0}&\mathbf{C} \end{bmatrix}. $$

Here \(\mathbf{a}\) and \(\mathbf{d}\) are rows with \(n-1\) entries, and \(\mathbf{B}\) and \(\mathbf{C}\) have \(n-1\) columns. The lower blocks are in reduced row echelon form. A vector \((x_1,\mathbf{y})^\top\) solves the system for \(\mathbf{R}\) precisely when \(\mathbf{B}\mathbf{y}=\mathbf{0}\) and \(x_1=-\mathbf{a}\mathbf{y}\). Therefore the set of all possible tails \(\mathbf{y}\) of solutions is exactly the homogeneous solution set for \(\mathbf{B}\). The same reasoning shows that the possible tails for \(\mathbf{S}\) are the solutions for \(\mathbf{C}\). Equality of the full solution sets implies equality of these sets of tails. By the induction hypothesis, \(\mathbf{B}=\mathbf{C}\).

It remains to show \(\mathbf{a}=\mathbf{d}\). For every \(\mathbf{y}\) solving \(\mathbf{B}\mathbf{y}=\mathbf{0}\), the full solution sets agree, so the first coordinate of the solution with tail \(\mathbf{y}\) agrees in both systems. The first coordinate is unique in each system, as the first equation gives \(x_1=-\mathbf{a}\mathbf{y}\) or \(x_1=-\mathbf{d}\mathbf{y}\). Hence \((\mathbf{a}-\mathbf{d})\mathbf{y}=0\) for every such \(\mathbf{y}\).

In columns of \(\mathbf{B}\) that contain pivots, both \(\mathbf{a}\) and \(\mathbf{d}\) have zero entries: these columns are pivot columns of the full matrices too, and their pivots must be the only nonzero entries in their columns. For any column \(k\) of \(\mathbf{B}\) without a pivot, set its free variable to \(1\) and all other free variables to \(0\). In the homogeneous system for \(\mathbf{B}\), each pivot variable is then determined by its pivot equation. This produces a solution \(\mathbf{y}\) whose free coordinates are zero except for \(y_k=1\). Since \((\mathbf{a}-\mathbf{d})\mathbf{y}=0\), and the entries of \(\mathbf{a}-\mathbf{d}\) in pivot columns are zero, it follows that \(a_k-d_k=0\). This holds for every nonpivot column; the entries in pivot columns already agree because they are both zero. Thus \(\mathbf{a}=\mathbf{d}\), and consequently \(\mathbf{R}=\mathbf{S}\). The induction is complete. \(\square\)

Using the Result for Row-Equivalent Matrices

The theorem compares matrices already in reduced row echelon form. To apply it to row-equivalent matrices, let \(\mathbf{A}\) and \(\mathbf{D}\) be row-equivalent, and let \(\mathbf{R}\) and \(\mathbf{S}\) be their respective reduced row echelon forms. Elementary row operations preserve homogeneous solution sets, so \(\mathbf{R}\) has the same solution set as \(\mathbf{A}\), and \(\mathbf{S}\) has the same solution set as \(\mathbf{D}\). Since \(\mathbf{A}\) and \(\mathbf{D}\) are row-equivalent, those two sets are equal. The theorem therefore gives \(\mathbf{R}=\mathbf{S}\). This establishes uniqueness without needing to compare the sequences of row operations used to reach the forms.

Worked Example: A Zero First Column

Consider \(\mathbf{A}=\begin{bmatrix}0&2&4\\0&0&0\end{bmatrix}\) and \(\mathbf{B}=\begin{bmatrix}0&1&2\\0&0&0\end{bmatrix}\). Scale the first row of \(\mathbf{A}\) by \(\tfrac12\):

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

The matrix \(\mathbf{B}\) is in reduced row echelon form, so it is the reduced form of both. Its equation is \(x_2+2x_3=0\), with \(x_1\) free. The solutions are \((s,-2t,t)^\top\), where \(s,t\in\mathbb{R}\). Substitution into the original nonzero equation gives \(2(-2t)+4t=0\), confirming the same solution set. Here the first column is zero, so deleting it leaves the one-equation system \(x_2+2x_3=0\); this is the zero-first-column case in the induction.

Worked Example: A Pivot in the First Column

Reduce \(\mathbf{A}=\begin{bmatrix}2&2&2&6\\0&3&-3&9\end{bmatrix}\). Scale the first row by \(\tfrac12\), the second row by \(\tfrac13\), then subtract the second row from the first:

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

The final matrix is in reduced row echelon form. Its equations give \(x_1=-2x_3\) and \(x_2=x_3-3x_4\). Setting \(x_3=s\) and \(x_4=t\) yields \((-2s,s-3t,s,t)^\top\). Substitution into the original equations gives \(2(-2s)+2(s-3t)+2s+6t=0\) and \(3(s-3t)-3s+9t=0\). Both expressions equal zero, verifying the parameterization. The first-column pivot fixes \(x_1\) once the other variables are chosen, as in the pivot-first-column case of the proof.

Common Mistake: Confusing Echelon Form with Reduced Echelon Form

A tempting but incorrect counterexample to uniqueness is to call both \(\begin{bmatrix}1&2\\0&1\end{bmatrix}\) and \(\begin{bmatrix}1&0\\0&1\end{bmatrix}\) reduced row echelon forms. They are different, and they are row-equivalent, so this might seem to contradict the theorem. The error is that the first matrix is not in reduced row echelon form: its second column has a pivot in row 2 but also has the nonzero entry \(2\) above that pivot.

Correctly reduce the first matrix by replacing row 1 with row 1 minus twice row 2:

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

Both systems have only the zero solution: the second equation gives \(x_2=0\), and then the first gives \(x_1=0\). The correct conclusion is not that there are two reduced forms, but that the first matrix was not reduced. Uniqueness applies only after all the defining conditions of reduced row echelon form have been checked.

The proof also shows why the homogeneous solution set is enough. If the first column is zero, deleting it leaves a smaller reduced-form problem with the same solution data. If the first column is a pivot, the remaining equations determine the possible tails of solutions, while the first equation determines their first coordinates. Induction identifies the lower rows, and the possible tails then identify the first row. No choice of row-operation path can change that data.

Check Your Understanding

Use the definitions and the induction argument to answer these questions.

  1. Why does multiplying a row by a nonzero scalar leave the homogeneous solution set unchanged?
  2. For a reduced row echelon matrix, explain why its first column is zero exactly when \(\mathbf{e}_1\) is a solution.
  3. In the zero-first-column case of the proof, why do the matrices formed by deleting the first column have equal homogeneous solution sets?
  4. For the reduced matrix \(\begin{bmatrix}1&0&2&0\\0&1&-1&3\end{bmatrix}\), write all homogeneous solutions using two free parameters.
  5. Identify the reduced row echelon condition violated by \(\begin{bmatrix}1&2\\0&1\end{bmatrix}\).

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