#316

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


f(x2+f(xy))=x2+xyf\left(x^2+f(xy)\right)=x^2+xy.

From x=y=0x=y=0, f(f(0))=0f(f(0))=0.

Equation is f(x+f(y))=x+yf(x+f(y))=x+y for all x>0x>0.

Set y=f(0)y=f(0), we have f(x)=x+f(0)f(x)=x+f(0) for all x>0x>0.

For any yy, take xx large enough so that x+f(y)>0x+f(y)>0, we have:

x+f(y)+f(0)=f(x+f(y))=x+yx+f(y)+f(0)=f(x+f(y))=x+y

so f(y)=y−f(0)f(y)=y-f(0) for all yy, which implies f(x)=x\boxed{f(x)=x} for all xx.