#714

solved

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

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

for any reals x,yx,y.

Solution

Solution by MarkBcc168/jasperE3.


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

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

The zero function is not a solution, so choose jj with f(j)≠0f(j)\ne0. Then

P(x2f(j),j)P\left(\frac{x}{2f(j)},j\right)

gives

f(x)=x2+xj2f(j).f(x)=\frac{x}{2}+\frac{xj}{2f(j)}.

Thus ff is linear, say f(x)=cxf(x)=cx. Substituting this into the equation gives

2c2xy=(c+1)xy2c^2xy=(c+1)xy

for all real x,yx,y. Hence

2c2−c−1=0,2c^2-c-1=0,

so c=1c=1 or c=−12c=-\frac12. Therefore the solutions are

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

Both are checked directly to work.