Graph 2=x+y?

2 Answers
May 19, 2018

#y = -x + 2#

Explanation:

#2=x+y#

First put in slope intercept form #y=mx+b#:

m = slope
b = y-intercept

#2=x+y#
#2 - x=x-x+y #
#2 - x = y# (flip it around)
#y = 2 -x# (then into slope intercept form)
#y = -x + 2#

m = -1
y = 2

so the y-intercept is 2 and the slope is -1 (i.e. -1 rise, 1 run)

graph{y=-x+2 [-8.89, 8.89, -4.444, 4.445]}

May 19, 2018

Find the x- and y-intercepts. Plot them and draw a straight line through them.

Explanation:

Graph:

#2=x+y#

Switch sides.

#x+y=2#

This is a linear equation in standard form. In this form, we can easily find the x- and y-intercepts, which can be plotted and a straight line drawn through them.

X-intercept: value of #x# when #y=0#

Substitute #0# for #y#.

#x+0=2#

#x=2#

The x-intercept is #(2,0)#.

Y-intercept: value of #y# when #x=0#

Substitute #0# for #x#.

#0+y=2#

#y=2#

The y-intercept is #(0,2)#.

Plot the x- and y-intercepts and draw a straight line through them.

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