SOLUTION: The sum of the lengths of one side of a right triangle and the hypotenuse is 20cm. The other leg is 5cm shorter than the hypotenuse. Find the length of each side. x^2+(x-5)^2=2

Algebra ->  Quadratic Equations and Parabolas  -> Quadratic Equations Lessons  -> Quadratic Equation Lesson -> SOLUTION: The sum of the lengths of one side of a right triangle and the hypotenuse is 20cm. The other leg is 5cm shorter than the hypotenuse. Find the length of each side. x^2+(x-5)^2=2      Log On


   



Question 122779: The sum of the lengths of one side of a right triangle and the hypotenuse is 20cm. The other leg is 5cm shorter than the hypotenuse. Find the length of each side.
x^2+(x-5)^2=20^2
x^2+x^2-25x+25=400
2x^2-25x-375=0
x^2-5x-178.50=0
I just want to double check my steps to make sure I did this right. Thanks is advance.

Found 2 solutions by GSems22, bucky:
Answer by GSems22(3) About Me  (Show Source):
You can put this solution on YOUR website!
Your answer appears correct in my eyes. That would be how I would solve it. Good Job!

Answer by bucky(2189) About Me  (Show Source):
You can put this solution on YOUR website!
The way I solved this problem was to start with three equations.
.
Start by letting x and y equal the two legs of the triangle and h equal the hypotenuse.
.
The first sentence in the problem says the sum of one side and the hypotenuse equals 20 cm.
In equation form this can be written as:
.
x+%2B+h+=+20
.
Solve this equation for x and you have:
.
x+=+20+-+h
.
The next sentence in the problem says the other leg of the triangle is 5 cm less than the
hypotenuse. In equation form this is:
.
y+=+h+-+5
.
The final equation in the series comes from the Pythagorean theorem which for this problem
says that the sum of the squares of the legs equals the square of the hypotenuse. In
this problem it is:
.
x%5E2+%2B+y%5E2+=+h%5E2
.
Substituting 20 - h for x and h - 5 for y results in:
.
%2820+-+h%29%5E2+%2B+%28h+-+5%29%5E2+=+h%5E2
.
Squaring out the two terms on the left side gives:
.
400+-+40h+%2B+h%5E2+%2B+h%5E2+-+10h+%2B+25+=+h%5E2
.
Combining the like terms on the left side results in:
.
2h%5E2+-+50h+%2B+425+=+h%5E2
.
Subtract h^2 from both sides and you get the standard quadratic form of:
.
h%5E2+-+50h+%2B+425+=+0
.
If you apply the quadratic formula to get the solutions to this problem, you start with:
.
h+=+%28-b+%2B-+sqrt%28+b%5E2-4%2Aa%2Ac+%29%29%2F%282%2Aa%29+
.
and substitute 1 for a, -50 for b, and 425 for c to get:
.
h+=+%28-%28-50%29+%2B-+sqrt%28+%28-50%29%5E2-4%2A1%2A425+%29%29%2F%282%2A1%29+
.
In the radical %28-50%29%5E2+-4%2A1%2A425+=+2500+-+1700+=+800 and substituting this gives:
.
h+=+%28-%28-50%29+%2B-+sqrt%28+800%29%29%2F%282%2A1%29+
.
The -(-50) = +50. The square root of 800 = 28.28427125. And the denominator is just 2. These
simplifications result in:
.
h+=+%2850+%2B-+28.28427125%29%2F2
.
Dividing the two terms in the numerator by the denominator results in:
.
h+=+25+%2B-+14.14213562
.
This means that there are two possible answers for h. The first is 25 + 14.14213562
which is 39.14213562. However, this cannot be the answer because we know that x + h must
be 20. But if h is 39.14213562 then x has to be a negative number if the sum of x and h
is to be 20.
.
So the next trial is to assume the answer is h = 25 - 14.14213562 and this subtraction leads
to:
.
h = 10.85786438 cm
.
Then we can use the equation x + h = 20 to find x. Substitute 10.85786438 for h and x becomes
defined by the equation:
.
x+%2B+10.85786438+=+20
.
Subtract 10.85786438 from both sides of this equation and the result is:
.
x+=+20+-+10.85786438+=+9.14213562
.
So one leg is 9.14213562 cm.
.
The other leg of the triangle (side y) is 5 cm smaller than h and this is:
.
y+=+h+-+5+=+10.85786438+-+5+=+5.85786438
.
So the length of the final side is 5.85786438 cm.
.
In summary, the three sides are: hypotenuse = 10.85786438 cm, leg x = 9.14213562 cm, and
leg y = 5.85786438 cm.
.
If you check these values out you will find that they satisfy all three equations.
In other words:
.
x + h = 9.14213562 + 10.85786438 = 20
.
and:
.
y = h - 5
.
5.85786432 = 10.85786438 - 5
.
and
.
x^2 + y^2 = h^2
.
(9.14213562)^2 + (5.85786432)^2 = (10.85786438)^2
.
Hope this helps you to see how to set up and solve this problem.
.