#255

solved

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

f(x2+yf(x))=x2+f(x)f(y)f(x^2 + yf(x)) = x^2 + f(x)f(y)

for any reals x,yx,y.

Solution

Solution by anakinwang.


We claim the only solution is f(x)≡xf(x) \equiv x.

Proof.

Let P(x,y)P(x, y) denote the problem assertion. It is clear f(x)≡xf(x) \equiv x satisfies PP.

To show this is the only solution, observe P(0,0):f(0)=f(0)2P(0, 0): f(0) = f(0)^2, so f(0)∈{0,1}f(0) \in \{0, 1\}. If f(0)=1f(0) = 1, then P(1,0):f(1)=1+f(1)P(1, 0): f(1) = 1 + f(1), a clear absurdity.

As such, f(0)=0f(0) = 0; we have P(x,0):f(x2)=x2P(x, 0): f(x^2) = x^2 for all x∈Rx \in \mathbb{R}, i.e., f(x)=xf(x) = x for all x≥0x \geq 0. Now, fix some x<0x < 0, and pick some y∈(0,−x)y \in (0, -x). Since x2+xy>0x^2 + xy > 0, it follows that x2+xy=f(x2+xy)=x2+f(x)yx^2 + xy = f(x^2 + xy) = x^2 + f(x)y, so f(x)=xf(x) = x for all x∈Rx \in \mathbb{R}, as desired.