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

1 Answer
Jul 22, 2018

#"see explanation"#

Explanation:

#"one way is to find the intercepts, that is where the graph"#
#"crosses the x and y axes"#

#• " let x = 0, in the equation for y-intercept"#

#• " let y = 0, in the equation for x-intercept"#

#x=0rArry=2larrcolor(red)"y-intercept"#

#y=0rArr-x+2=0rArrx=2larrcolor(red)"x-intercept"#

#"Plot the points "(0,2)" and "(2,0)#

#"Draw a straight line through them for graph"#
graph{(y+x-2)((x-0)^2+(y-2)^2-0.04)((x-2)^2+(y-0)^2-0.04)=0 [-10, 10, -5, 5]}