SOLUTION: How do I graph y=-x

Algebra ->  Graphs -> SOLUTION: How do I graph y=-x      Log On


   



Question 449327: How do I graph y=-x
Answer by MathLover1(20849) About Me  (Show Source):
You can put this solution on YOUR website!

y=-x
plug in two values for x and find y
x | y
0 | 0
1 | -1
now you have points (0,0) and (1,-1); plot them on a graph and draw the line through
Solved by pluggable solver: FIND EQUATION of straight line given 2 points
hahaWe are trying to find equation of form y=ax+b, where a is slope, and b is intercept, which passes through points (x1, y1) = (0, 0) and (x2, y2) = (1, -1).
Slope a is a+=+%28y%5B2%5D-y%5B1%5D%29%2F%28x%5B2%5D-x%5B1%5D%29+=+%28-1-0%29%2F%281-0%29+=+-1.
Intercept is found from equation a%2Ax%5B1%5D%2Bb+=+y%5B1%5D, or -1%2A0+%2Bb+=+0. From that,
intercept b is b=y%5B1%5D-a%2Ax%5B1%5D, or b=0--1%2A0+=+0.

y=(-1)x + (0)

Your graph: