Let and two sequences of positive real numbers. Then the sum
is maximized when the two sequences are ordered in the same way (i.e. and ) and is minimized when the two sequences are ordered in the opposite way (i.e. and ).
This can be seen intuitively as: If are the prices of kinds of items, and the number of units sold of each, then the highest profit is when you sell more items with high prices and fewer items with low prices (same ordering), and the lowest profit happens when you sell more items with lower prices and less items with high prices (opposite orders).
|Date of creation||2013-03-22 11:47:32|
|Last modified on||2013-03-22 11:47:32|
|Last modified by||drini (3)|