#183

solved

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

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

for any reals x,yx,y.

Solution

Solution by maromex.


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

P(0,0):f(0)=0.P(0,0) : f(0)=0.

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

This means f(x2+y2)=f(x2)+f(y2)f(x^2+y^2) = f(x^2) + f(y^2), so f(x+y)=f(x)+f(y)f(x+y) = f(x) + f(y) for all x,y≥0.x, y \ge 0. Note that f(x2)=f(x)2f(x^2) = f(x)^2 implies f(x)≥0f(x) \ge 0 for all x≥0.x \ge 0. As ff is additive and bounded below on nonnegative inputs, f(x)=cxf(x) = cx for all x≥0x \ge 0 for some real constant c≥0.c \ge 0. As f(x2)=f(x)2f(x^2) = f(x)^2, we have cx2=c2x2cx^2 = c^2x^2 for all x≥0.x \ge 0. So c∈{0,1}.c \in \{0,1\}.

Case 1: c=0c=0

The given equation becomes 0=f(x)2.0 = f(x)^2. So f(x)=0f(x) = 0 for all real x.x. This function works.

Case 2: c=1c=1

The given equation becomes x2+y2=f(x)2+y2.x^2 + y^2 = f(x)^2 + y^2. This (with f(x)=xf(x)=x for all x≥0x \ge 0) is equivalent to f(x)∈{x,−x}f(x) \in \{x, -x\} for all x<0.x<0. Therefore, we have

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 an arbitrary function. These functions work.

Combining cases, we have f(x)=0f(x)=0 for all real xx, or $f(x) =

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

wherewhereg:(-\infty,0) \to {-1,1}$ is an arbitrary function.