#787

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


f(2f(x)f(y))=2f(x)f(y).f(2f(x)f(y))=2f(x)f(y).

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 2ab∈S2ab\in S. Then we claim that all solutions are of the form:

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

where T={2ab∣a,b∈S}T=\{2ab\mid a,b\in S\} and g:R∖T→Sg:\mathbb R\setminus T\to S is any function.

All such functions work: we can first see that f(x)∈Sf(x)\in S for all xx whether x∈Tx\in T or x∉Tx\notin T, then that 2f(x)f(y)∈T2f(x)f(y)\in T for all x,y∈Rx,y\in\mathbb R so f(2f(x)f(y))=2f(x)f(y)f(2f(x)f(y))=2f(x)f(y) as desired.

To show that all functions with f(2f(x)f(y))=2f(x)f(y)f(2f(x)f(y))=2f(x)f(y) are of this form, define S=f(R)S=f(\mathbb R) and note that SS has the aforementioned closure property that 2f(x)f(y)∈S2f(x)f(y)\in S. It’s clear that f(x)=xf(x)=x for x∈Tx\in T, and that f(x)∈Sf(x)\in S for x∉Tx\notin T, hence the result.

For instance, with S={2n∣n∈N}S=\left\{2^n\mid n\in\mathbb N\right\} and g(x)=2⌊∣x∣⌋+1g(x)=2^{\lfloor\lvert x\rvert\rfloor+1} we have f(x)={xif x=2n,3≤n∈N2⌊∣x∣⌋+1otherwisef(x)=\begin{cases}x&\text{if }x=2^n,3\le n\in\mathbb N\\2^{\lfloor\lvert x\rvert\rfloor+1}&\text{otherwise}\end{cases}.