Let's denote the lengths of the sides of the triangle as follows:
- Let
be the length of the longer leg. - Then, the hypotenuse can be expressed as
(3 inches longer than the longer leg). - The shorter leg can be expressed as
(3 inches shorter than the longer leg).
According to the Pythagorean theorem, we have:
Substituting the expressions we have:
Now, let's expand and simplify the equation:
-
Expand
: -
Expand
:
Now substitute these expansions back into the equation:
Combine like terms on the left side:
Now, move all terms to one side:
This simplifies to:
Factoring out
This gives us two solutions:
(not a valid side length)
Now that we have
- Longer leg:
inches - Shorter leg:
inches - Hypotenuse:
inches
Thus, the lengths of the sides of the triangle are:
- Longer leg: 12 inches
- Shorter leg: 9 inches
- Hypotenuse: 15 inches