Ira S. answered 04/18/17
Tutor
5.0
(298)
Bilingual math tutor and much more
Your problem should really state the room is rectangular. That way, you may realize that when you draw the diagonal, you get 2 congruent right triangles and can use the Pythagorean Theorem. So your 2 legs would be x and x+4 and the hypotenuse would be 20.
So x2 + (x+4)2 = 202
x2 + (x+4)(x+4) = 400 use FOIL
x2 + x2 +4x+4x+16 = 400 combine like terms
2x2 + 8x + 16 = 400 since all terms are even, divide everything by 2 to make factoring easier
x2 + 4x + 8 = 200 gather everything on one side and 0 on the other before you factor
x2 + 4x - 192 = 0 numbers must multiply to -192 and add to 4
(x+16)(x-12) = 0
x+16=0 or x-12 =0
So x=-16 or x=12.
Since lengths cannot be negative, -16 is rejected and x= 12 is your width making 16 your length.
Hope this helped.