Linear Equation Solver

Solve systems of linear equations1 \(A\mathbf{x} = \mathbf{b}\) using row reduction2 with detailed step-by-step output.
Handles consistent, inconsistent, and underdetermined systems.

A system of linear equations \(A\mathbf{x} = \mathbf{b}\) can be:

  • Consistent with unique solution: Exactly one solution exists
  • Consistent with infinitely many solutions: Free variables present (underdetermined)
  • Inconsistent: No solution exists (contradictory equations)3

This solver uses Gauss-Jordan elimination4 to reduce the augmented matrix \([A|\mathbf{b}]\) to reduced row echelon form (RREF) and determine the solution set.

Set matrix dimensions

Enter dimensions and click Generate Matrix to create the augmented input grid.

Display values as:
1 — Set Up
Loads a pre-filled 3×3 linear system — ready to solve.
2 — Compute
Solves the linear system using step-by-step row reduction and back substitution.
Resets all dimensions, matrix entries, and results.