Steply

Solve by substitution: x + 2y = 4, 2x + 4y = 8

Step by step, with the reason for every step · Solving by substitution · Algebra 1

Step by step

The question

Question: solve x + 2y = 4 and 2x + 4y = 8 by substitution.

x + 2y = 4①

We call them ① and ②.

We want the x and y that make both true.

2x + 4y = 8②

1 Get x alone in ①

No letter is alone yet.

In ①, x has just 1 in front.

So we get x alone there first.

We want x by itself.

The + 2y is in the way.

To remove + 2y, we take away 2y.

We do it on both sides, so they stay equal.

x + 2y − 2y = 4 − 2y

+ 2y and − 2y make zero.

Cross them out.

Write what is left.

x = 4 − 2y

We write the y part first.

Each part keeps its sign.

x is by itself.

We call it ③.

x = −2y + 4③

2 Put ③ into ②

In ③, x is now alone.

x is the same as −2y + 4.

So in ②, we write (−2y + 4) in place of x.

The brackets keep it together.

Putting one thing in place of another is called substitution.

2(−2y + 4) + 4y = 8

3 Find y

The 2 in front of the bracket multiplies every part inside.

So we write 2 times each part.

2 × (−2y) + 2 × 4 + 4y = 8

Careful!

Not only the first part!

4 is multiplied by 2 too.

Careful: not −4y + 4 ✗

Work out each multiplication.

−4y + 8 + 4y = 8

Terms are the parts between the + and − signs.

Like terms are the same kind: same letters, same powers.

All the y terms go together.

−4y + 4y = 0.

−4y + 4y = 0

Now we have 8 = 8.

8 = 8

Both letters are gone, and 8 = 8 is always true.

The two equations are the same line.

So every point on the line works.

Always true: every point on the line works.

Let's look back.

First: get x alone in ①.

Then: put ③ into ②.

Last: find y.

Answer
8 = 8

More from Solving by substitution

The whole lesson: Solving by substitution →