document.write( "Question 146817This question is from textbook
\n" ); document.write( ": USe slopes to show that the square with vertices at (-2,5), (4,5), (4,-1) and
\n" ); document.write( "(-2,-1) has diagonals that are perpendicular
\n" ); document.write( "

Algebra.Com's Answer #107220 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Opposite corners are (-2,5) and (4,-1),
\n" ); document.write( "and (-2,-1) and (4,5).
\n" ); document.write( "Find the slope m of the lines connecting opposite corners.
\n" ); document.write( "----------------
\n" ); document.write( "(-2,5) and (4,-1)
\n" ); document.write( "m1 = (y2-y1)/(x2-x1)
\n" ); document.write( "m1 = (-1-5)/(4+2)
\n" ); document.write( "m1 = -6/6 = -1
\n" ); document.write( "-------------
\n" ); document.write( "(-2,-1) and (4,5)
\n" ); document.write( "m2 = (5 - (-1))/(4 -(-2))
\n" ); document.write( "m2 = 6/6 = +1
\n" ); document.write( "Since the slopes are negative inverses, they're perpendicular.
\n" ); document.write( "
\n" );