document.write( "Question 242848: One leg of a right triangle is 5 cm shorter than the other leg. The length of the hypotenuse is 25 cm. Find the length of the shorter leg. \n" ); document.write( "
Algebra.Com's Answer #177824 by unlockmath(1688)\"\" \"About 
You can put this solution on YOUR website!
Hello,
\n" ); document.write( "Let's have x represent one leg and the shorter leg be x-5.
\n" ); document.write( "The formula a^2 + b^2 = C^2 (C is the hypotenuse) With what we know we can put in the data.
\n" ); document.write( "x^2 + (x-5)^2 = 25^2 Expanding this out will look like:
\n" ); document.write( "x^2 + x^2 -10x +25 = 625 Combine like terms and subtract 625 from both sides gives us:
\n" ); document.write( "2x^2 -10x - 600 = 0 or can be rewritten as:
\n" ); document.write( "2(x^2 -5x -300)= 0 This can be factored as:
\n" ); document.write( "2(x-20)(x+15)=0
\n" ); document.write( "x=20
\n" ); document.write( "x=-15
\n" ); document.write( "20 makes sense for the answer. So the shorter leg is 15cm
\n" ); document.write( "Check out my book at www.math-unlock.com
\n" ); document.write( "RJ Toftness
\n" ); document.write( "
\n" ); document.write( "
\n" );