#813

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


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

P(x,1)⇒f(f(x)f(1)+f(x))=x+f(x)P(x,1)\Rightarrow f(f(x)f(1)+f(x))=x+f(x) so ff is injective.

P(xy,1)⇒f(f(xy)f(1)+f(xy))=xy+f(xy)=f(f(x)f(y)+f(xy))P(xy,1)\Rightarrow f(f(xy)f(1)+f(xy))=xy+f(xy)=f(f(x)f(y)+f(xy)) so f(xy)f(1)=f(x)f(y)f(xy)f(1)=f(x)f(y) by injectivity. If f(1)=0f(1)=0 then setting x=yx=y gives f(x)=0f(x)=0 for all xx which is not a solution. So f(1)≠0f(1)\ne0 and we can define a function g:R→Rg:\mathbb R\to\mathbb R as g(x)=f(x)f(1)g(x)=\frac{f(x)}{f(1)} such that g(xy)=g(x)g(y)g(xy)=g(x)g(y).

If f(1)=−1f(1)=-1, P(1,1)⇒f(0)=0P(1,1)\Rightarrow f(0)=0 and P(x,1)⇒f(x)=−xP(x,1)\Rightarrow\boxed{f(x)=-x} which is indeed a solution. Otherwise, we may assume f(1)∉{−1,0}f(1)\notin\{-1,0\}.

P(x,1)⇒f(1f(1)2+f(1))f(f(x)(f(1)+1))=(x+f(x))f(1f(1)2+f(1))⇒g(g(x))=ag(x)+bxP(x,1)\Rightarrow f\left(\frac1{f(1)^2+f(1)}\right)f(f(x)(f(1)+1))=(x+f(x))f\left(\frac1{f(1)^2+f(1)}\right)\Rightarrow g(g(x))=ag(x)+bx where b=1f(1)2f(1f(1)2+f(1))b=\frac1{f(1)^2}f\left(\frac1{f(1)^2+f(1)}\right) and a=bf(1)a=bf(1).

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 injective (therefore 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 remaining linear solution is f(x)=x\boxed{f(x)=x}.