#119

solved

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

f(f(x)+f(y2))=x+f(y)2f(f(x) + f(y^2)) = x + f(y)^2

for any reals x,yx,y.

Solution

Solution by jasperE3.


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

f(f(x)+f(y2))=x+f(y)2.f\left(f(x)+f\left(y^2\right)\right)=x+f(y)^2.

If f(u)=f(v)f(u)=f(v), then comparing P(u,y)P(u,y) and P(v,y)P(v,y) gives u=vu=v, so ff is injective. Let a=f(0)a=f(0). From P(x,0)P(x,0),

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

so ff is surjective.

Next,

P(0,y):f(a+f(y2))=f(y)2,P(0,y):\quad f(a+f(y^2))=f(y)^2,

while

P(f(y)2−a2,0):f(f(f(y)2−a2)+a)=f(y)2.P(f(y)^2-a^2,0):\quad f\left(f(f(y)^2-a^2)+a\right)=f(y)^2.

By injectivity,

f(y2)=f(f(y)2−a2),f(y^2)=f(f(y)^2-a^2),

and then injectivity again gives

f(y)2=y2+a2.f(y)^2=y^2+a^2.

Because ff is surjective, some yy has f(y)=0f(y)=0, forcing a=0a=0. Thus f(f(x))=xf(f(x))=x and f(y)2=y2f(y)^2=y^2 for all x,yx,y.

With a=0a=0, substituting x↦f(x)x\mapsto f(x) gives

f(x+f(t))=f(x)+t(t≥0).f(x+f(t))=f(x)+t\qquad(t\ge 0).

For every t≥0t\ge 0, we know f(t)=tf(t)=t or f(t)=−tf(t)=-t. There cannot be positive u,vu,v with f(u)=uf(u)=u and f(v)=−vf(v)=-v: otherwise the last identity with x=−vx=-v and t=ut=u gives

f(u−v)=f(−v)+u=u+v,f(u-v)=f(-v)+u=u+v,

contradicting f(u−v)2=(u−v)2f(u-v)^2=(u-v)^2. Hence the sign is constant on the positive reals, and f(f(x))=xf(f(x))=x then determines the negative reals as well.

Thus the only solutions are

f(x)=x for all xandf(x)=−x for all x.\boxed{f(x)=x\text{ for all }x} \qquad\text{and}\qquad \boxed{f(x)=-x\text{ for all }x}.

Both are easily verified in the original equation.