#485

solved

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

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

for any reals x,yx,y.

Solution

Solution by anakinwang.


Note: To shorten this proof, we invoke the solution of FE #475.

Let P(x,y)P(x, y) denote the problem assertion. We claim that a function f:R→Rf: \mathbb{R} \to \mathbb{R} satisfies P(x,y)P(x, y) for all x,y∈Rx, y \in \mathbb{R} iff ff satisfies ∣f(x)∣=∣x∣\lvert f(x) \rvert = \lvert x \rvert for all x∈Rx \in \mathbb{R} and f(x)=xf(x) = x whenever x≥0x \geq 0.

Proof. Let us quickly verify all such ff work. Since f(x)2=x2f(x)^2 = x^2 and f(y2)=y2f(y^2) = y^2 for all x,y∈Rx, y \in \mathbb{R}, we have f(x)2+f(y2)=x2+y2≥0f(x)^2 + f(y^2) = x^2 + y^2 \geq 0. Hence, f(f(x)2+f(y2))=x2+y2f(f(x)^2 + f(y^2)) = x^2 + y^2.

It remains to show that these are the only solutions. For any x≥0x \geq 0, we have f(f(x)2+f(0))=xf(f(\sqrt{x})^2 + f(0)) = x, so every x≥0x \geq 0 is the output of ff for some input f(x)2+f(0)f(\sqrt{x})^2 + f(0).

Next, we shall prove f(0)=0f(0) = 0.

First, suppose f(0)>0f(0) > 0. Then applying P(x,0)P(x, 0) twice yields f(x4+f(0))=f(f(f(x)2+f(0))2+f(0))=(f(x)2+f(0))2≥f(0)2f(x^4 + f(0)) = f(f(f(x)^2 + f(0))^2 + f(0)) = (f(x)^2 + f(0))^2 \geq f(0)^2 for all x∈Rx \in \mathbb{R}, so we have f(x+f(0))≥f(0)2f(x + f(0)) \geq f(0)^2 for all x≥0x \geq 0. Now, fix some constant t∈(0,f(0))t \in (0, f(0)). Since f(t)2≥0f(t)^2 \geq 0, we then have t2=f(f(t)2+f(0))≥f(0)2t^2 = f(f(t)^2 + f(0)) \geq f(0)^2, a clear contradiction. Thus, f(0)≤0f(0) \leq 0.

As such, let us write f(0)=−c2f(0) = -c^2 for some fixed c≥0c \geq 0. Recalling that cc is in the image of ff, let c=f(r)c = f(r) for some r∈Rr \in \mathbb{R}. By P(r,0)P(r, 0), it follows that f(0)=f(f(r)2+f(0))=r2≥0f(0) = f(f(r)^2 + f(0)) = r^2 \geq 0. Hence, f(0)=0f(0) = 0.

We then conclude by P(0,f(x))P(0, f(x)) that f(x2)=f(f(f(x)2))=f(x)2f(x^2) = f(f(f(x)^2)) = f(x)^2. Therefore, the assertion PP implies the assertion f(f(x)2+f(y)2)=x2+y2f(f(x)^2 + f(y)^2) = x^2 + y^2. In other words, ff satisfies FE #475, so we are done.