Definition · applies to matrices · also called RREF, row canonical form

High school

Consider a matrix $A$. The matrix $A$ is in reduced row echelon form (RREF) if $A$ satisfies all of the following conditions:

  1. Every zero row is at the bottom (below every nonzero row).
  2. The leading entry of each nonzero row is to the right of the leading entry of the row above it.
  3. Every leading entry is $1$.
  4. Every entry above a leading entry is $0$.

Conditions 1 and 2 say that $A$ is in row echelon form.

Examples

Examples

  • The row vector \(\begin{bmatrix} 1 & 2 & 3 \end{bmatrix}\) is in reduced row echelon form, because it is in row echelon form and its only leading entry is $1$.
  • The matrix \(\begin{bmatrix} 1 & 0 & 2 \\ 0 & 1 & 3 \end{bmatrix}\) is in reduced row echelon form, because it is in row echelon form, every leading entry is $1$, and every entry above a leading entry is $0$.
  • ✓ The matrix $[0, 1; 0, 0]$ Undergraduate
    The matrix \(\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}\) is in reduced row echelon form, because it is in row echelon form, every leading entry is $1$, and every entry above a leading entry is $0$.
  • The matrix \(\begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}\) is in reduced row echelon form, because it is in row echelon form and has no leading entries.

Non-examples
Things that may be mistaken for examples of this term.

  • The matrix \(A = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}\) is not in reduced row echelon form, because it is not in row echelon form. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.\)
  • The matrix \(A = \begin{bmatrix} 0 & 2 & 4 \\ 1 & 3 & 5 \end{bmatrix}\) is not in reduced row echelon form, because it is not in row echelon form. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 0 & -1 \\ 0 & 1 & 2 \end{bmatrix}.\)
  • The matrix \(A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\) is not in reduced row echelon form, because it is not in row echelon form. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.\)
  • The matrix \(A = \begin{bmatrix} 1 & 3 & 5 \\ 0 & 2 & 4 \end{bmatrix}\) is not in reduced row echelon form, because its leading entry $2$ in row $2$ is not $1$ and the entry $3$ above that leading entry is not $0$. Dividing row $2$ by $2$ and then subtracting $3$ times the new row $2$ from row $1$ gives the reduced row echelon form of $A$: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 0 & -1 \\ 0 & 1 & 2 \end{bmatrix}.\)
  • The $1000 \times 1000$ matrix of ones $A$ is not in reduced row echelon form, because it is not in row echelon form. Subtracting row $1$ from every other row gives the reduced row echelon form of $A$, whose first row is all ones and whose other $999$ rows are zero rows: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 1 & \cdots & 1 \\ 0 & 0 & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & 0 \end{bmatrix}.\)
  • The matrix \(A = \begin{bmatrix} 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 \end{bmatrix}\) is not in reduced row echelon form, because it is not in row echelon form. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 1 & 1 & 1 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \end{bmatrix}.\)
  • ✗ The matrix $[1, 2; 2, 4]$ Undergraduate
    The matrix \(A = \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}\) is not in reduced row echelon form, because it is not in row echelon form. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 2 \\ 0 & 0 \end{bmatrix}.\)
  • ✗ The matrix $[2, 0; 0, -3]$ Undergraduate
    The matrix \(A = \begin{bmatrix} 2 & 0 \\ 0 & -3 \end{bmatrix}\) is not in reduced row echelon form, because the leading entry $2$ of row $1$ is not $1$. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.\)
  • ✗ The matrix $[1, 1; -1, 1]$ Undergraduate
    The matrix \(A = \begin{bmatrix} 1 & 1 \\ -1 & 1 \end{bmatrix}\) is not in reduced row echelon form, because it is not in row echelon form. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.\)
  • The matrix \(A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 10 \end{bmatrix}\) is not in reduced row echelon form, because it is not in row echelon form. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}.\)
  • ✗ The matrix $[2, 1; 4, 3]$ Undergraduate
    The matrix \(A = \begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}\) is not in reduced row echelon form, because it is not in row echelon form. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.\)
  • ✗ The matrix $[3, 1; -1, 1]$ Undergraduate
    The matrix \(A = \begin{bmatrix} 3 & 1 \\ -1 & 1 \end{bmatrix}\) is not in reduced row echelon form, because it is not in row echelon form. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.\)
  • ✗ The matrix $[4, 2; 2, 3]$ Undergraduate
    The matrix \(A = \begin{bmatrix} 4 & 2 \\ 2 & 3 \end{bmatrix}\) is not in reduced row echelon form, because it is not in row echelon form. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.\)
  • ✗ The matrix $[1, 1; 0, 1]$ Undergraduate
    The matrix \(A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}\) is not in reduced row echelon form, because the entry $1$ above the leading entry of row $2$ is not $0$. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.\)
  • ✗ The matrix $[0, 1; 1, 0]$ Undergraduate
    The matrix \(A = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}\) is not in reduced row echelon form, because it is not in row echelon form. Row reduction gives the reduced row echelon form of the matrix: \(\operatorname{RREF}(A) = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.\)

Properties

  • In a matrix in reduced row echelon form, each leading entry is the only nonzero entry in its column.
  • Every matrix $A$ can be brought by row operations to exactly one matrix in reduced row echelon form, called the reduced row echelon form of $A$ and written $\operatorname{RREF}(A)$.
  • Gauss–Jordan elimination brings a matrix to its reduced row echelon form.
  • The number of nonzero rows of the reduced row echelon form of $A$ is the rank of $A$, and the number of columns with no leading entry is the nullity of $A$.
  • The reduced row echelon form of an invertible $n \times n$ matrix is the $n \times n$ identity matrix.
  • If the reduced row echelon form of the augmented matrix of a linear system has a leading entry in every column except the last one, then the system has exactly one solution, which can be read from the last column.

Notes

To practice, see the REF/RREF study tool and the Gaussian elimination practice tool.

All definitions · All distinctions · All examples · Notation