# How do you graph y=x-2?

Apr 3, 2017

$m = 1 = \frac{1}{1}$ and $y$-intercept: $\left(0 , - 2\right)$

#### Explanation:

From the $y$-intercept form of the line $y = m x + b$ you can find the slope $m$ and the $y$-intercept.

$m = \frac{1}{1}$ and $y$-intercept: $\left(0 , - 2\right)$

Plot the $y$-intercept point $\left(0 , - 2\right)$ where $x = 0 , y = - 2$

From this point, use your slope to move up $1$ in the positive $y$ direction and $1$ in the positive $x$ direction and place a point.

Draw a line that passes through both points. Make sure to put arrowheads on the ends of the line to show it continues forever.

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