#666

solved

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

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

for any reals x,yx,y.

Solution

Solution by tadpoleloop.


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

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

The zero function is a solution. From now on, assume ff is not constant.

First, P(−1,1)P(-1,1) shows that 00 lies in the image of ff. Let f(z)=0f(z)=0. Then P(z,y)P(z,y) gives

f(f(z2))=f(z2)+zf(y).f(f(z^2))=f(z^2)+zf(y).

The left side and f(z2)f(z^2) are constant as yy varies, so zf(y)zf(y) is constant. Since ff is not constant, we must have z=0z=0. Thus

f(x)=0  ⟺  x=0,f(x)=0\iff x=0,

and in particular f(0)=0f(0)=0.

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

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

for all xx. Also, comparing P(x,−x)P(x,-x) and P(−x,x)P(-x,x) gives

f(−x)=−f(x),f(-x)=-f(x),

so ff is odd. Hence the previous identity extends to

f(f(t))=f(t)for all t∈R.f(f(t))=f(t)\qquad\text{for all }t\in\mathbb R.

Let R=f(R)R=f(\mathbb R). The last identity says exactly that RR is the set of fixed points of ff. Since ff is odd, R=−RR=-R.

From P(1,−1)P(1,-1) and oddness,

f(f(1)−f(1)2)=0.f(f(1)-f(1)^2)=0.

Since 00 is the unique zero and f(1)≠0f(1)\ne0, this gives f(1)=1f(1)=1. Therefore P(1,y)P(1,y) gives

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

so R+1⊆RR+1\subseteq R. Since R=−RR=-R, this also gives R−1⊆RR-1\subseteq R, and hence R+1=RR+1=R. In particular, every integer belongs to RR.

For x≠0x\ne0, define

Tx:R→R,Tx(r)=f(x2)+xr.T_x:R\to R,\qquad T_x(r)=f(x^2)+xr.

This maps RR to RR by P(x,y)P(x,y), and it is injective because x≠0x\ne0. Put

g(x)=f(x2)+xf(1x2).g(x)=f(x^2)+xf\left(\frac1{x^2}\right).

Then

Tx(T1/x(r))=r+g(x).T_x(T_{1/x}(r))=r+g(x).

Thus r+g(x)∈Rr+g(x)\in R for all r∈Rr\in R. Since R=−RR=-R, also r−g(x)∈Rr-g(x)\in R. Consequently every r∈Rr\in R lies in the image of TxT_x, so TxT_x is bijective.

For x≠0x\ne0 and r∈Rr\in R,

Tx(T−x−1(r))=2f(x2)−r.T_x(T_{-x}^{-1}(r))=2f(x^2)-r.

Using oddness gives the same conclusion with f(−x2)f(-x^2) in place of f(x2)f(x^2). Since every element of RR is of the form f(t)f(t), we obtain

2s−r∈Rfor all r,s∈R.2s-r\in R\qquad\text{for all }r,s\in R.

Now take any s∈Rs\in R. Since T2T_2 is bijective, there exists r∈Rr\in R such that

s=T2(r)=f(4)+2r=4+2r.s=T_2(r)=f(4)+2r=4+2r.

Because 4∈R4\in R and R+1=RR+1=R, this gives s/2=2+r∈Rs/2=2+r\in R. Hence for r,s∈Rr,s\in R,

s−r=2(s2)−r∈R.s-r=2\left(\frac{s}{2}\right)-r\in R.

So RR is an additive subgroup of R\mathbb R.

Finally, f(x2)+f(x)∈Rf(x^2)+f(x)\in R. Applying P(x,1)P(x,1) and using f(1)=1f(1)=1, the left side is fixed by ff, so

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

Thus f(x)=xf(x)=x for every xx. Therefore the complete solution set is

f(x)≡0andf(x)=x for all x.\boxed{f(x)\equiv0} \qquad\text{and}\qquad \boxed{f(x)=x\text{ for all }x}.