Guide

Simultaneous equations: the substitution method

By Viktor Lassen4 min readUpdated 3 September 2026

Two equations with two unknowns can be solved by substitution: get one unknown on its own in one equation, put that expression into the other equation, and you are left with one ordinary equation to solve.

Sometimes we have to find two unknowns at once, so both an xx and a yy. One equation with two unknowns can't be solved on its own, but with two equations we can pin both values down. There are several methods, and the one I like best is the substitution method. The usual hurdle is stopping halfway, with an expression for yy instead of a value.

When do I use this?

Sometimes we come across equations with several unknowns, where we have to find a value for both xx and yy. To solve them, we need just as many equations as we have unknowns. One equation with several unknowns can't be solved; we can only guess at what the different values might be. Let's take an example with two equations, where we have to find two unknown values:

2x+y=62x + y = 6

x+2y=14x + 2y = 14

Here we have to find out what both xx and yy are. So there are two different values we have to find. When we have several equations that have to be solved together like this, we call it a system of equations. At GCSE they're called simultaneous equations.

The procedure

The substitution method is about making an expression for one of the variables, which we can then put in the variable's place in the other equation.

  1. Pick one equation and one variable, and get that variable on its own. That gives an expression for it. It doesn't matter which variable and which equation you go for, but some variables are easier to make an expression for than others.
  2. Put that expression in the variable's place in the other equation. Now the other equation has only one unknown in it, so we can solve it like any equation.
  3. Put the value you found back into one of the equations to find the other variable.

Worked example

In this system we could make an expression for yy from the first equation, because yy stands almost alone there already. When we make an expression for a variable, we actually just get it on its own:

2x+y=62x + y = 6

In this equation we can get yy on its own by taking 2x2x away on both sides:

y=6โˆ’2xy = 6 - 2x

This is now what yy equals. It's not our final solution for yy, because we don't have an exact value yet. But this so-called expression for yy we put in yy's place in the other equation:

x+2y=14x + 2y = 14

The expression for y put into the other equation: x + 2(6 โˆ’ 2x) = 14

x+2(6โˆ’2x)=14x + 2(6 - 2x) = 14

So now we've put the expression for yy in yy's place in the other equation, and what we notice is that we now only have one unknown, xx. That means we can now solve the equation for xx. First we multiply the 2 into the bracket (see expanding a single bracket):

x+12โˆ’4x=14x + 12 - 4x = 14

โˆ’3x+12=14-3x + 12 = 14

Then we do the opposite of +12+12 on both sides, and afterwards the opposite of "times โˆ’3-3":

โˆ’3x=2-3x = 2

x=โˆ’23x = -\frac{2}{3}

You'll sometimes see that whole jump written with a double arrow, โ‡”\Leftrightarrow. The strange arrow just means "is equivalent to".

We now have our solution for xx, but we still lack the solution for yy. So we can put our value for xx in xx's place in one of the equations. It doesn't matter which equation we use to find the other variable. Let's use the first:

2x+y=62x + y = 6

2ร—(โˆ’23)+y=62 \times \left(-\frac{2}{3}\right) + y = 6

โˆ’43+y=6-\frac{4}{3} + y = 6

y=6+43=183+43=223y = 6 + \frac{4}{3} = \frac{18}{3} + \frac{4}{3} = \frac{22}{3}

And after putting the solution for xx into one of the equations, we can see that we have the solution for both xx and yy:

x=โˆ’23,y=223x = -\frac{2}{3}, \quad y = \frac{22}{3}

We can check this is right, because we know both values have to fit the other equation too: โˆ’23+2ร—223=โˆ’23+443=423=14-\tfrac{2}{3} + 2 \times \tfrac{22}{3} = -\tfrac{2}{3} + \tfrac{44}{3} = \tfrac{42}{3} = 14. That was the so-called substitution method, because we substitute the expression for one variable into the other equation.

Other methods

There are other methods too, like the elimination method, which solves exactly the same system and gives exactly the same answer. For systems with more than two unknowns, a calculator or a CAS tool is perfectly fine to use. But it's always a good idea to practise solving 2 equations with 2 unknowns by hand, because it shows a real understanding of what's going on.

Common mistakes

  • "y=6โˆ’2xy = 6 - 2x, so that's my answer for yy." It isn't. It's an expression for yy, not a value. It only becomes a value once we know xx and put it back in.
  • "I found xx, so I'm done." We still lack yy. Put the value of xx into one of the equations and find yy as well. The solution is the pair x=โˆ’23x = -\tfrac{2}{3}, y=223y = \tfrac{22}{3}.
  • "If I'd picked the other equation, I'd get a different answer." No. It doesn't matter which variable and which equation you go for. The answer belongs to the system, not to your choice.

Frequently asked questions

Read next

Want to get good at maths?

Mathara explains every topic step by step with videos, exercises and personal feedback.

๐Ÿ‘‰ Get started for free