# how do you get x+y=5 into y=mx+b format?

this is geometry.i have to graph x+y=5 but i have to convert it into y=mx+b format first.

Top 7 Answers

Favorite Answer

First, you need to get the y by itself, so subtract x from both sides

x+y=5

y=5-x

Then, rearrange to the correct format:

y=-1x+5

This will have a negative slope on a graph

0

Think back to Algebra and solve the equation for y. Viola!

For a little more detail…

Subtract x from both sides of the equation:

x + y = 5

x+y-x= 5-x

y = -x + 5

0

X + Y = 5

subtract x from the left

Y = -1X + 5

0

y=5-x

you just move the numbers around like you would in a algebra problem

0

y=(negative)x+5

0

x+y=5

-x -x

y=5-x

**Rearrange**

y=-x+5

Final Answer

y=-x+5

AIM me airjordan255

0

y=5x+b

0