document.write( "Question 1137657: Find the exact distance from the point D(4,-2) to the line segment joining the points E(1,3) and F(-4,-2) \n" ); document.write( "
Algebra.Com's Answer #755515 by greenestamps(13203)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "The distance from D to the line containing E and F is the length of the line segment from D that is perpendicular to the line.

\n" ); document.write( "This particular example is easily solved using equations of perpendicular lines. I'll outline the process; you can fill in the details if you need.

\n" ); document.write( "(1) From the coordinates of E and F, we can determine that the equation of the line E and F is y = x+2.
\n" ); document.write( "(2) The slope of the line containing E and F is 1; the slope of a line perpendicular to that line is -1.
\n" ); document.write( "(3) The line with slope -1 passing through D(4,-2) is y = -x+2.
\n" ); document.write( "(4) The intersection of y=x+2 and y=-x+2 is (0,2).
\n" ); document.write( "(5) The distance from (4,-2) to (0,2) is 4*sqrt(2).

\n" ); document.write( "ANSWER: The distance from D to the line containing E and F is 4*sqrt(2).

\n" ); document.write( "In general, there is a concise formula for finding the distance from a given point to a given line.

\n" ); document.write( "If the equation of the line is in the form Ax+By+C=0, and the coordinates of the point are (a,b), then the distance from the point to the line is

\n" ); document.write( "\"abs%28%28Aa%2BBb%2BC%29%2Fsqrt%28A%5E2%2BB%5E2%29%29\"

\n" ); document.write( "In this example, after finding the equation y=x+2 for the line containing E and F, put it in the required form:

\n" ); document.write( "\"x-y%2B2=0\"

\n" ); document.write( "and plug the numbers into the formula (A=1, B=-1, C=2; (a,b) = (4,-2):

\n" ); document.write( "\"abs%28%284%2B2%2B2%29%2Fsqrt%281%2B1%29%29+=+8%2Fsqrt%282%29+=+4%2Asqrt%282%29\"\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );