document.write( "Question 157680: Show that the points D(-1,-2),E(2,1) and F(-3,6) are the vertices of a right triangle. \n" ); document.write( "
Algebra.Com's Answer #116181 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
Let's plot the points first.
\n" ); document.write( "
\n" ); document.write( "It looks like a right triangle.
\n" ); document.write( "If the triangle is a right triangle, then the sum of the squares of the legs (DE and EF) equals the square of the hypotenuse (DF).
\n" ); document.write( "\"DF%5E2=DE%5E2%2BEF%5E2\"
\n" ); document.write( "Let's calculate the lengths of each side and test it.
\n" ); document.write( "The distance formula is
\n" ); document.write( "\"D%5E2=%28x%5B1%5D-x%5B2%5D%29%5E2%2B%28y%5B1%5D-y%5B2%5D%29%5E2\"
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "\"EF%5E2=%282-%28-3%29%29%5E2%2B%281-6%29%5E2\"
\n" ); document.write( "\"EF%5E2=%285%29%5E2%2B%28-5%29%5E2\"
\n" ); document.write( "\"EF%5E2=25%2B25\"
\n" ); document.write( "\"EF%5E2=50\"
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "\"DE%5E2=%28-1-2%29%5E2%2B%28-2-1%29%5E2\"
\n" ); document.write( "\"DE%5E2=%283%29%5E2%2B%28-3%29%5E2\"
\n" ); document.write( "\"DE%5E2=9%2B9\"
\n" ); document.write( "\"DE%5E2=18\"
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "\"DF%5E2=%28-1-%28-3%29%29%5E2%2B%28-2-6%29%5E2\"
\n" ); document.write( "\"DF%5E2=%282%29%5E2%2B%28-8%29%5E2\"
\n" ); document.write( "\"DF%5E2=4%2B64\"
\n" ); document.write( "\"DF%5E2=68\"
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "\"DF%5E2=DE%5E2%2BEF%5E2\"
\n" ); document.write( "\"68=18%2B50\"
\n" ); document.write( "\"68=68\"
\n" ); document.write( "True, therefore the triangle is a right triangle.
\n" ); document.write( "
\n" ); document.write( "
\n" );