How do you graph using slope and intercept of 2x-y=5?

1 Answer
Jun 1, 2018

See below.

Explanation:

So we want it in slope which is y=mx+b but this is in standard form.

So let start by rewriting the equation

2x-y=5

Now, we subtract 2x from both sides which gives us:

-y=-2x+5

Now, the variable y can never be a negative numbers, so we divide everything by negative one which changes the sign to this:

y=2x-5

Now, you can plug in any numbers for x that gives you an input for y.

So let plug in 2 values for x.

y=2(-1)-5
y=-2-5 - Distribute the 2 to the number inside the parentheses
y=-7

So now we know when we plug in -1 for x, we got a output of y=-7 but we need to put this as a coordinate point so we can graph this.

So to do this, it goes like this (x, y). So whatever you plug in for x, you put it as the first number. Output is where you put it in the second place.

So let plug in 7 for x this time.

y=2(7)-5
y=14-5
y=9

So we need to put this as a coordinate point which would be (7,9).

The y-intercept of this equation is (0,-5)

Your graph will look like this:
graph{y=2x-5 [-10, 10, -5, 5]}

Ensure that you use a straight edge or something that is straight to draw a straight line.