SOLUTION: I am trying to make a graph and the equation is: y= -x-2. How do I solve this? I know the formula is: y=mx+b. Would the x be zero?

Algebra ->  Graphs -> SOLUTION: I am trying to make a graph and the equation is: y= -x-2. How do I solve this? I know the formula is: y=mx+b. Would the x be zero?      Log On


   



Question 359744: I am trying to make a graph and the equation is: y= -x-2.
How do I solve this? I know the formula is: y=mx+b. Would the x be zero?

Answer by Fombitz(32388) About Me  (Show Source):
You can put this solution on YOUR website!
No, x and y are the variables.
When x=0, y=-2.
(0,-2)
Plot that point.

Now you can do it one of two ways.
Generate another point using the function or use the slope.
To generate another point, pick another x.
When x=2, y=-2-2=-4
(2,-4)
Plot that point, connect the points with a line.

.
.
.
The other way is to use the slope, m.
In this case, m=-1
THe slope is the change in y divided by the change in x.
So if I move 1 unit in the x, then I move -1 units in the y.
To get another point, start with the y-intercept, (0,-2).
X:0%2BDELTA%2Ax=0%2B1=1
Y:-2%2BDELTA%2Ay=-2-1=-3
(-1,-3) is another point on the line.
Plot it and connect the points with a line.

.
.
.
It's the same line. If I had moved 2 units in the x then I would have moved -2 units in the y (since m=-2%2F2=-1, then I would have been at point (3,-2).