#603

solved

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

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

for any reals x,yx,y.

Solution

Solution by maromex.


Let P(x,y)P(x,y) be the given assertion f(f(x2)+f(y2))=x2+f(y)2.f(f(x^2) + f(y^2)) = x^2+f(y)^2.

Comparing P(x,y)P(x, y) and P(y,x)P(y,x) we get x2+f(y)2=y2+f(x)2.x^2 + f(y)^2 = y^2 + f(x)^2. This means [f(x)^2 = x^2+C] for some real constant C.C.

P(x,x):f(2f(x2))=x2+f(x)2=2x2+C.P(x,x) : f(2f(x^2)) = x^2 + f(x)^2 = 2x^2 + C.

So we have

(2x2+C)2=f(2f(x2))2=4f(x2)2+C=4x4+5C\begin{align*} (2x^2+C)^2 &= f(2f(x^2))^2 \\ &= 4f(x^2)^2 + C \\ &= 4x^4 + 5C \end{align*}

for all real x.x. The polynomials (2x2+C)2(2x^2+C)^2 and 4x4+5C4x^4+5C must have the same x2x^2 coefficient, so 4C=0.4C = 0. This means C=0C=0 and so

f(x)2=x2f(x)^2 = x^2

for all real x.x. Plugging this into the given assertion we get

f(f(x2)+f(y2))=x2+y2f(f(x^2) + f(y^2)) = x^2 + y^2 (x2+y2)2=f(f(x2)+f(y2))2=(f(x2)+f(y2))2=f(x2)2+2f(x2)f(y2)+f(y2)2=x4+2f(x2)f(y2)+y4.\begin{align*} (x^2+y^2)^2 &=f(f(x^2) + f(y^2))^2 \\ &= (f(x^2) + f(y^2))^2 \\ &= f(x^2)^2 + 2f(x^2)f(y^2) + f(y^2)^2 \\ &= x^4 + 2f(x^2)f(y^2) + y^4 \end{align*}.

This means 2f(x2)f(y2)=2x2y22f(x^2)f(y^2) = 2x^2y^2, which means f(x)f(y)=xyf(x)f(y) = xy for any x,y>0.x,y > 0. Note that f(x)2=x2f(x)^2 = x^2 means f(x)∈{x,−x}f(x) \in \{x,-x\} for all real x.x. We now have f(x)=xf(x) = x for all x>0x>0 or f(x)=−xf(x)=-x for all x>0.x>0.


Case 1: f(x)=xf(x)=x for all x>0x>0

Using this and f(x)2=x2f(x)^2 = x^2 for all real xx, the given equation becomes f(x2+y2)=x2+y2f(x^2 + y^2) = x^2 + y^2 , which is true as x2+y2≥0x^2+y^2 \ge 0 (note that f(0)=0f(0)=0 too). We get

f(x)={xx≥0xg(x)x<0f(x)= \begin{cases}x & x \ge 0 \\ xg(x) & x < 0\end{cases}

where g:(−∞,0)→{−1,1}g : (-\infty, 0) \to \{-1,1\} is any function.


Case 2: f(x)=−xf(x) = -x for all x>0x>0

Using this and f(x)2=x2f(x)^2 = x^2 for all real xx, the given equation becomes f(−x2−y2)=x2+y2f(-x^2 - y^2) = x^2+y^2. As −x2−y2-x^2-y^2 takes any nonpositive real value, we have f(x)=−xf(x) = -x for all x≤0.x \le 0. So we get f(x)=−xf(x) = -x for all real xx in this case.


Combining cases, we get f(x)={xx≥0xg(x)x<0f(x)= \begin{cases}x & x \ge 0 \\ xg(x) & x < 0\end{cases} where g:(−∞,0)→{−1,1}g : (-\infty, 0) \to \{-1,1\} is any function, or f(x)=−xf(x) = -x for all real x.x.