System of Equations Calculator
Solve simultaneous equations with full row-reduction steps. Linear systems are solved with Gauss–Jordan elimination and checked with Cramer's rule; nonlinear systems use substitution.
How to use the system of equations calculator
- Enter one equation per box.
- Use the same variable names in each equation (x, y, z).
- See the augmented matrix, each row operation and the final solution checked in every equation.
Examples
2x + 3y = 12, x − y = 1
Answer: x = 3, y = 2
x + y + z = 6, 2x − y + z = 3, x + 2y − z = 2
Answer: x = 1, y = 2, z = 3
What a system of equations is
A system is two or more equations that share variables, and the solution is the set of values that makes all of them true at once. For two linear equations in and , that is the point where their lines cross.
Enter one equation per line. The calculator solves systems of 2 or 3 equations (and more) with substitution or elimination, shows each step, and checks the answer in every original equation.
Three methods
- Substitution: solve one equation for one variable and substitute into the other. Best when a variable already has coefficient 1.
- Elimination: add or subtract multiples of the equations so that one variable cancels. Best when coefficients line up.
- Matrices: write the system as and use row reduction, an inverse, or Cramer's rule. Best for 3 or more variables.
Worked example (elimination)
- Multiply the second equation by 3: .
- Add it to the first: , so .
- Substitute into : , so .
- Check: ✓ and ✓.
Solution: .
How many solutions?
- One solution: the lines cross at one point.
- No solution: the lines are parallel (same slope, different intercept). Elimination ends in something false like .
- Infinitely many: the equations describe the same line. Elimination ends in .
Common mistakes
- Multiplying only one side, or only some terms, of an equation.
- Substituting back into an equation you already changed, which spreads earlier mistakes. Use an original equation for the check.
- Mixing up the order when writing the answer as a point: it's .
Word problems with two unknowns (tickets, mixtures, ages, speeds) almost always become a system like this.
Formulas
Practice problems
Try each one first, then open the answer to check your work.
1.Solve , .
Show answer
, . Add the equations: .
2.Solve , .
Show answer
, . Substitute: .
3.Solve , .
Show answer
, . Eliminate : multiply by 3 and by 2, then subtract.
4.How many solutions does , have?
Show answer
Infinitely many. The first equation is just twice the second.
5.Adult tickets cost 8 dollars and child tickets 5 dollars. 20 tickets cost 130 dollars in total. How many adult tickets were sold?
Show answer
10 adults and 10 children. , .
Key terms
- System of equations
- Two or more equations solved together.
- Consistent system
- A system with at least one solution.
- Inconsistent system
- A system with no solution, such as parallel lines.
- Ordered pair
- A solution written as .
- Augmented matrix
- The coefficients and constants of a system written as one matrix.