Solution by dibyo_99.
Note: we show the solution for the statement in the AoPS thread, which is f(x(1+y))=f(x)(1+f(y)).
We claim the only solutions are f(x)≡x and f(x)≡0, which obviously work. We now show they are the only solutions. Let P(x,y) denote the assertion that f(x(1+y))=f(x)(1+f(y)).
P(0,y)⟹f(0)=f(0)(1+f(y))⟹f(0)=0 or f(y)=0∀y. The second case is a solution. So, let us continue with first case. Let there exist a such that f(a)=0.
P(a,−1)⟹f(a)(1+f(−1))=0⟹f(−1)=−1.
P(1,y)⟹f(1+y)=f(1)(1+f(y)).
Therefore, P(1,1)⟹f(2)=f(1)2+f(1).
P(1,2)⟹f(3)=f(1)3+f(1)2+f(1).
P(1,3)⟹f(4)=f(1)(1+f(1)+f(1)2+f(1)3).
P(2,1)⟹f(4)=f(1)(1+f(1))2.
Comparing the last two, (f(1)3−f(1))(f(1))=0⟹f(1)=−1,0,1.
f(1)=−1⟹P(x,1)⟹f(2x)=f(x)(1+(−1))=0∀x, contradiction.
f(1)=0⟹P(1,y)⟹f(1+y)=0∀y, contradiction.
f(1)=1⟹P(1,y)⟹f(1+y)=1+f(y)⟹f(x(1+y))=f(x)f(1+y) i.e f is a multiplicative function. Also, P(x,xy)⟹f(x+y)=f(x)+f(x)f(y/x)=f(x)+f(y) i.e f is additive. It is very well known that these 2 conditions imply that f(x)=x.