Maths Olympiad Prep

Library / /5 of 14

Algebra Difficulty 7.3 National Olympiad, round 2 Prove it European Girls' Mathematical Olympiad (EGMO)

Problem:
Determine all functions f:RRf: \mathbb{R} \rightarrow \mathbb{R} satisfying the condition
f(y2+2xf(y)+f(x)2)=(y+f(x))(x+f(y)) f\left(y^{2}+2 x f(y)+f(x)^{2}\right)=(y+f(x))(x+f(y))
for all real numbers xx and yy.

Solution

Solution:
It can be easily checked that the functions f(x)=xf(x)=x, f(x)=xf(x)=-x and f(x)=12xf(x)=\frac{1}{2}-x satisfy the given condition. We will show that these are the only functions doing so. Let y=f(x)y=-f(x) in the original equation to obtain
f(2f(x)2+2xf(f(x)))=0 f\left(2 f(x)^{2}+2 x f(-f(x))\right)=0
for all xx. In particular, 00 is a value of ff. Suppose that uu and vv are such that f(u)=0=f(v)f(u)=0=f(v). Plugging x=ux=u or vv and y=uy=u or vv in the original equations we get f(u2)=u2f\left(u^{2}\right)=u^{2}, f(u2)=uvf\left(u^{2}\right)=uv, f(v2)=uvf\left(v^{2}\right)=uv and f(v2)=v2f\left(v^{2}\right)=v^{2}. We conclude that u2=uv=v2u^{2}=uv=v^{2} and hence u=vu=v. So there is exactly one aa mapped to 00, and
f(x)2+xf(f(x))=a2 f(x)^{2}+x f(-f(x))=\frac{a}{2}
for all xx.
Suppose that f(x1)=f(x2)0f\left(x_{1}\right)=f\left(x_{2}\right) \neq 0 for some x1x_{1} and x2x_{2}. Using (*) we obtain x1f(f(x1))=x2f(f(x2))=x2f(f(x1))x_{1} f\left(-f\left(x_{1}\right)\right)=x_{2} f\left(-f\left(x_{2}\right)\right)=x_{2} f\left(-f\left(x_{1}\right)\right) and hence either x1=x2x_{1}=x_{2} or f(x1)=f(x2)=af\left(x_{1}\right)=f\left(x_{2}\right)=-a. In the second case, letting x=ax=a and y=x1y=x_{1} in the original equation we get f(x122a2)=0f\left(x_{1}^{2}-2 a^{2}\right)=0, hence x122a2=ax_{1}^{2}-2 a^{2}=a. Similarly, x222a2=ax_{2}^{2}-2 a^{2}=a, and it follows that x1=x2x_{1}=x_{2} or x1=x2x_{1}=-x_{2} in this case.
Using the symmetry of the original equation we have
f(f(x)2+y2+2xf(y))=(x+f(y))(y+f(x))=f(f(y)2+x2+2yf(x)) f\left(f(x)^{2}+y^{2}+2 x f(y)\right)=(x+f(y))(y+f(x))=f\left(f(y)^{2}+x^{2}+2 y f(x)\right)
for all xx and yy. Suppose f(x)2+y2+2xf(y)f(y)2+x2+2yf(x)f(x)^{2}+y^{2}+2 x f(y) \neq f(y)^{2}+x^{2}+2 y f(x) for some xx and yy. Then by the observations above, (x+f(y))(y+f(x))0(x+f(y))(y+f(x)) \neq 0 and f(x)2+y2+2xf(y)=(f(y)2+x2+2yf(x))f(x)^{2}+y^{2}+2 x f(y)=-\left(f(y)^{2}+x^{2}+2 y f(x)\right). But these conditions are contradictory as the second one can be rewritten as (f(x)+y)2+(f(y)+x)2=0(f(x)+y)^{2}+(f(y)+x)^{2}=0.
Therefore from ()(**) now it follows that
f(x)2+y2+2xf(y)=f(y)2+x2+2yf(x) f(x)^{2}+y^{2}+2 x f(y)=f(y)^{2}+x^{2}+2 y f(x)
for all xx and yy. In particular, letting y=0y=0 we obtain f(x)2=(f(0)x)2f(x)^{2}=(f(0)-x)^{2} for all xx. Let f(x)=s(x)(f(0)x)f(x)=s(x)(f(0)-x) where s:R{1,1}s: \mathbf{R} \rightarrow \{1,-1\}. Plugging this in ()(***) gives
x(ys(y)+f(0)(1s(y)))=y(xs(x)+f(0)(1s(x))) x(y s(y)+f(0)(1-s(y)))=y(x s(x)+f(0)(1-s(x)))
for all xx and yy. So s(x)+f(0)(1s(x))/xs(x)+f(0)(1-s(x))/x must be constant for x0x \neq 0.
If f(0)=0f(0)=0 it follows that s(x)s(x) is constant for x0x \neq 0, and therefore either f(x)=xf(x)=x for all xx or f(x)=xf(x)=-x for all xx. Suppose that f(0)0f(0) \neq 0. If s(x)s(x) is 1-1 for all x0x \neq 0, then 1+2f(0)/x-1+2 f(0)/x must be constant for all x0x \neq 0, which is not possible. On the other hand, if there exist nonzero xx and yy such that s(x)=1s(x)=-1 and s(y)=1s(y)=1, then 1+2f(0)/x=1-1+2 f(0)/x=1. That is, there can be only one such xx, that xx is f(0)f(0), and hence f(x)=f(0)xf(x)=f(0)-x for all xx. Putting this back in the original equation gives 2f(0)2=f(0)2 f(0)^{2}=f(0) and hence f(0)=1/2f(0)=1/2. We are done.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.