#359

solved

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

f(xf(x)+f(y2))=x2+y2f(xf(x) + f(y^2)) = x^2 + y^2

for any reals x,yx,y.

Solution

Solution by jasperE3.


Let P(x,y)P(x,y) be the assertion f(xf(x)+f(y2))=x2+y2f\left(xf(x)+f\left(y^2\right)\right)=x^2+y^2.

P(0,x)⇒f(f(x))=xP\left(0,\sqrt x\right)\Rightarrow f(f(x))=x for all x≥0x\ge0.

If f(a)=f(b)f(a)=f(b) with a,b≥0a,b\ge0 then a=ba=b.

Let x≥0x\ge0:

P(f(x),y)⇒f(xf(x)+f(y2))=f(x)2+y2⇒f(x)2=x2P(f(x),y)\Rightarrow f\left(xf(x)+f\left(y^2\right)\right)=f(x)^2+y^2\Rightarrow f(x)^2=x^2.

So for all x≥0x\ge0 we have f(x)∈{x,−x}f(x)\in\{x,-x\}, in particular f(0)=0f(0)=0.

If there is a constant CC such that f(x)=−xf(x)=-x for all x>Cx>C, then WLOG C≥0C\ge0, we have (from f(f(x))=xf(f(x))=x) that f(x)=−xf(x)=-x for all x<−Cx<-C.

For any xx, take yy large enough so that y2>max⁡{C,xf(x)+C}y^2>\max\{C,xf(x)+C\}, we have:

x2+y2=f(xf(x)+f(y2))=f(xf(x)−y2)=−xf(x)+y2,x^2+y^2=f\left(xf(x)+f\left(y^2\right)\right)=f\left(xf(x)-y^2\right)=-xf(x)+y^2,

so f(x)=−xf(x)=-x for all x≠0x\ne0, i.e. f(x)=−x\boxed{f(x)=-x} which is indeed a solution.

Otherwise, suppose that f(x)=xf(x)=x for some arbitrarily large values of xx.

Suppose there is some x≥0x\ge0 such that f(x)≠xf(x)\ne x and choose y>x+1y>x+1 such that f(y2)=y2f\left(y^2\right)=y^2. We have:

f(−x2+y2)=x2+y2f\left(-x^2+y^2\right)=x^2+y^2

and −x2+y2≥0-x^2+y^2\ge0 so either −x2+y2=x2+y2-x^2+y^2=x^2+y^2 or x2−y2=x2+y2x^2-y^2=x^2+y^2. In the second case y=0y=0 which is impossible, so we need x=0x=0, contradiction.

Therefore f(x)=xf(x)=x for all x≥0x\ge0.

Equation becomes f(xf(x)+y2)=x2+y2f(xf(x)+y^2)=x^2+y^2 which is #185, only solution f(x)=x\boxed{f(x)=x}.