#418

solved

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

f(xf(x)+f(x)f(y))=x2+xyf(xf(x) + f(x)f(y)) = x^2 + xy

for any reals x,yx,y.

Solution

Solution by TheOneAndOnlyOFT.


ff is injective (assume otherwise and submit y1,y2y_1,y_2).

ff is surjective (x2+xyx^2+xy can be any real).

Let k=f−1(0)k=f^{-1}(0), submitting x=kx=k we get k2+ky=0k^2+ky = 0 and since this must hold for any real yy we get f(0)=0f(0)=0.

Let s=f−1(−x)s=f^{-1}(-x) for xx being a non-zero real, submitting y=sy=s we get s=−x  ⟹  f(−x)=−xs=-x \implies f(-x) = -x.

So the only function that might work is the function f(x)=x  ,  ∀  x∈Rf(x) = x \; , \; \forall \; x \in \mathbb{R}, easy to see it works.