Home›Maths›RREF Explained

RREF Explained: Reduced Row Echelon Form, Pivots, and Solving Systems

RREF is the form in which a system of equations answers itself: ones on the diagonal, zeros elsewhere, and the solution reading off the last column.

7 min readUpdated October 2026RREF Calculator

Reduced row echelon form (RREF) is the end state of Gaussian elimination: a matrix in which every pivot is 1, every pivot is the only non-zero entry in its column, and the pivots step down and to the right. A system of linear equations, written as an augmented matrix and reduced to RREF, displays its solution directly — the last column, against the pivot columns — with no back-substitution. This guide covers the row operations, the definition, the worked 3×3 example, and the three cases a system can end in: one solution, no solution, or infinitely many.

Key takeaways
  • RREF requires four conditions: all-zero rows at the bottom, the first non-zero entry of each row (the pivot) is 1, each pivot is the only non-zero entry in its column, and the pivots step down and to the right. A matrix in row echelon form without the column condition is not reduced.
  • The only operations allowed are swapping two rows, multiplying a row by a non-zero number, and adding a multiple of one row to another. Every other manipulation — including adding two rows and replacing one — breaks the solution set.
  • The worked 3×3 system x + 2y + 3z = 14, 2x + y + z = 7, 3x + 4y + z = 14 reduces to x = 1, y = 2, z = 3. The solution reads off the last column once the pivot columns are unit columns, and it checks by substitution into all three original equations.

The three row operations, and why only these three

Gaussian elimination uses exactly three operations, and the reason is that each preserves the solution set. Swapping two rows reorders the equations, which does not change what satisfies them. Multiplying a row by a non-zero number scales an equation, which does not change its solutions. Adding a multiple of one row to another replaces an equation by itself plus a multiple of another, which does not change the common solutions, because any solution of the original equations satisfies the combination, and the combination plus the other equation recovers the original. Every step of elimination is one of these three, and any manipulation outside them — squaring a row, multiplying two rows, adding a row to itself twice — risks changing the solution set and invalidating the result.

The operations are also reversible, which is the deeper reason they preserve solutions: each has an inverse operation of the same kind, so the original system can be recovered from the reduced one. Elimination is therefore not a lossy simplification but a reversible transformation, and the RREF is the same system in a more readable form. The RREF Calculator applies the operations in the standard order — forward elimination to echelon form, then backward elimination to reduced form — and shows the steps, so the reversibility is visible rather than asserted.

Pivots are the leading entries: the first non-zero entry in each row. The pivot columns are the columns containing pivots; the remaining columns are free columns, corresponding to free variables. The distinction is the whole classification of solutions: a pivot in every variable column means a unique solution; a pivot in the augmented column means no solution; a free variable means infinitely many, parametrised by the free variable. The RREF makes the classification readable at a glance, which is its purpose.

The definition: four conditions, in order

A matrix is in reduced row echelon form when it satisfies four conditions. First, all rows consisting entirely of zeros are at the bottom. Second, the first non-zero entry in each non-zero row — the pivot — is 1. Third, each pivot is the only non-zero entry in its column: every other entry in a pivot column is 0. Fourth, the pivots step down and to the right: the pivot of each row is strictly to the right of the pivot of the row above it. The third condition is what distinguishes reduced form from ordinary row echelon form, which requires only the first, second, and fourth.

The RREF of a matrix is unique: every matrix has exactly one RREF, however it is reached. Row echelon form is not unique — different elimination orders give different echelon forms — but the reduced form is, and the uniqueness is what makes RREF a canonical form, suitable for comparing matrices and for reading solutions. Two systems with the same RREF have the same solution set, and two matrices with different RREFs are different matrices in the sense that matters. The uniqueness is also a check: an elimination that produces a matrix satisfying all four conditions has produced the RREF, and no further reduction is possible or needed.

A common error is stopping at echelon form and calling it reduced. An upper-triangular matrix with 1s on the diagonal and non-zero entries above them is in echelon form, but it is not in RREF until the entries above each pivot are cleared by backward elimination. The backward pass — using each pivot to clear its column upward — is half the work and the half that makes the solution readable without back-substitution. Skipping it saves time and loses the point.

Worked example: a 3×3 system, step by step

The system: x + 2y + 3z = 14; 2x + y + z = 7; 3x + 4y + z = 14. The augmented matrix is [[1, 2, 3 | 14], [2, 1, 1 | 7], [3, 4, 1 | 14]]. Forward elimination: subtract 2× row 1 from row 2, giving [0, −3, −5 | −21]; subtract 3× row 1 from row 3, giving [0, −2, −8 | −28]. Then subtract (2/3)× row 2 from row 3, giving [0, 0, −14/3 | −14]. The matrix is now in echelon form, with pivots 1, −3, and −14/3.

Scale the pivots to 1 and clear upward. Divide row 3 by −14/3, giving [0, 0, 1 | 3]: so z = 3. Divide row 2 by −3, giving [0, 1, 5/3 | 7], and subtract (5/3)× row 3 to clear the z column, giving [0, 1, 0 | 2]: so y = 2. Subtract 2× row 2 and 3× row 3 from row 1, giving [1, 0, 0 | 1]: so x = 1. The RREF is the 3×3 identity matrix with last column (1, 2, 3), and the solution reads off directly: x = 1, y = 2, z = 3.

