How to Solve a System of Equations Using RREF

Published 16 November 2026 · Math

Try it nowRREF Calculator →

Gauss-Jordan elimination turns any linear system into reduced row echelon form (RREF), where the solution can be read directly. Do the row operations instantly with the RREF calculator.

Step 1: write the augmented matrix

x + y = 3 and x − y = 1 become the rows [1 1 | 3] and [1 −1 | 1].

Step 2: row-reduce

  1. R2 → R2 − R1: [0 −2 | −2]
  2. R2 → R2 ÷ −2: [0 1 | 1]
  3. R1 → R1 − R2: [1 0 | 2]

So x = 2, y = 1.

Reading the result

  • Unique solution: every variable column has a leading 1.
  • No solution: a row like [0 0 0 | 5] (0 = 5 is impossible).
  • Infinitely many: a variable column without a leading 1 – that variable is free.

Three-variable example

Enter the calculator’s default matrix: the RREF gives rank 2 for a 3 × 4 matrix, with a free variable – meaning infinitely many solutions along a line.

Keep reading