document.write( "Question 1135394: A ladder is resting against a wall. The top of the ladder touches the wall at a height of 12ft. Find the length of the ladder if the length is 4ft more than its distance from the wall. \n" ); document.write( "
Algebra.Com's Answer #753002 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "x = distance from the bottom of the wall to the base of the ladder
\n" ); document.write( "x+4 = length of ladder (since it's 4 more feet compared to the previous distance)
\n" ); document.write( "12 = height where the ladder touches at the top of the wall\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Diagram:
\n" ); document.write( "
\n" ); document.write( "We have a right triangle with legs of x and 12. The hypotenuse is x+4\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Use the Pythagorean theorem to get...
\n" ); document.write( "a = x, b = 12, c = x+4
\n" ); document.write( "a^2 + b^2 = c^2
\n" ); document.write( "x^2 + 12^2 = (x+4)^2
\n" ); document.write( "x^2 + 144 = x^2+8x+16
\n" ); document.write( "144 = 8x+16 .... subtract x^2 from both sides
\n" ); document.write( "144-16 = 8x .... subtract 16 from both sides
\n" ); document.write( "128 = 8x
\n" ); document.write( "8x = 128
\n" ); document.write( "x = 128/8
\n" ); document.write( "x = 16\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The distance from the base of the ladder to the bottom of the wall is 16 feet. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Use this x value to compute the expression x+4
\n" ); document.write( "x+4 = 16+4 = 20\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "------------------------------------
\n" ); document.write( "------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer: The ladder is 20 feet long
\n" ); document.write( "
\n" ); document.write( "
\n" );