#88

solved

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

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

for any reals x,yx,y.

Solution

Solution by benjaminchew13.


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

P(1,y):f(f(y)+1)=y+f(1)P(1, y) : f(f(y) + 1) = y + f(1), so we have that ff is bijective.

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

P(x,−f(x)x):f(−f(x))=−xP\left( x, -\frac{f(x)}{x} \right) : f(-f(x)) = -x for all x≠0x \neq 0, but obviously this is also true for x=0x = 0.

So f(−f(x))=−xf(-f(x)) = -x for all xx.

P(x,f(x+y)−f(x)x):f(f(x+y)−f(x))=yP\left( x, \frac{f(x + y) - f(x)}{x} \right) : f(f(x + y) - f(x)) = y for all x≠0x \neq 0.

So we have f(x+y)−f(x)=−f(−y)f(x + y) - f(x) = -f(-y) for all x≠0x \neq 0.

So f(x+y)+f(−y)=f(x)f(x + y) + f(-y) = f(x) for all x≠0x \neq 0.

Therefore we have f(a)+f(b)=f(a+b)f(a) + f(b) = f(a + b) as long as b≠−ab \neq -a.

y+f(1)=f(f(y)+1)=f(y)+1y + f(1) = f(f(y) + 1) = f(y) + 1 for all f(y)≠−1f(y)\neq -1.

f(y)=−1  ⟺  f(y)=f(−f(1))  ⟺  y=−f(1)f(y) = -1 \iff f(y) = f(-f(1)) \iff y = -f(1).

So we have that f(y)=y+f(1)−1f(y) = y + f(1) - 1 for some constant cc for all y≠−f(1)y \neq -f(1).

f(−f(1))=−1=−f(1)+f(1)−1f(-f(1)) = -1 = -f(1) + f(1) - 1, so we have that f(x)≡x+cf(x) \equiv x+ c for some constant cc.

Substituting in, we have that c=0c = 0, so f(x)≡xf(x) \equiv x is the only possible solution, which can be easily verified.