#348

solved

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

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

for any reals x,yx,y.

Solution

Solution by zok_g8d.


The solutions are exactly the functions obtained as follows. Choose a set C⊆RC\subseteq\mathbb R such that

0∉C,x∈C  ⟹  x2∈C,0\notin C,\qquad x\in C\implies x^2\in C,

and

x,y∈C  ⟹  x2+y2∈C.x,y\in C\implies x^2+y^2\in C.

Then define

f(x)={x,x∈C,0,x∉C..\boxed{ f(x)= \begin{cases} x,&x\in C,\\ 0,&x\notin C. \end{cases}}.

We prove that these are the only solutions. From P(0,x)P(0,x),

f(f(x)2)=xf(x).f(f(x)^2)=xf(x).

Putting x=0x=0 gives f(f(0)2)=0f(f(0)^2)=0, and then putting x=f(0)2x=f(0)^2 gives f(0)=0f(0)=0.

If f(a)=f(b)≠0f(a)=f(b)\ne0, then the equation above gives af(a)=bf(a)af(a)=bf(a), so a=ba=b. Thus ff is injective on the set where it is nonzero.

Let

C={x:f(x)≠0}.C=\{x:f(x)\ne0\}.

For x∈Cx\in C, comparing

P(x,0):f(xf(x))=xf(x)P(x,0):\quad f(xf(x))=xf(x)

with

P(0,x):f(f(x)2)=xf(x)P(0,x):\quad f(f(x)^2)=xf(x)

and using injectivity on nonzero values gives xf(x)=f(x)2xf(x)=f(x)^2, hence f(x)=xf(x)=x. Therefore ff has the displayed form.

Moreover, if x∈Cx\in C, then P(x,0)P(x,0) gives f(x2)=x2f(x^2)=x^2, so x2∈Cx^2\in C. If x,y∈Cx,y\in C, then P(x,y)P(x,y) gives

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

so x2+y2∈Cx^2+y^2\in C.

Conversely, any function built from such a set CC works by a direct case check according as xx and yy lie in CC.