Problems(1)
Let (a1,a2,...,an) and (b1,b2,...,bn) be two sequences of positive real numbers. Let π be a permutation of the set {1,2,...,n}, for which the sum aπ(1)(bπ(1)+bπ(2)+...+bπ(n))+aπ(2)(bπ(3)+bπ(3)+...+bπ(n))+...+aπ(n)bπ(n) is minimal.
Proce for this permutation π, that bπ(1)aπ(1)≤bπ(2)aπ(2)≤...≤bπ(n)aπ(n)Application: In an idealized role-playing game you fight against n opponents at the same time. In order to minimize the damage you suffer yourself, you should first take care of your opponent for the ratio of the time it takes to defeat him (if you only focus on him), and the damage it does per second is minimal; next, one should fight the opponent with the second smallest such ratio, and so on. algebrainequalities