Skip to content

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

  1. Enter one equation per box.
  2. Use the same variable names in each equation (x, y, z).
  3. 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)

  1. Multiply the second equation by 3: .
  2. Add it to the first: , so .
  3. Substitute into : , so .
  4. 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. 1.Solve , .

    Show answer

    , . Add the equations: .

  2. 2.Solve , .

    Show answer

    , . Substitute: .

  3. 3.Solve , .

    Show answer

    , . Eliminate : multiply by 3 and by 2, then subtract.

  4. 4.How many solutions does , have?

    Show answer

    Infinitely many. The first equation is just twice the second.

  5. 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.

Frequently asked questions

What if the system has no solution?

Row reduction produces a contradictory row (0 = c). The calculator reports that the system is inconsistent.

What about infinitely many solutions?

The solution is expressed in terms of free variables (parameters).

Which method should I use, substitution or elimination?

Use substitution when one variable is already alone (like ). Use elimination when the coefficients line up or are easy to match. Both give the same answer.

Can it solve 3 equations with 3 unknowns?

Yes. Enter each equation on its own line. It uses elimination or matrices and shows each step.

What does it mean if I get $0 = 0$?

The equations describe the same line (or plane), so there are infinitely many solutions. The calculator gives the solution in terms of a parameter.

Can it solve non-linear systems?

Yes. A system like and is solved by substitution, giving the intersection points and .