How do you graph the equation by plotting points #y = x - 2#?

2 Answers
Jun 13, 2018

See below

Explanation:

This is the equation of a line, so you only need two points to plot it. To find two points on the line, plug two random #x# values and compute the corresponding #y# values. For example, let's choose #x=0# and #x=1#.

#x = 0# yields #y = 0 - 2 = -2#

So, the first point is #(0,-2)#

#x = 1# yields #y = 1 - 2 = -1#

So, the first point is #(1,-1)#

Draw the two points and connect them, and you have the line

Jun 13, 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=0rArrx-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]}