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

Mar 5, 2016

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

#### Explanation:

In your equation $\left(y = 2 x - 2\right)$, $- 2$ is your y-intercept and $2$ is your slope.

Start by plotting your y-intercept on your y-axis ($0 , - 2$).

Then, from the dot you just plotted, you can begin plotting your slope. Since your slope is $\frac{2}{1}$ (or just two), and given that slope is rise/run, you can plot this by going to the right once, and up twice. Repeat this pattern, and extend your line.

Your graph should look similar to the graph above.