#20

solved

Find all functions f:R→Rf:\mathbb{R}\to\mathbb{R} such that

f(x+yf(y))=f(x)+y2f(x + yf(y)) = f(x) + y^2

for any reals x,yx,y.

Known appearances

Solution

Note: we show the solution for the statement in the AoPS thread, which has xx and yy swapped.


Solution by TLP.39.


We claim the only solutions are f(x)≡xf(x)\equiv x and f(x)≡−xf(x)\equiv -x, which obviously work. We now show they are the only solutions. Let P(x,y)P(x,y) denote the assertion that f(xf(x)+y)=x2+f(y)f(xf(x)+y)=x^2+f(y).


Since P(x,0)P(x,0) and P(x,−xf(x))P(x,-xf(x)) implies that f(xf(x))=x2+f(0)f(xf(x))=x^2+f(0) and f(−xf(x))=f(0)−x2f(-xf(x))=f(0)-x^2, ff is surjective.

Let aa be the real number such that f(a)=0f(a)=0. P(a,y)P(a,y) implies that a=0a=0. Hence f(0)=0f(0)=0 and f(r)=0  ⟹  r=0f(r)=0\implies r=0 for all rr. In particular, if for some cc, we have f(x)=f(x+c)f(x)=f(x+c) for all real xx, then c=0c=0.

Let bb be the real number such that f(b)=1f(b)=1. P(b,0)P(b,0) implies that b2=1b^2=1. Since it’s easy to prove that f(x)f(x) is a solution iff g(x)≡f(−x)g(x)\equiv f(-x) is a solution, we can assume WLOG that b=1  ⟹  f(1)=1b=1\implies f(1)=1.

P(x,0)  ⟹  f(xf(x))=x2P(x,0)\implies f(xf(x))=x^2.

P(1,x)  ⟹  f(x+1)=f(x)+1P(1,x)\implies f(x+1)=f(x)+1.

P(x+1,y),P(x,f(x)+x+y+1)  ⟹  f(f(x)+x+y+1)−f(y)=2x+1  ⟹  f(f(x)+x+y)−f(y)=2xP(x+1,y), P(x,f(x)+x+y+1)\implies f(f(x)+x+y+1)-f(y)=2x+1\implies f(f(x)+x+y)-f(y)=2x.

From the above equation, we can see that

f(f(x)+f(y)+x+y+z)=f(f(x)+x+z)+2y=f(z)+2x+2y=f(f(x+y)+(x+y)+z)  ⟹  f(x)+f(y)=f(x+y).\begin{align*} f(f(x)+f(y)+x+y+z) &= f(f(x)+x+z)+2y\\ &= f(z)+2x+2y\\ &=f(f(x+y)+(x+y)+z)\\ \implies f(x)+f(y)&=f(x+y) \end{align*}.

Hence, ff is additive.

Thus, P(f(x)+x,0)  ⟹  2f(xf(x))+2f(x2)=(f(x)+x)2  ⟹  2(x2+f(x2))=(f(x)+x)2.P(f(x)+x,0)\implies 2f(xf(x))+2f(x^2)=(f(x)+x)^2\implies 2(x^2+f(x^2))=(f(x)+x)^2.

Finally, we have

f(f(2x2)+2x2+y)=4x2+f(y)f(2(f(x2)+x2)+y)=f(2xf(2x)+y)f((f(x)+x)2+y)=f(4xf(x)+y)  ⟹  (f(x)+x)2=4xf(x)  ⟹  f(x)=x.\begin{align*} f(f(2x^2)+2x^2+y) &= 4x^2+f(y)\\ f(2(f(x^2)+x^2)+y)&= f(2xf(2x)+y)\\ f((f(x)+x)^2+y)&=f(4xf(x)+y)\\ \implies (f(x)+x)^2&=4xf(x)\\ \implies f(x)=x \end{align*}.

Hence, the only solution (with the assumption that b=1b=1) is the identity function. Generalize back, we get that the solutions are f(x)≡x\boxed{f(x)\equiv x} and f(x)≡−x.\boxed{f(x)\equiv -x.}