parallel lines = same slope
\n" );
document.write( "perpendicular lines = negative reciprocal slopes
\n" );
document.write( "
\n" );
document.write( "since slope m = 2 the perpendicular slope will be -1/2
\n" );
document.write( "therefore all lines where y = -1/2x + b will be perpendicular
\n" );
document.write( "
\n" );
document.write( "from here one could use a couple different line formulas. I'll start with the slope formula (since I have that memorized)
\n" );
document.write( "m = (y2 - y1)/(x2 - x1); which is easily changed to the point-slope formula by multiplying both sides by (x2 - x1):
\n" );
document.write( "(x2 - x1)m = (y2 - y1), or more simply: (x - x1)m = (y - y1).
\n" );
document.write( "The point-slope formula, as its name suggests, finds the equation of a line when both a point on the line and the slope are known.
\n" );
document.write( "The \"point\" of this point-slope formula is (3,4) and the slope is -1/2. Therefore, substituting in:
\n" );
document.write( "(x - 3)(-1/2) = (y - 4)
\n" );
document.write( "distribute the -1/2
\n" );
document.write( "-1/2x + 1.5 = y - 4
\n" );
document.write( "add 4 to both sides
\n" );
document.write( "-1/2x + 5.5 = y
\n" );
document.write( "
\n" );
document.write( "and that's the equation:
\n" );
document.write( "y = -1/2x + 5.5\r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "
\n" );
document.write( "