Maths Olympiad Prep

Track / Stage 7 / 124 of 300 #2004 of 2444

Problem 2004

National Olympiad second round; IMO P1/P4
Algebra Difficulty 7.4 Prove it Olimpiade Italiana di Matematica · Italy

Given fractions a/ba / b and c/dc / d, we define their pirate sum as
abcd=a+cb+d \frac{a}{b} \diamond \frac{c}{d}=\frac{a+c}{b+d}
where it is understood that the two initial fractions are reduced to lowest terms (that is, simplified as much as possible), and the result is then also reduced to lowest terms. So, for example, the pirate sum of 2/72 / 7 and 4/54 / 5 is equal to 1/21 / 2.

Given an integer n3n \geq 3, initially on the board are written the fractions
11,12,13,,1n \frac{1}{1}, \quad \frac{1}{2}, \quad \frac{1}{3}, \ldots, \quad \frac{1}{n}
At each move we choose two fractions written on the board, we erase them, and we write in their place their pirate sum. We continue in the same way until only one fraction remains on the board.
Determine, as a function of nn, the maximum and minimum possible value for this last fraction.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

Solution:

We set Mn=1/2M_{n}=1 / 2 and mn=1/(n1)m_{n}=1 /(n-1). We show that MnM_{n} is the maximum possible value for the last fraction, while mnm_{n} is the minimum possible value for the last fraction. The proof consists of two parts: a construction showing that these values are indeed achievable, and a verification of the optimality of these values, that is, that one cannot obtain more or less.

Construction. To obtain mnm_{n} we pair at each step the two largest numbers written on the board. At the first step we pair 1/11 / 1 and 1/21/2, obtaining 2/32 / 3. At the second step we pair 2/32 / 3 and 1/31 / 3, obtaining 1/21 / 2. Therefore, after two steps the numbers written on the board are
12,14,15,,1n \frac{1}{2}, \quad \frac{1}{4}, \quad \frac{1}{5}, \ldots, \quad \frac{1}{n}
At this point it is easily shown by induction that at the kk-th step we will have on the board the numbers
1k,1k+2,1k+3,,1n \frac{1}{k}, \quad \frac{1}{k+2}, \quad \frac{1}{k+3}, \ldots, \quad \frac{1}{n}
and so after n2n-2 steps only 1/(n2)1 /(n-2) and 1/n1 / n will remain, and composing them gives exactly mnm_{n}.

The construction for MnM_{n} is analogous, simply pairing at each step the two smallest numbers. At the first step we pair 1/n1 / n and 1/(n1)1 /(n-1), obtaining 2/(2n1)2 /(2 n-1). At the second step we pair 2/(2n1)2 /(2 n-1) and 1/(n2)1 /(n-2), obtaining 1/(n1)1 /(n-1). Therefore, after two steps we will have on the board the numbers
11,12,,1n4,1n3,1n1. \frac{1}{1}, \quad \frac{1}{2}, \ldots, \quad \frac{1}{n-4}, \quad \frac{1}{n-3}, \quad \frac{1}{n-1}.
At this point it is easily shown by induction that at the kk-th step we will have on the board the numbers
11,12,,1nk2,1nk1,1nk+1. \frac{1}{1}, \quad \frac{1}{2}, \ldots, \quad \frac{1}{n-k-2}, \quad \frac{1}{n-k-1}, \quad \frac{1}{n-k+1}.
It follows that after n2n-2 steps only 1/11 / 1 and 1/31 / 3 will remain, and composing them gives exactly 1/21 / 2.

Optimality. To show that one cannot obtain more than MnM_{n} or less than mnm_{n} we will use the following preliminary result.

Lemma. For every pair of positive rationals a/ba/b and c/dc/d (reduced to lowest terms) the following inequality holds
min{ab,cd}abcdmax{ab,cd}. \min \left\{\frac{a}{b}, \frac{c}{d}\right\} \leq \frac{a}{b} \diamond \frac{c}{d} \leq \max \left\{\frac{a}{b}, \frac{c}{d}\right\}.
Moreover, either of the two equalities holds if and only if a/b=c/da / b=c / d.

To prove the lemma, denote by mm the minimum of the two rational numbers, and by MM the maximum. This means that mbaMbm b \leq a \leq M b and mdcMdm d \leq c \leq M d, from which it follows that
m=mb+mdb+da+cb+dMb+Mdb+d=M m=\frac{m b+m d}{b+d} \leq \frac{a+c}{b+d} \leq \frac{M b+M d}{b+d}=M
which is exactly the inequality of the claim. The same argument shows that, if a/bc/da / b \neq c / d, then both inequalities are strict.

Let us now show that one cannot obtain more than MnM_{n}. Consider the first number x/yx / y that interacts with 1/11 / 1. The number x/yx / y is the result of operations carried out starting from the fractions {1/2,1/3,,1/n}\{1 / 2,1 / 3, \ldots, 1 / n\}, and therefore by the lemma it will necessarily be less than or equal to 1/21 / 2. Moreover, if x/y=1/2x / y=1 / 2, then necessarily the number 1/21 / 2 has never been involved in pirate sums up to this point (if it had been involved, by the lemma such sums would have produced numbers strictly less than 1/21 / 2). We now distinguish two cases.

- If x/y<1/2x / y<1 / 2, then y>2xy>2 x and hence y2x+1y \geq 2 x+1. It follows that
11xy=x+1y+1x+12x+2=12. \frac{1}{1} \diamond \frac{x}{y}=\frac{x+1}{y+1} \leq \frac{x+1}{2 x+2}=\frac{1}{2}.
- If x/y=1/2x / y=1 / 2, then obviously the pirate sum with 1/11 / 1 produces as result 2/32 / 3. Consider now the number e/fe / f that at some point interacts with 2/32 / 3. By what we observed previously we know that e/fe / f is the result of operations carried out starting from the fractions {1/3,,1/n}\{1 / 3, \ldots, 1 / n\}, and therefore by the lemma it will necessarily be less than or equal to 1/31 / 3. But then f3e2e+1f \geq 3 e \geq 2 e+1 and therefore
23ef=2+e3+fe+22e+4=12 \frac{2}{3} \diamond \frac{e}{f}=\frac{2+e}{3+f} \leq \frac{e+2}{2 e+4}=\frac{1}{2}
In both cases we have reduced to having only fractions less than or equal to 1/21 / 2, and therefore by the lemma all the subsequent numbers, and in particular the last one remaining, will be less than or equal to 1/21/2.

We show in an analogous way that one cannot obtain less than mnm_{n}. Let z/wz / w be the first number that interacts with 1/n1 / n. By the lemma we know that z/w1/(n1)z / w \geq 1 /(n-1), and that the equality sign holds if and only if the number 1/(n1)1 /(n-1) has never been used up to this point. We now distinguish two cases.

- If z/w>1/(n1)z / w>1 /(n-1), then w<(n1)zw<(n-1) z and hence w(n1)z1w \leq(n-1) z-1. It follows that
1nzw=z+1n+wz+1nzz+n1=1n1 \frac{1}{n} \diamond \frac{z}{w}=\frac{z+1}{n+w} \geq \frac{z+1}{n z-z+n-1}=\frac{1}{n-1}
- If z/w=1/(n1)z / w=1 /(n-1), then obviously the pirate sum with 1/n1 / n produces as result 2/(2n1)2 /(2 n-1). Consider now the number h/kh / k that at some point interacts with 2/(2n1)2 /(2 n-1). By what we observed previously we know that h/kh / k is the result of operations carried out starting from the fractions {1/1,1/2,,1/(n2)}\{1 / 1,1 / 2, \ldots, 1 /(n-2)\}, and therefore by the lemma it will necessarily be greater than or equal to 1/(n2)1 /(n-2). But then kh(n2)h(n1)1k \leq h(n-2) \leq h(n-1)-1 and therefore
22n1hk=2+h2n1+k2+h2n1+h(n1)1=1n1 \frac{2}{2 n-1} \diamond \frac{h}{k}=\frac{2+h}{2 n-1+k} \geq \frac{2+h}{2 n-1+h(n-1)-1}=\frac{1}{n-1}
In both cases we have reduced to having only fractions greater than or equal to 1/(n1)1 /(n-1), and therefore by the lemma from that moment on, and in particular at the end, there will only be numbers greater than or equal to 1/(n1)1 /(n-1).

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from it; metadata (topic, difficulty, ordering) added by this project.