Back to Mathematical Olympiad
Difficulty: 4/102020 IOQM 2020 (Q10)

Five students take a test on which any integer score from 0 to 100 inclusive is possible. What is the largest possible difference between the median and the mean of the scores?

Guide / Hint

Hint 1: Let the scores be . Note that the median is .

Hint 2: To maximize the difference, set three scores to one extreme (0 or 100) and the other two to the opposite extreme.

Hint 3: Calculate the mean and median for the configurations and to find the maximum difference.

Solution

Step 1: Let the scores of the five students in non-decreasing order be , where .

Step 2: The median of the scores is the middlemost value, which is . The mean of the scores is:

Step 3: We want to maximize the absolute difference . There are two cases to consider:

  • Case 1: Mean is larger than Median (Maximize )

To make as large as possible and as small as possible:

  • Set .

  • To maximize , set the remaining scores to their upper bound: .

  • The scores are .

  • The median is , the mean is .

  • The difference is .

  • Case 2: Median is larger than Mean (Maximize )

To make as large as possible and as small as possible:

  • Set .

  • To minimize , set the remaining scores to their lower bound: .

  • The scores are .

  • The median is , the mean is .

  • The difference is .

Step 4: In both cases, the maximum difference is exactly .

Ready to track your progress and master these topics?

Create a free account
    2020 IOQM 2020 Q10 - Olympiad Math Olympiad Question | Leminno