#92

solved

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

f(f(x)+f(y))=f(x)+f(y)f(f(x) + f(y)) = f(x) + f(y)

for any reals x,yx,y.

Solution

Solution by jasperE3.


f(f(x)+f(y))=f(x)+f(y).f(f(x)+f(y))=f(x)+f(y).

Let ∅≠S⊆R\emptyset\ne S\subseteq\mathbb R be closed under addition, then all functions ff are characterized as:

f(x)={xif x∈S+Sg(x)if x∉S+S\boxed{f(x)=\begin{cases}x&\text{if }x\in S+S\\g(x)&\text{if }x\notin S+S\end{cases}}

where S+S={s1+s2∣s1,s2∈S}S+S=\{s_1+s_2\mid s_1,s_2\in S\} and g:R∖(S+S)→Sg:\mathbb R\setminus(S+S)\to S is any function.

Easy to verify that these functions work, and to show that all functions with f(f(x)+f(y))=f(x)+f(y)f(f(x)+f(y))=f(x)+f(y) are of this form we choose S=f(R)S=f(\mathbb R).

For instance, with S=[1,∞)S=[1,\infty) and g(x)=x2+1g(x)=x^2+1 we get f(x)={xif x≥2x2+1if x<2f(x)=\begin{cases}x&\text{if }x\ge2\\x^2+1&\text{if }x<2\end{cases}.