RREF Calculator (Reduced Row Echelon Form)
Reduce any matrix to RREF via Gauss-Jordan elimination. Every single row operation is clearly labelled with exact fraction calculations.
What is Reduced Row Echelon Form (RREF)?
Reduced Row Echelon Form (RREF) is the simplest and canonical form of any matrix obtained through elementary row operations. While the standard echelon form (REF) has non-zeros above pivots, RREF requires every pivot to be 1 and every other entry in that pivot's column to be strictly 0.
- All rows consisting entirely of zeros are at the very bottom.
- The leading non-zero entry (pivot) of every row is strictly equal to 1.
- Each leading 1 is strictly to the right of the leading 1s above it.
- Each column containing a leading 1 has zeros everywhere else (above and below).
Elementary Row Operations (EROs)
- Row Interchange (\(R_i \leftrightarrow R_j\)): Swap two rows.
- Scalar Multiplication (\(R_i \leftarrow c R_i\)): Multiply a row by a non-zero constant \(c \ne 0\).
- Row Addition (\(R_i \leftarrow R_i + c R_j\)): Add a multiple of one row to another row.
Solved RREF Examples with Labelled Operations
Reduce matrix \(M\) to RREF:
\(M = \begin{bmatrix} 1 & 2 & -1 & 4 \\ 2 & 5 & 2 & 9 \\ 1 & 1 & -5 & 3 \end{bmatrix}\)
Step 1: Eliminate Column 1 below Pivot 1:
- \(R_2 \leftarrow R_2 - 2R_1 \implies \begin{bmatrix} 0 & 1 & 4 & 1 \end{bmatrix}\)
- \(R_3 \leftarrow R_3 - 1R_1 \implies \begin{bmatrix} 0 & -1 & -4 & -1 \end{bmatrix}\)
Step 2: Eliminate Column 2 above and below Pivot in Row 2:
- \(R_1 \leftarrow R_1 - 2R_2 \implies \begin{bmatrix} 1 & 0 & -9 & 2 \end{bmatrix}\)
- \(R_3 \leftarrow R_3 + 1R_2 \implies \begin{bmatrix} 0 & 0 & 0 & 0 \end{bmatrix}\)
Resulting RREF:
\(\text{RREF}(M) = \begin{bmatrix} 1 & 0 & -9 & 2 \\ 0 & 1 & 4 & 1 \\ 0 & 0 & 0 & 0 \end{bmatrix}\)
Analysis: Pivots in columns 1 and 2. Column 3 is a free variable. Pivot count = 2 (Rank = 2).
Find the RREF of invertible 2×2 matrix \(A = \begin{bmatrix} 2 & 4 \\ 3 & 1 \end{bmatrix}\):
Operation 1: \(R_1 \leftarrow \frac{1}{2} R_1 \implies \begin{bmatrix} 1 & 2 \\ 3 & 1 \end{bmatrix}\)
Operation 2: \(R_2 \leftarrow R_2 - 3R_1 \implies \begin{bmatrix} 1 & 2 \\ 0 & -5 \end{bmatrix}\)
Operation 3: \(R_2 \leftarrow -\frac{1}{5} R_2 \implies \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix}\)
Operation 4: \(R_1 \leftarrow R_1 - 2R_2 \implies \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}\)
Since the RREF is the identity matrix \(I_2\), the matrix is non-singular and has full rank.
Understand Gauss-Jordan Inversion
Learn how applying row operations to the augmented matrix \([A \mid I]\) computes the inverse matrix.
Read our student tutorial: How to Find the Inverse of a Matrix →