document.write( "Question 367760: The lengths of the sides of a right triangle are consecutive integers. Find the lengths of the three sides. (I know the answer is 3, 4, and 5 but how do I show the work?) \n" ); document.write( "
Algebra.Com's Answer #262136 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Hi,
\n" ); document.write( "Let x represent the shortest side or smallest consecutive integers.
\n" ); document.write( "the other side (x+1) and the longest (the hypotenuse) (x + 2)
\n" ); document.write( "Appying the Pythagorean Theorem
\n" ); document.write( "x^2 + (x+1)^2 = (x+2)^2
\n" ); document.write( "x^2 + x^2 +2x + 1 = x^2 + 4x + 4
\n" ); document.write( "x^2 -2x -3 = 0
\n" ); document.write( "(x-3)(x+1) = 0
\n" ); document.write( "(x-3)=0
\n" ); document.write( "x = 3, the length of the shortest side
\n" ); document.write( "(x+1) = 0
\n" ); document.write( "x = -1 cannot use\r
\n" ); document.write( "\n" ); document.write( "3 , 4 , 5 are the length of the sides \n" ); document.write( "
\n" );