File size: 10,007 Bytes
de929c3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | 
Individual Competition - Solutions
MEMO
2022
Bern
English version
# Problem I-1
Let $\mathbb{R}$ be the set of real numbers. Determine all functions $f: \mathbb{R} \rightarrow \mathbb{R}$ such that
$$
f(x+f(x+y))=x+f(f(x)+y)
$$
holds for all $x, y \in \mathbb{R}$.
Solution. Denote by $P(x, y)$ the given assertion.
Taking $y=-f(x)$ we get the equality $f(x+f(x-f(x)))=x+f(0)$, which implies that $f$ is surjective.
Let $d$ be a zero of $f$. From $P(d, 0)$ we get $0=d+f(0)$, thus $-f(0)$ is the only zero of $f$.
From $P(0, y)$ we get
$$
f(f(y))=f(y+f(0))
$$
From $P(-f(0), y+f(0))$ we get $f(f(y)-f(0))=-f(0)+f(y+f(0))$. Using (1), we get $f(f(y)-f(0))=-f(0)+f(f(y))$, or equivalently $f(f(y))=f(f(y)-f(0))+f(0)$.
Since $f$ is surjective, we can replace $f(y)$ by $y$ to obtain
$$
f(y)=f(y-f(0))+f(0)
$$
Replacing $y$ by $y+f(0)$ to the right, we get $f(y+f(0))=f(y)+f(0)$. However, applying (1) to the left side gives us
$$
f(f(y))=f(y)+f(0)
$$
Once again, using surjectivity we conclude that $f(y)=y+f(0)$ for every real number $y$. Thus, any function $f$ which is a solution is of the form $f(y)=y+c$ for some real number $c$. It's easy to check that all such functions satisfy the problem's condition.
Solution via surjectivity. Let $P(x, y)$ denote the given equation. The function $f$ is surjective, as can be seen with $P(x,-f(x))$. Observe that $P(y, x-y)$ gives us
$$
f(y+f(x))=y+f(f(y)+x-y)
$$
which, when plugged back into the original equation, translates to
$$
f(x+f(x+y))=x+y+f(f(y)+x-y)
$$
Observe the equation
$$
x+f\left(x+y_{0}\right)=f\left(y_{0}\right)+x-y_{0}
$$
For every $y_{0}$ it has a solution $x_{0}$, as $f$ is surjective. Plugging $x_{0}$ and $y_{0}$ in (2), it follows that $x_{0}+y_{0}=0$. As $x_{0}=-y_{0}$ is the only possible solution, it must solve the equation. We now get that $-y+f(0)=f(y)-2 y$ for all $y$, and so $f(x)=x+c$. We see that all such functions indeed solve the equation.

## Problem I-2
Let $n$ be a positive integer. Anna and Beatrice play a game with a deck of $n$ cards labelled with the numbers $1,2, \ldots, n$. Initially, the deck is shuffled. The players take turns, starting with Anna. At each turn, if $k$ denotes the number written on the topmost card, then the player first looks at all the cards and then rearranges the $k$ topmost cards. If, after rearranging, the topmost card shows the number $k$ again, then the player has lost and the game ends. Otherwise, the turn of the other player begins. Determine, depending on the initial shuffle, if either player has a winning strategy, and if so, who does.
Answer: A player wins if and only if in the deck she receives, the topmost card with number $k$ does not have the smallest number among the $k$ topmost cards
Solution with explicit strategy. For the sake of brevity, we will always refer to the cards as the numbers $1, \ldots, n$ in a row, in some permutation. The first number corresponds to the topmost card.
Assume it is your turn and the first number $k$ is not the smallest number among the first $k$ numbers; let $m$ be that smallest number. You can now place $m$ in the first place and sort the remaining numbers in decreasing order.
If $m=1$, then the opponent will immediately after her next turn.
Otherwise, the smallest of the $m-1$ numbers on positions 2 to $m$ is now larger than $k$ : The smallest of the $k$ numbers before the rearrangement was $m$, so the largest of them was at least $m+k-1$, and the $(m-1)$-th largest was at least $m+k-1-(m-2)=k+1$.
This now forces your opponent to remove $m$ from the start and to put something there that is bigger than $k$ (else she loses the game). Also, $m$ still remains among the first $m$ numbers, so the new first number $k^{\prime}$ again is not the smallest among the first $k^{\prime}>m$ numbers.
Repeating this ensures that you always have a non-losing move.
The game terminates since the leading number cannot increase forever. Therefore, it is forced that your opponent will at some point lose the game.
If instead the first number $k$ is the smallest among the first $k$ numbers when it is your turn, then the same strategy applies to your opponent after your move.
Solution with winning positions. Essentially the same idea can also be written as an iterative characterization of winning positions. We inductively show that a position is a winning position if and only if the first number $k$ is not the smallest among the first $k$ numbers.
First, we observe that a player cannot make a legal move if and only if the first number is 1 . Consequently, a player can win within one move if and only if 1 is among the first $k$ numbers.
If the first number is $n$, then 1 is always among the first $n$ numbers, so this is a winning position.
Let us assume the first number is $k$, and for all $k^{\prime}>k$ we have already shown that permutations starting with $k^{\prime}$ are winning positions if and only if $k^{\prime}$ is not the smallest among the first $k^{\prime}$ numbers.
If $k$ is the smallest number among the first $k$ numbers, then the player whose turn it is must put some number $k^{\prime}$ larger than $k$ in the first position and $k$ among the first $k<k^{\prime}$ numbers, which by the induction hypothesis is a winning position for the other player.
On the other hand, if there is a number $m<k$ among the first $k$ numbers, then like in the previous proof we can show that there are at least $m-1$ numbers larger than $k$ among the first $k$ numbers, so putting $m$ in the first place and then these $m-1$ numbers in any order forces the opponent to create a permutation that is a winning position by induction hypothesis.

