document.write( "Question 638604: given the points (3,-1) and (1,3), find the slope between them.\r
\n" ); document.write( "\n" ); document.write( "given the points (3,-1) and (1,3), and using the answer above, write the equation of the line in the form y=mx+b
\n" ); document.write( "

Algebra.Com's Answer #402331 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
x1 y1 x2 y2
\n" ); document.write( "3 -1 1 3
\n" ); document.write( "
\n" ); document.write( "slope m = (y2-y1)/(x2-x1)
\n" ); document.write( "( 3 - -1 )/( 1 - 3 )
\n" ); document.write( "( 4 / -2 )
\n" ); document.write( "m= -2
\n" ); document.write( "The required line passes through both the points. So we select one point and plug it with the slope
\n" ); document.write( "Plug value of the slope and point(3,-1) in
\n" ); document.write( "Y = m x + b
\n" ); document.write( "-1.00 = -2 * 3 + b
\n" ); document.write( "-1.00 = -6 + b
\n" ); document.write( "b= -1 + 6
\n" ); document.write( "b= 5
\n" ); document.write( "So the equation will be
\n" ); document.write( "Y = -2 x + 5
\n" ); document.write( "m.ananth@hotmail.ca
\n" ); document.write( "
\n" ); document.write( "
\n" );