#400

solved

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

f(xf(x)+yf(x))=xf(x)+xf(y)f(xf(x) + yf(x)) = xf(x) + xf(y)

for any reals x,yx,y.

Solution

Solution by OronSH.


Let P(x,y)P(x,y) denote the assertion

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

The zero function is a solution. We now assume ff is not constant.

Taking x=0x=0 gives f(yf(0))=0f(yf(0))=0 for all yy, so f(0)=0f(0)=0. Taking y=0y=0 gives

f(xf(x))=xf(x).f(xf(x))=xf(x).

Also, P(x,−x)P(x,-x) gives

xf(x)+xf(−x)=0,xf(x)+xf(-x)=0,

so ff is odd.

If f(c)=0f(c)=0, then P(c,y)P(c,y) gives cf(y)=0cf(y)=0 for all yy, so c=0c=0. Thus 00 has the unique preimage 00.

Now suppose f(a)=f(b)f(a)=f(b). If this common value is 00, then a=b=0a=b=0. Otherwise, applying P(a,b−a)P(a,b-a) gives

f(bf(a))=af(a)+af(b−a)=bf(a),f(bf(a))=af(a)+af(b-a)=bf(a),

so

(b−a)f(a)=af(b−a).(b-a)f(a)=af(b-a).

Similarly,

(a−b)f(b)=bf(a−b).(a-b)f(b)=bf(a-b).

Using f(a)=f(b)f(a)=f(b) and oddness, we get

af(b−a)=bf(b−a),af(b-a)=bf(b-a),

hence a=ba=b. Therefore ff is injective.

From f(xf(x))=xf(x)f(xf(x))=xf(x) with x=1x=1, we get f(f(1))=f(1)f(f(1))=f(1), so injectivity gives f(1)=1f(1)=1. Thus

P(1,y):f(1+y)=1+f(y).P(1,y):\quad f(1+y)=1+f(y).

Replacing yy by y+1y+1 in P(x,y)P(x,y) gives

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

Since xf(x)≠0xf(x)\ne0 for x≠0x\ne0, the quantity xf(x)+yf(x)xf(x)+yf(x) ranges over all real values as yy varies. Hence

f(z+f(x))=f(z)+xf(z+f(x))=f(z)+x

for all real z,xz,x. Setting z=0z=0 gives f(f(x))=xf(f(x))=x. Substituting x=f(t)x=f(t) gives

f(z+t)=f(z)+f(t),f(z+t)=f(z)+f(t),

so ff is additive.

The original equation now becomes

f(yf(x))=xf(y).f(yf(x))=xf(y).

Putting x=f(t)x=f(t) gives f(yt)=f(y)f(t)f(yt)=f(y)f(t), so ff is multiplicative. Since f(x2)=f(x)2≥0f(x^2)=f(x)^2\ge0, the additive function ff is bounded below on an interval, hence linear. With f(1)=1f(1)=1, we get f(x)=xf(x)=x.

Together with the zero solution, the solutions are

f(x)≡0orf(x)=x.\boxed{f(x)\equiv0\quad\text{or}\quad f(x)=x}.