#783

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


Let P(x,y)P(x,y) denote

f(2f(x)f(y))=xf(y)+yf(x).f(2f(x)f(y))=xf(y)+yf(x).

The zero function is a solution. Now assume ff is not identically zero, and choose jj such that f(j)≠0f(j)\ne 0.

If f(a)=f(b)f(a)=f(b), then comparing P(j,a)P(j,a) and P(j,b)P(j,b) gives a=ba=b, so ff is injective. From P(1/2,1/2)P(1/2,1/2),

f(2f(1/2)2)=f(1/2),f\left(2f(1/2)^2\right)=f(1/2),

so injectivity gives 2f(1/2)2=1/22f(1/2)^2=1/2, hence f(1/2)=±1/2f(1/2)=\pm 1/2.

Also, ff is a solution if and only if −f-f is a solution. It is enough to solve the case f(1/2)=1/2f(1/2)=1/2; the other sign will give the negative solution.

In this case, P(x,1/2)P(x,1/2) gives

f(f(x))=x+f(x)2.f(f(x))=\frac{x+f(x)}2.

Next,

P(x,f(x)):f(xf(x)+f(x)2)=x2+xf(x)2+f(x)2,P(x,f(x)):\quad f(xf(x)+f(x)^2)=\frac{x^2+xf(x)}2+f(x)^2,

and

P(f(x),f(x)):f(x2+2xf(x)+f(x)22)=xf(x)+f(x)2.P(f(x),f(x)):\quad f\left(\frac{x^2+2xf(x)+f(x)^2}{2}\right)=xf(x)+f(x)^2.

Let

A=x2+2xf(x)+f(x)22.A=\frac{x^2+2xf(x)+f(x)^2}{2}.

Applying P(A,1/2)P(A,1/2), equivalently the formula for f(f(A))f(f(A)), and using the previous displayed identity for f(A)f(A), we get

f(xf(x)+f(x)2)=A+xf(x)+f(x)22.f(xf(x)+f(x)^2)=\frac{A+xf(x)+f(x)^2}{2}.

Comparing this with the formula from P(x,f(x))P(x,f(x)) gives

(x−f(x))2=0.(x-f(x))^2=0.

Thus f(x)=xf(x)=x in the normalized case. Undoing the sign choice, the nonzero solutions are f(x)=xf(x)=x and f(x)=−xf(x)=-x. Together with the zero function, the full answer is

f(x)≡0,f(x)=x for all x,f(x)=−x for all x.\boxed{f(x)\equiv 0},\qquad \boxed{f(x)=x\text{ for all }x},\qquad \boxed{f(x)=-x\text{ for all }x}.