# How do you solve #x-y=-2#, #2x+y=6# by graphing?

##### 1 Answer

Apr 28, 2017

Solution is

#### Explanation:

To solve such linear equations we should draw the graphs of these lines and point of intersection is the solution.

Let us draw graph of

graph{(x-y+2)(x^2+(y-2)^2-0.04)((x-5)^2+(y-7)^2-0.04)((x+8)^2+(y+6)^2-0.04)=0 [-20, 20, -10, 10]}

Similarly, some points on

graph{(2x+y-6)(x^2+(y-6)^2-0.04)((x-4)^2+(y+2)^2-0.04)((x+1)^2+(y-8)^2-0.04)=0 [-20, 20, -10, 10]}

The point of intersection is given by the graph below

graph{(2x+y-6)(x-y+2)=0 [-9.625, 10.375, -2.32, 7.68]}

i.e. Solution is