Systems of linear equations model mixtures, networks, balancing chemical equations, budgets and much more. A system can have exactly one solution, no solution (inconsistent) or infinitely many (dependent equations).
How to use the System of Equations Calculator
- Choose two or three equations.
- Enter each equation in the form a·x + b·y + c·z = d, one row per equation.
- Read the solution and the row operations used.
Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.
How it works
Gauss–Jordan elimination uses three row operations (swapping rows, scaling a row and adding a multiple of one row to another) to turn the coefficient part of the augmented matrix into the identity. Integer systems are solved with exact fractions.
Formula
Augmented matrix [A | d] → reduced row echelon form [I | x]
Worked example
Inputs: Number of equations: Three equations (x, y, z); a₁ (x): 1; b₁ (y): 1; c₁ (z): 1; d₁ (= right side): 6; a₂ (x): 0; b₂ (y): 2; c₂ (z): 5; d₂ (= right side): -4; a₃ (x): 2; b₃ (y): 5; c₃ (z): -1; d₃ (= right side): 27.
Results: Solution = x = 5, y = 3, z = −2; x = 5; y = 3; z = −2; Augmented matrix = ⎡ 1 1 1 6 ⎤
⎢ 0 2 5 −4 ⎥
⎣ 2 5 −1 27 ⎦; Reduced row echelon form = ⎡ 1 0 0 5 ⎤
⎢ 0 1 0 3 ⎥
⎣ 0 0 1 −2 ⎦.
Key terms
- Consistent system
- A system with at least one solution.
- Reduced row echelon form
- A matrix with leading 1s and zeros above and below them.
Frequently asked questions
How many solutions can a linear system have?
Exactly one, none or infinitely many.
What is an augmented matrix?
The coefficients with the right-hand sides added as an extra column.
How do I enter an equation with a missing variable?
Use 0 as its coefficient.
Which method is best for 3 × 3 systems?
Gaussian or Gauss–Jordan elimination; Cramer's rule also works but needs four determinants.