#109

solved

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

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

for any reals x,yx,y.

Solution

Solution by Anonymous.


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

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

From P(0,0)P(0,0), the function has a zero. Let cc be such that f(c)=0f(c)=0. Then P(x,c)P(x,c) gives

f(f(x))=x+c2.f(f(x))=x+c^2.

Hence ff is bijective, and cc is the unique zero of ff.

Let a=f(0)a=f(0). Since P(0,0)P(0,0) gives f(a+a2)=0f(a+a^2)=0, uniqueness of the zero gives

c=a+a2.c=a+a^2.

On the other hand, substituting x=cx=c into f(f(x))=x+c2f(f(x))=x+c^2 gives

a=f(0)=c+c2.a=f(0)=c+c^2.

Combining these two relations, the only real possibility is c=0c=0, and hence a=0a=0.

Therefore f(f(x))=xf(f(x))=x. Replacing xx by f(x)f(x) and yy by f(y)f(y) in the original equation gives

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

Taking x=0x=0 gives f(y2)=f(y)2f(y^2)=f(y)^2, so

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

Thus ff is additive over all nonnegative increments. Taking x=−tx=-t with t≥0t\ge 0 gives f(−t)=−f(t)f(-t)=-f(t), so this additivity extends to all real increments. Hence ff is additive on R\mathbb R.

Finally, f(y2)=f(y)2≥0f(y^2)=f(y)^2\ge 0 for every yy, so this additive function is nonnegative on the nonnegative reals. Therefore f(x)=kxf(x)=kx for some k≥0k\ge 0. Since f(f(x))=xf(f(x))=x, we get k2=1k^2=1, so k=1k=1. Hence

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

This function is checked directly to work.