#168

solved

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

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

for any reals x,yx,y.

Solution

Solution by AIME4096.


We claim that the complete solution set is exactly the additive involutions of R\mathbb{R}, which includes the two familiar solutions f(x)=xf(x)=x and f(x)=−xf(x)=-x, as well as arbitrary non-linear additive involutions.

We now prove that every solution has the claimed form. Let P(x,y)P(x,y) denote the assertion of f(f(x)+f(xy))=x+xyf\bigl(f(x)+f(xy)\bigr)=x+xy.

Lemma 1. The function ff is surjective.

Proof. The assertion P(x,0)P(x,0) yields f(f(x)+f(0))=xf\bigl(f(x)+f(0)\bigr)=x.

Since every x∈Rx\in\mathbb{R} occurs on the right-hand side, ff must be surjective. □\square

Lemma 2. The function ff is injective.

Proof. Let c=f(0)c=f(0). From Lemma 11, we can note that f(f(x)+c)=xf\bigl(f(x)+c\bigr)=x for all x∈Rx\in\mathbb{R}. Now suppose that f(a)=f(b)f(a)=f(b). Then

f(a)+c=f(b)+cf(a)+c=f(b)+c. Applying ff to both sides gives f(f(a)+c)=f(f(b)+c)f(f(a)+c)=f(f(b)+c), and hence a=ba=b. Therefore ff is injective. □\square

Lemma 3.

For every x≠0x\neq0 and every t∈Rt\in\mathbb{R}, f(f(x)+f(t))=x+tf\bigl(f(x)+f(t)\bigr)=x+t.

Proof. Let x≠0x\neq0. Given any t∈Rt\in\mathbb{R}, choose y=txy=\frac{t}{x}.

Then xy=txy=t. Therefore, by P(x,tx)P\left(x,\frac{t}{x}\right),

f(f(x)+f(t))=x+xtx=x+t.f\bigl(f(x)+f(t)\bigr) = x+x\frac{t}{x} = x+t.

This proves the lemma. □\square

Lemma 4. For every x≠0x\neq0 and every t∈Rt\in\mathbb{R}, f(x)+f(t)=f(x+t)+cf(x)+f(t)=f(x+t)+c, where c=f(0)c=f(0).

Proof. By Lemma 33, we know that f(f(x)+f(t))=x+tf\bigl(f(x)+f(t)\bigr)=x+t. On the other hand, by Lemma 11 applied to x+tx+t, f(f(x+t)+c)=x+tf\bigl(f(x+t)+c\bigr)=x+t.

Consequently,

f(f(x)+f(t))=f(f(x+t)+c).f\bigl(f(x)+f(t)\bigr) = f\bigl(f(x+t)+c\bigr).

Since ff is injective by Lemma 22, we have sufficiently proven the lemma. □\square

Lemma 5. The function g(x)=f(x)−cg(x)=f(x)-c is additive.

Proof. Since c=f(0)c=f(0), g(0)=f(0)−c=0g(0)=f(0)-c=0. If x≠0x\neq0, Lemma 44 gives f(x+t)=f(x)+f(t)−cf(x+t)=f(x)+f(t)-c. Therefore,

g(x+t)=f(x+t)−c=f(x)+f(t)−2c=(f(x)−c)+(f(t)−c)=g(x)+g(t)..\begin{aligned} g(x+t) &=f(x+t)-c &=f(x)+f(t)-2c &=(f(x)-c)+(f(t)-c) &=g(x)+g(t). \end{aligned}.

Thus g(x+t)=g(x)+g(t)g(x+t)=g(x)+g(t) whenever x≠0x\neq0. If x=0x=0, then g(0+t)=g(t)=g(0)+g(t)g(0+t)=g(t)=g(0)+g(t), since g(0)=0g(0)=0. Hence for all x,t∈Rx,t\in\mathbb{R}, gg is additive. □\square

Lemma 6. The constant c=f(0)c=f(0) is zero.

Proof. By Lemma 11, f(f(x)+c)=xf\bigl(f(x)+c\bigr)=x. Since f(x)=g(x)+cf(x)=g(x)+c, this becomes f(g(x)+2c)=xf\bigl(g(x)+2c\bigr)=x. Since f=g+cf=g+c, we obtain

