#59

solved

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

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

for any reals x,yx,y.

Solution

Solution by Anonymous.


Plugging y=0y=0 gives

f(0)=0.f(0)=0.

If f(k)=0f(k)=0 for some nonzero kk, then plugging x=kx=k gives

f(ky)=0f(ky)=0

so ff is constantly 00, which is a solution.

Otherwise we have f(x)=0f(x)=0 if and only if x=0x=0. If f(a)=f(b)f(a)=f(b) for distinct a,ba,b, then both a,ba,b are nonzero so f(a)f(a) is nonzero. Plug x=ax=a and

y=b−af(a)y=\frac{b-a}{f(a)}

gives

f(b)=f(a)+f(ay)f(b)=f(a)+f(ay)

so f(ay)=0f(ay)=0, which is a contradiction as ayay is nonzero. Hence ff is injective.

Plugging x=1x=1 gives

f(1+yf(1))=f(1)+f(y).f(1+yf(1))=f(1)+f(y).

For nonzero xx, plugging y=1/xy=1/x gives

f(x+f(x)x)=f(x)+f(1).f\left(x+\frac{f(x)}{x}\right)=f(x)+f(1).

This gives

f(1+xf(1))=f(x+f(x)x)f(1+xf(1))=f\left(x+\frac{f(x)}{x}\right)

so by injectivity we get

f(x)=cx2+x,f(x)=cx^2+x,

where

c=f(1)−1.c=f(1)-1.

This is also true for x=0x=0. Therefore

f(x)=cx2+xf(x)=cx^2+x

for all xx. If cc is nonzero then ff is a quadratic so can’t be injective, hence c=0c=0, so

f(x)=x,f(x)=x,

which works.

Therefore the solutions are

f(x)=0andf(x)=x.\boxed{f(x)=0\quad\text{and}\quad f(x)=x}.