\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "The orthocenter is the point where the three (green)\r\n" );
document.write( "altitudes intersect. Altitudes are perpendicular to the\r\n" );
document.write( "sides. \r\n" );
document.write( "\r\n" );
document.write( "We will find the equation of altitude AM and find\r\n" );
document.write( "where it intersects the altitude LC\r\n" );
document.write( "\r\n" );
document.write( "First we must find the slope of AM. Since AM is\r\n" );
document.write( "perpendicular to KL, we will find the slope of KL and\r\n" );
document.write( "take its negative reciprocal:\r\n" );
document.write( "\r\n" );
document.write( "We use the slope formula to find the slope of KL.\r\n" );
document.write( "\r\n" );
document.write( "m =
\r\n" );
document.write( "where (x1,y1) = K(2,-2)\r\n" );
document.write( "and where (x2,y2) = L(4,6)\r\n" );
document.write( "\r\n" );
document.write( "m = 



= 4.\r\n" );
document.write( "\r\n" );
document.write( "Therefore the slope of MA is the negative reciprocal of\r\n" );
document.write( "4, which is
.\r\n" );
document.write( "\r\n" );
document.write( "To find the equation of MA we use the point-slope formula:\r\n" );
document.write( "\r\n" );
document.write( "y - y1 = m(x - x1)\r\n" );
document.write( "where (x1,y1) = M(8,-2)\r\n" );
document.write( "\r\n" );
document.write( "y - (-2) =
(x - 8)\r\n" );
document.write( "\r\n" );
document.write( " y + 2 =
x + 2\r\n" );
document.write( "\r\n" );
document.write( " y =
x\r\n" );
document.write( "\r\n" );
document.write( "The altitude LC is vertical (since KM is horizontal)\r\n" );
document.write( "So the equation of LC is x = 4\r\n" );
document.write( "\r\n" );
document.write( "So we substitute x = 4 in y =
x and get\r\n" );
document.write( "\r\n" );
document.write( "y =
(4) = -1.\r\n" );
document.write( "\r\n" );
document.write( "So the orthocenter O is (4,-1)\r\n" );
document.write( "\r\n" );
document.write( "--------------------------------\r\n" );
document.write( "Note:\r\n" );
document.write( "We could have used the altitude KB instead of MA.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" );
document.write( "