Ping sent this solution from Thailand.

(1) If 5m=4m 2n, then 5 = 22m + n which is impossible as 2 and 5 are prime so there are no positive integer solutions m and n of this equation.

(2) We have am dn=cn bm. As a and b are coprime, we get am|cn. Because c and d are coprime, so cn|am. This means am=cn. Similarly, bm=dn.

If am=cn and bm=dn, then obviously (a/b)m=(c/d)n.

This implies that am and cn have the same prime factors. Write a = p1u1...pkuk and c = p1v1...pkvk and for all j we have muj = nvj so that
u1
v1
= u2
v2
= ... = uk
vk
= m
n
.
Similarly for b and d. This is a very special necessary relationship between a and c and also between b and d so solutions rarely occur to the equation:
æ
ç
è
5
4
ö
÷
ø
m

 
= æ
ç
è
2
1
ö
÷
ø
n

 
.
We now show this is a sufficient condition. Conversely suppose a = p1u1...pkuk and c = p1v1...pkvk and
u1
v1
= u2
v2
= ... = uk
vk
.
We call this common ratio n/m then ujm=vjn for all j and am = bn. Similarly if corresponding ratios of the powers of the prime factors of b and d are constant and also equal to n/m then bm=dn giving
æ
ç
è
a
b
ö
÷
ø
m

 
= æ
ç
è
c
d
ö
÷
ø
n

 
.