document.write( "Question 366334: \"The line is perpendicular to y=2x-4 and passes though (4,7)\"
\n" ); document.write( "Could you plese show me the formula on how to get the answer in y=mx+b form?
\n" ); document.write( "

Algebra.Com's Answer #261065 by Earlsdon(6294)\"\" \"About 
You can put this solution on YOUR website!
I don't know that I can show you a \"formula\" but I can show you a procedure.
\n" ); document.write( "You want your answer to be an equation in the slope-intercept form:
\n" ); document.write( "\"y+=+mx%2Bb\" of a line that is perpendicular to the line \"y+=+2x-4\" and which passes through the point (4, 7).
\n" ); document.write( "Let's start with the slope:
\n" ); document.write( "If two lines are perpendicular, their slopes are the negative reciprocal of each other.
\n" ); document.write( "The given line is: \"highlight%28y+=+2x-4%29\". Since this is in the slope-intercept form: \"y+=+mx%2Bb\" you can see that the slope \"m+=+2\".
\n" ); document.write( "The negative reciprocal of 2 is \"-1%2F2\".
\n" ); document.write( "So you can start with:
\n" ); document.write( "\"y+=+%28-1%2F2%29x%2Bb\" but now you need to find the value of b, the y-intercept.
\n" ); document.write( "So we substitute the x- and y-coordinate values of the given point (4, 7) into the equation above and solve for b.
\n" ); document.write( "\"7+=+%28-1%2F2%29%284%29%2Bb\" Simplify this:
\n" ); document.write( "\"7+=+-2%2Bb\" Add 2 to both sides.
\n" ); document.write( "\"9+=+b\" Now that we have the value of b, we can write the final equation.
\n" ); document.write( "\"highlight_green%28y+=+%28-1%2F2%29x%2B9%29\"
\n" ); document.write( "And just to show you what these look like when graphed:
\n" ); document.write( "\"graph%28400%2C400%2C-5%2C20%2C-5%2C20%2C2x-4%2C%28-1%2F2%29x%2B9%29\"
\n" ); document.write( "
\n" );