#734

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


Let P(x,y)P(x,y) be the assertion f(xf(y)+yf(x))=2xyf(xf(y)+yf(x))=2xy.

Claim: ff is injective.

Let f(a)=f(b)f(a)=f(b).

P(a,a)⇒f(2af(a))=2a2P(a,a)\Rightarrow f(2af(a))=2a^2.

P(b,b)⇒f(2bf(b))=2b2P(b,b)\Rightarrow f(2bf(b))=2b^2.

P(a,b)⇒f(af(b)+bf(a))=2abP(a,b)\Rightarrow f(af(b)+bf(a))=2ab.

P(2af(a),2bf(b))⇒f(4a2bf(b)+4ab2f(a))=8abf(a)2P(2af(a),2bf(b))\Rightarrow f\left(4a^2bf(b)+4ab^2f(a)\right)=8abf(a)^2.

P(af(b)+bf(a),af(b)+bf(a))⇒f(4a2bf(b)+4ab2f(a))=2(a+b)2f(a)2P(af(b)+bf(a),af(b)+bf(a))\Rightarrow f\left(4a^2bf(b)+4ab^2f(a)\right)=2(a+b)^2f(a)^2.

Comparing, we obtain (a+b)2f(a)2=4abf(a)2(a+b)^2f(a)^2=4abf(a)^2. Now if f(a)=f(b)=0f(a)=f(b)=0 then P(0,0)⇒f(0)=0P(0,0)\Rightarrow f(0)=0, and our expressions for P(a,a)P(a,a) and P(b,b)P(b,b) give a=b=0a=b=0. On the other hand, if f(a)≠0f(a)\ne0 then (a+b)2=4ab(a+b)^2=4ab and we again have a=ba=b. So in either case f(a)=f(b)f(a)=f(b) implies a=ba=b.

The rest is easier.

P(12,12)⇒f(f(12))=12P\left(\frac12,\frac12\right)\Rightarrow f\left(f\left(\frac12\right)\right)=\frac12.

P(f(12),f(12))⇒12=2f(12)2P\left(f\left(\frac12\right),f\left(\frac12\right)\right)\Rightarrow\frac12=2f\left(\frac12\right)^2, so f(12)=±12f\left(\frac12\right)=\pm\frac12. Likewise:

P(−12,−12)⇒f(−f(−12))=12P\left(-\frac12,-\frac12\right)\Rightarrow f\left(-f\left(-\frac12\right)\right)=\frac12, by injectivity f(−12)=−f(12)f\left(-\frac12\right)=-f\left(\frac12\right) and so either f(12)=12f\left(\frac12\right)=\frac12, f(−12)=−12f\left(-\frac12\right)=-\frac12 or f(12)=−12f\left(\frac12\right)=-\frac12, f(−12)=12f\left(-\frac12\right)=\frac12. Notice that f(x)f(x) is a solution iff f(−x)f(-x) is, so WLOG we can have the first option f(12)=12f\left(\frac12\right)=\frac12 and f(−12)=−12f\left(-\frac12\right)=-\frac12.

P(x,12)⇒f(x+f(x)2)=xP\left(x,\frac12\right)\Rightarrow f\left(\frac{x+f(x)}2\right)=x, taking x↦f(x)x\mapsto f(x) here we have:

f(f(x)+f(f(x))2)=f(x)⇒f(x)+f(f(x))2=x⇒f(f(x))=2x−f(x).f\left(\frac{f(x)+f(f(x))}2\right)=f(x)\Rightarrow\frac{f(x)+f(f(x))}2=x\Rightarrow f(f(x))=2x-f(x).

Finally:

4x2−4xf(x)+2f(x)2=2xf(f(x))+2f(x)2−2xf(x)=P(x,f(x))2xf(f(x))+2f(x)2−f(xf(f(x))+f(x)2)=f(f(xf(f(x))+f(x)2))=P(x,f(x))f(2xf(x))=P(x,x)2x2\begin{align*} 4x^2-4xf(x)+2f(x)^2&=2xf(f(x))+2f(x)^2-2xf(x)\\&\overset{P(x,f(x))}=2xf(f(x))+2f(x)^2-f\left(xf(f(x))+f(x)^2\right)\\&=f\left(f\left(xf(f(x))+f(x)^2\right)\right)\\&\overset{P(x,f(x))}=f(2xf(x))\\&\overset{P(x,x)}=2x^2 \end{align*}

which simplifies to 2(x−f(x))2=02(x-f(x))^2=0, i.e. f(x)=x\boxed{f(x)=x}. The solution f(−x)f(-x) is f(x)=−x\boxed{f(x)=-x}.