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 #207063 by stanbon(75887) ![]() You can put this solution on YOUR website! 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( "---------------- \n" ); document.write( "slope = m = (y2-y1)/(x2-x1) \n" ); document.write( "------------------------------ \n" ); document.write( "The line passes thru (x1,y1) so substitute the point \n" ); document.write( "values and the slope values into y = mx+b to get: \n" ); document.write( "y1 = {{y1-y2]/[x2-x1]}[x1] + b \n" ); document.write( "b = y1 - {{y2-y1]/[x2-x1]}[x1] \n" ); document.write( "b = y1 - {x1y2-x1y1}/{x2-x1} \n" ); document.write( "--- \n" ); document.write( "b = [y1(x2-x1) - (x1y2-x1y1]/[x2-x1] \n" ); document.write( "b = [x2y1-x1y1-x1y2+x1y1]/[x2-x1] \n" ); document.write( "b = [x2y1-x1y2]/[x2-x1] \n" ); document.write( "------------------------------- \n" ); document.write( "Equation: \n" ); document.write( "y = [(y2-y1)/(x2-x1)]x + [x2y1-x1y2]/[x2-x1] \n" ); document.write( "================================================= \n" ); document.write( "Cheers, \n" ); document.write( "Stan H. \n" ); document.write( " |