#455

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


Claim: if x2+xf(y)∈f(R)x^2+xf(y)\in f(\mathbb R) for all x,yx,y then ff is surjective.

Proof. x=0x=0 gives 0∈f(R)0\in f(\mathbb R) while f(y)=0f(y)=0 gives [0,∞)⊆f(R)[0,\infty)\subseteq f(\mathbb R). Now for any x∈Rx\in\mathbb R we can choose a=−∣x∣−1a=-\lvert x\rvert-1 and b=−a+xa=(∣x∣+1)2−x∣x∣+1≥0b=-a+\frac xa=\frac{(\lvert x\rvert+1)^2-x}{\lvert x\rvert+1}\ge0, then x=a2+ab∈f(R)x=a^2+ab\in f(\mathbb R).

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

P(1,x)⇒f(f(1)+f(x))=1+f(x)⇒f(f(1)+x)=1+xP(1,x)\Rightarrow f(f(1)+f(x))=1+f(x)\Rightarrow f(f(1)+x)=1+x by surjectivity, so ff is linear. Testing, our only solution is f(x)=x\boxed{f(x)=x}.