document.write( "Question 1160030: Write an equation of the line passing through the point (-2,1) and the perpendicular to the line y=2x-5 \n" ); document.write( "
Algebra.Com's Answer #783173 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "The equation of the given line is y=2x-5; its slope is 2.

\n" ); document.write( "The slope of a line perpendicular to the given line is the negative reciprocal of 2, which is -1/2.

\n" ); document.write( "The equation of the line is of the form y = (-1/2)x+c for some constant c. Find the value of c using the coordinates of the given point.

\n" ); document.write( "\"y+=+%28-1%2F2%29x%2Bc\"
\n" ); document.write( "\"1+=+%28-1%2F2%29%28-2%29%2Bc\"
\n" ); document.write( "\"1+=+1%2Bc\"
\n" ); document.write( "\"c+=+0\"

\n" ); document.write( "The equation of the line is y = (-1/2)x+0, or just y = (-1/2)x.

\n" ); document.write( "A graph of the given line (red) and the perpendicular line (green):

\n" ); document.write( "\"graph%28400%2C400%2C-10%2C10%2C-10%2C10%2C2x-5%2C%28-1%2F2%29x%29\"

\n" ); document.write( "
\n" ); document.write( "
\n" );