#112

solved

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

f(f(x)+f(y)2)=x+f(y2)f(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 the assertion

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

First, ff is injective. Indeed, if f(u)=f(v)f(u)=f(v), comparing P(u,y)P(u,y) and P(v,y)P(v,y) gives u=vu=v. Let a=f(0)a=f(0). From P(t−a,0)P(t-a,0),

f(f(t−a)+a2)=t,f\left(f(t-a)+a^2\right)=t,

so ff is also surjective.

Now P(0,y)P(0,y) gives

f(a+f(y)2)=f(y2),f\left(a+f(y)^2\right)=f\left(y^2\right),

and injectivity yields

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

Putting y=0y=0 gives a+a2=0a+a^2=0. If a=−1a=-1, then f(y)2=y2+1f(y)^2=y^2+1 for all yy, contradicting surjectivity since 00 is not in the image. Hence a=0a=0.

Therefore f(f(x))=xf(f(x))=x and f(y)2=y2f(y)^2=y^2 for all x,yx,y. Substituting x↦f(x)x\mapsto f(x) into the original equation gives

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

So f(x+t)=f(x)+f(t)f(x+t)=f(x)+f(t) for every t≥0t\ge 0. Taking x=−tx=-t gives f(−t)=−f(t)f(-t)=-f(t), and the same identity then extends to all real increments; hence ff is additive on R\mathbb R.

Since f(x)2=x2f(x)^2=x^2, each value satisfies f(x)=xf(x)=x or f(x)=−xf(x)=-x. Additivity forces the sign to be constant on the positive reals, so

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

Both functions are checked directly to work.