How do you graph y=-2xy=2x by plotting points?

1 Answer
Dec 23, 2016

See Explanation

Explanation:

1.1. The way to graph this with plotting points is that you choose random values for xx and you can find out what your yy value becomes.

2.2. For example let's pick 11, 33, and 55 for our xx values.
If you plug in those xx values into the function y=-2xy=2x, you get:

y=-2(1)y=2(1) so your yy equals -22.
Therefore your point on the graph is (1, -2)(1,2).

y=-2(3)y=2(3) which equals -66.
So another point on the graph is (3, -6)(3,6).

y=-2(5)y=2(5) and that will give you -1010.
So there you have another point on your graph which is (5, -10)(5,10).

You can carry on plugging in different values for xx and see what your yy becomes.

3.3. Finally you can plot and connect all the points on the graph and you will get a straight line. If that will pass through the point (0, 0)(0,0), and has a slope of -22 which means whichever point you pick on the line you just drew, your graph goes down 22 and right 11, down 22 right 11, down 22 right 11, and so on.

Here is the graph:

graph{-2x [-10, 10, -5, 5]}

Hope this helped (c: