document.write( "Question 774214: the legs of a right triangle are (x) and (x+2). The hypotenuse is (x+4). Find the length of each side of the triangle. \n" ); document.write( "
Algebra.Com's Answer #472103 by ramkikk66(644)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "Since it is a right triangle, we can apply the Pythagoras theorem\r\n" );
document.write( "Square of hypotenuse = square of leg1 + square of leg2.\r\n" );
document.write( "\"%28x+%2B+4%29%5E2+=+x%5E2+%2B+%28x+%2B+2%29%5E2\"\r\n" );
document.write( "Expanding the Left and right sides\r\n" );
document.write( "\"x%5E2+%2B+8%2Ax+%2B+16+=+x%5E2+%2B+x%5E2+%2B+4%2Ax+%2B+4+=+2%2Ax%5E2+%2B+4%2Ax+%2B+4\"\r\n" );
document.write( "Moving all terms to one side\r\n" );
document.write( "\"2%2Ax%5E2+-+x%5E2+%2B+4%2Ax+-+8%2Ax+%2B+4+-+16+=+0\"\r\n" );
document.write( "\"x%5E2+-+4%2Ax+-+12+=+0\"\r\n" );
document.write( "This is a standard quadratic equation which can b solved by factorization\r\n" );
document.write( "\"x%5E2+-+6%2Ax+%2B+2%2Ax+-+12+=+0\"\r\n" );
document.write( "\"x%2A%28x+-+6%29+%2B+2%2A%28x+-+6%29+=+0\"\r\n" );
document.write( "\"%28x+%2B+2%29%2A%28x+-+6%29+=+0\"\r\n" );
document.write( "The two roots (solutions) for x are\r\n" );
document.write( "x + 2 = 0 or x = -2\r\n" );
document.write( "x - 6 = 0 or x = 6\r\n" );
document.write( "Take only the positive value of the x.\r\n" );
document.write( "So one leg of the triangle is 6\r\n" );
document.write( "The other leg is (6 + 2) or 8.\r\n" );
document.write( "The hypotenuse is (6 + 4) or 10.\r\n" );
document.write( "The sides of the triangle are 6, 8 and 10 units.\r\n" );
document.write( "Hope you got it :)\r\n" );
document.write( "

\n" ); document.write( "
\n" ); document.write( "
\n" );