If A.M. and G.M. of x and y are in the ratio p:q, then x:y is
(2)
A=x+y2 and G=xy
x+y=2A and G2=xy
The equation having x,y as its roots is
t2-(x+y)t+xy=0 or, t2-2At+G2=0
∴ t=2A±4A2-4G22⇒t=A±A2-G2
So, the two numbers are
x=A+A2-G2 and y=A-A2-G2
It is given that A:G=p:q⇒A=λp and G=λq
Now, substituting the values of A and G in
x=A+A2-G2 and y=A-A2-G2, we get
xy=λp+λ2p2-λ2q2λp-λ2p2-λ2q2⇒xy=p+p2-q2p-p2-q2
∴ x:y=(p+p2-q2):(p-p2-q2)