Math

System of Equations Solver

Solve 2-variable or 3-variable linear systems from an augmented matrix with elimination steps.

Quick guide

How to use the System of Equations Solver

  1. Enter or choose augmented matrix.
  2. Select Solve system.
  3. Review the main result, supporting breakdown, and step-by-step calculation notes.
  4. Copy the output or download the generated file when available.

What this tool does

Solve 2-variable (x, y) and 3-variable (x, y, z) systems of linear equations by entering their augmented coefficient matrix. The solver applies Gauss–Jordan elimination to classify every system accurately into a unique solution, infinitely many solutions (dependent equations), or no solution (inconsistent equations).

a₁x + b₁y = c₁ → [ a₁ b₁ | c₁ ] ⇒ [ 1 0 | x ], [ 0 1 | y ]

Calculation method

  1. Enter each linear equation as one row of coefficients followed by its right-hand constant (2×3 for two variables or 3×4 for three variables).
  2. Reduce the augmented matrix to Reduced Row Echelon Form (RREF) with partial pivoting.
  3. Check for inconsistent rows ([0 0 … | nonzero]), free variables (infinitely many solutions), or a complete identity block yielding unique x, y, (z) values.

Example: solving 2x + y = 5 and x − y = 1

Input: Augmented matrix: 2 1 5 / 1 -1 1

Result: x = 2, y = 1 (RREF [[1, 0 | 2], [0, 1 | 1]])

Adding the two equations eliminates y to give 3x = 6, so x = 2. Substituting back gives 2 − y = 1, so y = 1. Gauss–Jordan elimination arrives at the same values systematically.

Practical uses

  • Algebra and linear algebra homework verification
  • Circuit mesh and node current equations
  • Mixture, break-even, and supply-demand problems
  • Checking parallel or coincident lines

Accuracy tips and common mistakes

  • Move all variable terms to the left side and constants to the right side before typing coefficients, and insert 0 for any missing variable.
  • For a 3-variable system, every row must have 4 numbers (x, y, z, constant).
  • Always verify a unique solution by plugging x, y, and z back into the original equations.
Frequently Asked

System of Equations Solver – Frequently Asked Questions

Common questions, edge-cases, and mathematical explanations.

How do I enter an equation that is missing one variable, like x + 2z = 7?

Put 0 in the missing variable’s column. For x + 2z = 7 in a 3-variable (x, y, z) system, enter the row as: 1 0 2 7.

What does “No solution” mean geometrically?

The equations are inconsistent—for example, two parallel lines in 2D or parallel planes in 3D that never intersect at a common point. In RREF, this appears as a row of zeros equal to a nonzero constant.

What does “Infinitely many solutions” mean?

At least one equation is a linear combination of the others, leaving a free variable. Geometrically, two equations describe the same line or planes intersecting along an entire line.

Analytics preferences

Optional Google Analytics cookies help us understand visits and improve our tools. Analytics is off until you allow it. Your tool inputs and files are never included in our analytics events. Read our privacy policy.

Analytics is off.