## Problem I-3
Let $A B C D$ be a parallelogram with $\angle D A B<90^{\circ}$. Let $E \neq B$ be the point on the line $B C$ such that $A E=A B$ and let $F \neq D$ be the point on the line $C D$ such that $A F=A D$. The circumcircle of the triangle $C E F$ intersects the line $A E$ again in $P$ and the line $A F$ again in $Q$. Let $X$ be the reflection of $P$ over the line $D E$ and $Y$ the reflection of $Q$ over the line $B F$. Prove that $A, X$ and $Y$ lie on the same line.
Solution: We have $\angle E C D=\angle E B A=\angle A E C$, so $A E C D$ is an isosceles trapezoid. We now deduce $\angle E P F=180^{\circ}-\angle E C F=\angle E A D$, so $P F$ is parallel to $A D$. Analogously, $Q E$ is parallel to $A B$. Therefore the quadrilaterals $A B E Q$ and $A P F D$ are isosceles trapezoids and hence cyclic.
Let $X$ be the intersection of $D E$ and $B F$. Since $\frac{A D}{A E}=\frac{A F}{A B}$ and $\angle E A D=\angle B A F$, the triangles $A D E$ and $A F B$ are similar. Since $A$ is the center of the spiral similarity taking one to the other, it follows that $X$ is the second intersection of the circumcircles of triangles $A B E$ and $A F D$.
Now, directing angles, we find $\angle D X P=\angle D A P=\angle F D A$, so
$$
\angle P^{\prime} X A=\angle P^{\prime} X D+\angle D X F+\angle F X A=\angle D X P+\angle D A F+\angle F D A=0^{\circ}
$$
so the points $A, X, P^{\prime}$ are collinear. Analogously we find that the points $A, X, Q^{\prime}$ are collinear, which solves the problem.


## Problem I-4
Initially, two positive integers $a$ and $b$ with $a \neq b$ are written on a blackboard. At each step, Andrea picks two numbers $x$ and $y$ on the blackboard with $x \neq y$ and writes the number
$$
\operatorname{gcd}(x, y)+\operatorname{lcm}(x, y)
$$
on the blackboard as well. Let $n$ be a positive integer. Prove that, regardless of the values of $a$ and $b$, Andrea can perform a finite number of steps such that a multiple of $n$ appears on the blackboard.
Remark. If $x$ and $y$ are two positive integers, then $\operatorname{gcd}(x, y)$ denotes their greatest common divisor and $\operatorname{lcm}(x, y)$ their least common multiple.
Solution. Write $a=d x, b=d y$ with $d=\operatorname{gcd}(a, b)$. Then
$$
\operatorname{gcd}(a, b)+\operatorname{lcm}(a, b)=d+d x y=d(1+x y)=d \cdot(\operatorname{gcd}(x, y)+\operatorname{lcm}(x, y))
$$
and $1+x y$ is coprime with both $x$ and $y$. This means that wlog we can assume that $a$ and $b$ are coprime.
Now we start with $a$ and $b$ and obtain the new number $1+a b>a$. Then we compute $\operatorname{gcd}(a, 1+a b)+\operatorname{lcm}(a, 1+a b)=1+a+a^{2} b$, which is again coprime with $a$. Repeatedly applying this procedure with $a$ and the last written number, we obtain all the numbers of the form
$$
1+a+\ldots+a^{k-1}+a^{k} b=\frac{a^{k}-1}{a-1}+a^{k} b=: V_{k}
$$
By the pigeonhole principle there exists two positive integer $k_{1}<k_{2}$ such that $\frac{a^{k_{1}}-1}{a-1}$ and $\frac{a^{k_{2}-1}}{a-1}$ are congruent modulo $b$. Therefore their difference is divisible by $b$ and since $a$ and $b$ are coprime it follows that $\frac{a^{k 2}-k_{1}-1}{a-1}$ is divisible by $b$. Moreover for this integer $k=k_{2}-k_{1}$ clearly we have $V_{k}>b$, so we will write $V_{k}=t \cdot b$ with $t>1$.
Now we take $V_{k}$ and $b$ and compute
$$
\operatorname{gcd}\left(V_{k}, b\right)+\operatorname{lcm}\left(V_{k}, b\right)=b+V_{k}=(t+1) \cdot b
$$
and hence repeatedly applying this procedure with $b$ and the last written number gives all numbers of the form $s \cdot b$ for $s \geq t$. In particular, if we apply this procedure sufficiently many times $s$ will be a multiple of $n$.
|