document.write( "Question 400208: How do I find the equation of the line joining the following pairs of points:\r
\n" ); document.write( "\n" ); document.write( "1. (1,8) and (-1,-20)\r
\n" ); document.write( "\n" ); document.write( "2. (2,-1) and (3,5)
\n" ); document.write( "

Algebra.Com's Answer #285147 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
How do I find the equation of the line joining the following pairs of points:
\n" ); document.write( "1. (1,8) and (-1,-20)
\n" ); document.write( "2. (2,-1) and (3,5)\r
\n" ); document.write( "\n" ); document.write( "..\r
\n" ); document.write( "\n" ); document.write( "These equations can take one of two forms: slope-intercept or point-slope. I will do the former, y=mx+b, m being the slope and b the y-intercept. The problem is to find the slope,m, and the y-intercept,b.\r
\n" ); document.write( "\n" ); document.write( "1. slope=change in y/change in x or rise/run.
\n" ); document.write( " =8-(-20)/1-(-1)=28/2=14
\n" ); document.write( " y=14x+b
\n" ); document.write( " using first ordered pair(1,8) (using either pair is ok)
\n" ); document.write( " 8=14(1)+b
\n" ); document.write( " b=8-14=-6
\n" ); document.write( " equation: y=14x-6
\n" ); document.write( "..\r
\n" ); document.write( "\n" ); document.write( "2. slope=change in y/change in x or rise/run.
\n" ); document.write( " =(-1-5)/(2-3)=-6/-1=6
\n" ); document.write( " y=6x+b
\n" ); document.write( " using first ordered pair(2,-1) (using either pair is ok)
\n" ); document.write( " -1=6(2)+b
\n" ); document.write( " b=-12-1=-13
\n" ); document.write( " equation: y=6x-13\r
\n" ); document.write( "\n" ); document.write( "See these two equations on the graph below:\r
\n" ); document.write( "\n" ); document.write( "..\r
\n" ); document.write( "\n" ); document.write( "\"+graph%28+300%2C+200%2C+-6%2C+5%2C+-20%2C+10%2C+14x-6%2C6x-13%29+\"
\n" ); document.write( "
\n" );