document.write( "Question 117204: Write the equation of the line that passes through point (–5, 18) with a slope of –5. \n" ); document.write( "
Algebra.Com's Answer #85246 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( "If you want to find the equation of line with a given a slope of \"-5\" which goes through the point (\"-5\",\"18\"), you can simply use the point-slope formula to find the equation:\r
\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 the given point\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-18=%28-5%29%28x--5%29\" Plug in \"m=-5\", \"x%5B1%5D=-5\", and \"y%5B1%5D=18\" (these values are given)\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y-18=%28-5%29%28x%2B5%29\" Rewrite \"x--5\" as \"x%2B5\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y-18=-5x%2B%28-5%29%285%29\" Distribute \"-5\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y-18=-5x-25\" Multiply \"-5\" and \"5\" to get \"-25\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y=-5x-25%2B18\" Add 18 to both sides to isolate y\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y=-5x-7\" Combine like terms \"-25\" and \"18\" to get \"-7\" \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 with a slope of \"-5\" which goes through the point (\"-5\",\"18\") is:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y=-5x-7\" which is now in \"y=mx%2Bb\" form where the slope is \"m=-5\" and the y-intercept is \"b=-7\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Notice if we graph the equation \"y=-5x-7\" and plot the point (\"-5\",\"18\"), we get (note: if you need help with graphing, check out this solver)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " Graph of \"y=-5x-7\" through the point (\"-5\",\"18\")\r
\n" ); document.write( "\n" ); document.write( "and we can see that the point lies on the line. Since we know the equation has a slope of \"-5\" and goes through the point (\"-5\",\"18\"), this verifies our answer.
\n" ); document.write( "
\n" );