How do you graph x-y=2?

1 Answer
Apr 7, 2018

See a solution process below:

Explanation:

First, solve for two points which solve the equation and plot these points:

First Point: For x = 0

0 - y = 2

-y = 2

color(red)(-1) xx -y = color(red)(-1) xx 2

y = -2 or (0, -2)

Second Point: For y = 0

x - 0 = 2

x = 2 or (2, 0)

We can next plot the two points on the coordinate plane:

graph{(x^2+(y+2)^2-0.035)((x-2)^2+y^2-0.035)=0 [-10, 10, -5, 5]}

Now, we can draw a straight line through the two points to graph the line:

graph{(x-y-2)(x^2+(y+2)^2-0.035)((x-2)^2+y^2-0.035)=0 [-10, 10, -5, 5]}