document.write( "Question 121811: write a equation for a line that passes through the points (-1,5) and (2,-1) \n" ); document.write( "
Algebra.Com's Answer #89419 by MathLover1(20850)\"\" \"About 
You can put this solution on YOUR website!
\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) = (-1, 5) and (x2, y2) = (2, -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-5%29%2F%282--1%29+=+-2\".
\n" ); document.write( " Intercept is found from equation \"a%2Ax%5B1%5D%2Bb+=+y%5B1%5D\", or \"-2%2A-1+%2Bb+=+3\". From that,
\n" ); document.write( " intercept b is \"b=y%5B1%5D-a%2Ax%5B1%5D\", or \"b=5--2%2A-1+=+3\".
\n" ); document.write( "
\n" ); document.write( " y=(-2)x + (3)
\n" ); document.write( "
\n" ); document.write( " Your graph:
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "

\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );