document.write( "Question 216186: One leg of a right triangle is 7 cm longer than the other leg. The hypotenuse is 1 cm longer than the longer leg. Find the lengths of the three sides. \n" ); document.write( "
Algebra.Com's Answer #163487 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
One leg of a right triangle is 7 cm longer than the other leg.
\n" ); document.write( " The hypotenuse is 1 cm longer than the longer leg. Find the lengths of the three sides.
\n" ); document.write( ":
\n" ); document.write( "Using a^2 + b^2 = c^2
\n" ); document.write( ":
\n" ); document.write( "\"One leg of a right triangle is 7 cm longer than the other leg.\"
\n" ); document.write( "a = b + 7
\n" ); document.write( "b = a - 7, this form for substitution
\n" ); document.write( ":
\n" ); document.write( "\" The hypotenuse is 1 cm longer than the longer leg.\"
\n" ); document.write( "c = a + 1
\n" ); document.write( ":
\n" ); document.write( " Find the lengths of the three sides.
\n" ); document.write( "a^2 + b^2 = c^2
\n" ); document.write( ":
\n" ); document.write( "Substitute (a-7) for b and (a+1) for c
\n" ); document.write( "a^2 + (a-7)^2 = (a+1)^2
\n" ); document.write( "FOIL
\n" ); document.write( "a^2 + (a^2 - 14a + 49) = (a^2 + 2a + 1)
\n" ); document.write( ":
\n" ); document.write( "Group like terms on the left
\n" ); document.write( "a^2 + a^2 - a^2 - 14a - 2a + 49 - 1 = 0
\n" ); document.write( ":
\n" ); document.write( "a^2 - 16a + 48 = 0
\n" ); document.write( "Factor
\n" ); document.write( "(a - 4)(a - 12) = 0
\n" ); document.write( "two solutions
\n" ); document.write( "a = 4
\n" ); document.write( "a = 12; this is the solution because b = a - 7, (can't have a negative side)
\n" ); document.write( ":
\n" ); document.write( "b = 12 - 7
\n" ); document.write( "b = 5
\n" ); document.write( ":
\n" ); document.write( "c = 12 + 1
\n" ); document.write( "c = 13
\n" ); document.write( ";
\n" ); document.write( "Check solution
\n" ); document.write( "12^2 + 5^2 = 13^2
\n" ); document.write( "144 + 25 = 169
\n" ); document.write( "
\n" ); document.write( "
\n" );