#845

solved

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

f(f(xy)+f(xy))=xy+xyf(f(xy) + f(xy)) = xy + xy

for any reals x,yx,y.

Solution

Solution by anakinwang.


Define the equivalence relation ∼\sim on R\mathbb{R} such that a∼ba \sim b for a,b∈Ra, b \in \mathbb{R} iff a=4nba = 4^n b for some n∈Zn \in \mathbb{Z}, and write [a][a] to be the equivalence class of any a∈Ra \in \mathbb{R}. Let X=R/ ⁣ ⁣∼X = \mathbb{R}/\!\!\sim, and call a set SS of unordered pairs {a,b}\{a, b\} mounkish if it is a partition of the elements of X∖{[0]}X \setminus \{[0]\} into pairs, where each [a]∈X[a] \in X is replaced with a representative element a∈[a]a \in [a]. In other words, a mounkish SS is defined by any free involution on XX, along with a choice of representative elements.

We claim that a function f:R→Rf: \mathbb{R} \to \mathbb{R} satisfies f(2f(x))=2xf(2f(x)) = 2x (call this property PP) for all x∈Rx \in \mathbb{R} iff f(0)=0f(0) = 0 and there exists a mounkish set SS such that for any n∈Zn \in \mathbb{Z} and {a,b}∈S\{a, b\} \in S, there is some m∈Zm \in \mathbb{Z} such that f(4na)=22n+2m−1bf(4^n a) = 2^{2n+2m-1}b and f(4nb)=22n−2m+1af(4^n b) = 2^{2n-2m+1}a.

Proof. To begin, observe that ff is trivially injective: if f(a)=f(b)f(a) = f(b) for a,b∈Ra, b \in \mathbb{R}, then f(2f(a))=2a=2bf(2f(a)) = 2a = 2b. We also observe f(4r)=f(2f(2f(r)))=4f(r)f(4r) = f(2f(2f(r))) = 4f(r) for any r∈Rr \in \mathbb{R} (call this property QQ); this implies f(0)=0f(0) = 0.

Fix some mounkish SS. To show that the claimed solution defined by SS satisfies PP and is consistent, first observe that f(2f(0))=0=2f(0)f(2f(0)) = 0 = 2f(0). In addition, given any n∈Zn \in \mathbb{Z} and {a,b}∈S\{a, b\} \in S, we know f(4na)=22n+2m−1bf(4^n a) = 2^{2n+2m-1}b and f(4nb)=22n−2m+1af(4^n b) = 2^{2n-2m+1}a for some fixed m∈Zm \in \mathbb{Z}, so f(2f(4na))=f(22n+2mb)=2⋅4naf(2f(4^n a)) = f(2^{2n+2m}b) = 2 \cdot 4^n a for any n∈Zn \in \mathbb{Z} and a∈Ra \in \mathbb{R}. Hence, ff is valid. Meanwhile, notice that any sequence of applications of PP (and by extension QQ) on the initial pair {a,b}\{a, b\} may only generate equations in which ff takes arguments in [a]∪[b][a] \cup [b], so ff is also consistent for any SS.

It remains to show that the claimed conditions are necessary; recall we already showed f(0)=0f(0) = 0. First, we claim that for all r∈R∖{0}r \in \mathbb{R} \setminus \{0\}, we have f(r)≠22k−1rf(r) \neq 2^{2k-1}r for any k∈Zk \in \mathbb{Z}. FTSOC, suppose otherwise. Then f(22kr)=2rf(2^{2k}r) = 2r, but f(22kr)=22kf(r)=24k−1rf(2^{2k}r) = 2^{2k}f(r) = 2^{4k-1}r, so k=12k = \frac{1}{2}.

As such, let us define the function g:X→Xg: X \to X satisfying g([r])=[s]g([r]) = [s] iff f(r)∈[s]f(r) \in [s] for [r],[s]∈X∖{[0]}[r], [s] \in X \setminus \{[0]\}. Let us quickly verify gg is well-defined. If f(r)=sf(r) = s for r,s∈Rr, s \in \mathbb{R}, by QQ we have f(4nr)=4nsf(4^n r) = 4^n s for any n∈Zn \in \mathbb{Z}, so indeed {f(x):x∈[r]}=[s]\{f(x) : x \in [r]\} = [s]. Suppose g([r])=[s]g([r]) = [s] for some [r],[s]∈X[r], [s] \in X. By our work on ff, we know g([r])≠[2r]g([r]) \neq [2r]. Let us write r=ar = a and s=2bs = 2b. Then g([a])=[2b]g([a]) = [2b], from which it follows that g([b])=[2a]g([b]) = [2a]. The map [a]↦[b][a] \mapsto [b] is hence a free involution on XX. As such, we construct our mounkish SS to be precisely the set of pairs {a,b}\{a, b\} such that g([a])=[2b]g([a]) = [2b] and g([b])=[2a]g([b]) = [2a]; it is clear each element of XX has exactly one representative found among these pairs.

Translating back to ff, for each {a,b}∈S\{a, b\} \in S, we have g([a])=[2b]g([a]) = [2b], so f(a)=22m−1bf(a) = 2^{2m-1}b for some m∈Zm \in \mathbb{Z}. It follows that f(22mb)=2af(2^{2m}b) = 2a, so f(b)=2−2m+1af(b) = 2^{-2m+1}a. By QQ, we readily obtain f(4na)=22n+2m−1bf(4^n a) = 2^{2n+2m-1}b and f(4nb)=22n−2m+1af(4^n b) = 2^{2n-2m+1}a, as desired. We conclude ff must be of the form we described.