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

1 Answer
Jun 28, 2016

graph{x-y=2 [0, -2, 2, 0]}

Explanation:

This is a line, so I only need two points to grah it.

If I choose x=0 and I substitute it in the equation, I have y=-2;
If I choose y=0 and I substitute it in the equation, I obtain x=2;
the the line to which the points belong is the requested line:

(0; -2) and (2;0)

graph{x-y=2 [0, -2, 2, 0]}