Question: S = x1y1 + x2y2 + + xnyn, where x1, x2, . . . , xn and y1, y2, . . . ,

S = x1y1 + x2y2 +· · · + xnyn, where x1, x2, . . . , xn and y1, y2, . . . , yn are orderings of two different sequences of positive real numbers, each containing n elements.
a) Show that S takes its maximum value over all orderings of the two sequences when both sequences are sorted (so that the elements in each sequence are in nondecreasing order).
b) Show that S takes its minimum value over all orderings of the two sequences when one sequence is sorted into nondecreasing order and the other is sorted into nonincreasing order.

Step by Step Solution

3.38 Rating (167 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Without loss of generality we may assume that the x sequence is already sorted into nondecreasing ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

923-M-C-M-S (1381).docx

120 KBs Word File

Students Have Also Explored These Related Statistics Questions!