#21

solved

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

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

for any reals x,yx,y.

Known appearances

Solution

Solution by JasperE3.


Let S={a∈R∣f(x+a)=f(x)+a∀x∈R}S=\{a\in\mathbb R\mid f(x+a)=f(x)+a\forall x\in\mathbb R\}, the original statement is equivalent to xf(x)∈Sxf(x)\in S for all x∈Rx\in\mathbb R.

We claim that S={0}S=\{0\} or S=RS=\mathbb R, let’s first consider what happens when SS is one of these two sets.

If S={0}S=\{0\}, we have, since xf(x)∈Sxf(x)\in S, xf(x)=0xf(x)=0 for all xx, producing solutions of the form f(x)={0if x≠0cif x=0\boxed{f(x)=\begin{cases}0&\text{if }x\ne0\\c&\text{if }x=0\end{cases}} for a constant c∈Rc\in\mathbb R which all satisfy the equation.

If S=RS=\mathbb R, we have f(x+y)=f(x)+yf(x+y)=f(x)+y for all x,yx,y, producing solutions of the form f(x)=x+c\boxed{f(x)=x+c} for a constant c∈Rc\in\mathbb R which all satisfy the equation.

From now assume SS is neither of these two sets.


Claim 1: SS is an additive subgroup of R\mathbb R, or if a,b∈Sa,b\in S then a+b∈Sa+b\in S and if a∈Sa\in S then −a∈S-a\in S.

The first is true from f(x+a+b)=f(x+a)+b=f(x)+a+bf(x+a+b)=f(x+a)+b=f(x)+a+b, the second is true from f(x)=f(x−a)+af(x)=f(x-a)+a. (also trivially SS is nonempty).


Claim 2: SS is a subring (not necessarily with unity) of R\mathbb R, or if a,b∈Sa,b\in S then ab∈Sab\in S.

From xf(x)∈Sxf(x)\in S we have, for a∈Sa\in S:

(x+a)f(x+a)∈S⇒xf(x)+ax+af(x)+a2∈S,(x+a)f(x+a)\in S\Rightarrow xf(x)+ax+af(x)+a^2\in S,

and, subtracting xf(x)xf(x), this implies ax+af(x)+a2∈Sax+af(x)+a^2\in S. So for a,b∈Sa,b\in S we have:

ax+af(x)+a2,bx+bf(x)+b2∈S⇒(a+b)x+(a+b)f(x)+a2+b2∈Sax+af(x)+a^2,bx+bf(x)+b^2\in S\Rightarrow(a+b)x+(a+b)f(x)+a^2+b^2\in S a+b∈S⇒(a+b)x+(a+b)f(x)+(a+b)2∈Sa+b\in S\Rightarrow(a+b)x+(a+b)f(x)+(a+b)^2\in S

and subtracting these we obtain 2ab∈S2ab\in S.

This gives 2a2∈S2a^2\in S, so 2a(x+f(x))=2(ax+af(x)+a2)−2a2∈S2a(x+f(x))=2\left(ax+af(x)+a^2\right)-2a^2\in S.

Since SS is an additive subgroup, any integer multiple of a member is also a member, and in particular, 14f(14)∈S\frac14f\left(\frac14\right)\in S implies f(14)∈Sf\left(\frac14\right)\in S and 2af(14)∈S2af\left(\frac14\right)\in S. Substitute x=14x=\frac14 into 2a(x+f(x))2a(x+f(x)), we get that a∈Sa\in S implies a2∈S\frac a2\in S which completes our proof with 2ab2∈S\frac{2ab}2\in S.


Claim 3: SS is a subfield of R\mathbb R, or if 0≠a∈S0\ne a\in S then 1a∈S\frac1a\in S.

With the same technique, we have 0≠a∈S0\ne a\in S and xf(x)∈Sxf(x)\in S, so axf(x)∈Saxf(x)\in S for all x∈Rx\in\mathbb R. Take x=1ax=\frac1a, and then f(1a)∈Sf\left(\frac1a\right)\in S which we can plug into 2b(x+f(x))∈S2b(x+f(x))\in S for b∈Sb\in S to get 2ba∈S\frac{2b}a\in S (since 2bf(1a)∈S2bf\left(\frac1a\right)\in S). Using a∈S⇒a2∈Sa\in S\Rightarrow\frac a2\in S, this becomes ba∈S\frac ba\in S for all 0≠a∈S0\ne a\in S, b∈Sb\in S. Take a=ba=b to get 1∈S1\in S, then take b=1b=1 to get 1a∈S\frac1a\in S as desired.


Claim 4: f(x2)=f(x)2f\left(x^2\right)=f(x)^2 for all xx such that x2∉Sx^2\notin S.

From 2a(x+f(x))∈S2a(x+f(x))\in S we get x+f(x)∈Sx+f(x)\in S (dividing by 2a2a for 0≠a∈S0\ne a\in S), and so can write:

x2+f(x2)∈S,x2+f(x)2=(x+f(x))2−2xf(x)∈Sx^2+f\left(x^2\right)\in S,x^2+f(x)^2=\left(x+f(x)\right)^2-2xf(x)\in S

which upon subtraction give f(x2)−f(x)2∈Sf\left(x^2\right)-f(x)^2\in S. On the other hand:

x2f(x2)∈S,x2f(x)2∈S⇒x2f(x2)−x2f(x)2∈S.x^2f\left(x^2\right)\in S,x^2f(x)^2\in S\Rightarrow x^2f\left(x^2\right)-x^2f(x)^2\in S.

Dividing these two for f(x2)−f(x)2≠0f\left(x^2\right)-f(x)^2\ne0 gives x2∈Sx^2\in S as desired.


Claim 5: f(−x)=−f(x)f(-x)=-f(x) for all x∉Sx\notin S.

Similar approach:

x+f(x),−x+f(−x)∈S⇒f(x)+f(−x)∈Sx+f(x),-x+f(-x)\in S\Rightarrow f(x)+f(-x)\in S xf(x),−xf(−x)∈S⇒xf(x)+xf(−x)∈Sxf(x),-xf(-x)\in S\Rightarrow xf(x)+xf(-x)\in S

so if f(−x)≠−f(x)f(-x)\ne-f(x) then the quotient x∈Sx\in S.


Claim 6: f(x)−xf(x)-x is bounded.

First, we’ll show that ∣f(x)−x∣≤max⁡{1,∣f(0)∣}\lvert f(x)-x\rvert\le\max\{1,\lvert f(0)\rvert\} for all x∈[0,1)x\in[0,1).

Two cases:

If x∈Sx\in S then f(0+x)=f(0)+xf\left(0+x\right)=f(0)+x, i.e. ∣f(x)−x∣=∣f(0)∣\lvert f(x)-x\rvert=\lvert f(0)\rvert.

If x∉Sx\notin S then f(x)=f(x)2≥0f(x)=f\left(\sqrt x\right)^2\ge0 and so f(x)−x>−1f(x)-x>-1. For the bound above, we have x−1,1−x∉Sx-1,1-x\notin S so:

f(x)=1+f(x−1)=1−f(1−x)=1−f(1−x)2≤1.f(x)=1+f(x-1)=1-f(1-x)=1-f\left(\sqrt{1-x}\right)^2\le1.

and we get f(x)≤1f(x)\le1, so f(x)−x≤1f(x)-x\le1 as desired.

So we obtain:

∣f(x)−x∣≤max⁡{1,∣f(0)∣}\lvert f(x)-x\rvert\le\max\{1,\lvert f(0)\rvert\}

for x∈[0,1)x\in[0,1), but if it’s true for xx, it’s true for x+1x+1 and x−1x-1 since f(x+1)=f(x)+1f(x+1)=f(x)+1, and so it holds for all xx.


Claim 7: for all x∈Rx\in\mathbb R and large enough n∈Zn\in\mathbb Z (based on xx), x∉Sx\notin S implies (x+n)2∉S(x+n)^2\notin S.

Precisely, we prove the statement for all n>−x−f(x)2n>\frac{-x-f(x)}2.

Suppose that x∉Sx\notin S yet (x+n)2∈S(x+n)^2\in S. As with some of our previous claims:

x+n+f(x+n)∈Sx+n+f(x+n)\in S (x+n)2,(x+n)f(x+n)∈S⇒(x+n)(x+n+f(x+n))∈S(x+n)^2,(x+n)f(x+n)\in S\Rightarrow(x+n)(x+n+f(x+n))\in S

and since x+n+f(x+n)=x+f(x)+2n≠0x+n+f(x+n)=x+f(x)+2n\ne0 we can divide these to get x+n∈Sx+n\in S which implies x∈Sx\in S, contradiction.


Claim 8: f(x)=xf(x)=x for all x∉Sx\notin S.

Take x∉Sx\notin S, we have, for large enough n∈Zn\in\mathbb Z:

f(x2+2nx)+n2=f(x2+2nx+n2)=f((x+n)2)=f(x+n)2=(f(x)+n)2=f(x)2+2nf(x)+n2.f\left(x^2+2nx\right)+n^2=f\left(x^2+2nx+n^2\right)=f\left((x+n)^2\right)=f(x+n)^2=(f(x)+n)^2=f(x)^2+2nf(x)+n^2.

This rearranges as:

f(x2+2nx)−x2−2nx2n=f(x)−x+f(x)2−x22n.\frac{f\left(x^2+2nx\right)-x^2-2nx}{2n}=f(x)-x+\frac{f(x)^2-x^2}{2n}.

Since f(x2+2nx)−x2−2nxf\left(x^2+2nx\right)-x^2-2nx is bounded, taking n→∞n\to\infty zeroes the f(x2+2nx)−x2−2nx2n\frac{f\left(x^2+2nx\right)-x^2-2nx}{2n} and f(x)2−x22n\frac{f(x)^2-x^2}{2n} terms, implying the claim.


With the final claim, we have a contradiction: for x∉Sx\notin S (which exists since S≠RS\ne\mathbb R) we have f(x)=xf(x)=x. On the other hand, since x+f(x)∈Sx+f(x)\in S we derive 2x∈S2x\in S and so x∈Sx\in S. Therefore, our aforementioned solutions are indeed the only ones.