#765

solved

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

f(xf(y)+xy)=xy+f(xy)f(xf(y) + xy) = xy + f(xy)

for any reals x,yx,y.

Known appearances

Solution

Solution by gghx.


We use the equivalent form

P(x,y):f(xy+yf(x))=xy+f(xy).P(x,y):\qquad f(xy+yf(x))=xy+f(xy).

The solutions are

f(x)=xandf(x)=−x.\boxed{f(x)=x}\qquad\text{and}\qquad \boxed{f(x)=-x}.

First, P(0,y)P(0,y) gives f(yf(0))=f(0)f(yf(0))=f(0) for every yy. If f(0)≠0f(0)\ne0, then ff is constant, which is impossible in the original equation. Hence

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

Also,

P(x,1):f(x+f(x))=x+f(x).(1)P(x,1):\qquad f(x+f(x))=x+f(x). \tag{1}

Suppose there is some uu such that f(u)≠−uf(u)\ne -u. Let

a=u+f(u)≠0.a=u+f(u)\ne0.

By (1), f(a)=af(a)=a. Substituting x=ax=a and y/ay/a in PP gives

f(2y)=y+f(y)(2)f(2y)=y+f(y) \tag{2}

for every real yy.

Now apply P(x,2y)P(x,2y). Using (2), the left-hand side is

f(2y(x+f(x)))=y(x+f(x))+f(y(x+f(x))).f(2y(x+f(x)))=y(x+f(x))+f(y(x+f(x))).

Using P(x,y)P(x,y) on the second term and then (2) on the right-hand side of P(x,2y)P(x,2y), we get

2xy+yf(x)+f(xy)=3xy+f(xy).2xy+yf(x)+f(xy)=3xy+f(xy).

Thus yf(x)=xyyf(x)=xy for all x,yx,y, so f(x)=xf(x)=x for all xx.

If no such uu exists, then f(u)=−uf(u)=-u for every uu. Both listed functions are checked directly.