#421

solved

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

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

for any reals x,yx,y.

Solution

Solution by Hip1zzzil.


Denote the assertion as P(x,y)P(x,y).

If

f≡0,f\equiv 0,

it satisfies.

If not, there exists some real aa such that

f(a)≠0.f(a)\ne0.

From P(a,y)P(a,y),

f(af(a)+f(a)f(y))=af(a)+yf(a),f\bigl(af(a)+f(a)f(y)\bigr)=af(a)+yf(a),

therefore ff is bijective.

From P(0,1)P(0,1),

f(f(0)f(1))=f(0),f(f(0)f(1))=f(0),

so

f(0)f(1)=0.f(0)f(1)=0.

From P(1,0)P(1,0),

f(f(1)+f(1)f(0))=f(1),f(f(1)+f(1)f(0))=f(1),

so

f(1)+f(1)f(0)=1.f(1)+f(1)f(0)=1.

By combining the above two, we get

f(1)=1,f(0)=0.f(1)=1,\qquad f(0)=0.

Now, from P(−f(y),y)P(-f(y),y),

0=f(0)=−f(y)f(−f(y))+yf(−f(y)),0=f(0)=-f(y)f(-f(y))+yf(-f(y)),

so

f(y)f(−f(y))=yf(−f(y)).f(y)f(-f(y))=yf(-f(y)).

Therefore,

f(y)=yf(y)=y

or

f(−f(y))=0.f(-f(y))=0.

But in the second case,

−f(y)=0-f(y)=0

for all y∈Ry\in\mathbb R, so contradiction. Therefore

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

for all x∈Rx\in\mathbb R.