g(g(x)+2c)+c=x.g\bigl(g(x)+2c\bigr)+c=x.

Because gg is additive, g(g(x))+2g(c)+c=xg(g(x))+2g(c)+c=x. Taking x=0x=0 gives 2g(c)+c=02g(c)+c=0, where a simple substitution yields g(g(x))=x∀x∈Rg(g(x))=x\forall x\in\mathbb{R}. Thus gg is an involution. Applying gg to 2g(c)+c=02g(c)+c=0 gives

2g(g(c))+g(c)=0  ⟹  2c+g(c)=0.2g(g(c))+g(c)=0\implies2c+g(c)=0.

From both of these equations, we get g(c)=cg(c)=c. Substituting back yields 3c=03c=0, meaning since c∈Rc\in\mathbb{R}, c=0c=0. Therefore f=gf=g. Such means ff is additive and f(f(x)=xf(f(x)=x for every x∈Rx\in\mathbb{R}. □\square

Lemma 7. Every additive involution is a solution.

Proof. Suppose f:R→Rf:\mathbb{R}\to\mathbb{R} is additive and satisfies f(f(x))=xf(f(x))=x

for every x∈Rx\in\mathbb{R}. Then, for arbitrary x,y∈Rx,y\in\mathbb{R},

f(f(x)+f(xy))=f(f(x))+f(f(xy))=x+xy..\begin{aligned} f\bigl(f(x)+f(xy)\bigr) &=f(f(x))+f(f(xy)) &=x+xy. \end{aligned}.

Thus P(x,y)P(x,y) holds for all x,y∈Rx,y\in\mathbb{R}. □\square

Therefore the complete solution set is

f:R→R is additive and f∘f=id⁡R.\boxed{ f:\mathbb{R}\to\mathbb{R} \text{ is additive and } f\circ f=\operatorname{id}_{\mathbb{R}}. }

as desired. ■\blacksquare

Note that continuity is not assumed. Consequently, the solution set contains non-linear additive involutions in addition to f(x)=xf(x)=x and f(x)=−xf(x)=-x.

\noindent\rule{\linewidth}{0.4pt}.

Remark: Continuity is not assumed. No continuity hypothesis is needed, and in fact the solution set contains discontinuous functions. To see this explicitly, choose a Hamel basis BB of R\mathbb{R} over Q\mathbb{Q} containing 11 and 2\sqrt2. Define ff on BB by

f(1)=2,f(2)=1,f(1)=\sqrt2,\qquad f(\sqrt2)=1,

and

f(b)=bfor every b∈B∖{1,2}.f(b)=b\qquad\text{for every }b\in B\setminus\{1,\sqrt2\}.

Extend ff to all of R\mathbb{R} by Q\mathbb{Q}-linearity. Then ff is additive. Moreover, for every basis element b∈Bb\in B, f(f(b))=bf(f(b))=b. Therefore all of the following are true for every b∈B∖{1,2}b\in B\setminus\{1,\sqrt2\}:

f(f(1))=f(2)=1,f(f(2))=f(1)=2,f(f(b))=b.f(f(1))=f(\sqrt2)=1, f(f(\sqrt2))=f(1)=\sqrt2, f(f(b))=b.

By linearity,

f(f(x))=x∀x∈R.f(f(x))=x\forall x\in\mathbb{R}.

Thus ff is an additive involution and hence, by the characterization above, is a solution of the original functional equation. It remains to show that ff is not continuous. Assume for the sake of contradiction that ff were continuous. Every continuous additive function g:R→Rg:\mathbb{R}\to\mathbb{R} is linear, so there would exist c∈Rc\in\mathbb{R} such that f(x)=cx∀x∈Rf(x)=cx\forall x\in\mathbb{R}. Since f(1)=2f(1)=\sqrt2, we would have c=2c=\sqrt{2} and consequently f(2)=2⋅2=2f(\sqrt2)=\sqrt2\cdot\sqrt2=2. Recall that our construction yielded

f(2)=1f(\sqrt2)=1, a contradiction. Hence ff is discontinuous. Therefore continuity is not assumed in the problem, and the complete solution set contains discontinuous, non-linear functions. □\square