document.write( "Question 595454: Write in slope-intercept form the equation of the line that passes through the given points.\r
\n" ); document.write( "\n" ); document.write( " (-2,-8),(-1,0)
\n" ); document.write( "

Algebra.Com's Answer #377162 by math-vortex(648)\"\" \"About 
You can put this solution on YOUR website!
Write in slope-intercept form the equation of the line that passes through the given points.
\n" ); document.write( "(-2,-8),(-1,0)\r
\n" ); document.write( "\n" ); document.write( "Hi, there!
\n" ); document.write( ".
\n" ); document.write( "A linear equation in slope-intercept form is written as y = mx + b, where m is the slope and b is the y-intercept. Here, you have two points on the line, but you need to find the slope and the y-intercept.
\n" ); document.write( ".
\n" ); document.write( "[I] Find the slope of the line.
\n" ); document.write( "The definition of the slope is the change in y over the change in x. So, we find the difference between the y-values in the two points, the difference in the x-values, and then divide.
\n" ); document.write( "\"m=%28-8-0%29%2F%28-2-%28-1%29%29\"
\n" ); document.write( "\"m=%28-8%29%2F%28-1%29\"
\n" ); document.write( "\"m=8\"
\n" ); document.write( ".
\n" ); document.write( "Now we know that the slope of the line m is 8. We can substitute 8 for m in the slope-intercept equation.
\n" ); document.write( "\"y=mx%2Bb\"
\n" ); document.write( "\"y=8x%2Bb\"
\n" ); document.write( ".
\n" ); document.write( "[II] Find the y-intercept.
\n" ); document.write( "Since both the points on the line make the equation true, we can substitute the x- and y-values for one of the points into the equation and solve for b. You can use either one. I'll use (-1,0).
\n" ); document.write( ".
\n" ); document.write( "\"y=8x%2Bb%29\"
\n" ); document.write( "\"0=%288%29%28-1%29%2Bb\"
\n" ); document.write( "\"0=-8%2Bb%29\"
\n" ); document.write( "\"8=b\"
\n" ); document.write( "\"b=8\"
\n" ); document.write( ".
\n" ); document.write( "The y-intercept for this equation is 8. Substitute 8 for b in the slope intercept equation.
\n" ); document.write( "\"y=8x%2Bb\"
\n" ); document.write( "\"y=8x%2B8\"
\n" ); document.write( ".
\n" ); document.write( "[III] Check your answer.
\n" ); document.write( "It's always a good idea to check your work. We need to make sure that both points are solutions for this equation. We substitute the x- and y-values into the equation.
\n" ); document.write( ".
\n" ); document.write( "Check (-2,-8).
\n" ); document.write( "\"y=8x%2B8\"
\n" ); document.write( "\"-8=8%28-2%29%2B8\"
\n" ); document.write( "\"-8=-16%2B8\"
\n" ); document.write( "\"-8=-8\"
\n" ); document.write( "Bingo!!!
\n" ); document.write( ".
\n" ); document.write( "Check (-1,0).
\n" ); document.write( "\"y=8x%2B8\"
\n" ); document.write( "\"0=8%28-1%29%2B8\"
\n" ); document.write( "\"0=-8%2B8\"
\n" ); document.write( "\"0=0\"
\n" ); document.write( "Winner, winner, chicken dinner!!!
\n" ); document.write( ".
\n" ); document.write( "That's it. The equation of the line that passes through(-2,-8),(-1,0) is y=8x+8.
\n" ); document.write( ".
\n" ); document.write( "Feel free to email me if you have questions about my explanation.
\n" ); document.write( ".
\n" ); document.write( "Mrs.Figgy
\n" ); document.write( "math.in.the.vortex@gmail.com
\n" ); document.write( "
\n" );