#557

solved

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

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

for any reals x,yx,y.

Solution

Solution by Anonymous.


The zero function is a solution. Now suppose ff is not identically zero, and choose aa with f(a)≠0f(a)\ne 0. Let P(x,y)P(x,y) denote

f(f(x)2+f(x)f(y))=f(x2)+yf(x).f(f(x)^2+f(x)f(y))=f(x^2)+yf(x).

If f(u)=f(v)f(u)=f(v), then comparing P(a,u)P(a,u) and P(a,v)P(a,v) gives u=vu=v, so ff is injective. Also, as yy varies in P(a,y)P(a,y), the right side f(a2)+yf(a)f(a^2)+yf(a) takes all real values, so ff is surjective.

Since ff is surjective, let bb be the unique real number such that f(b)=0f(b)=0. From P(b,y)P(b,y),

f(0)=f(b2).f(0)=f(b^2).

By injectivity, b2=0b^2=0, so b=0b=0. Hence f(0)=0f(0)=0, and 00 is the unique zero of ff.

Now P(x,0)P(x,0) gives

f(f(x)2)=f(x2).f(f(x)^2)=f(x^2).

By injectivity, f(x)2=x2f(x)^2=x^2, so for every xx we have f(x)=xf(x)=x or f(x)=−xf(x)=-x.

Let c=f(1)c=f(1), so c=±1c=\pm1. From P(1,y)P(1,y),

f(1+cf(y))=c(1+y).f(1+cf(y))=c(1+y).

Taking absolute values using f(t)2=t2f(t)^2=t^2, we obtain

∣1+cf(y)∣=∣1+y∣.|1+cf(y)|=|1+y|.

Since f(y)=±yf(y)=\pm y, this forces f(y)=cyf(y)=cy for every yy. Therefore f(x)=xf(x)=x for all xx, or f(x)=−xf(x)=-x for all xx.

Together with the zero function, the full solution set is

f(x)≡0,f(x)=x for all x,f(x)=−x for all x.\boxed{f(x)\equiv0},\qquad \boxed{f(x)=x\text{ for all }x},\qquad \boxed{f(x)=-x\text{ for all }x}.

All three are checked directly to work.