How do you graph #y+x=2#?

1 Answer
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 = mx+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 #(0,2)#.

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 #(color(blue)(2,0))#
The point containing the y-intercept is #(color(red)(0,2))#.

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]}