# 2007 56th Czech and Slovak
Mathematical Olympiad Edited by Karel Horák Translated into English by Miroslav Engliš ## First Round of the 56th Czech and Slovak
Mathematical Olympiad
Problems for the take-home part
(October 2006) ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-03.jpg?height=168&width=393&top_left_y=368&top_left_x=546) 1. Find all real roots of the equation $$ 4 x^{4}-12 x^{3}-7 x^{2}+22 x+14=0, $$ if it is known that it has four distinct real roots, two of which sum up to 1. Solution. Denote the roots by $x_{1}, x_{2}, x_{3}, x_{4}$ in such a way that $x_{1}+x_{2}=1$. Then $$ 4 x^{4}-12 x^{3}-7 x^{2}+22 x+14=4\left(x-x_{1}\right)\left(x-x_{2}\right)\left(x-x_{3}\right)\left(x-x_{4}\right) . $$ Comparing the coefficients at the corresponding powers of $x$, we obtain the familiar Vièta's relations $$ \begin{aligned} x_{1}+x_{2}+x_{3}+x_{4} & =3, \\ x_{1} x_{2}+x_{1} x_{3}+x_{1} x_{4}+x_{2} x_{3}+x_{2} x_{4}+x_{3} x_{4} & =-\frac{7}{4}, \\ x_{1} x_{2} x_{3}+x_{1} x_{2} x_{4}+x_{1} x_{3} x_{4}+x_{2} x_{3} x_{4} & =-\frac{11}{2}, \\ x_{1} x_{2} x_{3} x_{4} & =\frac{7}{2} . \end{aligned} $$ Since $x_{1}+x_{2}=1$, it follows from (1) that $x_{3}+x_{4}=2$. We rewrite the equations (2) and (3) in the form $$ \begin{aligned} \left(x_{1}+x_{2}\right)\left(x_{3}+x_{4}\right)+x_{1} x_{2}+x_{3} x_{4} & =-\frac{7}{4} \\ \left(x_{1}+x_{2}\right) x_{3} x_{4}+\left(x_{3}+x_{4}\right) x_{1} x_{2} & =-\frac{11}{2} \end{aligned} $$ Upon substituting $x_{1}+x_{2}=1$ and $x_{3}+x_{4}=2$, this yields $$ \begin{aligned} x_{1} x_{2}+x_{3} x_{4} & =-\frac{15}{4} \\ 2 x_{1} x_{2}+x_{3} x_{4} & =-\frac{11}{2} \end{aligned} $$ From this system of linear equations it is already easy to obtain $$ x_{1} x_{2}=-\frac{7}{4}, \quad x_{3} x_{4}=-2 $$ Observe that for these values of the products $x_{1} x_{2}$ and $x_{3} x_{4}$, the equation (4) which we have not used so far - is also satisfied. From the conditions $x_{1}+x_{2}=1$, $x_{1} x_{2}=-\frac{7}{4}$ it follows that $x_{1}$ and $x_{2}$ are the roots of the quadratic equation $$ x^{2}-x-\frac{7}{4}=0, \quad \text { i.e. } x_{1,2}=\frac{1}{2} \pm \sqrt{2} \text {. } $$ Similarly, from the conditions $x_{3}+x_{4}=2$ and $x_{3} x_{4}=-2$ we obtain $$ x_{3,4}=1 \pm \sqrt{3} \text {. } $$ Since, as we have already remarked, these roots satisfy all equations (1) to (4), they are also a solution to the original problem. Conclusion. The roots of the equation are $\frac{1}{2}+\sqrt{2}, \frac{1}{2}-\sqrt{2}, 1+\sqrt{3}$, and $1-\sqrt{3}$. Other solution. From the hypothesis it follows that the left-hand side of the equation is the product of polynomials $$ x^{2}-x+p \quad \text { and } \quad 4 x^{2}+q x+r $$ where $p, q$ and $r$ are real numbers. Upon multiplying out and comparing coefficients at the corresponding powers of $x$, we obtain a system of four equations with three unknowns $$ \begin{aligned} q-4 & =-12, \\ 4 p-q+r & =-7 \\ p q-r & =22 \\ p r & =14 . \end{aligned} $$ The first three equations have a unique solution $r=-8, p=-\frac{7}{4}$ and $q=-8$, which also fulfills the fourth equation. Thus we arrive at the decomposition $$ 4 x^{4}-12 x^{3}-7 x^{2}+22 x+14=\left(x^{2}-x-\frac{7}{4}\right)\left(4 x^{2}-8 x-8\right) \text {. } $$ The equation $x^{2}-x-\frac{7}{4}=0$ has roots $\frac{1}{2} \pm \sqrt{2}$, and the equation $4 x^{2}-8 x-8=0$ has roots $1 \pm \sqrt{3}$. 2. The incircle of a given triangle $A B C$ touches its sides $B C, C A$, and $A B$ at points $K, L$ and $M$, respectively. Denote by $P$ the intersection of the bisector of the interior angle at the vertex $C$ with the line $M K$. Show that the lines $A P$ and $L K$ are parallel. Solution. Denote by $k$ the incircle of the triangle $A B C$ and by $S$ its center. Let further $\alpha, \beta$ and $\gamma$ denote the magnitudes of the interior angles in the triangle $A B C$ in the usual way. Since the points $K$ and $L$ are axially symmetric with respect to the bisector of the interior angle at the vertex $C$, the lines $K L$ and $C P$ are perpendicular and $|\angle L P C|=|\angle K P C|$ (Fig. 1). ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-05.jpg?height=371&width=501&top_left_y=549&top_left_x=482) Fig. 1 Expressing the magnitudes of the interior angles at the bases $K M$ and $L K$ in the isosceles triangles $K M B$ and $L K C$, respectively, we get $|\angle M K B|=90^{\circ}-\frac{1}{2} \beta$ and $|\angle L K C|=90^{\circ}-\frac{1}{2} \gamma$. Thus $|\angle M K L|=90^{\circ}-\frac{1}{2} \alpha$. Similarly it follows that $|\angle K L M|=90^{\circ}-\frac{1}{2} \beta$ and $|\angle L M K|=90^{\circ}-\frac{1}{2} \gamma$. Since $|\angle K P C|+\frac{1}{2} \gamma=|\angle B K P|=90^{\circ}-\frac{1}{2} \beta$, we obtain the equality for the magnitude of the axially symmetric angles $L P C$ and $K P C$ $$ |\angle L P C|=|\angle K P C|=90^{\circ}-\frac{\beta+\gamma}{2}=\frac{\alpha}{2} . $$ The incircle $k$ of the triangle $A B C$ is at the same time the circumcircle of the triangle $K L M$, which is, in view of the magnitudes of its angles that we have computed, acute. The center $S$ of this circle is therefore an interior point of the latter triangle, hence, an interior point of the segment $C P$. Since $$ |\angle L P C|=|\angle L P S|=|\angle L A S|=\frac{\alpha}{2}, $$ the quadrangle $A P S L$ is chordal. Since the angle $A L S$ is right, the angle $A P S$ is also right (the lines $A P$ and $C P$ are perpendicular), thus the lines $K L$ and $A P$ are parallel. This completes the proof. Remark. Since $k$ is the circumcircle of the triangle $K L M$, it is easy to express its interior angles from the corresponding central angles: $|\angle K S L|=180^{\circ}-\gamma$, whence $|\angle K M L|=90^{\circ}-\frac{1}{2} \gamma$, etc. 3. If $x, y, z$ are real numbers from the interval $\langle-1,1\rangle$ such that $x y+y z+z x=1$, then $$ 6 \sqrt[3]{\left(1-x^{2}\right)\left(1-y^{2}\right)\left(1-z^{2}\right)} \leqslant 1+(x+y+z)^{2} . $$ Give a proof, and find when the equality holds. Solution. For any real numbers $x, y, z \in\langle-1,1\rangle$, we have $1-x^{2} \geqslant 0,1-y^{2} \geqslant 0$, $1-z^{2} \geqslant 0$. Applying the inequality between the arithmetic and the geometric mean to the triple of nonnegative real numbers $1-x^{2}, 1-y^{2}, 1-z^{2}$, we thus get $$ \begin{aligned} \sqrt[3]{\left(1-x^{2}\right)\left(1-y^{2}\right)\left(1-z^{2}\right)} & \leqslant \frac{\left(1-x^{2}\right)+\left(1-y^{2}\right)+\left(1-z^{2}\right)}{3} \\ & =\frac{3-\left(x^{2}+y^{2}+z^{2}\right)}{3}, \end{aligned} $$ whence $$ 6 \sqrt[3]{\left(1-x^{2}\right)\left(1-y^{2}\right)\left(1-z^{2}\right)} \leqslant 6-2\left(x^{2}+y^{2}+z^{2}\right) . $$ We show that if the real numbers $x, y, z \in\langle-1,1\rangle$ satisfy $x y+y z+z x=1$, then they also satisfy the inequality $$ 6-2\left(x^{2}+y^{2}+z^{2}\right) \leqslant 1+(x+y+z)^{2} . $$ Indeed, the right-hand side of this inequality has the form $$ 1+x^{2}+y^{2}+z^{2}+2(x y+y z+z x)=3+\left(x^{2}+y^{2}+z^{2}\right) \text {, } $$ which upon substituting (2) leads to the equivalent inequality $$ x^{2}+y^{2}+z^{2} \geqslant 1 \text {. } $$ However, this is easily verified to be true: indeed, it suffices to show that for any real numbers $x, y, z$ satisfying the hypothesis of our problem, we have the inequality $$ x^{2}+y^{2}+z^{2} \geqslant x y+y z+z x, $$ which, however, is equivalent to the inequality $$ (x-y)^{2}+(y-z)^{2}+(z-x)^{2} \geqslant 0, $$ which holds for arbitrary real numbers $x, y, z$. Conclusion. The inequality we were to prove follows from the inequalities (1) and (2). Equality takes place if and only if it takes places simultaneously in both (1) and (2); this happens if and only if $x=y=z$, which in view of the condition $x y+y z+z x=1$ gives the only two solutions $x=y=z= \pm \frac{1}{3} \sqrt{3}$. 4. Find for which natural numbers $n$ it is possible to decompose the set $M=$ $\{1,2, \ldots, n\}$ into a) two b) three mutually disjoint subsets having the same number of elements and such that each of them also contains the arithmetic mean of all its elements. Solution. a) Denote the desired subsets by $A$ and $B$. Since they both have the same number of elements, the number of elements of $M$ must be even. Thus $n=2 k$, where $k$ is a natural number. For $n=4$ no such decomposition of $M=\{1,2,3,4\}$ into two subsets can exist, since the arithmetic mean of two distinct numbers cannot be equal to either of these numbers. Let us construct a desired decomposition of the set $M$ for the first few even values of the number $n$ (the arithmetic mean of the elements in the subsets is set in boldface). $$ \begin{array}{lll} n=2: & A=\{\mathbf{1}\} & B=\{\mathbf{2}\} \\ n=4: & & \text { decomposition does not exist } \\ n=6: & A=\{1, \mathbf{2}, 3\} & B=\{4, \mathbf{5}, 6\} \\ n=8: & A=\{2,3, \mathbf{4}, 7\} & B=\{1, \mathbf{5}, 6,8\} \\ n=10: & A=\{1,2, \mathbf{3}, 4,5\} & B=\{6,7, \mathbf{8}, 9,10\} \\ n=12: & A=\{1,2,3, \mathbf{4}, 6,8\} & B=\{5,7, \mathbf{9}, 10,11,12\} \end{array} $$ We now show that the desired decomposition of $M$ exists for any $n=2 k$, where $k \neq 2$. If $k$ is odd, then one possible decomposition is given by $$ A=\{1,2, \ldots, k\}, \quad B=\{k+1, k+2, \ldots, 2 k\} . $$ The sum of all the elements of $A$ is $\frac{1}{2} k(k+1)$, their arithmetic mean equals $\frac{1}{2}(k+1)$, which is a natural number. Since $1 \leqslant \frac{1}{2}(k+1) \leqslant k$, the arithmetic mean of all the elements of $A$ is an element of $A$. Similarly, the arithmetic mean $\frac{1}{2}(3 k+1)$ of all elements of the subset $B$ is an element of $B$. For $k=4$ the existence of the decomposition is shown in the above table; for even numbers $k \geqslant 6$ a possible decomposition is given by $$ A=\left\{1,2, \ldots, k-2, k, \frac{1}{2}(3 k-2)\right\}, \quad B=M \backslash A $$ We have $k<\frac{1}{2}(3 k-2) \leqslant 2 k$ and $\frac{1}{2}(3 k-2)$ is a natural number. The set $A$ thus contains $k$ natural numbers from the set $M$. The sum of all the elements of $A$ is $1+2+\cdots+(k-2)+k+\frac{1}{2}(3 k-2)=\frac{1}{2}(k-2)(k-1)+k+\frac{1}{2}(3 k-2)=\frac{1}{2} k(k+2)$. Their arithmetic mean is $\frac{1}{2}(k+2)$, which is a natural number. Since $1 \leqslant \frac{1}{2}(k+2) \leqslant$ $k-2$, the arithmetic mean of all the elements of $A$ is an element of $A$. Similarly one shows that the arithmetic mean $\frac{3}{2} k$ of all elements of $B$ is an element of $B$. b) Let $A, B$ and $C$ denote the desired subsets of the set $M$. Since they all have the same number of elements, $n$ must be divisible by 3 , hence of the form $n=3 k$, where $k$ is a natural number. The sum $s$ of all elements of $M$ equals $s=\frac{1}{2} 3 k(3 k+1)$. The sum of the three arithmetic means of the elements in the subsets $A, B$ and $C$, respectively, is thus equal to $s / k$, that is, $\frac{3}{2}(3 k+1)$. By the hypotheses, this sum must be a natural number, thus $k$ must be odd. On the other hand, for numbers of the form $n=3 k$, where $k$ is odd, a possible decomposition is given by $$ A=\{1,2, \ldots, k\}, \quad B=\{k+1, k+2, \ldots, 2 k\} \quad \text { and } \quad C=\{2 k+1,2 k+2, \ldots, 3 k\} $$ Indeed, the sum of all elements in $A$ is $\frac{1}{2} k(k+1)$, hence their arithmetic mean is $\frac{1}{2}(k+1)$, which is a natural number; and since $1 \leqslant \frac{1}{2}(k+1) \leqslant k$, this arithmetic mean is an element of $A$. Similarly we show that the arithmetic mean $\frac{1}{2}(3 k+1)$ of all the elements of $B$ is an element of $B$, and the arithmetic mean $\frac{1}{2}(5 k+1)$ of all the elements of $C$ is an element of $C$. Conclusion. In part a), the possible numbers $n$ are all even $n$ different from 4 ; in part b), all odd $n$ divisible by three. 5. In the plane a circle $k$ is given with center $S$, and a point $A \neq S$. Find the locus of all circumcenters of triangles $A B C$ whose side $B C$ is a diameter of $k$. Solution. Let $r$ be the radius of $k$. If $A$ lies on $k$, then $S$ is the circumcenter of any of the triangles $A B C$, and the sought locus thus reduces to the singleton $\{S\}$. Otherwise we distinguish two cases: a) Let $|A S|>r$. Consider first the isosceles triangle $A B C$ with basis $B C$, satisfying the conditions of the problem. The circumcenter $O$ of this triangle is an interior point of the segment $A S$ and at the same time $|A O|=|B O|=|C O|$. We claim that the sought locus $\mathcal{O}$ is the line $p$ perpendicular to $A S$ and passing through $O$ (Fig. 2). ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-08.jpg?height=490&width=688&top_left_y=1042&top_left_x=382) Fig. 2 Consider an arbitrary triangle $A B^{\prime} C^{\prime}$, where $B^{\prime} C^{\prime}$ is a diameter of $k$, and denote by $O^{\prime}$ the intersection of the perpendicular bisector of its side $B^{\prime} C^{\prime}$ with the line $p$, so that $\left|O^{\prime} B^{\prime}\right|=\left|O^{\prime} C^{\prime}\right|$ (the point $O^{\prime}$ lies on the perpendicular bisector of $B^{\prime} C^{\prime}$ ). By the Pythagorean theorem in the right triangle $C^{\prime} O^{\prime} S$, $$ \left|O^{\prime} B^{\prime}\right|=\left|O^{\prime} C^{\prime}\right|=\sqrt{\left|O^{\prime} S\right|^{2}+r^{2}}=\sqrt{\left|O O^{\prime}\right|^{2}+|O S|^{2}+r^{2}} . $$ On the other hand, for the length of the segment $O^{\prime} A$ we have $$ \left|O^{\prime} A\right|=\sqrt{|A O|^{2}+\left|O O^{\prime}\right|^{2}}=\sqrt{|B O|^{2}+\left|O O^{\prime}\right|^{2}}=\sqrt{|O S|^{2}+r^{2}+\left|O O^{\prime}\right|^{2}} . $$ Thus $\left|O^{\prime} A\right|=\left|O^{\prime} B^{\prime}\right|=\left|O^{\prime} C^{\prime}\right|$, so the point $O^{\prime}$ is the circumcenter of the triangle $A B^{\prime} C^{\prime}$ and by construction it lies on the line $p$. Conversely, for any point $O^{\prime}$ of the line $p$ it is possible to construct a diameter $B^{\prime} C^{\prime}$ of the circle $k$ which is perpendicular to the line $O^{\prime} S$. By the previous arguments, $\left|O^{\prime} A\right|=\left|O^{\prime} B^{\prime}\right|=\left|O^{\prime} C^{\prime}\right|$, so we have found a triangle $A B^{\prime} C^{\prime}$ with the required property whose circumcenter is $O^{\prime}$. b) Let $|A S||C D| \geqslant|D A|$. Denote by $S$ the intersection of the bisectors of its interior angles at the vertices $A$ and $B$, and by $T$ the intersection of the bisectors of the interior angles at the vertices $C$ and $D$. Similarly we denote by $U, V$ the intersections of the bisectors of the interior angles at the vertices $A$ and $D$ and at $B$ and $C$, respectively. a) Show that the lines $U V$ and $A B$ are parallel. b) Show that the intersection $E$ of the half-line DT with the line $A B$ and the points $S, T$ and $B$ are concyclic. Solution. Being the intersection of the bisectors of the interior angles at the vertices $A$ and $D$ of the given trapezoid, the point $U$ has equal distances from the sides $A B$ and $A D$ as well as from the sides $A D$ and $D C$. This means that it has the same distance also from the two bases $A B, C D$ of the trapezoid $A B C D$. Similarly the point $V$ has the same distance from both bases. The lines $U V$ and $A B$ must therefore be parallel, which settles part a). Since the sum of interior angles at the vertices $A$ and $D$, as well as at the vertices $B$ and $C$, is $180^{\circ}$, the sum of the angles adjacent to the side $A D$ of the triangle $A D U$ is equal to $90^{\circ}$, as is the sum of the angles adjacent to the side $B C$ of the triangle $B C V$. This means that both these triangles are right (with right angles at the vertices $U$ and $V$, respectively, Fig. 1). The quadrangle $U T V S$ is therefore chordal (from the hypothesis $|A B|>|C D| \geqslant|D A|$ it follows that the half-lines $A U$ and $C V$ do not ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-13.jpg?height=327&width=458&top_left_y=1430&top_left_x=497) Fig. 1 meet, thus the points $S$ and $T$ lie in the opposite half-planes determined by the line $U V$ and the points $U, T, V$, and $S$ lie on the circle in the order indicated). As we already know, the lines $U V, A B$ and $C D$ are parallel, thus $|\angle V U T|=$ $|\angle C D T|=45^{\circ}$. From the equality of the arc angles subtended by the chord $T V$ of the chordal quadrangle $U T V S$ it therefore follows that $|\angle V S T|=|\angle V U T|=45^{\circ}$. This is also the magnitude of the arc angle $T S B$ subtended by the chord $T B$ in the circumcircle of the triangle $S T B$ (Fig. 2). It remains to show that on this circle there also lies the point $E$. This is obvious if $E=T$. Otherwise it is enough to check that the magnitude of the angle $T E B$ is either $180^{\circ}-45^{\circ}$ or $45^{\circ}$ according as the line $B T$ separates the points $S, E$ or not; however, this follows immediately from the fact that the line $D T$ meets the basis $A B$ at an angle of $45^{\circ}$ (Fig. 2 and 3). This settles part b). ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-14.jpg?height=333&width=468&top_left_y=568&top_left_x=210) Fig. 2 ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-14.jpg?height=323&width=551&top_left_y=579&top_left_x=693) Fig. 3 ## Second Round of the 56th Czech and Slovak
Mathematical Olympiad
(January 23rd, 2007) ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-15.jpg?height=161&width=381&top_left_y=333&top_left_x=556) 1. Find the least possible area of a triangle ABC whose altitudes satisfy the inequalities $h_{a} \geqslant 3 \mathrm{~cm}, h_{b} \geqslant 4 \mathrm{~cm}$ and $h_{c} \geqslant 5 \mathrm{~cm}$. Solution. Denote by $a, b, c$ the lengths of the sides of the triangle $A B C$. Its altitude $h_{b}$ satisfies the inequality $$ c \geqslant h_{b} $$ since $h_{b}$ is the length of the shortest segment connecting the vertex $B$ with a point on the line $A C$. The area $S$ of the triangle $A B C$ therefore satisfies $$ S=\frac{c h_{c}}{2} \geqslant \frac{h_{b} h_{c}}{2} \geqslant 10 \mathrm{~cm}^{2} $$ If there exists a triangle $A B C$ satisfying the conditions of the problem whose area is exactly $10 \mathrm{~cm}^{2}$, then both inequalities $S=\frac{1}{2} c h_{c} \geqslant \frac{1}{2} h_{b} h_{c} \geqslant 10 \mathrm{~cm}^{2}$ must become equalities. This means that $c=h_{b}=4 \mathrm{~cm}$ and at the same time $h_{c}=5 \mathrm{~cm}$. The first equality means that the triangle is right, with the right angle at the vertex $A$. The length of its cathetus $A C$ then satisfies $b=h_{c}=5 \mathrm{~cm}$, while the length $A$ of its hypotenuse $B C$ equals $\sqrt{41} \mathrm{~cm}$. From the formula $S=\frac{1}{2} a h_{a}$ we obtain for the altitude $h_{a}$ $$ h_{a}=\frac{2 S}{a}=\frac{20}{\sqrt{41}} \mathrm{~cm}>3 \mathrm{~cm} $$ This means that the right triangle $A B C$ with catheti of lengths $b=5 \mathrm{~cm}$ and $c=4 \mathrm{~cm}$ satisfies the conditions of the problem. The least possible area of the triangle $A B C$ whose altitudes have the requested properties is thus $10 \mathrm{~cm}^{2}$. 2. Let $a, b$ be real numbers. Prove that if the equation $$ x^{4}-4 x^{3}+4 x^{2}+a x+b=0 $$ has two distinct real roots such that their sum is equal to their product, then it has no other real roots and $a+b>0$. Solution. Assume that the equation $$ x^{4}-4 x^{3}+4 x^{2}+a x+b=0 $$ has two distinct real roots $x_{1}$ and $x_{2}$ such that $x_{1}+x_{2}=x_{1} x_{2}=p$. Then the polynomial on the left-hand side is divisible by the polynomial $\left(x-x_{1}\right)\left(x-x_{2}\right)=$ $x^{2}-p x+p$ and has the decomposition $$ x^{4}-4 x^{3}+4 x^{2}+a x+b=\left(x^{2}-p x+p\right)\left(x^{2}+r x+s\right) \text {, } $$ where $r, s$ are real numbers. Multiplying out the expression on the right-hand side in the last inequality and comparing the coefficients at the same powers of $x$ on both sides we get $$ \begin{aligned} -4 & =-p+r \\ 4 & =p+s-p r \\ a & =-p s+p r \\ b & =p s . \end{aligned} $$ From the relation (2) it follows that $$ r=p-4 . $$ Substituting this into (3) we get $$ s=4-p+p(p-4)=(p-4)(p-1) . $$ Since the quadratic equation $x^{2}-p x+p=0$ has two distinct real roots $x_{1}$ and $x_{2}$, its discriminant is a positive number, so $$ p^{2}-4 p>0 \text {. } $$ Adding up the equalities (4) and (5) and substituting for $r$ from (6), we arrive at $$ a+b=p r=p(p-4)=p^{2}-4 p>0, $$ which is what we wanted to prove. For the discriminant $D$ of the equation $$ x^{2}+r x+s=0 $$ it follows from the formulas $(6),(7)$ a (8) that $$ D=r^{2}-4 s=(p-4)^{2}-4(p-4)(p-1)=-3 p(p-4)=-3\left(p^{2}-4 p\right)<0 \text {. } $$ The last equation therefore has no real roots. The given equation (1) thus has no other real roots than $x_{1}$ and $x_{2}$. 3. Let $M$ be an arbitrary interior point of the hypotenuse $A B$ of a right triangle $A B C$. Denote by $S, S_{1}$, and $S_{2}$ the circumcenters of the triangles $A B C, A M C$, and $B M C$, respectively. a) Show that the points $M, C, S_{1}, S_{2}$ and $S$ lie on a circle. b) For which position of the point $M$ does this circle have the least radius? Solution. a) Let $\alpha$ and $\beta$ be the magnitudes of the interior angles at the vertices $A$ and $B$ of the given right triangle $A B C$ (Fig. 1). From the relation between the central ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-17.jpg?height=392&width=637&top_left_y=496&top_left_x=414) and the arc angle subtended by the common chord $C M$ in the circumcircles $k_{1}$ and $k_{2}$ of the triangles $A M C$ and $B M C$, respectively, we obtain $$ \left|\angle M S_{1} C\right|+\left|\angle M S_{2} C\right|=2 \alpha+2 \beta=180^{\circ} . $$ The quadrangle $C S_{1} M S_{2}$ is thus chordal. Since the points $M$ and $C$ are axially symmetric with respect to the perpendicular bisector of the segment $C M$, and since $S_{1}$ and $S_{2}$ lie on this bisector, we further have $$ \left|\angle S_{1} M S_{2}\right|=\left|\angle S_{1} C S_{2}\right|=90^{\circ} . $$ The circumcircle of the quadrangle $C S_{1} M S_{2}$ is thus the Thaletian circle over the diameter $S_{1} S_{2}$. On the other hand, the points $S$ and $S_{1}$ lie on the perpendicular bisector of the cathetus $A C$, and similarly the points $S$ and $S_{2}$ lie on the perpendicular bisector of the cathetus $B C$ of the given triangle. Consequently, $\left|\angle S_{1} S S_{2}\right|=90^{\circ}$, and the point $S$ therefore lies also on the Thaletian circle circumscribed to the quadrangle $C S_{1} M S_{2}$. (If $M=S$, then this assertion trivially also holds.) This proves part a). b) The radius $r$ of the circle (with chord $C S$ ) found in part a) clearly satisfies $2 r \geqslant|C S|$, with equality taking place if and only if $C S$ is its diameter. Since the circle with diameter $C S$ passes through the midpoints of both catheti $A C$ and $B C$, the equality $2 r=|C S|$ holds if and only if $S_{1}$ is the midpoint of $A C$ and $S_{2}$ is the midpoint of $B C$; this clearly corresponds to $M$ being the foot of the altitude from the vertex $C$ onto the hypotenuse $A B$. Another solution. a) Denote by $P_{1}$ and $P_{2}$ the midpoints of the segments $A M$ and $B M$, respectively (Fig. 2). Since the homothety with center $M$ and coefficient $\frac{1}{2}$ ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-18.jpg?height=353&width=635&top_left_y=162&top_left_x=411) Fig. 2 maps the segment $A B$ onto the segment $P_{1} P_{2}$, it maps the midpoint $S$ of $A B$ into the midpoint $Q$ of $P_{1} P_{2}$, and at the same time as the image of the point $S$ the point $Q$ is the midpoint of the segment $M S$. The points $P_{1}, P_{2}$ are the orthogonal projections of the points $S_{1}, S_{2}$ onto the hypotenuse $A B$, so the point $Q$ is the orthogonal projection of the center $O$ of the circle over the diameter $S_{1} S_{2}$. By the Thaletian theorem this circle contains $S$, since the lines $S_{1} S$ and $S_{2} S$, being the perpendicular bisectors of the two perpendicular catheti $A C$ and $B C$, are perpendicular. From the symmetry of this circle with respect to the line $O Q$ it then follows that the point $M$ also lies on this circle, whence so does the point $C$ (in view of the symmetry with respect to the line $S_{1} S_{2}$ ). This proves part a). b) The segment $S_{1} S_{2}$ and its orthogonal projection $P_{1} P_{2}$ satisfy $\left|S_{1} S_{2}\right| \geqslant\left|P_{1} P_{2}\right|=$ $\frac{1}{2}|A B|$. The circumcircle of the quadrangle $C S_{1} M S_{2}$ thus has least diameter $\frac{1}{2}|A B|$, if and only if $S_{1} S_{2} \| A B$, which in view of the orthogonality of the segment $C M$ and its perpendicular bisector $S_{1} S_{2}$ takes place if and only if $M$ is the foot of the altitude from the vertex $C$ in the triangle $A B C$. (The radius $r$ of this circle then is $r=\frac{1}{4}|A B|$.) Another solution. a) Consider the similarity obtained upon composing the rotation around $C$ by the oriented (right) angle $A C B$ and the homothety with center $C$ and coefficient equal to the ratio $|B C|:|A C|$ (Fig. 3). This similarity maps the points $A, B$ and $M$ into $B, B^{\prime}$ and $M^{\prime}$, respectively, where $B C$ is the altitude onto the ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-18.jpg?height=444&width=667&top_left_y=1315&top_left_x=413) Fig. 3 hypotenuse $A B^{\prime}$ in the right triangle $A B B^{\prime}$, and the point $M^{\prime}$ lies on its cathetus $B B^{\prime}$. In view of the congruent angles $A M C$ and $B M^{\prime} C$ (or also in view of the right angles $M C M^{\prime}$ and $M B M^{\prime}$ ), we see that the circumcircle of the triangle $B M C$ is at the same time also the circumcircle of the triangle $B M^{\prime} C$, so its center $S_{2}$ is the image of the point $S_{1}$ in the above similarity (which maps the triangle $A M C$ exactly onto the triangle $B M^{\prime} C$ ). This means that the angle $S_{1} C S_{2}$ is right, hence so is the angle $S_{1} M S_{2}$ (since the line $S_{1} S_{2}$ is the perpendicular bisector of the segment $C M$ ). Finally, the angle $S_{1} S S_{2}$ is also right (since its arms lie on the perpendicular bisectors of the two perpendicular catheti $A C$ and $B C$ ), which means that all three points $C$, $M, S$ lie on the Thaletian circle over the diameter $S_{1} S_{2}$. This proves part a) of the problem. Part b) is solved in the same manner as in the first solution. 4. Let natural numbers $p, q(p1$. For arbitrary natural numbers $c1$, let $S_{m}(c, d)$ denote the sum of all fractions (in their lowest terms) which lie in the open interval $(c, d)$ and whose denominator is $m$. Then we have the inequality $$ S_{m}(c, c+1) \leqslant\left(c+\frac{1}{m}\right)+\left(c+\frac{2}{m}\right)+\cdots+\left(c+\frac{m-1}{m}\right)=(m-1) c+\frac{m-1}{2}, $$ with equality taking place if and only if all the numbers $1,2, \ldots, m-1$ are coprime with $m$, i.e. if and only if $m$ is a prime. For any given natural numbers $p, q$ and $m>1$ we have $$ \begin{aligned} S_{m}(p, q)= & S_{m}(p, p+1)+S_{m}(p+1, p+2)+\cdots+S_{m}(q-1, q) \\ \leqslant & \left((m-1) p+\frac{m-1}{2}\right)+\left((m-1)(p+1)+\frac{m-1}{2}\right)+\ldots \\ & +\left((m-1)(q-1)+\frac{m-1}{2}\right)= \\ = & (m-1) \frac{(q-p)(p+q-1)}{2}+(m-1) \frac{q-p}{2}= \\ = & (m-1) \frac{q-p}{2}(p+q-1+1)=\frac{(m-1)\left(q^{2}-p^{2}\right)}{2}, \end{aligned} $$ that is, $$ S_{m}(p, q) \leqslant \frac{(m-1)\left(q^{2}-p^{2}\right)}{2} $$ Moreover, equality takes place in (9) if and only if $m$ is a prime. However, by hypothesis $$ S_{m}(p, q) \geqslant 56\left(q^{2}-p^{2}\right) . $$ In view of $(9)$ we see that necessarily $\frac{1}{2}(m-1) \geqslant 56$, i.e. $m \geqslant 113$. As 113 is a prime, the least possible $m$ equals 113 . ## Final Round of the 56th Czech and Slovak Mathematical Olympiad
(March 18-21, 2007) ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-21.jpg?height=165&width=381&top_left_y=325&top_left_x=556) 1. $A$ chess piece is placed on some square in an $n \times n(n \geqslant 2)$ square chessboard. It then makes alternately "straight" and "diagonal" moves. "Straight" means to a square having a common side with the original square. "Diagonal" means to a square which has exactly one point in common with the original square. Find all $n$ for which there exists a sequence of moves, starting by a "diagonal" move from the original square, such that the piece passes through all squares of the chessboard, and through each square exactly once. Solution. We first show that the problem has a solution for an arbitrary even $n$. Indeed, placing the piece e.g. into any of the corners of the chessboard, it is possible to pass through all the squares of the chessboard using the adjacent $2 \times n$ blocks in the manner indicated in Fig. 1 for $n=8$. Here the sequence of moves corresponds to the sequence of the connecting oriented segments. The argument for a general even $n$ is the same. ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-21.jpg?height=353&width=355&top_left_y=1034&top_left_x=321) Fig. 1 | $\mathrm{A}$ | | $\mathrm{A}$ | | $\mathrm{A}$ | | $\mathrm{A}$ | | :--- | :--- | :--- | :--- | :--- | :--- | :--- | | | $\mathrm{B}$ | | $\mathrm{B}$ | | $\mathrm{B}$ | | | $\mathrm{A}$ | | $\mathrm{A}$ | | $\mathrm{A}$ | | $\mathrm{A}$ | | | $\mathrm{B}$ | | $\mathrm{B}$ | | $\mathrm{B}$ | | | $\mathrm{A}$ | | $\mathrm{A}$ | | $\mathrm{A}$ | | $\mathrm{A}$ | | | $\mathrm{B}$ | | $\mathrm{B}$ | | $\mathrm{B}$ | | | $\mathrm{A}$ | | $\mathrm{A}$ | | $\mathrm{A}$ | | $\mathrm{A}$ | Fig. 2 Now we show that for an odd $n \geqslant 3$ it is not possible to pass through all squares of the chessboard in the manner indicated. Aiming at contradiction, let as assume that for some odd $n$ there exists a sequence of moves on the $n \times n$ chessboard satisfying the conditions of the problem. Let us color all squares of the chessboard in a similar manner as the ordinary $8 \times 8$ chessboard in such a way that the squares in the corners are black (as in Fig. 2 for $n=7$ ). Further, label all the black squares by the letters $A$ and $B$ in such a way that no two black squares having exactly one point (vertex) in common are labelled by the same letter. If the black squares in the corners are labelled e.g. by the letters A, then the number of A-squares will clearly be greater by $n$ than the number of B-squares. Let us finally denote the squares of the chessboard which the piece in turn passes through by $1,2,3, \ldots, n^{2}$, and the $k$-th move of the piece by the notation $k \mapsto k+$ 1. If the square 1 is black, then the black squares are exactly those with numbers $1,2,5,6,9,10, \ldots$; at the same time, each of the (diagonal) moves $1 \mapsto 2,5 \mapsto 6$, $9 \mapsto 10, \ldots$ connects black squares labelled by different letters. It follows that the number of $A$ and $B$ squares differs by at most 1 , which is a contradiction. Similarly, if the starting square 1 is white, the black squares are exactly those with numbers $3,4,7,8,11,12, \ldots$, connected by the (diagonal) moves $3 \mapsto 4,7 \mapsto 8,11 \mapsto 12, \ldots$, and the same contradiction is obtained. The solution are therefore all even $n \geqslant 2$. 2. In a chordal quadrangle $A B C D$ denote by $L, M$ the incenters of the triangles $B C A$ and $B C D$, respectively. Denote further by $R$ the intersection of the perpendiculars from the points $L$ and $M$ onto the lines $A C$ and $B D$, respectively. Show that the triangle LMR is isosceles. Solution. Let us denote by $H$ the intersection of the bisectors of the interior angles at the vertices $A$ and $D$ in the triangles $B C A$ and $B C D$ (Fig. 3). Then $H$ is the midpoint of the corresponding arc $B C$ of the circumcircle $k$ of the quadrangle $A B C D$ (of the arc not containing the vertices $A$ and $D$ ). Denote $\epsilon=|\angle B A H|=|\angle C A H|=$ ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-22.jpg?height=636&width=613&top_left_y=852&top_left_x=420) Fig. 3 $|\angle B D H|=|\angle C D H|=|\angle C B H|$ and $\phi=|\angle A B L|=|\angle C B L|$. Then $$ |\angle B L H|=|\angle B A L|+|\angle A B L|=\epsilon+\phi=|\angle L B H| . $$ The triangle $H L B$ is thus isosceles with basis $L B$, whence $|H B|=|H L|$. Similarly $|H C|=|H M|$. And since $|H B|=|H C|$, we also have $|H L|=|H M|$, so the triangle $H M L$ is isosceles and $|\angle H L M|=|\angle H M L|$. Denote further by $P$ the orthogonal projection of the point $L$ onto the line $A C$, and by $Q$ the orthogonal projection of the point $M$ onto the line $B D$ (the point $R$ in question is thus the intersection of the lines $L P$ and $M Q$ ). Since the right triangles $A P L$ and $D Q M$ have congruent angles at the vertices $A$ and $D$, the angles $P L A$ and $Q M D$ at the vertices $L$ and $M$ are also congruent. From this and from the equality $|\angle H L M|=|\angle H M L|$ it therefore follows that $|\angle P L M|=|\angle Q M L|$. This means that the triangle $L M R$ is isosceles, which is what we wanted to prove. 3. Denote by $\mathbb{N}$ the set of all natural numbers and consider all functions $f: \mathbb{N} \rightarrow \mathbb{N}$ such that for any $x, y \in \mathbb{N}$, $$ f(x f(y))=y f(x) . $$ Find the least possible value of $f(2007)$. Solution. Let $f$ be any function with the given property. We claim first of all that $f$ is injective. Indeed, if $f\left(y_{1}\right)=f\left(y_{2}\right)$, then for all natural $x$ $$ y_{1} f(x)=f\left(x f\left(y_{1}\right)\right)=f\left(x f\left(y_{2}\right)\right)=y_{2} f(x) \text {, } $$ and as $f(x)$ is a natural number it follows that $y_{1}=y_{2}$. Taking $x=1$ in the given equation we get in particular $f(f(y))=y f(1)$, which for $y=1$ becomes $f(f(1))=f(1)$. As $f$ is injective, this means that $$ f(1)=1 \text {, } $$ so that for all natural $y$ $$ f(f(y))=y $$ The last relation implies, in particular, that the range of the function $f$ is the entire set $\mathbb{N}$. For any natural $z$ we can thus find $y$ such that $y=f(z)$ and at the same time $f(y)=z$; using again the given equation, we therefore get $$ f(x z)=f(x(f(y))=y f(x)=f(z) f(x) . $$ An easy induction argument then implies that $$ f\left(x_{1} x_{2} \ldots x_{n}\right)=f\left(x_{1}\right) f\left(x_{2}\right) \ldots f\left(x_{n}\right) $$ for any natural numbers $n$ and $x_{1}, x_{2}, \ldots, x_{n}$. Next, we show that the image $f(p)$ of an arbitrary prime $p$ is also a prime. Assume that $f(p)=a b$, where $a$ and $b$ are natural numbers different from 1. By (2) a (3), then $$ p=f(f(p))=f(a b)=f(a) f(b) . $$ Since $f$ is injective and $f(1)=1$, we must have $f(a)>1, f(b)>1$, contradicting the hypothesis that $p$ is a prime. Since the decomposition of the number 2007 into prime factors is $2007=3^{2} \cdot 223$, we thus get by (3) $$ f(2007)=f(3)^{2} f(223), $$ where both $f(3)$ and $f(223)$ are primes. If $f(3)=2$, then $f(2)=3$ by (2) so the least possible value for $f(223)$ is 5 , whence $f(2007) \geqslant 20$. If $f(3)=3$, then the least possible value of $f(223)$ is 2 and $f(2007) \geqslant 18$. It is easy to see that for any other choice of the values $f(3)$ a $f(223)$ we get $f(2007) \geqslant 18$. We now show that there exists a function satisfying the conditions of the problem and such that $f(2007)=18$. Define $f$ in the following manner: For any natural number $x$, which we write as $x=2^{k} 223^{m} q$, where $k$ and $m$ are nonnegative integers and $q$ is a natural number coprime with 2 and 223 , set $$ f\left(2^{k} 223^{m} q\right)=2^{m} 223^{k} q $$ Then $f(2007)=f\left(223 \cdot 3^{2}\right)=2 \cdot 3^{2}=18$. We check that this function $f$ indeed has the required property. Let $x=2^{k_{1}} 223^{m_{1}} q_{1}$ and $y=2^{k_{2}} 223^{m_{2}} q_{2}$ be arbitrary natural numbers written in the above form. Then $$ \begin{aligned} f(x f(y)) & =f\left(2^{k_{1}} 223^{m_{1}} q_{1} f\left(2^{k_{2}} 223^{m_{2}} q_{2}\right)\right)=f\left(2^{k_{1}+m_{2}} 223^{m_{1}+k_{2}} q_{1} q_{2}\right)= \\ & =2^{k_{2}+m_{1}} 223^{m_{2}+k_{1}} q_{1} q_{2} \end{aligned} $$ and at the same time $$ y f(x)=2^{k_{2}} 223^{m_{2}} q_{2} f\left(2^{k_{1}} 223^{m_{1}} q_{1}\right)=2^{k_{2}+m_{1}} 223^{m_{2}+k_{1}} q_{1} q_{2} . $$ The least possible value of $f(2007)$ is thus 18 . 4. The set $M$ contains all natural numbers from 1 to 2007 (inclusive) and has the following property: if $n \in M$, then $M$ contains all the members of the arithmetic progression with first member $n$ and difference $n+1$. Decide whether there must always exist a number $m$ such that $M$ contains all natural numbers greater than $m$. Solution. The answer is in the negative; a counterexample is given by the set $$ M=\mathbb{N} \backslash\{a: a+1 \text { is a prime greater than } 2008\}, $$ which clearly contains all natural numbers from 1 to 2007. At the same time, a general member of the arithmetic progression $\left(a_{n}\right)_{n=1}^{\infty}$ with first member $a_{1}=n \in M$ and difference $d=n+1$ has the form $$ a_{k}=a_{1}+(k-1) d=n+(k-1)(n+1)=(n+1) k-1, $$ which implies that $a_{k}+1=(n+1) k$ can never be a prime, for any $k>1$; thus $a_{k} \in M$ for all $k$ (no matter whether $a_{k} \leqslant 2007$ or $a_{k} \geqslant 2008$ ). Since there are infinitely many primes, there are also infinitely many numbers not lying in the set $M$. 5. An acute triangle $A B C$ is given such that $|A C| \neq|B C|$. In the interior of its sides $B C$ and $A C$ consider the points $D$ and $E$, respectively, for which $A B D E$ is a chordal quadrangle. Denote by $P$ the intersection of its diagonals $A D$ and $B E$. Show that if the lines $C P$ and $A B$ are perpendicular, then $P$ is the orthocenter of the triangle $A B C$. Solution. Denote $\phi=|\angle B A D|$ and $\psi=|\angle A B E|$ (Fig. 4). From the equality $|\angle A E B|=|\angle A D B|$ of the angles subtending the chord $A B$ in the chordal quad- ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-25.jpg?height=418&width=458&top_left_y=477&top_left_x=497) Fig. 4 rangle $A B D E$ we thus obtain (using the standard notation for the angles in the triangle $A B C$ ) $$ \alpha+\psi=\beta+\phi . $$ Denote by $C_{0}$ the foot of the altitude from the vertex $C$, by $h_{c}$ the length of this altitude $C C_{0}$, and by $x, y$ and $p$ the lengths of the corresponding segments $A C_{0}, B C_{0}$ and $P C_{0}$, respectively (Fig. 4); thus $$ \begin{array}{rlrl} \tan \phi & =\frac{p}{x}, & \tan \psi & =\frac{p}{y} \\ \tan \alpha=\frac{h_{c}}{x}, & \tan \beta & =\frac{h_{c}}{y} . \end{array} $$ If the point $P$ is not the orthocenter (i.e. the angle $\alpha+\psi$ is not right), we can use (1) and write $$ \tan (\alpha+\psi)=\tan (\beta+\phi) $$ Using the well-known addition formula for the tangent, it follows from (2) that (using also the equality $\tan \alpha \tan \psi=\tan \beta \tan \phi$, which likewise follows from (2)) $$ \frac{h_{c}}{x}+\frac{p}{y}=\frac{h_{c}}{y}+\frac{p}{x} $$ or $$ \left(p-h_{c}\right)(x-y)=0 . $$ Since $p\max \{y, z\}$, and will distinguish two cases, according as $y>z$ or $z>y$. Let us introduce the following notation for intervals: $I_{1}=(0, \infty), I_{2}=(-1,0), I_{3}=(-\infty,-1)$. The case of $x>y>z$. For the fractions (1) we clearly have $u \in I_{1}, v \in I_{2}$ and $w \in I_{3}$, so $u>v>w$. The given set equation can thus be fulfilled only when $u=x, v=y$ and $w=z$. Upon substituting from (1) and an easy manipulation we arrive at the equations $$ x y+y=y z+z=z x+x, \quad \text { where } x \in I_{1}, y \in I_{2}, z \in I_{3} \text {. } $$ In view of the condition $x y z=1$ from (2) we can replace the term $z x$ in the equation $x y+y=z x+x$ by $1 / y$. This leads to $$ x y+y=\frac{1}{y}+x \Rightarrow x(y-1)=\frac{1-y^{2}}{y} \Rightarrow x=-\frac{1+y}{y} \Rightarrow y=-\frac{1}{1+x} . $$ (We have used the fact that, as $y \in I_{2}$, necessarily $y \neq 1$.) From the last formula it follows that the value of the first expression in the system (3) is -1 , so from the fact that the second expression equals -1 we obtain $$ z=-\frac{1}{1+y}=-\frac{1}{1-\frac{1}{1+x}}=-\frac{1+x}{x} . $$ But then also the third expression in (3) is equal to -1 . Any solution of our problem (in the current case of $x>y>z$ ) must therefore be of the form $$ (x, y, z)=\left(t,-\frac{1}{1+t},-\frac{1+t}{t}\right) $$ where $t \in I_{1}$ is arbitrary (in view of (3), we do not need to worry about checks). From the procedure used it also follows that taking $t \in I_{2}$ (or $t \in I_{3}$, respectively) in the formula (4) we get all solutions of our problem satisfying $z>x>y(y>z>x)$, so that it is not necessary to list the cyclic permutations of the triples from (4) in our final answer below. The case of $x>z>y$. Now we have for the fractions (1) $u \in I_{3}, v \in I_{1}$ and $w \in I_{2}$, so $v>w>u$, and the set equation in question is satisfied only if $u=y$, $v=x$ and $w=z$. Upon substituting the fractions from (1) we arrive at the system $$ x-y=y(y-z), \quad y-z=x(z-x), \quad z-x=z(x-y) . $$ Adding up these three equations yields $$ 0=y(y-z)+x(z-x)+z(x-y)=(y-x)(x+y-2 z), $$ which in view of $x \neq y$ implies that $z=\frac{1}{2}(x+y)$. Substituting this back into (5) we find (taking again into account that $x \neq y$ ) that the only solution is $x=1, y=-2$ and $z=-\frac{1}{2}$. The same triple also forms the (unique) solution satisfying $y>x>z$, as well as the (unique) solution for which $z>y>x$. Answer: The solutions are all ordered triples (4), where $t \in \mathbb{R} \backslash\{0,-1\}$, and the three triples $(x, y, z)$ of the form $$ \left(1,-2,-\frac{1}{2}\right),\left(-\frac{1}{2}, 1,-2\right),\left(-2,-\frac{1}{2}, 1\right) \text {. } $$ ## Czech-Slovak-Polish Match
Bílovec, June 25-26, 2007 $\mathbb{N} / \mathbb{1}^{6}$ 1. Find all polynomials $P$ with real coefficients for which the equality $$ P\left(x^{2}\right)=P(x) \cdot P(x+2) $$ holds for every real number $x$. Solution. The constant polynomial $P(x)=c$ is a solution if and only if $c=c^{2}$, thus the polynomials $P(x)=0$ and $P(x)=1$ are solutions of the problem. We claim that the only polynomial of a positive degree $n$ which solves the equation is of the form $P(x)=(x-1)^{n}$. In view of the identity $\left(x^{2}-1\right)^{n}=(x-1)^{n}(x+1)^{n}$, the latter is clearly a solution for any $n \geqslant 1$. If $a x^{n}(a \neq 0)$ is the leading term of a polynomial $P(x)$ of a positive degree $n$, then $a x^{2 n}$ is the leading term of the polynomial $P\left(x^{2}\right)$ and $a^{2} x^{2 n}$ is the leading term of the polynomial $P(x) P(x+2)$. If $P$ satisfies the given equality, comparing the leading order terms thus gives $a=a^{2}$, hence $a=1$. The polynomial $P$ can therefore be written in the form $P(x)=(x-1)^{n}+Q(x)$, where $Q$ is either identically zero, or is a nonzero polynomial of degree $k$, where $0 \leqslant kk+1)$, as well as of all elements $a_{i}(i0$ (depending on the given modulus $m$ ) such that $a_{i} \equiv a_{i+p}$ for any index $i$. Unless $m=1$ (then the problem is trivial), clearly $p>1$. Since $a_{1} \equiv a_{2} \equiv 1$, we also have $a_{p+1} \equiv a_{p+2} \equiv 1$, whence $a_{p} \equiv 0$ and $a_{p-1} \equiv-1$, so we can take $k=p-1$ and the proof is finished. 3. Let $k$ be the circumcircle of a given convex quadrilateral $A B C D$ with the property that the half-lines $D A$ and $C B$ meet at a point $E$ for which $|C D|^{2}=|A D| \cdot|E D|$ holds. Let us denote by $F(F \neq A)$ the point of intersection of the circle $k$ with the perpendicular to $E D$ at $A$. Prove that the segments $A D$ and $C F$ are congruent if and only if the circumcenter of the triangle $A B E$ lies on $E D$. Solution. Clearly $D F$ is a diameter of $k$. First we show that under the given conditions the vertex $C$ cannot lie in the half-plane $D F A$. If the vertices $B, C$ are points on the subarc $D A$ of the arc $D A F$ (Fig. 1) then the angles $D C B$ and $D B A$ are obtuse, hence $|D C|<|D B|<|D A|<|D E|$, which contradicts to the equality $|C D|^{2}=|A D| \cdot|E D|$. If the vertices $B, C$ are points on the subarc $A F$ of the arc $D A F$ (Fig. 2) the angle $B A E$ is acute and $|\angle D B E|=180^{\circ}-|\angle D B C| \leqslant 90^{\circ}$, so the possible other meeting point $B^{\prime}$ of the half-line $D B$ with the circumcircle of the triangle $A E B$ lies in the segment $D B$. Hence $|D C|>|D B| \geqslant\left|D B^{\prime}\right|$. This means that the equality $|C D|^{2}=|A D| \cdot|E D|$ cannot hold as $|A D| \cdot|E D|=|D B| \cdot\left|D B^{\prime}\right|$ (which is the power of $D$ with respect to the circumcircle of the triangle $A E B$ ). ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-30.jpg?height=456&width=522&top_left_y=1110&top_left_x=191) Fig. 1 ![](https://cdn.mathpix.com/cropped/2024_04_17_d54a2da2e34b65f1ad31g-30.jpg?height=439&width=525&top_left_y=1108&top_left_x=736) Fig. 2 We have shown that the vertex $C$ of the given quadrangle does not lie in the half-plane $F D A$, hence $|F C|=|D A|$ if and only if $D A F C$ is a rectangle, i.e. if and only if $C A$ is a diameter of the circle $k$, which is equivalent to the angle $C B A$ being right, which is in turn equivalent to the triangle $A E B$ being right with the right angle at $B$, i.e. to the circumcenter of the triangle $A E B$ being the midpoint of $A E$. 4. For any real number $p \geqslant 1$ let us consider the set of all real numbers $x$ with $$ p1$. Let thus $k$ be the least natural number for which $p