document.write( "Question 177791: Analytic geometry
\n" ); document.write( "Determine the shortest distance from the point H(5,2) to the line through points J(-6,4) and K(-2,-4).
\n" ); document.write( "

Algebra.Com's Answer #132851 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
To find the shortest distance from point H to line JK you need to find a line perpendicular to JK that passes through point H. Find the intersection point between the two lines and then calculate the distance.
\n" ); document.write( "First, find the slope of line JK.
\n" ); document.write( "
\n" ); document.write( "Perpendicular lines have slopes that are negative reciprocals of each other.
\n" ); document.write( "\"m%5BJK%5Dm%5BP%5D=-1\"
\n" ); document.write( "\"-2m%5BP%5D=-1\"
\n" ); document.write( "\"m%5BP%5D=1%2F2\"
\n" ); document.write( "Use the point slope form of the line using this slope and point H.
\n" ); document.write( "\"y-y%5B0%5D=m%28x-x%5B0%5D%29\"
\n" ); document.write( "\"y-2=%281%2F2%29%28x-5%29\"\r
\n" ); document.write( "\n" ); document.write( "\"y-2=%281%2F2%29x-5%2F2\"
\n" ); document.write( "\"y=%281%2F2%29x-1%2F2\"
\n" ); document.write( "
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "Next step is to find the intersection point of the two lines.
\n" ); document.write( "The first line equation is,
\n" ); document.write( "\"y-4=-2%28x-%28-6%29%29\"
\n" ); document.write( "\"y-4=-2x-12\"
\n" ); document.write( "\"y=-2x-8\"
\n" ); document.write( "Set the two equations equal to each other and solve for x, then y.
\n" ); document.write( "\"%281%2F2%29x-1%2F2=-2x-8\"
\n" ); document.write( "\"x-1=-4x-16\"
\n" ); document.write( "\"5x=-15\"
\n" ); document.write( "\"x=-3\"
\n" ); document.write( "Then
\n" ); document.write( "\"y=-2x-8\"
\n" ); document.write( "\"y=-2%28-3%29-8\"
\n" ); document.write( "\"y=6-8\"
\n" ); document.write( "\"y=-2\"
\n" ); document.write( "The intersection between the two lines occurs at (-3,-2).
\n" ); document.write( "
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "Finally, use the distance formula to calculate the distance from H to the intersection point.
\n" ); document.write( "\"D%5E2=%28x%5B2%5D-x%5B1%5D%29%5E2%2B%28y%5B2%5D-y%5B1%5D%29%5E2\"
\n" ); document.write( "\"D%5E2=%28-3-5%29%5E2%2B%28-2-2%29%5E2\"
\n" ); document.write( "\"D%5E2=%28-8%29%5E2%2B%28-4%29%5E2\"
\n" ); document.write( "\"D%5E2=64%2B16\"
\n" ); document.write( "\"D%5E2=80\"
\n" ); document.write( "\"D=sqrt%2880%29\"
\n" ); document.write( "
\n" ); document.write( "
\n" );