#276

solved

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

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

for any reals x,yx,y.

Solution

Solution by benjaminchew13.


Let P(x,y)P(x, y) denote f(x2+f(x)f(y))=x2+xyf(x^{2} + f(x)f(y)) = x^{2} + xy.

Obviously this is surjective. taking any nonzero xx gives that ff is injective.

So ff is bijective.

P(0,0):f(f(0)2)=0P(0, 0) : f(f(0)^{2}) = 0.

P(0,f(0)2):f(0)=0P(0, f(0)^{2}) : f(0) = 0.

P(x,0):f(x2)=x2P(x, 0) : f(x^{2}) = x^{2}, so f(x)=xf(x) = x for all x≥0x \geq 0.

P(x,−x):f(x)f(−x)=−x2P(x, -x) : f(x)f(-x) = -x^{2}, so we have f(∣x∣)f(−∣x∣)=−x2f(|x|)f(-|x|) = -x^{2}.

f(∣x∣)=∣x∣f(|x|) = |x|, so ∣x∣f(−∣x∣)=−x2|x|f(-|x|) = -x^{2}, and so f(−∣x∣)=−∣x∣f(-|x|) = -|x| for all x≠0x \neq 0.

So f(x)≡xf(x) \equiv x, which can be easily verified to be a solution.