#113

solved

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

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

for any reals x,yx,y.

Solution

Solution by sqing-inequality-BUST and ja..


The solutions are

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

and, for any constant c≤0c\le0,

f(x)={x,x≥c,−x,x<c,\boxed{ f(x)= \begin{cases} x,&x\ge c,\\ -x,&x<c, \end{cases}}

or

f(x)={x,x>c,−x,x≤c..\boxed{ f(x)= \begin{cases} x,&x>c,\\ -x,&x\le c. \end{cases}}.

First, if f(a)=f(b)f(a)=f(b), then comparing P(x,a)P(x,a) and P(x,b)P(x,b) gives a2=b2a^2=b^2.

Putting x=y=0x=y=0 gives

f(f(0)+f(0)2)=f(0),f(f(0)+f(0)^2)=f(0),

so f(0)+f(0)2=0f(0)+f(0)^2=0, and therefore f(0)∈{0,−1}f(0)\in\{0,-1\}.

Suppose first that f(0)=0f(0)=0. From P(x,0)P(x,0),

f(f(x))=f(x),f(f(x))=f(x),

so the first observation gives f(x)=±xf(x)=\pm x for each xx.

Now f(y)2=y2f(y)^2=y^2, so the equation says

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

Thus every number of the form f(x)+y2f(x)+y^2 belongs to the set where f(t)=tf(t)=t. Hence this set is a ray, either all of R\mathbb R, [c,∞)[c,\infty), or (c,∞)(c,\infty), with c≤0c\le0 because 00 is fixed. This gives exactly the listed families.

It remains to exclude f(0)=−1f(0)=-1. In this case, P(x,0)P(x,0) gives

f(f(x)+1)=f(x),f(f(x)+1)=f(x),

so ∣f(x)+1∣=∣x∣|f(x)+1|=|x| for every xx. Hence f(x)=x−1f(x)=x-1 or f(x)=−x−1f(x)=-x-1 pointwise. Taking x=0x=0 in the original equation gives

f(f(y)2−1)=y2−1.f(f(y)^2-1)=y^2-1.

But f(y)2−1=y2±2yf(y)^2-1=y^2\pm2y, and applying f(t)=±t−1f(t)=\pm t-1 to this expression cannot equal y2−1y^2-1 for all real yy. This contradiction removes the case f(0)=−1f(0)=-1.

The listed functions are then directly checked.