Steply

Solve 3x + y = 5, 2x + y = 2

Step by step, with the reason for every step · Systems of equations · Algebra 1

Step by step

The question

Question: solve 3x + y = 5 and 2x + y = 2.

3x + y = 5①

We call them ① and ②.

We want the x and y that make both true.

We will add the equations to remove one letter.

This way is called elimination.

2x + y = 2②

1 Make the y numbers opposite

We want to remove y.

In ① it is y, in ② it is y.

We make them opposite: y and −y.

Then adding removes y.

We multiply every part of ② by −1.

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

−1 × (2x + y) = −1 × 2② × −1

−1 times 2x is −2x.

−1 times y is −y.

−1 times 2 is −2.

−1 × 2x = −2x, −1 × y = −y, −1 × 2 = −2

We call it ③.

−2x − y = −2③

2 Add the equations

We write ① and ③ under each other: x under x, y under y.

3x + y = 5①
−2x − y = −2③

Look at y: y and −y.

They are opposites.

Added, they make zero.

Why can we add equations?

Both sides of ③ are the same amount.

So we add the same amount to both sides of ①.

y and −y make zero.

Cross them out.

We add ① and ③: the x parts together, and the numbers together.

3x − 2x = x.

5 + (−2) = 3.

3x − 2x = x
5 + (−2) = 3

Now we have x = 3.

x = 3

3 Find x

So x = 3.

4 Find y

We put x = 3 into ①.

3 times 3 is 9.

3(3) + y = 5

Now we have 9 + y = 5.

9 + y = 5

We want y by itself.

The 9 is in the way.

To remove 9, we take away 9.

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

9 + y − 9 = 5 − 9

9 and − 9 make zero.

Cross them out.

5 minus 9 is −4.

5 − 9 = −4

So y = −4.

y = −4

So x = 3 and y = −4, both at the same time.

We write it as (3, −4).

On a graph, it is the point where the two lines meet.

(x, y) = (3, −4)

5 Check

Let's check in both equations.

We put x = 3 and y = −4 into ①.

① 3(3) + (−4) = 9 − 4 = 5

We get 5, the same as the right side.

Now ②.

② 2(3) + (−4) = 6 − 4 = 2

We get 2, the same as the right side.

Both work.

So the answer is right!

Let's look back.

First: make the y numbers opposite.

Then: add the equations.

Then: find x.

Then: find y.

Last: check.

Answer
(x, y) = (3, −4)

Your turn

Try this one yourself, then check:

Solve 2x + y = 1, 3x + y = −1
Show the answer
(x, y) = (−2, 5)

More from Systems of equations

The whole lesson: Systems of equations →