document.write( "Question 907475: The hypotenuse of a right triangle is
\n" ); document.write( "5inches
\n" ); document.write( " long. The longer leg is
\n" ); document.write( "1inch
\n" ); document.write( " longer than the shorter leg. Find the side lengths of the triangle.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #550410 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
The hypotenuse of a right triangle is 5 inches long. The longer leg is 1 inch
\n" ); document.write( "longer than the shorter leg. Find the side lengths of the triangle.
\n" ); document.write( "***
\n" ); document.write( "let x=length of shorter leg
\n" ); document.write( "x+1=length of longer leg
\n" ); document.write( "using pythagorean theorem:
\n" ); document.write( "x^2+(x+1)^2=5^2
\n" ); document.write( "x^2+x^2+2x+1=25
\n" ); document.write( "2x^2+2x-24=0
\n" ); document.write( "x^2+x-12=0
\n" ); document.write( "(x+4)(x-3)=0
\n" ); document.write( "x=-4 (reject)
\n" ); document.write( "or
\n" ); document.write( "x=3
\n" ); document.write( "x+1=4
\n" ); document.write( "length of shorter leg=3
\n" ); document.write( "length of longer leg=4
\n" ); document.write( "note: This is a 3-4-5 right triangle
\n" ); document.write( "
\n" );