#735

solved

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

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

for any reals x,yx,y.

Solution

Solution by AIME4096.


We claim that the complete solution set is characterized as follows. For x≠0x\neq0, define q(x)=f(x)xq(x)=\frac{f(x)}x. Then ff is a solution if and only if q:R×→Rq:\mathbb{R}^\times\to\mathbb{R} satisfies

(q(x)+q(y))q(xy(q(x)+q(y)))=1+q(xy)(q(x)+q(y))q(xy(q(x)+q(y)))=1+q(xy)

whenever q(x)+q(y)≠0q(x)+q(y)\neq0, while q(xy)=−1q(xy)=-1 whenever q(x)+q(y)=0q(x)+q(y)=0. Equivalently, every solution is obtained uniquely from such a function qq by setting f(0)=0f(0)=0 and f(x)=xq(x)f(x)=xq(x) for x≠0x\neq0. Among these solutions are the following explicit families: f(x)=−x2f(x)=-\frac{x}{2}; f(x)=χ(x)xf(x)=\chi(x)x, where χ:R×→{1,−1}\chi:\mathbb{R}^\times\to\{1,-1\} is multiplicative, χ(2)=1\chi(2)=1, and χ(−1)=−1\chi(-1)=-1; and f(x)=−1+χ(x)2xf(x)=-\frac{1+\chi(x)}2x, where χ:R×→{1,−1}\chi:\mathbb{R}^\times\to\{1,-1\} is multiplicative, χ(2)=1\chi(2)=1, and χ(−1)=−1\chi(-1)=-1. In particular, f(x)=xf(x)=x, f(x)=∣x∣f(x)=|x|, and f(x)=−x2f(x)=-\frac{x}{2} are examples of non-pathological solutions, but the solution set is obviously substantially larger than these three functions. Let P(x,y)P(x,y) denote the assertion f(xf(y)+yf(x))=xy+f(xy)f(xf(y)+yf(x))=xy+f(xy). We now prove our desired characterization.

Lemma 1. f(0)=0f(0)=0.

Proof. Let c=f(0)c=f(0). Assertion P(x,0)P(x,0) gives f(xc)=cf(xc)=c for every x∈Rx\in\mathbb{R}. Suppose that c≠0c\neq0. Since multiplication by the nonzero number cc is a bijection of R\mathbb{R}, the numbers xcxc range over all real numbers. Hence f(t)=cf(t)=c for every t∈Rt\in\mathbb{R}, so ff is constant. But if f≡cf\equiv c, the original equation becomes c=xy+cc=xy+c for every x,y∈Rx,y\in\mathbb{R}, which is impossible. □\square

Lemma 2. For every x≠0x\neq0, defining q(x)=f(x)xq(x)=\frac{f(x)}x gives the original equation as

f(xy(q(x)+q(y)))=xy(1+q(xy)).f\bigl(xy(q(x)+q(y))\bigr)=xy(1+q(xy)).

Proof. For x,y≠0x,y\neq0, we have xf(y)+yf(x)=xyq(y)+xyq(x)=xy(q(x)+q(y))xf(y)+yf(x)=xyq(y)+xyq(x)=xy(q(x)+q(y)). Moreover, xy+f(xy)=xy+xyq(xy)=xy(1+q(xy))xy+f(xy)=xy+xyq(xy)=xy(1+q(xy)). Substitution into P(x,y)P(x,y) finishes the lemma. Conversely, reversing these calculations recovers P(x,y)P(x,y) whenever x,y≠0x,y\neq0. □\square

Lemma 3. Let x,y≠0x,y\neq0. If q(x)+q(y)=0q(x)+q(y)=0, then q(xy)=−1q(xy)=-1. If q(x)+q(y)≠0q(x)+q(y)\neq0, then

q(xy(q(x)+q(y)))=1+q(xy)q(x)+q(y).q\bigl(xy(q(x)+q(y))\bigr)=\frac{1+q(xy)}{q(x)+q(y)}.

Proof. Suppose first that q(x)+q(y)=0q(x)+q(y)=0. Lemma 22 gives f(0)=xy(1+q(xy))f(0)=xy(1+q(xy)). By Lemma 11, the left-hand side is 00. Since xy≠0xy\neq0, we obtain 1+q(xy)=01+q(xy)=0, hence q(xy)=−1q(xy)=-1. Now suppose that q(x)+q(y)≠0q(x)+q(y)\neq0. Lemma 22 gives f(xy(q(x)+q(y)))=xy(1+q(xy))f\bigl(xy(q(x)+q(y))\bigr)=xy(1+q(xy)). The argument of ff is nonzero, so by definition of qq,

