Maths Olympiad Prep

Library / /17 of 55

, 2019

Algebra Difficulty 8.5 Shortlist Prove it IMO

Let Z\mathbb{Z} be the set of integers. We consider functions f:ZZf: \mathbb{Z} \rightarrow \mathbb{Z} satisfying
f(f(x+y)+y)=f(f(x)+y) f(f(x+y)+y)=f(f(x)+y)
for all integers xx and yy. For such a function, we say that an integer vv is ff-rare if the set
Xv={xZ:f(x)=v} X_{v}=\{x \in \mathbb{Z}: f(x)=v\}
is finite and nonempty.

a. Prove that there exists such a function ff for which there is an ff-rare integer.

b. Prove that no such function ff can have more than one ff-rare integer.

Solutions — 2

Solution 1

a) Let ff be the function where f(0)=0f(0)=0 and f(x)f(x) is the largest power of 22 dividing 2x2x for x0x \neq 0. The integer 00 is evidently ff-rare, so it remains to verify the functional equation.

Since f(2x)=2f(x)f(2x)=2f(x) for all xx, it suffices to verify the functional equation when at least one of xx and yy is odd (the case x=y=0x=y=0 being trivial). If yy is odd, then we have
f(f(x+y)+y)=2=f(f(x)+y) f(f(x+y)+y)=2=f(f(x)+y)
since all the values attained by ff are even. If, on the other hand, xx is odd and yy is even, then we already have
f(x+y)=2=f(x) f(x+y)=2=f(x)
from which the functional equation follows immediately.

b) An easy inductive argument (substituting x+kyx+ky for xx) shows that
f(f(x+ky)+y)=f(f(x)+y) f(f(x+ky)+y)=f(f(x)+y)
for all integers xx, yy and kk. If vv is an ff-rare integer and aa is the least element of XvX_{v}, then by substituting y=af(x)y=a-f(x) in the above, we see that
f(x+k(af(x)))f(x)+aXv f(x+k \cdot (a-f(x)))-f(x)+a \in X_{v}
for all integers xx and kk, so that in particular
f(x+k(af(x)))f(x) f(x+k \cdot (a-f(x))) \geqslant f(x)
for all integers xx and kk, by assumption on aa. This says that on the (possibly degenerate) arithmetic progression through xx with common difference af(x)a-f(x), the function ff attains its minimal value at xx.

Repeating the same argument with aa replaced by the greatest element bb of XvX_{v} shows that
f(x+k(bf(x)))f(x) f(x+k \cdot (b-f(x))) \leqslant f(x)
for all integers xx and kk. Combined with the above inequality, we therefore have
f(x+k(af(x))(bf(x)))=f(x) f(x+k \cdot (a-f(x)) \cdot (b-f(x)))=f(x)
for all integers xx and kk.

Thus if f(x)a,bf(x) \neq a, b, then the set Xf(x)X_{f(x)} contains a nondegenerate arithmetic progression, so is infinite. So the only possible ff-rare integers are aa and bb.

In particular, the ff-rare integer vv we started with must be one of aa or bb, so that f(v)=f(a)=f(b)=vf(v)=f(a)=f(b)=v. This means that there cannot be any other ff-rare integers vv', as they would on the one hand have to be either aa or bb, and on the other would have to satisfy f(v)=vf(v')=v'. Thus vv is the unique ff-rare integer.

Solution 2

Part (b) only. Suppose vv is ff-rare, and let aa and bb be the least and greatest elements of XvX_{v}, respectively. Substituting x=vx=v and y=avy=a-v into the equation shows that
f(v)v+aXv f(v)-v+a \in X_{v}
and in particular f(v)vf(v) \geqslant v. Repeating the same argument with x=vx=v and y=bvy=b-v shows that f(v)vf(v) \leqslant v, and hence f(v)=vf(v)=v.

Suppose now that vv' is a second ff-rare integer. We may assume that v=0v=0 (see Comment 1). We've seen that f(v)=vf(v')=v'; we claim that in fact f(kv)=vf(kv')=v' for all positive integers kk. This gives a contradiction unless v=v=0v'=v=0.

This claim is proved by induction on kk. Supposing it to be true for kk, we substitute y=kvy=kv' and x=0x=0 into the functional equation to yield
f((k+1)v)=f(f(0)+kv)=f(kv)=v f((k+1)v')=f(f(0)+kv')=f(kv')=v'
using that f(0)=0f(0)=0. This completes the induction, and hence the proof.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.