document.write( "Question 324557: factor completely (x+3)^2-10(x+3)+24\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "write a quadratic equation and answer the following: the shortest leg of a right triangle is two less than the hypotenuse. the hypotenuse is one longer than the longest leg.\r
\n" ); document.write( "\n" ); document.write( "thank you
\n" ); document.write( "

Algebra.Com's Answer #232292 by mathslover(157)\"\" \"About 
You can put this solution on YOUR website!
(x+3)^2-10(x+3)+24\r
\n" ); document.write( "\n" ); document.write( "Let's replace x+3 by A
\n" ); document.write( "So, the given expression would transform to \r
\n" ); document.write( "\n" ); document.write( "A^2 -10A + 24
\n" ); document.write( "Rewriting it as\r
\n" ); document.write( "\n" ); document.write( "A^2 - 6A -4A + 24
\n" ); document.write( "A(A-6) -4(A-6)
\n" ); document.write( "Taking A-6 as the common factor,
\n" ); document.write( "(A-6)(A-4)
\n" ); document.write( "Substituting A=x+3 back into the expression we get\r
\n" ); document.write( "\n" ); document.write( "(x+3-6)(x+3-4)
\n" ); document.write( "(x-3)(x-1) is the required factor.
\n" ); document.write( "==========================================================================
\n" ); document.write( "write a quadratic equation and answer the following: the shortest leg of a right triangle is two less than the hypotenuse. the hypotenuse is one longer than the longest leg.\r
\n" ); document.write( "\n" ); document.write( "Let the longest leg be x
\n" ); document.write( "So the hypotenuse is (x+1) {the hypotenuse is one longer than the longest leg}
\n" ); document.write( "And the shortest leg is (x+1)-2=x-1 {the shortest leg of a right triangle is two
\n" ); document.write( " less than the hypotenuse}
\n" ); document.write( "Using Pythagoras's theorem,
\n" ); document.write( "hypotenuse^2 = shorter leg^2 + longer leg^2
\n" ); document.write( "we get
\n" ); document.write( "(x+1)^2 = (x-1)^2 + x^2
\n" ); document.write( "Expanding the LHS and the RHS
\n" ); document.write( "x^2 + 2x+ 1 = x^2 -2x+1 + x^2
\n" ); document.write( "Moving the Right hand side expression to Left hand side we get
\n" ); document.write( "x^2 + 2x+ 1 - (x^2 -2x+1 + x^2)= 0
\n" ); document.write( "grouping the like terms,
\n" ); document.write( "(x^2 - x^2 -x^2) + (2x + 2x ) + (1 -1)=0
\n" ); document.write( "-x^2 + 4x =0
\n" ); document.write( "-x(x-4)=0\r
\n" ); document.write( "\n" ); document.write( "which gives x=0 and x=4 as two possible solutions. But we cannot have a triangle with side of length 0. So discarding x=0 we get the other solution as x=4
\n" ); document.write( "Hence, the sides of the triangle are
\n" ); document.write( "The longest side=4
\n" ); document.write( "The shorter side=4-1=3
\n" ); document.write( "hypotenuse=4+1=5\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );