document.write( "Question 117320: Hello I really need some help with this math problem it deal with Coordinate Geometry: Linear Equations in Two Variables.\r
\n" ); document.write( "\n" ); document.write( "What is the equation of the line that contains the points with (x,y) coordinates (-3,7) and (5,-1) ?\r
\n" ); document.write( "\n" ); document.write( "I don't have clue how to set this type of problem up, please help.
\n" ); document.write( "thanks\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #85346 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
First lets find the slope through the points (\"-3\",\"7\") and (\"5\",\"-1\")\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"m=%28y%5B2%5D-y%5B1%5D%29%2F%28x%5B2%5D-x%5B1%5D%29\" Start with the slope formula (note: is the first point (\"-3\",\"7\") and is the second point (\"5\",\"-1\"))\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"m=%28-1-7%29%2F%285--3%29\" Plug in \"y%5B2%5D=-1\",\"y%5B1%5D=7\",\"x%5B2%5D=5\",\"x%5B1%5D=-3\" (these are the coordinates of given points)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"m=+-8%2F8\" Subtract the terms in the numerator \"-1-7\" to get \"-8\". Subtract the terms in the denominator \"5--3\" to get \"8\"\r
\n" ); document.write( "\n" ); document.write( " \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"m=-1\" Reduce\r
\n" ); document.write( "\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "So the slope is\r
\n" ); document.write( "\n" ); document.write( "\"m=-1\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now let's use the point-slope formula to find the equation of the line:\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "------Point-Slope Formula------
\n" ); document.write( "\"y-y%5B1%5D=m%28x-x%5B1%5D%29\" where \"m\" is the slope, and is one of the given points\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So lets use the Point-Slope Formula to find the equation of the line\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y-7=%28-1%29%28x--3%29\" Plug in \"m=-1\", \"x%5B1%5D=-3\", and \"y%5B1%5D=7\" (these values are given)\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y-7=%28-1%29%28x%2B3%29\" Rewrite \"x--3\" as \"x%2B3\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y-7=-x%2B%28-1%29%283%29\" Distribute \"-1\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y-7=-x-3\" Multiply \"-1\" and \"3\" to get \"-3\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y=-x-3%2B7\" Add \"7\" to both sides to isolate y\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y=-x%2B4\" Combine like terms \"-3\" and \"7\" to get \"4\" \r
\n" ); document.write( "\n" ); document.write( "------------------------------------------------------------------------------------------------------------\r
\n" ); document.write( "\n" ); document.write( "Answer:\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So the equation of the line which goes through the points (\"-3\",\"7\") and (\"5\",\"-1\") is:\"y=-x%2B4\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The equation is now in \"y=mx%2Bb\" form (which is slope-intercept form) where the slope is \"m=-1\" and the y-intercept is \"b=4\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Notice if we graph the equation \"y=-x%2B4\" and plot the points (\"-3\",\"7\") and (\"5\",\"-1\"), we get this: (note: if you need help with graphing, check out this solver)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " Graph of \"y=-x%2B4\" through the points (\"-3\",\"7\") and (\"5\",\"-1\")\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Notice how the two points lie on the line. This graphically verifies our answer.
\n" ); document.write( "
\n" );