#337

solved

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

f(xf(x)+yf(y))=xf(x)+yf(y)f(xf(x) + yf(y)) = xf(x) + yf(y)

for any reals x,yx,y.

Solution

Solution by jasperE3.


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

Let {0}⊆S⊆R\{0\}\subseteq S\subseteq\mathbb R satisfying the closure property that if a,b∈Sa,b\in S then (a+b)2∈S(a+b)^2\in S, then:

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

where S+S={a+b∣a,b∈S}S+S=\{a+b\mid a,b\in S\} and g:R∖(S+S)→Sg:\mathbb R\setminus(S+S)\to S is any function. To show that these functions work, note that if x∈S+Sx\in S+S then xf(x)=x2∈Sxf(x)=x^2\in S, while if x∉S+Sx\notin S+S then x≠0x\ne0 and so xf(x)=g(x)∈Sxf(x)=g(x)\in S. Then xf(x)∈Sxf(x)\in S for all xx, so xf(x)+yf(y)∈S+Sxf(x)+yf(y)\in S+S for all x,yx,y, so f(xf(x)+yf(y))=xf(x)+yf(y)f(xf(x)+yf(y))=xf(x)+yf(y).

To see that all solutions are of this form, take S={xf(x)∣x∈R}S=\{xf(x)\mid x\in\mathbb R\}. Easy to see that {0}⊆S⊆R\{0\}\subseteq S\subseteq\mathbb R, and rewriting the equation as:

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

we see that SS has the aforementioned closure property. Finally, we have f(x)=xf(x)=x for all x∈S+Sx\in S+S and xf(x)∈Sxf(x)\in S for all x∉S+Sx\notin S+S, so the solution set is complete.