#131

solved

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

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

for any reals x,yx,y.

Solution

Solution by maromex.


Case 1: f(x)=0f(x) = 0 for all real xx

This function works.


Case 2: f(x0)≠0f(x_0) \neq 0 for some real x0x_0

Let P(x,y)P(x, y) denote the given assertion f(f(x)+xf(y))=f(x)+yf(x).f(f(x)+xf(y)) = f(x) + yf(x).


Claim: ff is surjective.

Proof: P(x0,t−1f(x0)):f(?)=tP\left(x_0, \frac{t-1}{f(x_0)}\right) : f(?) = t for any real tt. □\square


P(−1,−1):f(0)=0.P(-1,-1) : f(0)=0.

P(x,0):f(f(x))=f(x).P(x,0) : f(f(x)) = f(x).

For any real tt, there exists a real ss such that f(x0)+f(x0)f(s)=tf(x_0) + f(x_0)f(s) = t because ff is surjective.

P(f(x0),f(s)):f(f(x0)+f(x0)f(s))=f(x0)+f(s)f(x0).P(f(x_0),f(s)) : f(f(x_0) + f(x_0)f(s)) = f(x_0) + f(s)f(x_0). This means f(t)=t.f(t) = t.

So f(x)=xf(x) = x for all real xx. This function works. Combining cases, we get f(x)=0f(x)=0 for all real xx and f(x)=xf(x)=x for all real xx as the solutions.