document.write( "Question 1203694: graph the line whose x-intercept is -2 and whose y-intercept is -6. \n" ); document.write( "
Algebra.Com's Answer #839468 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
the slope intercept formula for a straight line is y = mx + b.
\n" ); document.write( "m is the slope.
\n" ); document.write( "b is the y intercept.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the formula for the slope is given as (y2 - y1) / (x2 - x1)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "any two points on the line can be used.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the x-intercept is the value of x when y = 0.
\n" ); document.write( "you are given that the x-intercept is -2.
\n" ); document.write( "that means the point is (-2,0).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the y-intercept is the value of y when x = 0.
\n" ); document.write( "you are given that the y-intercept is -6.
\n" ); document.write( "that means the point is (0,-6).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your two poinjts are (-2,0) and (0,-6).
\n" ); document.write( "assign one of them to (x1,y1) and the other to (x2,y2).
\n" ); document.write( "either of the points can be assigned to either one of the constructs.
\n" ); document.write( "it doesn't matter.
\n" ); document.write( "the slope will be the same.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i'll assign two ways to show you what i mean.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "first, i assigned (-2,0) to (x1,y1) and (0,-6) to (x2,y2)
\n" ); document.write( "slope = (y2-y1)/(x2-x1) = -6/2 = -3
\n" ); document.write( "next, i assigned (0,-6) to (x1,y1) and (-2,0) to (x2,y2)
\n" ); document.write( "slope = (y2-y1)/(x2-x1) = 6/-1 = -3
\n" ); document.write( "slope is -3 either way.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the slope is -3.
\n" ); document.write( "y = mx + b becomes y = -3x + b\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "to find the y-intercept, you need to replac4e x and y with any one of the points on the line and solve for b.
\n" ); document.write( "again, i'll do it using each point in turn.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "first i used the point (0,-6).
\n" ); document.write( "y = -3x + b becomes -6 = -3 * 0 + b which becomes -6 = b.
\n" ); document.write( "solve for b to get b = -6.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "next i used the point (-2,0).
\n" ); document.write( "y = -3x + b becomes 0 = -3 * -2 + b which becomes 0 = 6 * b.
\n" ); document.write( "solve for b to get b = -6.
\n" ); document.write( "y-intercept is -6 either way.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the equation becomes y = -3 * x - 6
\n" ); document.write( "the equation can be graphed as shown below.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );