#326

solved

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

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

for any reals x,yx,y.

Solution

Solution by benjaminchew13.


We claim that the unique solution is

f(x)=x.\boxed{f(x)=x}.

From P(1,y)P(1,y),

f(1+f(y))=y+f(1)2,f(1+f(y))=y+f(1)^2,

so ff is bijective. Also

P(x,0):f(x2+f(0))=f(x)2.P(x,0):\qquad f(x^2+f(0))=f(x)^2.

Comparing xx and −x-x, we get f(−x)2=f(x)2f(-x)^2=f(x)^2. Since ff is injective, f(−x)=f(x)f(-x)=f(x) can happen only for x=0x=0, so ff is odd away from 00.

If f(u)=0f(u)=0, then P(u,0)P(u,0) and P(−u,0)P(-u,0) imply f(−u)=0f(-u)=0, and injectivity gives u=0u=0. Hence f(0)=0f(0)=0, and ff is odd on all of R\mathbb R.

Now

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

so f(1)=1f(1)=1. From P(1,y)P(1,y) and P(−1,y)P(-1,y),

f(f(y)+1)=y+1,f(f(y)−1)=y−1.f(f(y)+1)=y+1,\qquad f(f(y)-1)=y-1.

Thus

f(y+2)=f(y)+2.f(y+2)=f(y)+2.

Using P(2,x/2)P(2,x/2) and this shift by 44, we get f(f(x))=xf(f(x))=x for all xx. Then P(1,f(x))P(1,f(x)) gives

f(x+1)=f(x)+1.f(x+1)=f(x)+1.

Finally, since f(x)2=f(x2)f(x)^2=f(x^2), the original equation is

f(x2+f(xy))=f(x2)+xy.(1)f(x^2+f(xy))=f(x^2)+xy. \tag{1}

For a>0a>0, choose x=ax=\sqrt a in (1) and vary yy to get

f(a+f(t))=f(a)+t(a>0, t∈R).f(a+f(t))=f(a)+t\qquad(a>0,\ t\in\mathbb R).

For a=0a=0 this is f(f(t))=tf(f(t))=t, and for a<0a<0 it follows by oddness from the positive case. Therefore

f(a+f(t))=f(a)+tf(a+f(t))=f(a)+t

for all real a,ta,t. Replacing tt by f(t)f(t) gives additivity:

f(a+t)=f(a)+f(t).f(a+t)=f(a)+f(t).

An additive function with f(x2)=f(x)2≥0f(x^2)=f(x)^2\ge0 for all xx is bounded below on every bounded interval of nonnegative inputs, hence is linear. Since f(1)=1f(1)=1, we get f(x)=xf(x)=x, which works.