Skip to main content
OlympiadHQ

Browse · MathNet

Print

BMO 2010 Shortlist

2010 algebra

Problem

A train consists of wagons containing gold coins, all of the same shape. Any two coins have equal weight provided that they are in the same wagon, and differ in weight if they are in different ones. The weight of a coin is one of the positive reals . Each wagon is marked by a label with one of the numbers (the numbers on different labels are different). A controller has a pair of scales (allowing only to compare masses) at his disposal. During each measurement he can use an arbitrary number of coins from any of the wagons. The controller has the task to establish: if all labels show rightly the common weight of the coins in a wagon or if there exists at least one wrong label. What is the least number of measurements that the controller has to perform to accomplish his task?
Solution
We will prove that a single measurement is sufficient to do the job. Let and , be arbitrary real numbers. For each permutation of the set define The rearrangement inequality says that is the least possible if and only if is the identical permutation. The next lemma tells us where one should look for those permutations for which the value of is the second least.

Lemma. Denote by , the permutation of the set given by For each permutation we have that Proof. Let be a permutation such that the value is the least among all nonidentical permutations. Then there must be a positive integer that is not mapped to itself by . Let be the least such integer. Clearly, we have . Hence there is a such that . Consider the permutation that coincides with everywhere except on the numbers and where and . Then (because from and it follows that and ). Whereas is a permutation for which takes its minimal value for all nonidentical permutations, it follows that . This shows that has the form Let us show that . Suppose to the contrary, namely suppose that . Consider the permutation that coincides with everywhere except on the numbers and where and . Then is another nonidentical permutation and Thus we have that . This contradicts the selection of , which gives the minimal value of among all nonidentical permutations. Thus the permutation is one of the following: , which implies (1). The Lemma is proved.

We shall prove that for arbitrary weights , , one measurement is sufficient to do the job. Let us note that this will follow immediately if we show that there are for any nonidentical permutation of the set .

Suppose there are such integers. In this case the controller takes coins from the wagon labelled , coins from the wagon labelled , ..., coins from the wagon labelled and puts all of them on the left plate of scales. He takes coins from the wagon labelled and puts them on the right plate. Then this measurement does the job. Indeed, if all wagons were labelled properly, the left hand side will weigh less than the right hand side, whereas otherwise it will be the right hand side that will weigh less. It is clear that we are forced to choose and fix the integers so that "the second least weight" on the left hand side exceeds the maximal weight of the right hand side, i.e. . It is clear that "the second least weight" of the left hand side does not contain weights . To accomplish this let us choose such that . If they are ordered in such a way, then by Lemma "the second least weight" of the left hand side is of the form for some . Thus, for (1) and (2) to hold it suffices that as well as for each . Also we must make sure that is indeed a positive integer. The existence of such an integer would be guaranteed if holds for each . The last condition is equivalent to , for each . This is easily achieved if we take Finally we can set $$ k_{n+1} = 1 + \left[ \frac{k_1 m_1 + k_2 m_2 + \dots + k_n m_n}{m_{n+1}} \right]. \quad \square
Final answer
1

Techniques

Muirhead / majorizationCombinatorial optimizationFloors and ceilingsPermutations / basic group theory