A school consists of 100 students that are in 10 classes. The students scored 1 , 2 , 3 , … , 1 0 0 in a test. The Head of Department gets the bright idea of rearranging the classes so as to maximize the average of the 10 class averages.
What is the maximum average that can be achieved?
Note: Each class needs to have at least 1 student.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Yes, that's the intuition. However, the part of "by assuring the highest scores give a greater weight" needs to be properly justified. Because what you have is that "If I take this way of moving the students, I get this particular local maximum". Unfortunately, you have not shown that it is indeed a global maximum.
Suppose that the student scoring j is in a set of size n j , for 1 ≤ j ≤ 1 0 0 . Then the average of the set averages is equal to A A = 1 0 1 j = 1 ∑ 1 0 0 n j j By the Rearrangement Theorem, for a given collection of set sizes, the value of A A will be maximised when the sequence n j − 1 is increasing, and so the sequence n j is decreasing. This means that the marks of members of each set form a consecutive block of integers, and the lower scoring sets are larger in size.
Thus we only need to consider set arrangements as follows. There exist integers 1 = a 1 < a 2 < a 3 < ⋯ < a 1 0 < a 1 1 = 1 0 1 such that
The average of the marks in Set j is 2 1 ( a j + a j + 1 − 1 ) , and so the average of averages is A A = 1 0 1 j = 1 ∑ 1 0 2 1 ( a j + a j + 1 − 1 ) = 1 0 1 [ 2 1 a 1 + a 2 + a 3 + ⋯ + a 1 0 + 2 1 a 1 1 − 5 ] = 1 0 1 [ 4 6 + a 2 + a 3 + ⋯ + a 1 0 ] From this it is clear that A A is maximised when a j = 9 0 + j for 2 ≤ j ≤ 1 0 . The headmaster creates a set of 9 1 pupils (those who scored 1 to 9 1 ), and then 9 sets with 1 pupil in each. Thus the maximum possible value of A A is 1 0 1 [ 4 6 + 9 2 + 9 3 + ⋯ + 1 0 0 ] = 9 1
Great! The rearrangement inequality is a nice way of expressing the entire idea.
The main idea here is that if there is a person who scored p 1 in a class with an average of A 1 , and another class with an average of A 2 such that A 1 > p 1 > A 2 , then we can increase the average by moving them into the other class.
Problem Loading...
Note Loading...
Set Loading...
The maximum average could be determined by assuring that the highest scores give a greater weight on the average. That being said, we have to place the nine students with the highest scores on one class each. All the remaining students will be placed in the tenth class.
And voila, the maximum average will be
1 0 1 0 0 + 9 9 + 9 8 + 9 7 + 9 6 + 9 5 + 9 4 + 9 3 + 9 2 + 9 1 9 1 + 9 0 + 8 9 + . . . + 3 + 2 + 1 = 9 1 .