System of Equations Solver with Steps

Enter two or more equations separated by commas or new lines. The solver chooses substitution or elimination, shows the working, and checks the solution in every equation.

Try

Worked example

Solve 3x + 2y = 16 and x − y = 2

  1. Isolate a variable. From the second equation, x = y + 2
  2. Substitute. 3(y + 2) + 2y = 16, so 5y + 6 = 16
  3. Solve for y. 5y = 10, so y = 2
  4. Back-substitute. x = 2 + 2 = 4

Answer: x = 4, y = 2

Check: 3(4) + 2(2) = 16 and 4 − 2 = 2.

This example is written out in full. Enter your own problem above and the solver sets out the working the same way.

Where it's used

Systems appear whenever two conditions must hold at once: where two pricing plans cost the same, mixing solutions to a target concentration, supply meeting demand, currents in a circuit, and balancing chemical equations.

How to do it by hand

  1. Pick a method

    Use substitution when one variable is already isolated; use elimination when coefficients line up or can be made to.

  2. Eliminate one variable

    Substitute, or add a multiple of one equation to another, to get an equation in a single variable.

  3. Back-substitute

    Solve for that variable, then substitute back to find the others.

  4. Check in every equation

    The solution must satisfy all the original equations, not only the one you used last.

Common mistakes

Questions about systems of equations

What if there is no solution?

Parallel lines never meet, so the system is inconsistent. You will see a contradiction such as 0 = 5 in the working.

What about infinitely many solutions?

If the equations describe the same line, the working reduces to 0 = 0 and the solution is written in terms of a parameter.

How are three equations in three unknowns solved?

Eliminate one variable from two pairs of equations to get a two-variable system, solve that, then back-substitute. The solver can also use row reduction.

What is Cramer's rule?

A formula for the solution using determinants: each variable is the ratio of two determinants. It is tidy for 2×2 and 3×3 systems and slow for larger ones.

Can it solve systems that are not linear?

Yes, for example a line and a parabola. Substitution usually reduces them to a single quadratic.

Instant calculators for systems of equations

No AI and no limits: answers as you type.

Related step-by-step solvers