Skip to content
LoveToCalc

Substitution method

Rewrite one equation for a variable, and the system becomes one equation in one unknown.

In Swedish: Substitutionsmetoden

How the method works

A system of equations is two equations in two unknowns that must hold at the same time. The substitution method turns them into one equation in one unknown, in four steps:

  1. Solve one of the equations for one of the variables.
  2. Put that expression into the other equation, in place of the variable.
  3. Solve the new equation, which has only one unknown left.
  4. Put the answer into the expression from step 1 to get the other variable.

The page has no formula, because the method is a procedure rather than an equation. Each equation in the system is a straight line, and the solution is the point where the lines cross. Parallel lines give no solution, and two equations for the same line give infinitely many.

Worked examples

A system where step 1 is already done.

Equation (1) is already solved for y. Put 2x + 1 in place of y in (2):

Put x = 2 into (1): y = 2 · 2 + 1 = 5. The solution is x = 2, y = 5.

The check. In (2): 3 · 2 + 5 = 11. It holds. The same system is worked step by step in the system of equations calculator.

Common mistakes

Common questions

Which equation should I solve first? The one where a variable stands alone or has the coefficient 1 or −1. It can be solved for without dividing, and the rest of the working stays free of fractions.

What if no variable has the coefficient 1? The method still works, but with fractions. The elimination method is often easier then, because it only needs the equations multiplied by whole numbers.

Does substitution work for three equations too? Yes, in principle: solve for one variable and put it into the other two, leaving a system of two equations. The working soon gets long, so elimination is usually used for three equations. The calculator does the same.

Last reviewed October 6, 2026 ·How pages are reviewed

Calculate it in practice

Straight linesAll formulas