#836

solved

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

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

for any reals x,yx,y.

Solution

Solution by Claude AI.


Since xyxy ranges over all real numbers, the original equation is equivalent to solving

f(x+f(x))=2f(x)for all x∈R.(1)f\bigl(x+f(x)\bigr)=2f(x)\qquad\text{for all }x\in\mathbb{R}. \tag{1}

Find all functions f ⁣:R→Rf\colon\mathbb{R}\to\mathbb{R} satisfying (1), with no assumption on ff (in particular, no continuity).

The Key Invariant.

For a function f ⁣:R→Rf\colon\mathbb{R}\to\mathbb{R} put

T(x)=x+f(x),a(x)=x−f(x),T(x)=x+f(x),\qquad a(x)=x-f(x),

so that (1) reads f(T(x))=2f(x)f(T(x))=2f(x).

Lemma 1.

If ff satisfies (1), then a(T(x))=a(x)a(T(x))=a(x) for every x∈Rx\in\mathbb{R}.

Consequently, for all n≥0n\ge 0,

f(Tn(x))=2nf(x),Tn(x)=a(x)+2n(x−a(x)).f\bigl(T^n(x)\bigr)=2^n f(x),\qquad T^n(x)=a(x)+2^n\bigl(x-a(x)\bigr).

Proof.

We compute

a(T(x))=T(x)−f(T(x))=x+f(x)−2f(x)=x−f(x)=a(x).a(T(x))=T(x)-f(T(x))=x+f(x)-2f(x)=x-f(x)=a(x).

Applying (1) at the point Tn(x)T^n(x) gives f(Tn+1(x))=2f(Tn(x))f(T^{n+1}(x))=2f(T^n(x)), so f(Tn(x))=2nf(x)f(T^n(x))=2^nf(x) by induction. Since Tk+1(x)=Tk(x)+f(Tk(x))T^{k+1}(x)=T^k(x)+f(T^k(x)),

Tn(x)=x+∑k=0n−12kf(x)=x+(2n−1)f(x)=a(x)+2n(x−a(x)).T^n(x)=x+\sum_{k=0}^{n-1}2^kf(x)=x+(2^n-1)f(x)=a(x)+2^n\bigl(x-a(x)\bigr).

Thus a(x)a(x) is constant along the TT-orbit of xx, and TT doubles the distance from this “anchor” a(x)a(x).

The Complete Characterization.

Theorem 1.

Let (Da)a∈R(D_a)_{a\in\mathbb{R}} be a family of subsets of R\mathbb{R} (some possibly empty) such that

  1. each DaD_a is closed under doubling: d∈Da  ⟹  2d∈Dad\in D_a\implies 2d\in D_a;
  2. the sets a+Da={a+d: d∈Da}a+D_a=\{a+d:\ d\in D_a\}, a∈Ra\in\mathbb{R}, are pairwise disjoint and their union is R\mathbb{R}.

Then the function f ⁣:R→Rf\colon\mathbb{R}\to\mathbb{R} defined by

f(x)=x−afor x∈a+Da(2)f(x)=x-a\qquad\text{for } x\in a+D_a \tag{2}

is well defined and satisfies (1). Conversely, every solution ff of (1) arises in this way from exactly one such family, namely

Da={ f(x): x∈R, x−f(x)=a }.D_a=\{\,f(x):\ x\in\mathbb{R},\ x-f(x)=a\,\}.

Proof.

(⇐\Leftarrow).

By (ii), every x∈Rx\in\mathbb{R} lies in a+Daa+D_a for exactly one aa, so (2) defines ff unambiguously. Let x∈a+Dax\in a+D_a and put d=x−a=f(x)∈Dad=x-a=f(x)\in D_a. By (i), 2d∈Da2d\in D_a, hence

x+f(x)=a+2d∈a+Da,x+f(x)=a+2d\in a+D_a,

and therefore f(x+f(x))=(a+2d)−a=2d=2f(x)f(x+f(x))=(a+2d)-a=2d=2f(x).

(⇒\Rightarrow).

Let ff be a solution and define Da={f(x): a(x)=a}D_a=\{f(x):\ a(x)=a\}. Since f(x)=x−af(x)=x-a whenever a(x)=aa(x)=a, we get

a+Da={x∈R: a(x)=a}.a+D_a=\{x\in\mathbb{R}:\ a(x)=a\}.

These are the fibres of the map x↦a(x)x\mapsto a(x), so they are pairwise disjoint and cover R\mathbb{R}; this is (ii).

For (i), let d∈Dad\in D_a, say d=f(x)d=f(x) with a(x)=aa(x)=a. By Lemma 1, a(T(x))=aa(T(x))=a and f(T(x))=2df(T(x))=2d, so 2d∈Da2d\in D_a.

Finally, if x∈a+Dax\in a+D_a then a(x)=aa(x)=a, so f(x)=x−af(x)=x-a; that is, ff is the function (2) built from (Da)(D_a).

Uniqueness.

Suppose a family (Da′)(D'_a) satisfying (i) and (ii) produces ff via (2). If x∈a+Da′x\in a+D'_a, then f(x)=x−af(x)=x-a, i.e. a(x)=aa(x)=a; hence a+Da′⊆{x: a(x)=a}a+D'_a\subseteq\{x:\ a(x)=a\}. The sets a+Da′a+D'_a cover R\mathbb{R} and the fibres {x: a(x)=a}\{x:\ a(x)=a\} are pairwise disjoint, so equality holds. Therefore Da′={x−a: a(x)=a}={f(x): a(x)=a}D'_a=\{x-a:\ a(x)=a\}=\{f(x):\ a(x)=a\}, which is the family constructed above.

Remark.

Writing g(x)=x−f(x)g(x)=x-f(x), equation (1) is equivalent to

g(2x−g(x))=g(x)for all x∈R.g\bigl(2x-g(x)\bigr)=g(x)\qquad\text{for all }x\in\mathbb{R}.

Theorem 1 says that this holds exactly when every fibre g−1(a)=a+Dag^{-1}(a)=a+D_a is invariant under the homothety x↦2x−ax\mapsto 2x-a of ratio 22 centred at aa.

Examples.

  • f≡0f\equiv 0: here Da={0}D_a=\{0\} for every aa.
  • f(x)=x+cf(x)=x+c for a constant cc: here D−c=RD_{-c}=\mathbb{R} and Da=∅D_a=\varnothing for a≠−ca\neq -c.
  • f(x)=xf(x)=x for x∈Sx\in S and f(x)=0f(x)=0 otherwise, where S⊆RS\subseteq\mathbb{R} is any set with 2S⊆S2S\subseteq S (for example S=QS=\mathbb{Q}, S=[0,∞)S=[0,\infty), or S={2n: n≥0}S=\{2^n:\ n\ge 0\}).
  • f(2n−1)=2nf(2^n-1)=2^n for n=0,1,2,…n=0,1,2,\dots and f(x)=0f(x)=0 for all other xx; here D−1={0}∪{2n: n≥0}D_{-1}=\{0\}\cup\{2^n:\ n\ge 0\}.