# How do you graph y+x=2?

Sep 4, 2016

Refer to the explanation.

#### Explanation:

Graph $y + x = 2$.

Convert this equation to point-slope form by solving for $y$. The general equation for point-slope form is $y = m x + b$, where $m$ is the slope and $b$ is the y-intercept.

Subtract $x$ from both sides.

$y = - x + 2$,
where $m = - 1$ and $b = 2$

Determine the points which contain the x- and y-intercepts. The y-intercept is the point in which $x = 0$, and the x-intercept is the point in which $y = 0$.

The point which contains the y-intercept is $\left(0 , 2\right)$.

To determine the point containing the x-intercept, make $y = 0$ and solve for $x$.

$0 = - x + 2$

Add $x$ to both sides of the equation .

$x = 2$

The point containing the x-intercept is $\left(\textcolor{b l u e}{2 , 0}\right)$
The point containing the y-intercept is $\left(\textcolor{red}{0 , 2}\right)$.

Now plot the two points on a graph and draw a straight line through the two points.

graph{y=-x+2 [-10, 10, -5, 5]}