#673

solved

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

f(f(x2)+xy)=x2+f(x)f(y)f(f(x^2) + xy) = x^2 + f(x)f(y)

for any reals x,yx,y.

Solution

Solution by OronSH.


We claim the only solution is the identity.

Denote the assertion P(x,y)P(x,y). First P(0,y)P(0,y) gives f(f(0))=f(0)f(y)f(f(0))=f(0)f(y), so f(0)=0f(0)=0 or ff is constant, impossible.

Next P(x,0)P(x,0) gives f(f(x2))=x2f(f(x^2))=x^2. In particular we get f(f(1))=1f(f(1))=1.

Set x=f(1)x=f(1). If there is a solution yy for f(x2)+xy=yf(x^2)+xy=y, then the equation cancels to x2=0x^2=0, hence f(1)=0f(1)=0, but this implies f(f(1))=f(0)=1f(f(1))=f(0)=1, contradiction. Hence there is no solution yy, so x=f(1)=1x=f(1)=1.

Now P(1,y)P(1,y) gives f(y+1)=f(y)+1f(y+1)=f(y)+1. Taking the difference now of P(x,y)P(x,y) and P(x,y+1)P(x,y+1) gives f(f(x2)+xy+x)=f(f(x2)+xy)+f(x)f(f(x^2)+xy+x)=f(f(x^2)+xy)+f(x). When x≠0x\ne 0, by varying yy we can make f(x2)+xyf(x^2)+xy take any real value, hence we get f(z+x)=f(z)+f(x)f(z+x)=f(z)+f(x) when x≠0x\ne 0. Since f(0)=0f(0)=0, this gives ff is additive.

Hence from the original equation we have f(f(x2))+f(xy)+x2+f(x)f(y)f(f(x^2))+f(xy)+x^2+f(x)f(y), so ff is also multiplicative. Hence f(x2)=f(x)2≥0f(x^2)=f(x)^2\ge 0, so ff is bounded on a nontrivial interval. Together with additivity, this implies ff linear, and from f(1)=1f(1)=1 we get f(x)=xf(x)=x for all xx, as desired.