#779

solved

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

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

for any reals x,yx,y.

Solution

Solution by hauy1.


Let P(x,y)P(x,y) be

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

First, ff is injective. If f(a)=f(b)f(a)=f(b), then P(1,a)P(1,a) and P(1,b)P(1,b) give

f(2f(a))=2a,f(2f(b))=2b,f(2f(a))=2a,\qquad f(2f(b))=2b,

so a=ba=b.

Swapping xx and yy in the original equation gives

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

By injectivity,

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

so xf(y)=yf(x)xf(y)=yf(x) for all x,yx,y. Taking y=1y=1 gives f(x)=cxf(x)=cx, where c=f(1)c=f(1).

Substituting f(x)=cxf(x)=cx into the original equation,

c(2cxy)=2xy,c(2cxy)=2xy,

so c2=1c^2=1. Therefore the solutions are

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

Both work by direct substitution.