Row Echelon Form
Simple overview of the conditions a matrix must satisfy to be in row echelon form.
Two Conditions for a Matrix to be in Row Echelon Form
A matrix must satisfy the following conditions to be in row echelon form:
- All rows that contain only zeros are at the bottom of the matrix.
- The leftmost nonzero entry in any row, called a pivot, is to the right of the pivots in the rows above it.
Watch this section: row echelon form conditions at 0:00.
Condition $1$: Zero Rows Go at the Bottom
Consider the following matrix
\[\begin{bmatrix} 3 & 1 & -1 & 5 & 0 \\ 0 & 0 & 0 & 0 & 0 \\ 0 & 7 & 0 & 2 & 6 \\ 0 & 0 & 1 & 2 & 3 \end{bmatrix}\]Zero rows are permissible as long as they are at the bottom of the matrix.
The second row is all zeros but non-zero rows are below it, so this matrix fails condition $1$.
Watch this section: matrix example without zeroes in the bottom row at 0:17.
Condition 2: Pivots Move to the Right
After swapping Row $2$ with Row $4$ in the previous example of updated matrix looks like
\[\begin{bmatrix} 3 & 1 & -1 & 5 & 0 \\ 0 & 0 & 1 & 2 & 3 \\ 0 & 7 & 0 & 2 & 6 \\ 0 & 0 & 0 & 0 & 0 \end{bmatrix}\]Condition $1$ is satisfied because the all-zero row is now at the bottom.
Now identify the pivots of every row (the first no-zero value in the row from left to right).
We see that the pivot in Row $2$ is in column $3$
\[\begin{bmatrix} 0 & 0 & 1 & 2 & 3 \end{bmatrix}\]but Row $3$ has its pivot in column $2$
\[\begin{bmatrix} 0 & 7 & 0 & 2 & 6 \end{bmatrix}\]The pivot in Row $3$ is to the left of the pivot in Row $2$ so this matrix fails condition $2$.
Watch this section: matrix example without cascading pivots at 0:39.
A Matrix That Is in Row Echelon Form
If we swap Row $2$ and Row $3$ from the last stage we get
\[\begin{bmatrix} 3 & 1 & -1 & 5 & 0 \\ 0 & 7 & 0 & 2 & 6 \\ 0 & 0 & 1 & 2 & 3 \\ 0 & 0 & 0 & 0 & 0 \end{bmatrix}\]The zero row is at the bottom (satisfying condition $1$).
The pivots also move to the right
- row $1$ has pivot $3$ in column $1$ (has no pivots above it, so no concern here)
- row $2$ has pivot $7$ in column $2$ (this is to the right of the pivot above it)
- row $3$ has pivot $1$ in column $3$ (this is to the right of both pivots above it)
So we now satisfy condition $2$.
Since both conditions are satisfied, the matrix is now in row echelon form.
Watch this section: matrix example that is in row echelon form at 1:28.
Timestamp Guide
Related Linear Algebra Work
For another matrix-focused Linear Algebra topic, use the cofactor expansion companion guide.
The video description also links to the JoeCMath Gauss-Jordan elimination playlist: watch the playlist on YouTube.