#844

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


f(2f(xy))=f(x)f(y)+f(xy).f(2f(xy))=f(x)f(y)+f(xy).

We claim that the only solutions are:

f(x)=0\boxed{f(x)=0} f(x)={−2sgn⁡(x)exp⁡(v1(ln⁡∣x∣))if x≠00if x=0\boxed{f(x)=\begin{cases}-2\operatorname{sgn}(x)\exp(v_1(\ln\lvert x\rvert))&\text{if }x\ne0\\0&\text{if }x=0\end{cases}}

where V1,V2V_1,V_2 are supplementary subvectorspaces of the Q\mathbb Q-vectorspace R\mathbb R such that ln⁡2∈V2\ln2\in V_2 and v1:R→V1v_1:\mathbb R\to V_1 and v2:R→V2v_2:\mathbb R\to V_2 are the projections of a real in V1,V2V_1,V_2. This includes the particular solution f(x)=−2sgn⁡(x)f(x)=-2\operatorname{sgn}(x) when V2=RV_2=\mathbb R.

f(x)={csgn⁡(x)exp⁡(v1(ln⁡∣x∣))if x≠00if x=0\boxed{f(x)=\begin{cases}c\operatorname{sgn}(x)\exp(v_1(\ln\lvert x\rvert))&\text{if }x\ne0\\0&\text{if }x=0\end{cases}}

where c∈(−∞,−2)∪(−2,−1)∪(0,∞)c\in(-\infty,-2)\cup(-2,-1)\cup(0,\infty) is a constant such that ln⁡∣2c∣ln⁡∣c+1∣∉Q∖{1}\frac{\ln\lvert2c\rvert}{\ln\lvert c+1\rvert}\notin\mathbb Q\setminus\{1\}, V1,V2V_1,V_2 are Q\mathbb Q-supplementary subvectorspaces of R\mathbb R such that ln⁡∣c+1∣∈V1\ln\lvert c+1\rvert\in V_1 and ln⁡∣12+12c∣∈V2\ln\left\lvert\frac12+\frac1{2c}\right\rvert\in V_2, and v1:R→V1v_1:\mathbb R\to V_1 and v2:R→V2v_2:\mathbb R\to V_2 are the projections of a real in V1,V2V_1,V_2. This includes the particular solution f(x)=xf(x)=x when c=1c=1 and V1=RV_1=\mathbb R.

f(x)={cexp⁡(v1(ln⁡∣x∣))if x≠00if x=0\boxed{f(x)=\begin{cases}c\exp(v_1(\ln\lvert x\rvert))&\text{if }x\ne0\\0&\text{if }x=0\end{cases}}

where c∈(−1,∞)∖{0}c\in(-1,\infty)\setminus\{0\} is a constant such that ln⁡∣2c∣ln⁡∣c+1∣∉Q∖{1}\frac{\ln\lvert2c\rvert}{\ln\lvert c+1\rvert}\notin\mathbb Q\setminus\{1\}, V1,V2V_1,V_2 are Q\mathbb Q-supplementary subvectorspaces of R\mathbb R such that ln⁡∣c+1∣∈V1\ln\lvert c+1\rvert\in V_1 and ln⁡∣12+12c∣∈V2\ln\left\lvert\frac12+\frac1{2c}\right\rvert\in V_2, and v1:R→V1v_1:\mathbb R\to V_1 and v2:R→V2v_2:\mathbb R\to V_2 are the projections of a real in V1,V2V_1,V_2. This includes the particular solution f(x)=∣x∣f(x)=\lvert x\rvert when c=1c=1 and V1=RV_1=\mathbb R.

If f(1)=0f(1)=0, then P(x,x)⇒f(2f(x2))=f(x)2+f(x2)P(x,x)\Rightarrow f\left(2f\left(x^2\right)\right)=f(x)^2+f\left(x^2\right) while P(x2,1)⇒f(2f(x2))=f(x2)P\left(x^2,1\right)\Rightarrow f\left(2f\left(x^2\right)\right)=f\left(x^2\right) so f(x)=0f(x)=0 for all xx which is one of the aforementioned solutions.

Otherwise, f(1)≠0f(1)\ne0. Let g:R→Rg:\mathbb R\to\mathbb R such that g(x)=f(x)f(1)g(x)=\frac{f(x)}{f(1)} for all xx, note that no other constant solutions exist for ff so gg is nonconstant.

P(xy,1)⇒f(x)f(y)+f(xy)=f(2f(xy))=f(xy)f(1)+f(xy)P(xy,1)\Rightarrow f(x)f(y)+f(xy)=f(2f(xy))=f(xy)f(1)+f(xy), we can calculate g(xy)=g(x)g(y)g(xy)=g(x)g(y).

P(x,1)⇒f(12f(1))f(2f(x))=(f(1)+1)f(12f(1))f(x)⇒g(g(x))=ag(x)P(x,1)\Rightarrow f\left(\frac1{2f(1)}\right)f(2f(x))=(f(1)+1)f\left(\frac1{2f(1)}\right)f(x)\Rightarrow g(g(x))=ag(x) where a=f(12f(1))(1+1f(1))a=f\left(\frac1{2f(1)}\right)\left(1+\frac1{f(1)}\right).

Let Q(x,y)Q(x,y) be the assertion g(xy)=g(x)g(y)g(xy)=g(x)g(y).

Q(x,0)⇒g(0)(g(x)−1)=0⇒g(0)=0Q(x,0)\Rightarrow g(0)(g(x)-1)=0\Rightarrow g(0)=0 since gg is nonconstant.

Q(x,1)⇒g(x)(g(1)−1)=0⇒g(1)=1Q(x,1)\Rightarrow g(x)(g(1)-1)=0\Rightarrow g(1)=1 since gg is nonconstant.

Therefore a=ag(1)=g(g(1))=1a=ag(1)=g(g(1))=1.

If g(k)=0g(k)=0 for some k≠0k\ne0, then:

Q(xk,k)⇒g(x)=0Q\left(\frac xk,k\right)\Rightarrow g(x)=0 which contradicts that gg is nonconstant.

Hence g(x)≠0g(x)\ne0 for all x≠0x\ne0, so for all x>0x>0 we have:

Q(x,x)⇒g(x)=g(x)2>0Q\left(\sqrt x,\sqrt x\right)\Rightarrow g(x)=g\left(\sqrt x\right)^2>0.

Now we can define h:R→Rh:\mathbb R\to\mathbb R such that h(x)=ln⁡g(ex)h(x)=\ln g\left(e^x\right), the equations g(xy)=g(x)g(y)g(xy)=g(x)g(y) and g(g(x))=g(x)g(g(x))=g(x) transform into:

h(x+y)=h(x)+h(y) and h(h(x))=h(x).h(x+y)=h(x)+h(y)\qquad\text{ and }\qquad h(h(x))=h(x).

Let V1={x∣h(x)=x}V_1=\{x\mid h(x)=x\} and V2={x∣h(x)=0}V_2=\{x\mid h(x)=0\}. Since h(x−h(x))=h(x)+h(−h(x))=h(x)−h(h(x))=0h(x-h(x))=h(x)+h(-h(x))=h(x)-h(h(x))=0, any element decomposes as:

h(x)=h(v1)+h(v2)=v1+0=v1h(x)=h(v_1)+h(v_2)=v_1+0=v_1

where v1=h(x)∈V1v_1=h(x)\in V_1 and v2=x−h(x)∈V2v_2=x-h(x)\in V_2. Finally, V1∩V2={0}V_1\cap V_2=\{0\} and V1,V2V_1,V_2 are closed under addition and multiplication by a rational scalar, so R=V1⊕V2\mathbb R=V_1\oplus V_2 where ⊕\oplus denotes direct sum and R\mathbb R is a Q\mathbb Q-vectorspace. So if v1:R→V1v_1:\mathbb R\to V_1 and v2:R→V2v_2:\mathbb R\to V_2 are the projections of a real in V1,V2V_1,V_2 then h(x)=v1(x)h(x)=v_1(x) for all xx.

Let c=f(1)c=f(1). Back to the original equation, substitution of f(x)=cg(x)f(x)=cg(x) gives g(2c)=c+1g(2c)=c+1.

Q(−1,−1)⇒g(−1)∈{−1,1}Q(-1,-1)\Rightarrow g(-1)\in\{-1,1\}.

Let u=ln⁡∣2c∣u=\ln\lvert2c\rvert and v=ln⁡∣c+1∣v=\ln\lvert c+1\rvert.

Case 1: g(−1)=−1g(-1)=-1

Q(x,−1)⇒g(−x)=−g(x)Q(x,-1)\Rightarrow g(-x)=-g(x), so g(x)=sgn⁡(x)exp⁡(h(ln⁡∣x∣))g(x)=\operatorname{sgn}(x)\exp(h(\ln\lvert x\rvert)).

From g(x)>0g(x)>0 for all x>0x>0 we have g(x)<0g(x)<0 for all x<0x<0. Given g(2c)=c+1g(2c)=c+1, we have sgn⁡(2c)=sgn⁡(c+1)\operatorname{sgn}(2c)=\operatorname{sgn}(c+1) and so this restricts c∈(−∞,−1]∪(0,∞)c\in(-\infty,-1]\cup(0,\infty). Now we have h(u)=vh(u)=v. Therefore v∈V1v\in V_1 and by additivity h(v−u)=0h(v-u)=0 so v−u∈V2v-u\in V_2.

If v=0v=0 then (since c≠0c\ne0) c=−2c=-2, we obtain the first nontrivial solution set, since −u=−ln⁡4∈V2⇒ln⁡2∈V2-u=-\ln4\in V_2\Rightarrow\ln2\in V_2.

Otherwise, suppose u,vu,v are Q\mathbb Q-linearly dependent with u≠vu \ne v. We obtain v−u=(1−q)vv-u=(1-q)v so since v∈V1v\in V_1, v−u∈V1v-u\in V_1 as well and since V1∩V2={0}V_1\cap V_2=\{0\} we must have v−u=0v-u=0, i.e. u=vu=v.

In the case that either u=vu=v or u,vu,v are Q\mathbb Q-linearly independent, we have the second nontrivial solution set, ensuring that v=ln⁡∣c+1∣∈V1v=\ln\lvert c+1\rvert\in V_1 and v−u=ln⁡∣12+12c∣∈V2v-u=\ln\left\lvert\frac12+\frac1{2c}\right\rvert\in V_2.

Case 2: g(−1)=1g(-1)=1

Q(x,−1)⇒g(−x)=g(x)Q(x,-1)\Rightarrow g(-x)=g(x), so g(x)=exp⁡(h(ln⁡∣x∣))g(x)=\exp(h(\ln\lvert x\rvert)).

From g(x)>0g(x)>0 for all x>0x>0 we have g(x)>0g(x)>0 for all x≠0x\ne0. Given g(2c)=c+1g(2c)=c+1, we have c∈(−1,∞)∖{0}c\in(-1,\infty)\setminus\{0\}. As before, h(u)=vh(u)=v so v∈V1v\in V_1 and v−u∈V2v-u\in V_2. Our v=0v=0 case is impossible this time, since it implies c=−2c=-2.

If u,vu,v are Q\mathbb Q-linearly dependent with u≠vu\ne v then as before this is impossible.

If u,vu,v are Q\mathbb Q-linearly independent, or dependent with u=vu=v, then we have the third nontrivial solution set. Verification of the solution sets follows by working backwards.