#446

solved

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

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

for any reals x,yx,y.

Solution

This is a trivial problem.


We claim the only solution is f(x)≡cxf(x)\equiv cx for some real constant cc, which obviously works. We now show it is the only solution.


It is easy to check that the only linear function is f(x)=cxf(x)=cx.

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


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

P(1,y−g(1)):f(y)=(y−g(1))⋅f(1)+h(1)P(1,y-g(1)): f(y)=(y-g(1))\cdot f(1)+h(1), hence ff is linear as desired.