#459

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


Claim: if f(g(x)+f(xy))=x2+f(xy)f(g(x)+f(xy))=x^2+f(xy) then g(x)−x2g(x)-x^2 is constant for x≠0x\ne0 and f(x)−xf(x)-x is eventually constant.

Proof. Let c=1−g(1)c=1-g(1).

P(x,0)⇒f(g(x)+f(0))=x2+f(0)⇒[f(0),∞)⊆f(R)P(x,0)\Rightarrow f(g(x)+f(0))=x^2+f(0)\Rightarrow[f(0),\infty)\subseteq f(\mathbb R).

P(1,x)⇒f(g(1)+f(x))=1+f(x)⇒f(x+g(1))=x+1P(1,x)\Rightarrow f(g(1)+f(x))=1+f(x)\Rightarrow f(x+g(1))=x+1 for all x≥f(0)x\ge f(0), so f(x)=x+cf(x)=x+c for all x≥f(0)+g(1)x\ge f(0)+g(1) (proving that f(x)−xf(x)-x is eventually linear).

P(x,yx)⇒f(g(x)+f(y))=x2+f(y)P\left(x,\frac yx\right)\Rightarrow f(g(x)+f(y))=x^2+f(y) for all x≠0x\ne0.

For any x≠0x\ne0, take y≥max⁡{f(0)+g(1),−g(x)+f(0)+g(1)}y\ge\max\{f(0)+g(1),-g(x)+f(0)+g(1)\} and this equation turns into:

g(x)+y+2c=g(x)+f(y)+c=f(g(x)+f(y))=x2+f(y)=x2+y+c,g(x)+y+2c=g(x)+f(y)+c=f(g(x)+f(y))=x^2+f(y)=x^2+y+c,

so g(x)=x2−cg(x)=x^2-c for all x≠0x\ne0.

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

By the claim, xf(x)−x2xf(x)-x^2 is constant for x≠0x\ne0, and f(x)−xf(x)-x is eventually constant. If we say f(x)−x=af(x)-x=a for all x>C>0x>C>0 then xaxa is constant for x>Cx>C, the only way this is possible is if a=0a=0. Therefore the constant that xf(x)−x2xf(x)-x^2 is must be 00, so f(x)=xf(x)=x for all x≠0x\ne0.

P(−1,1)⇒f(0)=0P(-1,1)\Rightarrow f(0)=0, so f(x)=x\boxed{f(x)=x} for all xx whether x=0x=0 or x≠0x\ne0.