How do you graph the line y=2x?

1 Answer
Oct 23, 2017

See a solution process below:

Explanation:

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

First Point: For x = 0

y = 2 * 0

y = 0 or (0, 0)

First Point: For x = 2

y = 2 * 2

y = 4 or (2, 4)

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

graph{(x^2+y^2-0.025)((x-2)^2+(y-4)^2-0.025)=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.025)((x-2)^2+(y-4)^2-0.025)=0 [-10, 10, -5, 5]}