document.write( "Question 509185: Find the equation of a line passing through the pair of points. Write the equation in slope intercept form. The points are (2,1) and (10,-31) \n" ); document.write( "
Algebra.Com's Answer #341315 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Find the equation of a line passing through the pair of points. Write the equation in slope intercept form. The points are (2,1) and (10,-31)
\n" ); document.write( "------------
\n" ); document.write( "The hard way:
\n" ); document.write( "Find the slope, m = diffy/diffx = (-31-1)/(10-2) = -32/8
\n" ); document.write( "m = -4
\n" ); document.write( "---------
\n" ); document.write( "Use y = mx+b and either point to find b
\n" ); document.write( "1 = -4*2 + b
\n" ); document.write( "b = 9
\n" ); document.write( "--> y = -4x + 9
\n" ); document.write( "-------------
\n" ); document.write( "Easier way:
\n" ); document.write( "---
\n" ); document.write( "|+x +y +1|
\n" ); document.write( "|+2 +1 +1| = 0
\n" ); document.write( "|10 -31 1|
\n" ); document.write( "---------
\n" ); document.write( "x(1+31) - y(2-10) + (-62-10) = 0
\n" ); document.write( "32x + 8y = 72
\n" ); document.write( "4x + y = 9
\n" ); document.write( "y = -4x + 9
\n" ); document.write( "
\n" );