#635

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


Let P(x,y)P(x,y) denote

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

If f(k)=0f(k)=0 for some k≠0k\ne 0, then P(k,y)P(k,y) makes f(ky)f(ky) constant as yy varies, so ff would be constant on R\mathbb R. No constant function satisfies the equation. Hence f(k)=0f(k)=0 implies k=0k=0.

Let a=f(0)a=f(0). From P(x,0)P(x,0),

f(f(x2))=x2+a,f(f(x^2))=x^2+a,

so [a,∞)⊆f(R)[a,\infty)\subseteq f(\mathbb R). For x≠0x\ne 0, we also have f(x)≠0f(x)\ne 0, and substituting

y=−f(x2)f(x)y=-\frac{f(x^2)}{f(x)}

gives

f(−xf(x2)f(x))=a−x2.f\left(-\frac{xf(x^2)}{f(x)}\right)=a-x^2.

Thus (−∞,a)⊆f(R)(-\infty,a)\subseteq f(\mathbb R), so ff is surjective. Since 00 is in the image and only 00 can map to 00, we get f(0)=0f(0)=0.

Suppose now that f(k)≠kf(k)\ne k for some kk. Then k≠0k\ne 0. Set h=f(k2)h=f(k^2) and

y=hk−f(k).y=\frac{h}{k-f(k)}.

The argument on the left of P(k,y)P(k,y) is

h+hf(k)k−f(k)=khk−f(k)=ky.h+\frac{hf(k)}{k-f(k)}=\frac{kh}{k-f(k)}=ky.

Therefore P(k,y)P(k,y) gives f(ky)=k2+f(ky)f(ky)=k^2+f(ky), impossible. Hence f(k)=kf(k)=k for every kk, and

f(x)=x for all x.\boxed{f(x)=x\text{ for all }x}.

Direct substitution verifies the solution.