document.write( "Question 1083356: Could you please tell me the answer to this question: What is the equation of a line that passes through the points (0,3) and (-2,-3)? I know the equation for a line is (y=mx + b) but I'm unsure on how to do it. Thank you very much :D \n" ); document.write( "
Algebra.Com's Answer #697357 by Theo(13342)![]() ![]() You can put this solution on YOUR website! the line passes through the points (0,3) and (-2,-3)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "those points are in (x,y) format.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the slope of a straight line is (y2-y1)/(x2-x1)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "assign one of the points to (x1,y1) and assign the other point to (x2,y2)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "i chose (x1,y1) = (0,3) and (x2,y2) = (-2,-3).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you could have chosen it the other way around ((x1,y1) = (-2,-3) and (x2,y2) = (0,3)).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you'll get the same slope either way.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the slope intercept form of the line is y = mx + b\r \n" ); document.write( " \n" ); document.write( "\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, given 2 points is (y2-y1)/(x2-x1)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "replace (x1,y1) and (x2,y2) with their respective values, and the formula becomes:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "when = (x1,y1) = (0,3) and (x2,y2) = (-2,-3), the slope formula becomes:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "slope = (-3-3) / (-2-0) which becomes -6/-2 which becomes 3.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the slope is equal to 3.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "since m is the slope, replace m with 3 in the equation of y = mx + b to get y = 3x + b\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "now all that is left is to find the y-intercept.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "replace x and y with the value of one of the points.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "either one will do.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "i chose (x2,y2) = (-2,-3)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "y = 3x + b becomes -3 = 3*-2 + b \n" ); document.write( "this becomes -3 = -6 + b \n" ); document.write( "add 6 to both sides of this equation to get 3 = b\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the equation of y = 3x + b becomes y = 3x + 3\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the slope is 3 and the y-intercept is 3.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "here's a graph of the equation.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you can see that the point (-2,-3) is on the line and the point (0,3) is also on the line.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " ![]() \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "here's a reference you might find helpful.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "http://www.purplemath.com/modules/strtlneq.htm\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "some tutorials tell you to use the point slope form of the equation to find the y-intercept.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "since we already found the slope, our equation is y = 3x + b\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "to find the y-intercept, use the slope intercept form of the equation of a straight line.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "that form is y-y1 = m * (x-x1)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "x1 and y1 are any one of the two points you were given.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "we'll use (0,3)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the equation becomes y - 3 = 3 * (x-0)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "simplify to get y - 3 = 3x\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "add 3 to both sides to get y = 3x + 3\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "3 is the y-intercept.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "a reference on point slope form of the equation of a straight line can be found here.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "http://www.purplemath.com/modules/strtlneq2.htm \n" ); document.write( " |