# How do you graph y=x-7 by plotting points?

##### 1 Answer
Jun 20, 2018

Sample two points from the equation and connect them

#### Explanation:

First of all, notice that you want to plot a line. In fact, your function is like $y = p \left(x\right)$, with $p \left(x\right)$ being a first degree polynomial, and every first degree polynomial represents a line.

Now, to draw a line you only need two points. If you extend the segment connecting those two points, you have your line.

And finally, to sample points from an equation, you simply choose two arbitrary values for the independent variable $x$, and compute the values of the dependent variable $y$.

So, if we choose, for example, $x = 0$, we get

$y = 0 - 7 = - 7$

So, the line passes through the point ${P}_{1} = \left(0 , - 7\right)$

Similarly, choose $x = 10$ to get

$y = 10 - 7 = 3$

So, the line passes through the point ${P}_{2} = \left(10 , 3\right)$

Draw ${P}_{1}$ and ${P}_{2}$, connect them and you have your line.