#563

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


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

P(0,x)⇒f(f(0)2)=f(0)f(x)P(0,x)\Rightarrow f\left(f(0)^2\right)=f(0)f(x), there are no constant solutions so we must have f(0)=0f(0)=0.

P(1,0)⇒f(f(1)2)=1P(1,0)\Rightarrow f\left(f(1)^2\right)=1.

P(f(1)2,0)⇒f(1)4=f(1)P\left(f(1)^2,0\right)\Rightarrow f(1)^4=f(1).

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

P(1,x)⇒f(x+1)=f(x)+1P(1,x)\Rightarrow f(x+1)=f(x)+1.

P(x,y+1)⇒f(f(x)2+xy+x)=x2+f(x)f(y)+f(x)=f(f(x)2+xy)+f(x)P(x,y+1)\Rightarrow f\left(f(x)^2+xy+x\right)=x^2+f(x)f(y)+f(x)=f\left(f(x)^2+xy\right)+f(x).

For x≠0x\ne0, f(x)2+xyf(x)^2+xy can take any value, so we have f(x+y)=f(x)+f(y)f(x+y)=f(x)+f(y) for all x≠0x\ne0. It’s also true for x=0x=0, so ff is additive.

P(x,0)⇒f(f(x)2)=x2P(x,0)\Rightarrow f\left(f(x)^2\right)=x^2.

We obtain f(f(x)2+f(y)2)=x2+y2f\left(f(x)^2+f(y)^2\right)=x^2+y^2, so by #475 we have f(x)=xf(x)=x for all x≥0x\ge0. Using f(x+1)=f(x)+1f(x+1)=f(x)+1 we can extend this to all of R\mathbb R: we can get by induction in two directions that f(x+n)=f(x)+nf(x+n)=f(x)+n for all n∈Zn\in\mathbb Z, then for any xx just choose some nn such that x+n≥0x+n\ge0. We’ll obtain f(x)+n=f(x+n)=x+nf(x)+n=f(x+n)=x+n so our solution in this case is f(x)=x\boxed{f(x)=x}.