1996 AIME Problem 12

Attempt Problem 12 of the 1996 AIME below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 1996 AIME solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

12.

For each permutation a1,a_1, a2,a_2, a3,a_3, ,\ldots, a10a_{10} of the integers 1,1, 2,2, 3,3, ,\ldots, 10,10, form the sum a1a2+a3a4+a5a6+a7a8+a9a10.\begin{gathered}|a_1-a_2|+|a_3-a_4|\\+|a_5-a_6|+|a_7-a_8|\\+|a_9-a_{10}|.\end{gathered} The average value of all such sums can be written in the form pq,\frac{p}{q}, where pp and qq are relatively prime positive integers. Find p+q.p+q.

Answer: 58
Concepts:expected valuelinearity of expectationcounting pairs
Difficulty rating: 1850
Small Hint:

Each of the five absolute differences has the same average

Big Hint:

For a random unordered pair, difference dd occurs 10d10-d times

Solution:

Each paired difference has the same expected value as the difference of a uniformly selected unordered pair from 1,,10.1,\ldots,10. Therefore Ea1a2=d=19d(10d)(102)=10d=19d45d=19d245=45028545=113.\begin{aligned}\mathbb E|a_1-a_2|&=\frac{\sum_{d=1}^9d(10-d)}{\binom{10}{2}}\\&=\frac{10\sum_{d=1}^9d}{45}\\&\quad-\frac{\sum_{d=1}^9d^2}{45}\\&=\frac{450-285}{45}=\frac{11}{3}.\end{aligned} By linearity of expectation, the average of the five-term sum is 5113=553.\frac{5\cdot11}{3}=\frac{55}{3}. Thus p+q=58.p+q=58.

← Problem 11#11
Full Exam

Problem 12 in Other Years