
Alice D. answered 09/06/19
Certified High School Math Teacher; Expert Tutor in Math and French
Let A be the shorter leg, and B be the longer leg, and H be the hypotenuse of the right triangle.
We have a right triangle, so we can apply the Pythagorean's theorem:
A2 + B2 = H2
Let's substitute H = B + 2 since the hypotenuse is said to be 2 cm longer than the longer leg,
and let's also substitute A = B - 7 since the shorter leg is said to be 7 cm shorter than the longer leg.
(B-7)2 + B2 = (B+2)2
Now we will go ahead and expand our binomial expressions
(B2 -7B -7B + 49) + B2 = (B2 + 2B + 2B + 4)
Let's pass everything to the left-hand side.
(B2 -7B -7B + 49) + B2 - (B2 + 2B + 2B + 4) = 0
Distribute the negative in front of the second parentheses, and remove the first parentheses.
B2 -7B -7B + 49 + B2 - B2 - 2B - 2B - 4 = 0
Combine like terms
B2 -18B + 45 = 0
Factor the left-hand side. You are looking for two numbers whose product is 45 and whose sum is -18. Those numbers are -15, and -3.
(B - 15)(B - 3) = 0
Using the Zero Product Property, we get:
B - 15 = 0 OR B -3 =0
Solving for B, you obtain
B = 15 or B = 3.
B, the longer leg cannot equal 3 cm because the shorter leg has to be 7 cm shorter than the longer leg, and a leg cannot be negative in length. Therefore, B, the longer leg equals 15 cm.