#843

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


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

If f(1)=0f(1)=0, then P(x,x)⇒f(2f(x2))=f(x)2+x2P(x,x)\Rightarrow f\left(2f\left(x^2\right)\right)=f(x)^2+x^2 while P(x2,1)⇒f(2f(x2))=x2P\left(x^2,1\right)\Rightarrow f\left(2f\left(x^2\right)\right)=x^2 so f(x)=0f(x)=0 for all xx, this isn’t a solution.

So 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 constant solutions exist for ff so gg is nonconstant.

P(xy,1)⇒f(x)f(y)+xy=f(2f(xy))=f(xy)f(1)+xyP(xy,1)\Rightarrow f(x)f(y)+xy=f(2f(xy))=f(xy)f(1)+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)f(12f(1))f(x)+xf(12f(1))⇒g(g(x))=ag(x)+bxP(x,1)\Rightarrow f\left(\frac1{2f(1)}\right)f(2f(x))=f(1)f\left(\frac1{2f(1)}\right)f(x)+xf\left(\frac1{2f(1)}\right)\Rightarrow g(g(x))=ag(x)+bx where a=f(12f(1))a=f\left(\frac1{2f(1)}\right) and b=af(1)2b=\frac a{f(1)^2}.

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 b=g(g(1))−ag(1)=1−ab=g(g(1))-ag(1)=1-a.

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.

If a=0a=0 then (by its definition) b=0b=0, but then g(g(x))=0g(g(x))=0 implies g(x)=0g(x)=0 for all xx which is constant, contradiction.

If a=1a=1 then b=1−a=0b=1-a=0, so (by its definition) a=0a=0, contradiction.

For all x≠0x\ne0:

Q(x,1x)⇒g(1x)=1g(x)Q\left(x,\frac1x\right)\Rightarrow g\left(\frac1x\right)=\frac1{g(x)}, in g(g(x))=ag(x)+(1−a)xg(g(x))=ag(x)+(1-a)x now we have (again for x≠0x\ne0):

1ag(x)+(1−a)x=1g(g(x))=ag(x)+1−ax,\frac1{ag(x)+(1-a)x}=\frac1{g(g(x))}=\frac a{g(x)}+\frac{1-a}x,

which simplifies to:

xg(x)=a2xg(x)+a(1−a)x2+a(1−a)g(x)2+(1−a)2xg(x)xg(x)=a^2xg(x)+a(1-a)x^2+a(1-a)g(x)^2+(1-a)^2xg(x) ⇒a(1−a)x2+(2a2−2a)xg(x)+a(1−a)g(x)2=0.\Rightarrow a(1-a)x^2+\left(2a^2-2a\right)xg(x)+a(1-a)g(x)^2=0.

We already established a∉{0,1}a\notin\{0,1\}, so we can divide everything by a(1−a)a(1-a) to get:

x2−2xg(x)+g(x)2=0⇒g(x)=x.x^2-2xg(x)+g(x)^2=0\Rightarrow g(x)=x.

Then gg is the identity, since g(0)=0g(0)=0, so ff is linear. Testing, our only linear solutions are f(x)=x\boxed{f(x)=x} and f(x)=−x\boxed{f(x)=-x}.