#166

solved

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

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

for any reals x,yx,y.

Solution

Solution by benjaminchew13.


Let P(x,y)P(x, y) denote f(f(x)+f(xy))=x+yf(x)f(f(x) + f(xy)) = x + yf(x) for all reals xx and yy.

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

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

P(x,0):f(f(x))=xP(x, 0) : f(f(x)) = x, therefore ff is bijective.

P(1,y):f(f(y)+f(1))=yf(1)+1P(1, y) : f(f(y) + f(1)) = yf(1) + 1.

P(1,f(y)):f(y+f(1))=f(y)f(1)+1P(1, f(y)) : f(y + f(1)) = f(y)f(1) + 1.

P(−1,−f(y)):f(y+f(−1))=−f(y)f(−1)−1P(-1, -f(y)) : f(y + f(-1)) = -f(y)f(-1) - 1.

f(f(1)+f(−1))=f(f(−1))f(1)+1=1−f(1)f(f(1) + f(-1)) = f(f(-1))f(1) + 1 = 1 - f(1).

f(f(1)+f(−1))=−f(f(1))f(−1)−1=−f(−1)−1f(f(1) + f(-1)) = -f(f(1))f(-1) - 1 = -f(-1) - 1.

So we have f(−1)=f(1)−2f(-1) = f(1) - 2.

f(y+f(−1))=f(y+f(1)−2)=−f(y)f(1)+2f(y)−1f(y + f(-1)) = f(y + f(1) - 2) = -f(y)f(1) + 2f(y) - 1.

f(y+f(1)−2)=f(y−2)f(1)+1f(y + f(1) - 2) = f(y - 2)f(1) + 1, so we have f(y−2)f(1)+2=f(y)(2−f(1))f(y - 2)f(1) + 2 = f(y)(2 - f(1)).

y=1y = 1 gives 2f(1)2−4f(1)+2=02f(1)^{2} - 4f(1) + 2 = 0, so f(1)=1f(1) = 1.

Then P(1,f(y)):f(y+1)=f(y)+1P(1, f(y)) : f(y + 1) = f(y) + 1.

P(x,1x):f(x)=xP\left( x, \frac{1}{x} \right) : f(x) = x for all x≠0x \neq 0.

But since f(0)=0f(0)= 0, we have f(x)≡xf(x) \equiv x, which can be easily verified to be a solution.