#295

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


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

Only solution will be f(x)=x\boxed{f(x)=x}.

x=y=0⇒f(0)∈{0,1}x=y=0\Rightarrow f(0)\in\{0,1\}.

If f(0)=1f(0)=1, P(1,0)⇒0=1P(1,0)\Rightarrow0=1, contradiction, so f(0)=0f(0)=0.

y=0⇒f(x2)=x2y=0\Rightarrow f\left(x^2\right)=x^2, so f(x)=xf(x)=x for all x≥0x\ge0.

For any yy take some xx with x>max⁡{0,−y}x>\max\{0,-y\}, then x≥0x\ge0 and x2+xy≥0x^2+xy\ge0 and so:

x2+xf(y)=x2+f(x)f(y)=f(x2+xy)=x2+xy,x^2+xf(y)=x^2+f(x)f(y)=f\left(x^2+xy\right)=x^2+xy,

so f(y)=yf(y)=y for all yy since x≠0x\ne0.