Steply

Write 5x + y = -2 as y = mx + b

Step by step, with the reason for every step · Write Ax + By = C as y = mx + b · Algebra 1

Step by step

The question

Question: write 5x + y = −2 as y = mx + b.

5x + y = −2

We want y by itself.

Then we can read m and b.

y = mx + b

1 Remove the 5x

We want y by itself.

The 5x is in the way.

To remove 5x, we take away 5x.

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

5x + y − 5x = −2 − 5x

5x and − 5x make zero.

Cross them out.

Write what is left.

−2 and − 5x are not like terms.

They stay as they are.

y = −2 − 5x

We write the x part first, like in y = mx + b.

Each part keeps its sign.

y is by itself.

y = −5x − 2

2 Read m and b

m is the number in front of x: −5.

It is the slope.

m = −5
slope

b is the number on its own: −2.

The line crosses the y-axis at −2.

That point is called the y-intercept.

b = −2
crosses the y-axis

3 Check

Let's check with a point.

Put x = −1 into y = −5x − 2.

We get y = 3.

y = −5(−1) − 2 = 5 − 2 = 3

Now put x = −1 and y = 3 into 5x + y.

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

We get −2, the same as the right side.

So the new equation is right!

Let's look back.

First: remove the 5x.

Then: read m and b.

Last: check.

Answer
y = −5x − 2

Your turn

Try this one yourself, then check:

Write 2x + y = −4
Show the answer
y = −2x − 4

More from Write Ax + By = C as y = mx + b

The whole lesson: Write Ax + By = C as y = mx + b →