document.write( "Question 443094: the hypotenuse of a right triangle measures 29 cm. one leg is 1 cm shorter than the other. what are the lenghts of the legs? \n" ); document.write( "
Algebra.Com's Answer #305631 by swincher4391(1107)\"\" \"About 
You can put this solution on YOUR website!
Recall that \"a%5E2+%2B+b%5E2+=+c%5E2\".\r
\n" ); document.write( "\n" ); document.write( "We know that \"c+=+29\" and we know that one of the legs is 1 less than the other. Let's choose a to be 1 less than b.\r
\n" ); document.write( "\n" ); document.write( "Then \"a+=+b-1\"\r
\n" ); document.write( "\n" ); document.write( "\"%28b-1%29%5E2+%2B+b%5E2+=+29%5E2\"
\n" ); document.write( "\"%28b-1%29%2A%28b-1%29+%2B+b%5E2+=+29%5E2\"
\n" ); document.write( "\"b%5E2+-b+-b+%2B1++%2Bb%5E2+=+29%5E2\"
\n" ); document.write( "\"b%5E2+-2b+%2B+1+%2Bb%5E2+=+29%5E2\"
\n" ); document.write( "\"2b%5E2+-2b+%2B+1+=+841\"
\n" ); document.write( "\"2b%5E2+-2b+-840\"
\n" ); document.write( "\"2%2A%28b%5E2+-b+-420%29\"
\n" ); document.write( "\"2%28b%2B20%29%28b-21%29\"
\n" ); document.write( "So b=-20 or b=21
\n" ); document.write( "-------
\n" ); document.write( "But it does not make sense to have a negative length, so the one that makes LOGICAL sense is b =21\r
\n" ); document.write( "\n" ); document.write( "If b =21, then a=20 since a = b-1.\r
\n" ); document.write( "\n" ); document.write( "So we have (20,21,29) is our triangle.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );