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

Jun 1, 2018

See below.

#### Explanation:

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

So let start by rewriting the equation

$2 x - y = 5$

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

$- y = - 2 x + 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 = 2 x - 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 \left(- 1\right) - 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 $\left(x , y\right)$. 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 \left(7\right) - 5$
$y = 14 - 5$
$y = 9$

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

The y-intercept of this equation is $\left(0 , - 5\right)$

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.