f(xy(q(x)+q(y)))=xy(q(x)+q(y))q(xy(q(x)+q(y))).f\bigl(xy(q(x)+q(y))\bigr)=xy(q(x)+q(y))q\bigl(xy(q(x)+q(y))\bigr).

Dividing by the nonzero number xy(q(x)+q(y))xy(q(x)+q(y)) yields

q(xy(q(x)+q(y)))=1+q(xy)q(x)+q(y).q\bigl(xy(q(x)+q(y))\bigr)=\frac{1+q(xy)}{q(x)+q(y)}.

This proves the lemma. □\square

Lemma 4. Conversely, let q:R×→Rq:\mathbb{R}^\times\to\mathbb{R} satisfy the two conditions in Lemma 33. Define f(0)=0f(0)=0 and f(x)=xq(x)f(x)=xq(x) for x≠0x\neq0. Then ff satisfies the original functional equation.

Proof. Let x,y∈Rx,y\in\mathbb{R}. If x=0x=0 or y=0y=0, then xf(y)+yf(x)=0xf(y)+yf(x)=0 and xy+f(xy)=0xy+f(xy)=0, so the equation holds. It remains to consider x,y≠0x,y\neq0. Put s=q(x)+q(y)s=q(x)+q(y). If s=0s=0, then xf(y)+yf(x)=xy(q(x)+q(y))=0xf(y)+yf(x)=xy(q(x)+q(y))=0, so the left-hand side is f(0)=0f(0)=0. By the first condition of Lemma 33, q(xy)=−1q(xy)=-1, and therefore xy+f(xy)=xy+xyq(xy)=0xy+f(xy)=xy+xyq(xy)=0. Thus the equation holds. If s≠0s\neq0, then Lemma 33 gives q(xys)=1+q(xy)sq(xys)=\frac{1+q(xy)}s. Consequently,

f(xf(y)+yf(x))=f(xys)=xysq(xys)=xy(1+q(xy))=xy+f(xy).f(xf(y)+yf(x))=f(xys)=xysq(xys)=xy(1+q(xy))=xy+f(xy).

Thus the original equation holds for every x,y∈Rx,y\in\mathbb{R}. □\square

Lemma 5. Every solution of the original functional equation is obtained uniquely from a function qq satisfying the conditions of Lemma 33.

Proof. Lemma 11 gives f(0)=0f(0)=0. For every nonzero xx, define q(x)=f(x)xq(x)=\frac{f(x)}{x}. Lemma 33 follows directly from the original equation by Lemmas 22 and 33. Conversely, Lemma 44 shows that every such qq produces a solution. Note that the correspondence is unique because q(x)=f(x)xq(x)=\frac{f(x)}{x} is uniquely determined by ff for every x≠0x\neq0. Therefore the characterization is both necessary and sufficient. □\square

We next record several concrete families of solutions.

Lemma 6. The function f(x)=−x2f(x)=-\frac{x}{2} is a solution.

Proof. For arbitrary x,y∈Rx,y\in\mathbb{R}, xf(y)+yf(x)=−xy2−xy2=−xyxf(y)+yf(x)=-\frac{xy}{2}-\frac{xy}{2}=-xy. Hence f(xf(y)+yf(x))=f(−xy)=xy2f\bigl(xf(y)+yf(x)\bigr)=f(-xy)=\frac{xy}{2}, while xy+f(xy)=xy−xy2=xy2xy+f(xy)=xy-\frac{xy}{2}=\frac{xy}{2}. Thus P(x,y)P(x,y) holds. □\square

Lemma 7. Let χ:R×→{1,−1}\chi:\mathbb{R}^\times\to\{1,-1\} be multiplicative and satisfy χ(2)=1\chi(2)=1 and χ(−1)=−1\chi(-1)=-1. Then f(0)=0f(0)=0, f(x)=χ(x)⋅xf(x)=\chi(x)\cdot x for x≠0x\neq0 is a solution.

Proof. Fix x,y≠0x,y\neq0 and write a=χ(x)a=\chi(x) and b=χ(y)b=\chi(y). If a=−ba=-b, then xf(y)+yf(x)=xy(a+b)=0xf(y)+yf(x)=xy(a+b)=0, so the left-hand side is 00. Since χ(xy)=ab=−1\chi(xy)=ab=-1, xy+f(xy)=xy(1+χ(xy))=0xy+f(xy)=xy(1+\chi(xy))=0. Suppose now that a=ba=b. Then a+b=2aa+b=2a, and multiplicativity gives χ(xy)=a2=1\chi(xy)=a^2=1. Therefore

