document.write( "Question 117656: Write the equation of the line with given slope and y-intercept. Then graph each line using the slope and y-intercept.\r
\n" ); document.write( "\n" ); document.write( "Problem: Slope 5; y intercept (0,-2)
\n" ); document.write( "

Algebra.Com's Answer #85652 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 (\"0\",\"-2\"), 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--2=%285%29%28x-0%29\" Plug in \"m=5\", \"x%5B1%5D=0\", and \"y%5B1%5D=-2\" (these values are given)\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y%2B2=%285%29%28x-0%29\" Rewrite \"y--2\" as \"y%2B2\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y%2B2=5x%2B%285%29%28-0%29\" Distribute \"5\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y%2B2=5x%2B0\" Multiply \"5\" and \"-0\" to get \"0\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y=5x%2B0-2\" Subtract 2 from both sides to isolate y\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y=5x-2\" Combine like terms \"0\" and \"-2\" to get \"-2\" \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 (\"0\",\"-2\") is:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"y=5x-2\" which is now in \"y=mx%2Bb\" form where the slope is \"m=5\" and the y-intercept is \"b=-2\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Notice if we graph the equation \"y=5x-2\" and plot the point (\"0\",\"-2\"), 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-2\" through the point (\"0\",\"-2\")\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 (\"0\",\"-2\"), this verifies our answer.
\n" ); document.write( "
\n" );