#115

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


f(f(x)+f(y)2)=f(x)+f(y)2.f\left(f(x)+f(y)^2\right)=f(x)+f(y)^2.

Let ∅≠S⊆R\emptyset\ne S\subseteq\mathbb R be any set with the closure property that if a,b∈Sa,b\in S then a+b2∈Sa+b^2\in S, then all functions ff are characterized as:

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

where S2+S={a2+b∣a,b∈S}S^2+S=\left\{a^2+b\mid a,b\in S\right\} and g:R∖(S2+S)→Sg:\mathbb R\setminus\left(S^2+S\right)\to S is any function.

Easy to verify that these functions work, and to show that all functions with f(f(x)+f(y)2)=f(x)+f(y)2f\left(f(x)+f(y)^2\right)=f(x)+f(y)^2 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}.