Maths Olympiad Prep

Track / Stage 7 / 252 of 300 #1652 of 1964

Problem 1652

National olympiad second round; IMO P1/P4
Algebra Difficulty 7.6 Prove it

Determine all functions f:ZZf: \mathbb{Z} \rightarrow \mathbb{Z} such that
fa2+b2(a+b)=af(a)+bf(b) for every a,bZ f^{a^{2}+b^{2}}(a+b)=a f(a)+b f(b) \quad \text { for every } a, b \in \mathbb{Z}
Here, fnf^{n} denotes the nth n^{\text {th }} iteration of ff, i.e., f0(x)=xf^{0}(x)=x and fn+1(x)=f(fn(x))f^{n+1}(x)=f\left(f^{n}(x)\right) for all n0n \geqslant 0.

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.

Official solution

Refer to the main equation as E(a,b)E(a, b). E(0,b)E(0, b) reads as fb2(b)=bf(b)f^{b^{2}}(b)=b f(b). For b=1b=-1 this gives f(1)=0f(-1)=0. Now E(a,1)E(a,-1) reads as fa2+1(a1)=af(a)=fa2(a). f^{a^{2}+1}(a-1)=a f(a)=f^{a^{2}}(a) . For xZx \in \mathbb{Z} define the orbit of xx by O(x)={x,f(x),f(f(x)),}Z\mathcal{O}(x)=\{x, f(x), f(f(x)), \ldots\} \subseteq \mathbb{Z}. We see that the orbits O(a1)\mathcal{O}(a-1) and O(a)\mathcal{O}(a) differ by finitely many terms. Hence, any two orbits differ by finitely many terms. Therefore, either all orbits are finite or all orbits are infinite. Case 1: All orbits are finite. Then O(0)\mathcal{O}(0) is finite. Using E(a,a)E(a,-a) we get a(f(a)f(a))=af(a)af(a)=f2a2(0)O(0) a(f(a)-f(-a))=a f(a)-a f(-a)=f^{2 a^{2}}(0) \in \mathcal{O}(0) For a>maxzO(0)z|a|>\max _{z \in \mathcal{O}(0)}|z|, this yields f(a)=f(a)f(a)=f(-a) and f2a2(0)=0f^{2 a^{2}}(0)=0. Therefore, the sequence (fk(0):k=0,1,)\left(f^{k}(0): k=0,1, \ldots\right) is purely periodic with a minimal period TT which divides 2a22 a^{2}. Analogously, TT divides 2(a+1)22(a+1)^{2}, therefore, Tgcd(2a2,2(a+1)2)=2T \mid \operatorname{gcd}\left(2 a^{2}, 2(a+1)^{2}\right)=2, i.e., f(f(0))=0f(f(0))=0 and a(f(a)f(a))=f2a2(0)=0a(f(a)-f(-a))=f^{2 a^{2}}(0)=0 for all aa. Thus, f(a)=f(a) for all a0 in particular, f(1)=f(1)=0 \begin{array}{ll} f(a)=f(-a) \quad \text { for all } a \neq 0 \\ \text { in particular, } & f(1)=f(-1)=0 \end{array} Next, for each nZn \in \mathbb{Z}, by E(n,1n)E(n, 1-n) we get nf(n)+(1n)f(1n)=fn2+(1n)2(1)=f2n22n(0)=0 n f(n)+(1-n) f(1-n)=f^{n^{2}+(1-n)^{2}}(1)=f^{2 n^{2}-2 n}(0)=0 Assume that there exists some m0m \neq 0 such that f(m)0f(m) \neq 0. Choose such an mm for which m|m| is minimal possible. Then m>1|m|>1 due to (ϕ);f(m)0(\boldsymbol{\phi}) ; f(|m|) \neq 0 due to ( ϕ)\boldsymbol{\phi}); and f(1m)0f(1-|m|) \neq 0 due to (Ω)(\Omega) for n=mn=|m|. This contradicts to the minimality assumption. So, f(n)=0f(n)=0 for n0n \neq 0. Finally, f(0)=f3(0)=f4(2)=2f(2)=0f(0)=f^{3}(0)=f^{4}(2)=2 f(2)=0. Clearly, the function f(x)0f(x) \equiv 0 satisfies the problem condition, which provides the first of the two answers. Case 2: All orbits are infinite. Since the orbits O(a)\mathcal{O}(a) and O(a1)\mathcal{O}(a-1) differ by finitely many terms for all aZa \in \mathbb{Z}, each two orbits O(a)\mathcal{O}(a) and O(b)\mathcal{O}(b) have infinitely many common terms for arbitrary a,bZa, b \in \mathbb{Z}. For a minute, fix any a,bZa, b \in \mathbb{Z}. We claim that all pairs (n,m)(n, m) of nonnegative integers such that fn(a)=fm(b)f^{n}(a)=f^{m}(b) have the same difference nmn-m. Arguing indirectly, we have fn(a)=fm(b)f^{n}(a)=f^{m}(b) and fp(a)=fq(b)f^{p}(a)=f^{q}(b) with, say, nm>pqn-m>p-q, then fp+m+k(b)=fp+n+k(a)=fq+n+k(b)f^{p+m+k}(b)=f^{p+n+k}(a)=f^{q+n+k}(b), for all nonnegative integers kk. This means that f+(nm)(pq)(b)=f(b)f^{\ell+(n-m)-(p-q)}(b)=f^{\ell}(b) for all sufficiently large \ell, i.e., that the sequence (fn(b))\left(f^{n}(b)\right) is eventually periodic, so O(b)\mathcal{O}(b) is finite, which is impossible. Now, for every a,bZa, b \in \mathbb{Z}, denote the common difference nmn-m defined above by X(a,b)X(a, b). We have X(a1,a)=1X(a-1, a)=1 by (1). Trivially, X(a,b)+X(b,c)=X(a,c)X(a, b)+X(b, c)=X(a, c), as if fn(a)=fm(b)f^{n}(a)=f^{m}(b) and fp(b)=fq(c)f^{p}(b)=f^{q}(c), then fp+n(a)=fp+m(b)=fq+m(c)f^{p+n}(a)=f^{p+m}(b)=f^{q+m}(c). These two properties imply that X(a,b)=baX(a, b)=b-a for all a,bZa, b \in \mathbb{Z}. But (1) yields fa2+1(f(a1))=fa2(f(a))f^{a^{2}+1}(f(a-1))=f^{a^{2}}(f(a)), so 1=X(f(a1),f(a))=f(a)f(a1) for all aZ 1=X(f(a-1), f(a))=f(a)-f(a-1) \quad \text { for all } a \in \mathbb{Z} Recalling that f(1)=0f(-1)=0, we conclude by (two-sided) induction on xx that f(x)=x+1f(x)=x+1 for all xZx \in \mathbb{Z}. Finally, the obtained function also satisfies the assumption. Indeed, fn(x)=x+nf^{n}(x)=x+n for all n0n \geqslant 0, so fa2+b2(a+b)=a+b+a2+b2=af(a)+bf(b) f^{a^{2}+b^{2}}(a+b)=a+b+a^{2}+b^{2}=a f(a)+b f(b) Comment. There are many possible variations of the solution above, but it seems that finiteness of orbits seems to be a crucial distinction in all solutions. However, the case distinction could be made in different ways; in particular, there exist some versions of Case 1 which work whenever there is at least one finite orbit. We believe that Case 2 is conceptually harder than Case 1.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.