#261

solved

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

f(x2+yf(x))=xf(x)+xyf(x^2 + yf(x)) = xf(x) + xy

for any reals x,yx,y.

Solution

This is a trivial problem.


We claim the only solutions are f(x)≡xf(x)\equiv x and f(x)≡−xf(x)\equiv -x, which obviously work. We now show they are the only solutions.


It is easy to check that the only linear functions are f(x)=xf(x)=x and f(x)=−xf(x)=-x.

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))=xy+h(x)f(yf(x)+g(x))=xy+h(x). Show that ff is linear.


Proof. Let P(x,y)P(x,y) denote the assertion that f(yf(x)+g(x))=xy+h(x)f(yf(x)+g(x))=xy+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)=u⋅y−g(u)f(u)+h(u)P(u,\frac{y-g(u)}{f(u)}):f(y)=u\cdot \frac{y-g(u)}{f(u)}+h(u) which is linear, as desired.