Check by substitution into the original equations: 1 + 2(2) + 3(3) = 1 + 4 + 9 = 14; 2(1) + 2 + 3 = 7; 3(1) + 4(2) + 3 = 3 + 8 + 3 = 14. All three check. The check is not optional decoration: elimination is a long chain of arithmetic, and substituting the solution into the original system is the one verification that catches an error anywhere in the chain. The calculator performs the same steps with exact fraction arithmetic, and its result for this system is x = 1, y = 2, z = 3.

The three cases: one solution, none, or infinitely many

One solution: a pivot in every variable column, and no pivot in the augmented column. The RREF reads x = a, y = b, z = c, and the solution is unique. No solution: a pivot in the augmented column — a row of the form [0, 0, 0 | d] with d ≠ 0 — which states 0 = d, a contradiction. The system is inconsistent, and no values satisfy all equations at once. The RREF displays the contradiction as a row, and the row is the proof: the system cannot be solved, because one of its equations, after reduction, asserts a falsehood.

Infinitely many solutions: at least one free variable — a variable column without a pivot — and no pivot in the augmented column. The RREF expresses each pivot variable in terms of the free variables, and the solution set is a line, a plane, or a higher-dimensional flat, parametrised by the free variables. The system x + y = 3 alone, in two variables, has RREF [1, 1 | 3] and solutions (t, 3 − t) for any t: a line. The free variable is not a failure of the method; it is the answer, and the parametrisation is the complete description of the solution set.

Rank is the count of pivots, and it summarises the classification: rank equal to the number of variables gives uniqueness (if consistent); rank less than the number of variables gives either inconsistency or infinitely many solutions, distinguished by whether the augmented column gains a pivot. The rank is also the dimension of the row space and the column space, and it is the single number that most constrains what a system can do. A system with more equations than variables is overdetermined and usually inconsistent; a system with fewer equations than variables is underdetermined and usually has infinitely many solutions — usually, not always, and the RREF decides the actual case.

Inverses: solving many systems at once

The RREF does more than solve one system. Augment a square matrix A with the identity matrix, reduce [A | I] to RREF, and the result is [I | A⁻¹] — the inverse, if it exists. The reduction applies the same row operations to both halves, and the operations that turn A into the identity turn the identity into the inverse, because the operations are the record of the transformation. If A reduces to the identity, A is invertible, and the right half is the inverse; if A does not — a row of zeros appears on the left — A is singular, and no inverse exists. The test and the computation are one process.

Worked example. A = [[2, 1], [1, 1]]. Augment: [[2, 1 | 1, 0], [1, 1 | 0, 1]]. Swap the rows: [[1, 1 | 0, 1], [2, 1 | 1, 0]]. Subtract 2× row 1 from row 2: [[1, 1 | 0, 1], [0, −1 | 1, −2]]. Multiply row 2 by −1: [[1, 1 | 0, 1], [0, 1 | −1, 2]]. Subtract row 2 from row 1: [[1, 0 | 1, −1], [0, 1 | −1, 2]]. The inverse is [[1, −1], [−1, 2]]. Check: A times its inverse is [[2×1 + 1×(−1), 2×(−1) + 1×2], [1×1 + 1×(−1), 1×(−1) + 1×2]] = [[1, 0], [0, 1]], the identity, as required.

The inverse solves every system with the same coefficient matrix at once: x = A⁻¹b for any right-hand side b, with no further elimination. For one system, direct elimination is faster; for many systems with the same A — a structure analysed under many loads, a circuit driven by many inputs — the inverse, computed once, answers them all by multiplication. The cost is numerical: forming the inverse explicitly is less accurate than solving directly for large or ill-conditioned matrices, and production software solves rather than inverts wherever a single answer is needed. The inverse is the concept that unifies the systems; the direct solve is the computation that answers one.

Frequently asked questions

What is reduced row echelon form?

A matrix in which every pivot is 1, each pivot is the only non-zero entry in its column, all-zero rows are at the bottom, and the pivots step down and to the right. It is the end state of Gaussian elimination, and the RREF of a matrix is unique.

What is the difference between REF and RREF?

Row echelon form requires pivots of 1 stepping down and to the right, with zeros below them, but allows non-zero entries above the pivots. Reduced row echelon form additionally requires zeros above each pivot, so each pivot is the only non-zero entry in its column. RREF is unique; REF is not.

What are the three row operations?

Swap two rows, multiply a row by a non-zero number, and add a multiple of one row to another. Each preserves the solution set, each is reversible, and every step of elimination is one of the three.

How do you read the solution from RREF?

The pivot columns are unit columns, and the last column gives the values: the row [1, 0, 0 | 1] reads x = 1, [0, 1, 0 | 2] reads y = 2, [0, 0, 1 | 3] reads z = 3. No back-substitution is needed.

What does a row of zeros with a non-zero last entry mean?

No solution. The row [0, 0, 0 | d] with d ≠ 0 states 0 = d, a contradiction, so the system is inconsistent and no values satisfy all equations at once.

What does a free variable mean?

Infinitely many solutions. A variable column without a pivot corresponds to a free variable, and the RREF expresses each pivot variable in terms of the free variables. The solution set is parametrised by the free variables.

Try it on the calculator

Run your own figures through the calculator and see the answer in numbers.

Open the RREF Calculator →
Sources: RREF definition, row operations, and the classification of solutions are standard linear algebra; the worked example is computed by exact fraction elimination and verified by substitution into the corrected system. This article is general educational information.
Related guides

Similar Posts