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

Jun 2, 2018

$y = - 0.5 x + 2.5$. Slope = $- 0.5$, intercepts: $\left(0 , 2.5\right)$, $\left(5 , 0\right)$
graph{y=-0.5x+2.5 [-10, 10, -5, 5]}

#### Explanation:

$x + 2 y = 5$
To get slope and intercept you need to rewrite the function so that y is to the left and expressed as a function of x, like this:
$2 y = - x + 5$ (Subtract x on both sides of the equal sign)
$y = - \frac{1}{2} x + 2 \frac{1}{2}$ (divide both sides with 2)

Here the slope is $- \frac{1}{2}$ (the constant in front of x).

We see that this graph intersects the y axis at $y = 2 \frac{1}{2}$ when $x = 0$
and the x axis at $x = 5$ when y=0.

This gives the following graph:
graph{y=-0.5x+2.5 [-2.203, 6.57, -0.86, 3.523]}