SOLUTION: The difference between two positive numbers is 18 and 4 times their GM is equal to 5 times their HM find the numbers

Algebra ->  Sequences-and-series -> SOLUTION: The difference between two positive numbers is 18 and 4 times their GM is equal to 5 times their HM find the numbers      Log On


   



Question 1091579: The difference between two positive numbers is 18 and 4 times their GM is equal to 5 times their HM find the numbers
Found 2 solutions by rothauserc, ikleyn:
Answer by rothauserc(4718) About Me  (Show Source):
You can put this solution on YOUR website!
1) x - y = 18, with x, y > 0
:
GM is geometric mean, GM for x, y is defined as square root (x * y)
:
HM is harmonic mean, HM for x, y is defined as 2 / (1/x + 1/y)
:
2) 4 * square root(x * y) = 5 * (2 / (1/x + 1/y))
:
solve equation 1) for x
:
x = y + 18
:
substitute for x in equation 2
:
4 * square root((y+18) * y) = 5 * (2 / (1/(y+18) + 1/y))
:
4 * square root((y+18) * y) = 10 / (1/(y+18) + 1/y)
:
cross multiply the fractions
:
4 * square root((y+18) * y) * (1/(y+18) + 1/y) = 10
:
divide both sides of = by 4
:
square root((y+18) * y) * (1/(y+18) + 1/y) = 5/2
:
divide both sides of = by (1/(y+18) + 1/y)
:
square root((y+18) * y) = (5y * (y+18)) / (4 * (y+9))
:
square both sides of the =
:
(y+18) * y = (25y^2 * (y+18)^2) / (16 * (y+9)^2
:
cross multiply the fractions
:
16y * (y+18) * (y+9)^2 = 25y^2 * (y+18)^2
:
write the left side of the = in standard form
:
16y^4 +576y^3 +6480y^2 +23328y = 25y^2 * (y+18)^2
:
write the right side of the = in standard form
:
16y^4 +576y^3 +6480y^2 +23328y = 25y^4 +900y^3 +8100y^2
:
consolidate the terms to the left side of =
:
-9y^4 -324y^3 -1620y^2 +23328y = 0
:
this factors into
:
-9y * (y-6) * (y+18) * (y+24) = 0
:
divide both sides of = by -9
:
our solutions for y are 0, 6, -18, -24
:
we reject solutions 0, -18, -24 since y > 0
:
x = 6 + 18 = 24
:
*******************************************
x = 24 and y = 6
*******************************************
:

Answer by ikleyn(52788) About Me  (Show Source):
You can put this solution on YOUR website!
.
1)  x - y = 18, with x, y > 0.    (1)

    GM is geometric mean, GM for x, y is defined as sqrt%28x+%2A+y%29.

    HM is harmonic mean, HM for x, y is defined as 2+%2F+%281%2Fx+%2B+1%2Fy%29. 


2) 4+%2A+sqrt%28x+%2A+y%29 = 5+%2A+%282+%2F+%281%2Fx+%2B+1%2Fy%29%29 ====>

   4%2Asqrt%28xy%29 = 10%2F%28%28%28x%2By%29%2Fxy%29%29  ====>

   4%2Asqrt%28xy%29 = %2810%2Axy%29%2F%28x%2By%29  ====>  square both sides  ====>

   16%2Axy = %28100%28xy%29%5E2%29%2F%28x%2By%29%5E2  ====>  cancel xy in both sides ====>

   16 = %28100xy%29%2F%28x%2By%29%5E2  ====> 16%28x%2By%29%5E2 = 100xy  ====>  4%28x%2By%29%5E2 = 25xy      (2)

   Now from (1) express  x = y + 18 and substitute it into (2). You will get

   4%2A%28%28y%2B18%29%2By%29%5E2 = 25*(y+18)*y,   or

   4%2A%282y%2B18%29%5E2 = 25*y*(y+18)  ====>  16y%5E2+%2B+288y+%2B+1296 = 25y%5E2+%2B+450y ====>  9y%5E2%2B+162y+-+1296 = 0  ====>  cancel 9 in both sides  ====>

   y%5E2+%2B+18y+-+144 = 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.