#175

solved

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

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

for any reals x,yx,y.

Solution

This is a trivial problem.


Observe that the set of all values x2+y2x^2+y^2 can take is the set of all nonnegative real numbers. So the problem is equivalent to finding all functions ff with f(x)=xf(x)=x for all nonnegative reals x.x. Therefore, all functions that work are

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

where g:(−∞,0)→Rg: (-\infty, 0) \to \mathbb R is an arbitrary function.