#114

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


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

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

for all x,y∈Rx,y\in\mathbb{R}.

Claim: f(x)∈{0,x}f(x)\in\{0,x\} for all xx.

P(−1,−1)⇒f(k)=0P(-1,-1)\Rightarrow f(k)=0 for k=f(−1)2+f(−1)k=f(-1)^2+f(-1).

P(k,k)⇒f(0)=0P(k,k)\Rightarrow f(0)=0.

P(0,x)⇒f(f(x))=f(x)P(0,x)\Rightarrow f(f(x))=f(x).

P(f(x),y)⇒f(f(x)2+f(y))=f(x)2+f(y)P(f(x),y)\Rightarrow f\left(f(x)^2+f(y)\right)=f(x)^2+f(y), comparing with P(x,y)P(x,y) gives f(x)2=xf(x)f(x)^2=xf(x) hence the claim.

Let S={x∈R∣f(x)=x}S=\{x\in\mathbb{R}\mid f(x)=x\} with 0∈S0\in S. Easy to see from the equation that if x,y∈Sx,y\in S then x2+y∈Sx^2+y\in S.

Solution set is f(x)={xif x∈S0if x∉Sf(x)=\begin{cases}x&\text{if }x\in S\\0&\text{if }x\notin S\end{cases} with {0}⊆S⊆R\{0\}\subseteq S\subseteq\mathbb{R} closed under (x,y)↦x2+y(x,y)\mapsto x^2+y, this is equivalent to the original equation. As BlazingMuddy pointed out, there are nontrivial examples, for instance S=(−1,∞)S=(-1,\infty), S=[0,∞)S=[0,\infty), S={0}∪[1,∞)S=\{0\}\cup[1,\infty), S=NS=\mathbb{N}, S=3ZS=3\mathbb{Z}, S=Q∩({0}∪[2,3]∪[4,∞))S=\mathbb{Q}\cap(\{0\}\cup[2,3]\cup[4,\infty)), so we don’t think theres a better way to characterize it.