Row Echelon Form
High school
Consider a matrix $A$. The matrix $A$ is in row echelon form (REF) if $A$ satisfies both of the following conditions:
- Every zero row is at the bottom (below every nonzero row).
- The leading entry of each nonzero row is to the right of the leading entry of the row above it.
A zero row is a row whose entries are all zero.
Examples
Examples
-
The matrix \(\begin{bmatrix} 1 & 3 & 5 \\ 0 & 2 & 4 \end{bmatrix}\) is in row echelon form, because it has no zero rows and the leading entry $2$ of row $2$ is to the right of the leading entry $1$ of row $1$.
-
The row vector \(\begin{bmatrix} 1 & 2 & 3 \end{bmatrix}\) is in row echelon form, because it has a single row, which is nonzero.
-
The matrix \(\begin{bmatrix} 1 & 0 & 2 \\ 0 & 1 & 3 \end{bmatrix}\) is in row echelon form, because it has no zero rows and each leading entry is to the right of the leading entry of the row above it.
-
The matrix \(\begin{bmatrix} 2 & 0 \\ 0 & -3 \end{bmatrix}\) is in row echelon form, because it has no zero rows and each leading entry is to the right of the leading entry of the row above it.
-
The matrix \(\begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}\) is in row echelon form, because it has no zero rows and each leading entry is to the right of the leading entry of the row above it.
-
The matrix \(\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}\) is in row echelon form, because its zero row is at the bottom.
-
The matrix \(\begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}\) is in row echelon form, because every row is a zero row, so the matrix has no leading entries and both conditions hold.
Non-examplesThings that may be mistaken for examples of this term.
-
The matrix \(\begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}\) is not in row echelon form, because the leading entry $1$ of row $2$, in column $1$, is not to the right of the leading entry $-1$ of row $1$, in column $2$.
-
The matrix \(\begin{bmatrix} 0 & 2 & 4 \\ 1 & 3 & 5 \end{bmatrix}\) is not in row echelon form, because the leading entry $1$ of row $2$, in column $1$, is not to the right of the leading entry $2$ of row $1$, in column $2$.
-
The matrix \(\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\) is not in row echelon form, because the leading entry $3$ of row $2$, in column $1$, is not to the right of the leading entry $1$ of row $1$, in column $1$.
-
The $1000 \times 1000$ matrix of ones is not in row echelon form, because the leading entry $1$ of row $2$, in column $1$, is not to the right of the leading entry $1$ of row $1$, in column $1$.
-
The matrix \(\begin{bmatrix} 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 \end{bmatrix}\) is not in row echelon form, because the leading entry $1$ of row $2$, in column $1$, is not to the right of the leading entry $1$ of row $1$, in column $1$.
-
The matrix \(\begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}\) is not in row echelon form, because the leading entry $2$ of row $2$, in column $1$, is not to the right of the leading entry $1$ of row $1$, in column $1$.
-
The matrix \(\begin{bmatrix} 1 & 1 \\ -1 & 1 \end{bmatrix}\) is not in row echelon form, because the leading entry $-1$ of row $2$, in column $1$, is not to the right of the leading entry $1$ of row $1$, in column $1$.
-
The matrix \(\begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 10 \end{bmatrix}\) is not in row echelon form, because the leading entry $4$ of row $2$, in column $1$, is not to the right of the leading entry $1$ of row $1$, in column $1$.
-
The matrix \(\begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}\) is not in row echelon form, because the leading entry $4$ of row $2$, in column $1$, is not to the right of the leading entry $2$ of row $1$, in column $1$.
-
The matrix \(\begin{bmatrix} 3 & 1 \\ -1 & 1 \end{bmatrix}\) is not in row echelon form, because the leading entry $-1$ of row $2$, in column $1$, is not to the right of the leading entry $3$ of row $1$, in column $1$.
-
The matrix \(\begin{bmatrix} 4 & 2 \\ 2 & 3 \end{bmatrix}\) is not in row echelon form, because the leading entry $2$ of row $2$, in column $1$, is not to the right of the leading entry $4$ of row $1$, in column $1$.
-
The matrix \(\begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}\) is not in row echelon form, because the leading entry $1$ of row $2$, in column $1$, is not to the right of the leading entry $1$ of row $1$, in column $2$.
Properties
- In a matrix in row echelon form, every entry below a leading entry is $0$.
- If row operations bring a matrix $A$ to a matrix in row echelon form, that matrix is called a row echelon form of $A$. The row echelon forms of $A$ are not unique, but the positions of their leading entries, the pivot positions of $A$, are the same for every row echelon form of $A$.
- The number of nonzero rows of a row echelon form of $A$ is the rank of $A$.
Notes
A matrix in row echelon form whose leading entries are each $1$ and have only zeros above them is in reduced row echelon form.
Some books also require that each leading entry in a row echelon form be $1$.
To practice, see the REF/RREF study tool and the Gaussian elimination practice tool.
All definitions · All distinctions · All examples · Notation