document.write( "Question 230419: Find the equations of the lines through the following pairs of points, in slope intercept form.
\n" ); document.write( "(1) Find the equation of the line through (2,1), (−6,8).
\n" ); document.write( "

Algebra.Com's Answer #170627 by texttutoring(324)\"\" \"About 
You can put this solution on YOUR website!
First we need to find the slope of the line connecting those 2 points.\r
\n" ); document.write( "\n" ); document.write( "The formula for slope is:\r
\n" ); document.write( "\n" ); document.write( "m=(y2-y1)/(x2-x1)\r
\n" ); document.write( "\n" ); document.write( "In your question, x1=2,y1=1 and x2=-6,y2=8\r
\n" ); document.write( "\n" ); document.write( "m= (8-1)/(-6-2)
\n" ); document.write( "m= 7/-8\r
\n" ); document.write( "\n" ); document.write( "Now we can use the equation of a line (y=mx+b) to find the y-intercept (b).\r
\n" ); document.write( "\n" ); document.write( "We can choose either point (2,1) or (-6,8) to plug in for x and y. I will choose (2,1) because it is easier.\r
\n" ); document.write( "\n" ); document.write( "y=mx+b
\n" ); document.write( "1=(-7/8)*2+b
\n" ); document.write( "1=-14/8 + b
\n" ); document.write( "8/8+14/8=b
\n" ); document.write( "b=22/8\r
\n" ); document.write( "\n" ); document.write( "In slope-intercept form, the equation of the line is:\r
\n" ); document.write( "\n" ); document.write( "y=(-7/8)x + 22/8
\n" ); document.write( "
\n" );