.
1) x - y = 18, with x, y > 0. (1)
GM is geometric mean, GM for x, y is defined as .
HM is harmonic mean, HM for x, y is defined as .
2) = ====>
= ====>
= ====> square both sides ====>
= ====> cancel xy in both sides ====>
16 = ====> = 100xy ====> = 25xy (2)
Now from (1) express x = y + 18 and substitute it into (2). You will get
= 25*(y+18)*y, or
= 25*y*(y+18) ====> = ====> = 0 ====> cancel 9 in both sides ====>
= 0
(y+24)*(y-6) = 0.
Since y must be positive, we have only ONE solution for y: y = 6.
Then x = y + 18 = 24.
Answer. x = 24, y = 6 is the only solution.
The lesson to learn from this solution:
If you choose the correct way, you reduce the problem to the quadratic equation, and there is no need to solve the equation of degree 4.