document.write( "Question 285651: It has been a really long time since high school so I am not sure what to do or where to look to learn how to do this!
\n" ); document.write( "Thanks\r
\n" ); document.write( "\n" ); document.write( "Given two points (x1, y1) and (x2, y2), derive the equation of the line that passes through those two points and write
\n" ); document.write( "it in the form y = mx + b. This is called the slope-intercept form of the equation of the line because the two parameters m and b
\n" ); document.write( "represent the slope and y-intercept of the line.
\n" ); document.write( "

Algebra.Com's Answer #207068 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Given 2 points example.
\n" ); document.write( "Find the equation of the line thru the points (2,1) and (3,5)
\n" ); document.write( "---------------------
\n" ); document.write( "This is a 2 step process. First find the slope of the line thru the points.
\n" ); document.write( "slope, m = diffy/diffx
\n" ); document.write( "m = (5-1)/(3-2)
\n" ); document.write( "m = 4
\n" ); document.write( "---------
\n" ); document.write( "Now use y = mx + b with either point to find b, the y-intercept.
\n" ); document.write( "y = mx + b
\n" ); document.write( "5 = 4*3 + b
\n" ); document.write( "b = -7
\n" ); document.write( "-------
\n" ); document.write( "y = mx + b
\n" ); document.write( "y = 4x - 7 is the answer.
\n" ); document.write( "------------------------
\n" ); document.write( "For further assistance, or to check your work, email me via the thank you note.
\n" ); document.write( "
\n" ); document.write( "
\n" );