#147

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


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

P(x,f(z)+f(z)f(y))⇒f(f(x)+zf(x)+f(x)f(y)f(z))=x+zf(x)+f(x)f(y)f(z)P(x,f(z)+f(z)f(y))\Rightarrow f(f(x)+zf(x)+f(x)f(y)f(z))=x+zf(x)+f(x)f(y)f(z).

In particular, setting z=−1z=-1 forces

f(f(x)f(y)f(−1))=x−f(x)+f(x)f(y)f(−1)f(f(x)f(y)f(-1))=x-f(x)+f(x)f(y)f(-1)

and swapping x,yx,y:

x−f(x)+f(x)f(y)f(−1)=f(f(x)f(y)f(−1))=y−f(y)+f(x)f(y)f(−1),x-f(x)+f(x)f(y)f(-1)=f(f(x)f(y)f(-1))=y-f(y)+f(x)f(y)f(-1),

so x−f(x)x-f(x) is constant, i.e. ff is linear. Testing, we have the only solution f(x)=x\boxed{f(x)=x}.