document.write( "Question 117655: 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 -2, Y intercept (0,4)
\n" ); document.write( "

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