#141

solved

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

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

for any reals x,yx,y.

Solution

This is a trivial problem.


We claim the only solutions are f(x)≡x+cf(x)\equiv x+c for some real constant cc and f(x)≡0f(x)\equiv 0, which obviously work. We now show they are the only solutions.


It is easy to check that the only linear functions are f(x)=x+cf(x)=x+c and f(x)=0f(x)=0.

We now prove a more general statement.


Statement: Suppose f,g,h:R→Rf,g,h:\mathbb{R}\rightarrow\mathbb{R} are functions such that for any reals x,yx,y, f(yf(x)+g(x))=yf(x)+h(x)f(yf(x)+g(x))=yf(x)+h(x). Show that ff is linear.


Proof. Let P(x,y)P(x,y) denote the assertion that f(yf(x)+g(x))=yf(x)+h(x)f(yf(x)+g(x))=yf(x)+h(x).

Obviously, ff cannot be constantly 00. Hence, there exists some real constant uu such that f(u)≠0f(u)\ne 0.

Now P(u,y−g(u)f(u)):f(y)=f(u)⋅y−g(u)f(u)+h(u)P(u,\frac{y-g(u)}{f(u)}):f(y)=f(u)\cdot \frac{y-g(u)}{f(u)}+h(u) which is linear, as desired.