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

1 Answer
Jun 27, 2018

See a solution process below:

Explanation:

To graph a linear equation first solve for two points which solve the equation and plot these points:

First Point: For #x = 0#

#y = -2 xx 0#

#y = 0# or #(0, 0)#

Second Point: For #x = 2#

#y = -2 xx 2#

#y = -4# or #(2, -4)#

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

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

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

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