#169

solved

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

f(f(x)+f(xy))=x+f(xy)f(f(x) + f(xy)) = x + f(xy)

for any reals x,yx,y.

Solution

Solution by maromex.


Observe that this is equivalent to

f(f(x)+f(y))=x+f(y)f(f(x)+f(y)) = x+f(y)

for all real x,yx, y such that if x=0x=0 then y=0.y=0.

Let P(x,y)P(x,y) be the assertion f(f(x)+f(y))=x+f(y)f(f(x)+f(y)) = x+f(y) where x≠0x\neq 0 or y=0.y=0.

Comparing P(x,y)P(x,y) with P(y,x)P(y,x), we get x+f(y)=y+f(x)x+f(y) = y+f(x) for all x,y≠0.x, y \neq 0. So

f(x)=x+Cf(x)=x+C

for all x≠0x \neq 0 for some real constant C.C.

Taking P(x,x)P(x,x) for some sufficiently large xx, we get 2x+3C=2x+C.2x + 3C = 2x + C. So C=0.C=0. Therefore f(x)=xf(x)=x for all x≠0.x \neq 0.

Case 1: f(0)=0f(0)=0

We have f(x)=xf(x)=x for all real x.x. This function works.

Case 2: f(0)≠0f(0) \neq 0

P(−f(0),0):f(0)=0P(-f(0), 0): f(0) = 0, a contradiction.

So f(x)=xf(x) = x for all real x.x.