#541

solved

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

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

for any reals x,yx,y.

Solution

Solution by NO_SQUARES.


The answer is x↦xx\mapsto x only.

We will prove that ff is surjective.

Fix an arbitrary number yy. For all nonnegative number ss for some xx we have x2+xf(y)−s=0x^2+xf(y)-s=0 (for example, because f(y)2+4s⩾0f(y)^2+4s\geqslant0), so ff takes all nonnegative values.

Fix a negative number xx. The for all s<0s<0 the equality x2+xf(y)=sx^2+xf(y)=s is equivalent to f(y)=s−x2x>0f(y)=\frac{s-x^2}{x}>0, which is holds for some yy. Therefore, ff takes all negative values and thus ff is surjective.

Now fix a number xx and let yy be such number that f(y)=−f(x)f(y)=-f(x). Then P(x,y)P(x, y) gives f(0)=x2−xf(x)f(0)=x^2-xf(x). Putting x=0x=0 we get f(0)=0f(0)=0, so x2=xf(x)x^2=xf(x) and for x≠0x\neq0 we also have f(x)=xf(x)=x.