Linear Systems in Row Echelon Form

A linear system is said to be in row echelon form when its equations appear in a structured, descending pattern.
\begin{cases} x_1 + 2x_2 +3x_3+4x_4 = 1 \\ 2x_2-6x_3-5x_4 = -2 \\ 4x_3- 6x_4 = 4 \\ 2x_4 = 0 \end{cases}
In such systems, each successive equation involves fewer leading variables than the one above it, creating a clear downward progression.

The number of pivot rows in the system matches the rank of its matrix.

This structure makes it remarkably easy to determine the rank, even for large systems with many variables.

Why are systems in row echelon form so useful?

They are exceptionally convenient to solve. Once a system has been arranged in row echelon form, its unknowns can be computed by straightforward back-substitution, starting from the final equation.

If a system is not already in this form, it can be transformed using Gauss - Jordan elimination.

Note. A proper echelon form requires that each leading entry be strictly to the right of the leading entry in the row above. If leading entries skip rows or appear misaligned, the matrix is not in row echelon form.
practical examples
When a leading entry spans more than one column, the extra variables must be treated as free parameters of the system.
an example of parameterization

A Practical Example

Example 1

This linear system is already in row echelon form:

\begin{cases} x_1 + 2x_2 +3x_3+4x_4 = 1 \\ 2x_2-6x_3-5x_4 = -2 \\ 4x_3- 6x_4 = 4 \\ 2x_4 = 0 \end{cases}

The system contains four pivot rows, and there are n=4 variables.

\begin{cases} x_1 + 2x_2 +3x_3+4x_4 = 1 \\ 2x_2-6x_3-5x_4 = -2 \\ 4x_3- 6x_4 = 4 \\ 2x_4 = 0 \end{cases}

The augmented matrix has rank r=4, as each pivot row contributes one to the rank.

$$ A|B = \begin{pmatrix} 1 & 2 & 3 & 5 & 1 \\ 0 & 2 & -6 & -5 & -2 \\ 0 & 0 & 4 & -6 & 4 \\ 0 & 0 & 0 & 2 & 0 \end{pmatrix} $$

The coefficient matrix also has rank 4, for the same reason.

$$ A = \begin{pmatrix} 1 & 2 & 3 & 5 \\ 0 & 2 & -6 & -5 \\ 0 & 0 & 4 & -6 \\ 0 & 0 & 0 & 2 \end{pmatrix} $$

By the Rouché - Capelli Theorem, the system is consistent and admits at least one solution.

Since the rank equals the number of variables (r=n=4), the solution is unique.

$$ \infty^{n-r} = \infty^{4-4} = \infty^0 = 1 $$

Solving proceeds naturally from the final equation: 2x4=0 gives x4=0.

x4=0

Substituting x4=0 into the third equation yields 4x3=4, so x3=1.

 \begin{cases} x_1 + 2x_2 +3x_3+4x_4 = 1 \\ 2x_2-6x_3-5x_4 = -2 \\ 4x_3- 6 \cdot 0 = 4 \\ x_4 = 0 \end{cases}

Next, substituting x3=1 and x4=0 into the second equation gives 2x2-6·1=-2, hence x2=2.

$$ \begin{cases} x_1 + 2x_2 +3x_3+4x_4 = 1 \\ 2x_2-6 \cdot 1-5 \cdot 0 = -2 \\ x_3 = 1 \\ x_4 = 0 \end{cases} $$

Finally, substituting x2=2, x3=1 and x4=0 into the first equation yields x1=-6.

$$ \begin{cases} x_1 + 2x_2 +3x_3+4x_4 = 1 \\ 2x_2-6x_3-5x_4 = -2 \\ x_3 = 1 \\ x_4 = 0 \end{cases} $$

The system is thus solved. Its unique solution is x1=-6, x2=2, x3=1 and x4=0.

Note. This example illustrates why reducing a system to row echelon form is so powerful. It turns a potentially complex system into one that can be solved immediately by back-substitution.

Example 2

This system is also in echelon form:

$$ \begin{cases} x_1+ 2x_2+x_3+x_4 = 1 \\ x_2+x_3+x_4=1 \\ x_3+x_4=2 \end{cases} $$

The augmented matrix has rank r=3, corresponding to its three pivot rows.

$$ A|B = \begin{pmatrix} 1 & 2 & 1 & 1 & 1 \\ 0 & 1 & 1 & -1 & 1 \\ 0 & 0 & 1 & 1 & 2 \end{pmatrix} $$

The coefficient matrix also has rank r=3.

$$ A = \begin{pmatrix} 1 & 2 & 1 & 1 \\ 0 & 1 & 1 & -1 \\ 0 & 0 & 1 & 1 \end{pmatrix} $$

By the Rouché - Capelli Theorem, the system may have a unique solution or infinitely many.

Here, since r=3<4=n, the solution set is infinite.

$$ \infty^{n-r} = \infty^{4-3} = \infty^1 = \infty $$

To describe all solutions, I introduce a free parameter.

From the last equation, I express x3 in terms of x4:

$$ \begin{cases} x_1+ 2x_2+x_3+x_4 = 1 \\ x_2+x_3+x_4=1 \\ x_3 = 2-x_4 \end{cases} $$

Substituting x3=2-x4 into the second equation yields x2=-1.

$$ \begin{cases} x_1+ 2x_2+x_3+x_4 = 1 \\ x_2=-1 \\ x_3 = 2-x_4 \end{cases} $$

Substituting x2=-1 and x3=2-x4 into the first equation yields x1=1.

$$ \begin{cases} x_1 = 1 \\ x_2=-1 \\ x_3 = 2-x_4 \end{cases} $$

Thus the general solution is

$$ \begin{cases} x_1 = 1 \\ x_2 = -1 \\ x_3 = 2 - k \end{cases} $$

with free parameter k = x4 ∈ ℝ. The system therefore has infinitely many solutions.

Observations

Some useful facts about row echelon form:

  • Every matrix in row echelon form is upper triangular, but the reverse is not true. Upper triangularity alone does not guarantee the systematic placement of leading entries required by echelon form.
  • The determinant of a square echelon matrix is simply the product of its diagonal entries. Because the matrix is triangular, the determinant calculation reduces to multiplying the diagonal terms, making the computation particularly efficient.

And so on.

 

 
 

Please feel free to point out any errors or typos, or share suggestions to improve these notes. English isn't my first language, so if you notice any mistakes, let me know, and I'll be sure to fix them.

FacebookTwitterLinkedinLinkedin
knowledge base

Row Echelon Systems

Worked Examples