Inspired by Alisa Meier

Algebra Level 5

A school consists of 100 students that are in 10 classes. The students scored 1 , 2 , 3 , , 100 1, 2, 3, \ldots, 100 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.

Inspiration


The answer is 91.0.

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.

2 solutions

Efren Medallo
Jul 29, 2015

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

100 + 99 + 98 + 97 + 96 + 95 + 94 + 93 + 92 + 91 + 90 + 89 + . . . + 3 + 2 + 1 91 10 = 91 \large \frac {100 + 99 + 98 + 97 + 96 + 95 + 94 + 93 + 92 + \large \frac {91+90+89+...+3+2+1}{91}} {10} = \boxed{91} .

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.

Calvin Lin Staff - 5 years, 10 months ago
Mark Hennings
Oct 20, 2016

Suppose that the student scoring j j is in a set of size n j n_j , for 1 j 100 1 \le j \le 100 . Then the average of the set averages is equal to A A = 1 10 j = 1 100 j n j AA \; = \; \tfrac{1}{10}\sum_{j=1}^{100} \frac{j}{n_j} By the Rearrangement Theorem, for a given collection of set sizes, the value of A A AA will be maximised when the sequence n j 1 n_j^{-1} is increasing, and so the sequence n j 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 10 < a 11 = 101 1 \; = \; a_1 < a_2 < a_3 < \cdots < a_{10} < a_{11} = 101 such that

  • Set j j contains those students who scored marks a j , a j + 1 , . . . , a j + 1 1 a_j,a_j+1,...,a_{j+1}-1 for any 1 j 10 1 \le j \le 10 ,
  • The set sizes a 2 a 1 , a 3 a 2 , . . . , a 11 a 10 a_2-a_1, a_3-a_2,...,a_{11} - a_{10} form a decreasing sequence.

The average of the marks in Set j j is 1 2 ( a j + a j + 1 1 ) \tfrac12(a_j + a_{j+1}-1) , and so the average of averages is A A = 1 10 j = 1 10 1 2 ( a j + a j + 1 1 ) = 1 10 [ 1 2 a 1 + a 2 + a 3 + + a 10 + 1 2 a 11 5 ] = 1 10 [ 46 + a 2 + a 3 + + a 10 ] AA \; = \; \frac{1}{10}\sum_{j=1}^{10} \tfrac12\big(a_j + a_{j+1} - 1\big) \; = \; \tfrac{1}{10}\big[\tfrac12a_1 + a_2 + a_3 + \cdots + a_{10} + \tfrac12a_{11} - 5\big] \; = \; \tfrac{1}{10}\big[46 + a_2 + a_3 + \cdots + a_{10}\big] From this it is clear that A A AA is maximised when a j = 90 + j a_j = 90+j for 2 j 10 2 \le j \le 10 . The headmaster creates a set of 91 91 pupils (those who scored 1 1 to 91 91 ), and then 9 9 sets with 1 1 pupil in each. Thus the maximum possible value of A A AA is 1 10 [ 46 + 92 + 93 + + 100 ] = 91 \tfrac{1}{10}\big[46 + 92 + 93 +\cdots + 100\big] \; = \; \boxed{91}

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 p_1 in a class with an average of A 1 A_1 , and another class with an average of A 2 A_2 such that A 1 > p 1 > A 2 A_1 > p_1 > A_ 2 , then we can increase the average by moving them into the other class.

Calvin Lin Staff - 4 years, 7 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...