document.write( "Question 449327: How do I graph y=-x \n" ); document.write( "
Algebra.Com's Answer #309105 by MathLover1(20849)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( " \"y=-x\"\r
\n" ); document.write( "\n" ); document.write( "plug in two values for \"x\" and find \"y\"\r
\n" ); document.write( "\n" ); document.write( "x | y\r
\n" ); document.write( "\n" ); document.write( "0 | 0\r
\n" ); document.write( "\n" ); document.write( "1 | -1\r
\n" ); document.write( "\n" ); document.write( "now you have points (0,0) and (1,-1); plot them on a graph and draw the line through\r
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
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).
\n" ); document.write( " 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\".
\n" ); document.write( " Intercept is found from equation \"a%2Ax%5B1%5D%2Bb+=+y%5B1%5D\", or \"-1%2A0+%2Bb+=+0\". From that,
\n" ); document.write( " intercept b is \"b=y%5B1%5D-a%2Ax%5B1%5D\", or \"b=0--1%2A0+=+0\".
\n" ); document.write( "
\n" ); document.write( " y=(-1)x + (0)
\n" ); document.write( "
\n" ); document.write( " Your graph:
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" );