document.write( "Question 175137: I need help with the following question
\n" ); document.write( "Do points P(-2,-2),Q(4,1) and R(2,4) form a right triangle? justify your answer. How can you find the answer by calculation alone?
\n" ); document.write( "

Algebra.Com's Answer #130281 by gonzo(654)\"\" \"About 
You can put this solution on YOUR website!
in order for this to be a right triangle, one of the sides must be perpendicular to one of the other sides.
\n" ); document.write( "---
\n" ); document.write( "in order for that to happen, the slope of one of the sides must be a negative reciprocal of the slope of one of the other sides.
\n" ); document.write( "---
\n" ); document.write( "slope = (y2-y1)/(x2-x1)
\n" ); document.write( "---
\n" ); document.write( "slope 1 = (1-(-2)/(4-(-2) = 3/6 = 1/2
\n" ); document.write( "slope 2 = (4-1)/(2-4) = 3/-2 = -3/2
\n" ); document.write( "slope 3 = (4-(-2)/(2-(-2) = 6/4 = 3/2
\n" ); document.write( "---
\n" ); document.write( "a negative reciprocal of 1/2 is -2.
\n" ); document.write( "a negative reciprocal of -3/2 = 2/3
\n" ); document.write( "a negative reciprocal of 3/2 = -2/3
\n" ); document.write( "---
\n" ); document.write( "none of slopes of these sides match the perpendicular criteria.
\n" ); document.write( "---
\n" ); document.write( "also, if this was a right triangle, then a^2 + b^2 = c^2, with c being the longest side.
\n" ); document.write( "---
\n" ); document.write( "the lengths of each of the sides squared are:
\n" ); document.write( "side 1: 3^2 + 6^2 = 9 + 36 = 45
\n" ); document.write( "side 2: 6^2 + 4^2 = 36 + 16 = 52
\n" ); document.write( "side 3: 3^2 + (-2)^2 = 9 + 4 = 13
\n" ); document.write( "---
\n" ); document.write( "45 + 13 = 58 not equal to 52.
\n" ); document.write( "this is not a right triangle.
\n" ); document.write( "---
\n" ); document.write( "i vote no.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );