#678

solved

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

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

for any reals x,yx,y.

Known appearances

Solution

Solution by OronSH.


We claim the answers are f(x)=0f(x)=0 or f(x)=xf(x)=x for all xx, which work.

Denote the assertion by 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 ff is constant, which implies f(x)=0f(x)=0, or f(0)=0f(0)=0.

Next P(x,0)P(x,0) gives f(f(x2))=xf(x)f(f(x^2))=xf(x). Swapping x,−xx,-x implies ff odd. Also setting x=1x=1 gives f(f(1))=f(1)f(f(1))=f(1).

Suppose f(c)=0f(c)=0 for c≠0c\ne 0. Taking P(c,y)P(c,y) gives f(f(c2)+cy)=0f(f(c^2)+cy)=0, so ff is constantly zero. Hence assume no cc exists.

Take P(1,−f(1))P(1,-f(1)) to get f(−f(1))=−1f(-f(1))=-1. By oddness f(f(1))=1f(f(1))=1, hence with above we have f(1)=1f(1)=1.

Take P(1,y)P(1,y) to get f(y+1)=f(y)+1f(y+1)=f(y)+1. Now comparing P(x,y)P(x,y) with 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). However, for fixed x≠0x\ne 0, by varying yy we see that f(x2)+xyf(x^2)+xy takes any real value, hence we have f(z+x)=f(z)+f(x)f(z+x)=f(z)+f(x) for x≠0x\ne 0. Since f(0)=0f(0)=0, we get ff additive.

From the original equation we hence have f(f(x2))+f(xy)=xf(x)+f(x)f(y)f(f(x^2))+f(xy)=xf(x)+f(x)f(y), hence ff multiplicative. Then f(x2)=f(x)2≥0f(x^2)=f(x)^2\ge 0, so ff is bounded on a nontrivial interval, so ff is linear. Since f(1)=1f(1)=1 we get f(x)=xf(x)=x for all xx as desired.