f(xf(y)+yf(x))=f(2axy)=2axyχ(2axy).f\bigl(xf(y)+yf(x)\bigr)=f(2axy)=2axy\chi(2axy).

Since χ(2)=1\chi(2)=1, χ(a)=a\chi(a)=a, and χ(xy)=1\chi(xy)=1, we have χ(2axy)=a\chi(2axy)=a. Hence f(xf(y)+yf(x))=2a2xy=2xyf\bigl(xf(y)+yf(x)\bigr)=2a^2xy=2xy. On the other hand, xy+f(xy)=xy+xyχ(xy)=2xyxy+f(xy)=xy+xy\chi(xy)=2xy. The cases involving x=0x=0 or y=0y=0 follow from f(0)=0f(0)=0. Hence ff is a solution. □\square

Lemma 8. Let χ:R×→{1,−1}\chi:\mathbb{R}^\times\to\{1,-1\} be multiplicative and satisfy χ(2)=1\chi(2)=1 and χ(−1)=−1\chi(-1)=-1. Then f(0)=0f(0)=0,

f(x)=−1+χ(x)2⋅xf(x)=-\frac{1+\chi(x)}{2}\cdot x

for x≠0x\neq0 is a solution.

Proof. Put q(x)=−1+χ(x)2q(x)=-\frac{1+\chi(x)}{2}. Thus q(x)q(x) equals −1-1 when χ(x)=1\chi(x)=1 and 00 when χ(x)=−1\chi(x)=-1. Let x,y≠0x,y\neq0. If χ(x)=χ(y)=−1\chi(x)=\chi(y)=-1, then q(x)=q(y)=0q(x)=q(y)=0, so the left-hand argument is 00. Since χ(xy)=1\chi(xy)=1, we have q(xy)=−1q(xy)=-1, and therefore the right-hand side is also 00. If χ(x)=χ(y)=1\chi(x)=\chi(y)=1, then q(x)=q(y)=−1q(x)=q(y)=-1, so the left-hand argument is −2xy-2xy. Since χ(−1)=−1\chi(-1)=-1, χ(2)=1\chi(2)=1, and χ(xy)=1\chi(xy)=1, we have χ(−2xy)=−1\chi(-2xy)=-1, hence q(−2xy)=0q(-2xy)=0. Thus the left-hand side is 00. Since q(xy)=−1q(xy)=-1, the right-hand side is also 00. Finally, suppose χ(x)≠χ(y)\chi(x)\neq\chi(y). Then exactly one of q(x),q(y)q(x),q(y) equals −1-1, so xf(y)+yf(x)=−xyxf(y)+yf(x)=-xy. Moreover χ(xy)=−1\chi(xy)=-1, so q(xy)=0q(xy)=0. Since χ(−1)=−1\chi(-1)=-1, we have χ(−xy)=1\chi(-xy)=1, and hence q(−xy)=−1q(-xy)=-1. Therefore f(−xy)=xy=xy+f(xy)f(-xy)=xy=xy+f(xy). Thus the equation holds in every case. □\square

Lemma 9. The characterization above contains the familiar solutions f(x)=xf(x)=x and f(x)=∣x∣f(x)=|x|.

Proof. The identity solution comes from taking q≡1q\equiv1 in Lemmas 33 and 44. Take χ(x)=sgn⁡(x)\chi(x)=\operatorname{sgn}(x) in Lemma 77. Since sgn⁡(2)=1\operatorname{sgn}(2)=1 and sgn⁡(−1)=−1\operatorname{sgn}(-1)=-1, this gives f(x)=sgn⁡(x)x=∣x∣f(x)=\operatorname{sgn}(x)x=|x|. The same sign character in Lemma 88 gives f(x)=−xf(x)=-x for x>0x>0, f(x)=0f(x)=0 for x<0x<0, together with f(0)=0f(0)=0. □\square

Therefore the complete solution set, without any regularity hypothesis, is the class described in Lemmas 33 and 44. This characterization is necessary and sufficient, so it gives every solution and no others. In particular, the equation has many non-linear solutions; the three elementary functions xx, ∣x∣|x|, and −x2-\frac{x}{2} are only special cases. ■\blacksquare