After you finish this lesson, view all of our Pre-Algebra lessons and practice problems.

How to Solve a System of Equations Using Substitution

This video shows how to solve using substitution.
To solve using substitution, set both equations equal to each other if they both equal y.
This can only be done if you have one equation in terms of a variable.
By having an equation equal to a variable, you can plug into the other equation in terms of that variable, and solve.
If an equation is NOT already equal to a variable, then you would have to isolate a variable for the equation(s), so that it can be plugged into the other equation.
After that, you solve for the missing variable and plug it back into one of the original equations to get the value of the second variable.
The x and y-values are the coordinates for the point of intersection of the two lines.
To check this, plug both x and y-values into an original equation and simplify to see if it holds true.
For example:
y=x+1
y=2x-1
Rewrite this after plugging in 2x-1 for where we see y in the first equation. So:
2x-1=x+1
After solving, we find that x=2.
Then plug in 2 for x in either equation to solve for the y value.
y=2(2)-1
y=3
Therefore, the solution is (2,3).

Examples of Solving a System of Equations by Substitution

Example 1

y = -3x + 5 5x - 4y = -3

The equation y = -3x + 5 already has a value for y.

So, let’s just take the value of y in that equation and substitute it to this 5x - 4y = -3

We’ll have

5x-4(-3x+5)=-3

Distribute -4 to each terms inside the parenthesis

5x+12x-20=-3

Combine like terms

17x-20=-3

Now, let’s isolate the x by adding 20 on both sides.

17x-20+20=-3+20 17x=17

Then divide both sides by 17,

\dfrac{17x}{17} = \dfrac{17}{17}

And we’ll have

x = 1

Then, let’s plug the value of x into one equation to get the value of y.

y = -3x + 5 y = -3 (1) +5 y = -3+5 y = 2

So our answer is (1, 2)

Example 2

-7x - 2y = -13  x - 2y = 11

Let’s solve for one of the variables in one of the equations and then use that to substitute into the other.

Now, solve for the value of x using the bottom equation.

x - 2y = 11

To solve for x, let’s add 2y to both sides of the equation.

x - 2y +2y= 11 +2y x=11+2y

Let’s solve the value of y by substituting the value of x to the bottom equation.

-7(11+2y) - 2y = -13

Distribute -7 to each terms inside the parenthesis

-77-14y-2y=-13

Combine like terms

-77-16y=-13

Now, let’s isolate the y by adding 77 on both sides.

-77-16y+77=-13+77 -16y=64

Then divide both sides by -16,

\dfrac{-16y}{-16} = \dfrac{64}{-16}

And we’ll have

y = -4

Then, let’s plug the value of y into one equation to get the value of x.

x - 2y = 11 x - 2(-4) = 11 x +8 = 11 x =11-8 x =3

So our answer is (3, -4)

Video-Lesson Transcript

In this lesson, you will learn how to solve a system of equations algebraically.

We’re going to use algebra to solve for one of the variables. After that, solve for the other variable.

But the problem is we have two equations with two missing variables at the same time.

So to solve that, we have to find a way to combine the two equations with only one variable.

For example,

y = x + 1
y = 2x - 1

So what we’re going to do is to get one value of y and substitute it to the other equation. In this way, we can eliminate one missing variable.

Let’s take the value of y in the second equation and substitute it to the first equation.

Let’s solve this.

We have y = x + 1

but because we also know that y = 2x - 1

we will come up with this equation

2x - 1 = x + 1

Again, we just get the value of y in one equation and substitute it to the second equation.

This process is called ‘substitution’.

Going back, let’s solve the equation first by subtracting x on both sides of the equation.

2x - x - 1 = x - x + 1

We’ll have

x - 1 = 1

Then to isolate the x, we have to add 1 on both sides of the equation.

x - 1 + 1 = 1 + 1

Now, we have x = 2

But the value of x isn’t the final answer.

We also need to know what is the value of y.

To solve that, let’s just take one equation and substitute the value of x.

Let’s get y = 2x - 1

then plug the value of x.

Let’s do this

y = 2x - 1
y = {(2 \times 2)} - 1
y = 4 - 1

And we’ll have

y = 3

So our final answer is (2, 3)

In order to check this, let’s get the other equation and plug the value of x and y.

y = x + 1
3 = 2 + 1
3 = 3

That is a check.

Solving a System of Equations Using Substitution

So here, you learned how to solve a system of equation algebraically using substitution.

Just a quick recap, we get the value of y in one equation and substitute it to the other equation to solve for x.

Then, we plug in the value of x in one equation to solve for the value of y.

We also check if we got the correct answer by getting an equation and plugging in the value of x and y.

So let’s have another example.

y = 3x - 2
y + x = 6

This is an example of a system of operations where one equation already solved the value of y. While the other equation is not.

Notice that y = 3x - 2 already has a value for y.

So, let’s just take the value of y in that equation and substitute it to this y + x = 6

We’ll have

3x - 2 + x = 6

then let’s combine the like terms

4x - 2 = 6

Now, let’s isolate the x by adding 2 on both sides.

4x - 2 + 2 = 6 + 2
4x = 8

then divide both sides by 4,

\dfrac{4x}{4} = \dfrac{8}{4}

And we’ll have

x = 2

Then, let’s plug the value of x into one equation to get the value of y.

y = 3x - 2
y = {3 \times2} - 2
y = 6 - 2
y = 4

So our answer is (2, 4)

Since we used the top equation to solve for y, let’s use the bottom equation to check.

y + x = 6
4 + 2 = 6
6 = 6

So it checks out.

To recap, we get the first equation and substitute it to the value of y in the second equation to solve for the value of x.

Then we plug the value of x in the first equation to get the value of y.

To check our answers, we plug in the value of x and y in the second equation.

Let’s have another example.

5x - y = 9
3x + 2y = 8

In this case, neither one of the equations solved the value of a variable.

So what we’re going to do is to solve for one of the variables in one of the equations and then use that to substitute into the other.

For me, it will be easier to solve for the value of y using the top equation.

5x - y = 9

To solve for y, let’s subtract 5x from both sides of the equation.

5x - 5x - y = 9 - 5x
-y = 9 - 5x

Note that y is negative. We don’t want a negative y.

So to make it positive, we have to divide both sides by (-1).

\dfrac{-y}{-1} = \dfrac{9}{-1} - \dfrac{5x}{-1}

So now we have

y = -9 + 5x

Now, let’s solve the value of x by substituting the value of y to the bottom equation.

3x + 2y = 8
3x + 2{(-9) + 5x} = 8

Now, let’s simplify 2{(-9) + 5x} by multiplying

3x - 18 + 10x = 8

Then let’s combine like terms

13x - 18 = 8

Now, let’s isolate x by adding 18 on both sides

13x - 18 + 18 = 8 + 18
13x = 26

Then divide both sides by 13

\dfrac{13x}{13} = \dfrac{26}{13}

The answer is

x = 2

Now, let’s solve for the value of y by plugging in the value of x on one of the equations.

Let’s use the top equation

{5(2)} - y = 9
10 - y = 9

Then isolate y by subtracting 10 on both sides.

10 - 10 - y = 9 - 10
-y = -1

Then divide both sides by -1.

\dfrac{-y}{-1} = \dfrac{-1}{-1}

So now

y = 1

So our final answer is (2, 1)

This is probably the most difficult one.