#279

solved

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

f(x2+f(x)f(y))=xf(x)+yf(x)f(x^2 + f(x)f(y)) = xf(x) + yf(x)

for any reals x,yx,y.

Known appearances

Solution

Solution by jasperE3.


We claim the only solutions are f(x)≡xf(x)\equiv x, f(x)≡−xf(x)\equiv -x, f(x)≡−x+1f(x)\equiv -x+1, f(x)≡x−1f(x)\equiv x-1, and f(x)≡0f(x)\equiv 0, which obviously work. We now show they are the only solutions. Let P(x,y)P(x,y) denote the assertion that f(x2+f(x)f(y))=xf(x)+yf(x)f(x^2+f(x)f(y))=xf(x)+yf(x).


Case 1: f(0)=0f(0)=0

f(x)=0\boxed{f(x)=0} is a solution, else there is some jj with f(j)≠0f(j)\ne0.

P(x,0)⇒f(x2)=xf(x)⇒fP(x,0)\Rightarrow f\left(x^2\right)=xf(x)\Rightarrow f is odd.

If f(k)=0f(k)=0:

P(j,k)⇒kf(j)=0⇒k=0P(j,k)\Rightarrow kf(j)=0\Rightarrow k=0.

P(x,−x)⇒f(x2−f(x)2)=f(x2+f(x)f(−x))=0⇒x2−f(x)2=0⇒f(x)∈{−x,x}P(x,-x)\Rightarrow f\left(x^2-f(x)^2\right)=f\left(x^2+f(x)f(-x)\right)=0\Rightarrow x^2-f(x)^2=0\Rightarrow f(x)\in\{-x,x\} for each xx.

Suppose f(a)=−af(a)=-a and f(b)=bf(b)=b for some 0≠a≠b≠00\ne a\ne b\ne 0:

P(a,b)⇒f(a2−ab)=a2+ab⇒a2+ab∈{a2−ab,ab−b2}P(a,b)\Rightarrow f\left(a^2-ab\right)=a^2+ab\Rightarrow a^2+ab\in\left\{a^2-ab,ab-b^2\right\}.

In the first case we have ab=0ab=0, a contradiction, and in the second case we have a=−ba=-b. However since ff is odd this implies −a=f(a)=−f(b)=−b-a=f(a)=-f(b)=-b so a=ba=b, contradiction.

Hence either f(x)=x\boxed{f(x)=x} or f(x)=−x\boxed{f(x)=-x} in this case, which both fit.


Case 2: c=f(0)≠0c=f(0)\ne0

P(0,x)⇒f(cf(x))=cx⇒fP(0,x)\Rightarrow f(cf(x))=cx\Rightarrow f is bijective.

Suppose f(x+a)=f(x)+bf(x+a)=f(x)+b for some constants aa and b≠0b\ne0 and all xx.

For x≠cf(0)=f−1(0)x\ne cf(0)=f^{-1}(0) we have:

P(x,y+a)⇒f(x2+f(x)f(y)+bf(x))=f(x2+f(x)f(y))+af(x).P(x,y+a)\Rightarrow f\left(x^2+f(x)f(y)+bf(x)\right)=f\left(x^2+f(x)f(y)\right)+af(x).

Now use f−1(y−x2f(x))f^{-1}\left(\frac{y-x^2}{f(x)}\right) instead of yy to cancel some terms, we get f(y+bf(x))=f(y)+af(x)f(y+bf(x))=f(y)+af(x). Now f(x)f(x) can take any value except 00, so f(y+bx)=f(y)+axf(y+bx)=f(y)+ax, setting y=0y=0 we have f(x)=abx+cf(x)=\frac abx+c whether x=0x=0 or x≠0x\ne0, testing linear solutions in the functional equation we get f(x)=−x+1\boxed{f(x)=-x+1} and f(x)=x−1\boxed{f(x)=x-1}.

Otherwise let’s assume that such an aa and bb cannot exist.

Bring up any x≠cf(0)x\ne cf(0), and let g(x)=f−1(1f(x))g(x)=f^{-1}\left(\frac1{f(x)}\right) so that f(x)f(g(x))=1f(x)f(g(x))=1.

P(x,y2+f(y)f(z))⇒f(x2+(y+z)f(x)f(y))=xf(x)+y2f(x)+f(x)f(y)f(z)P\left(x,y^2+f(y)f(z)\right)\Rightarrow f(x^2+(y+z)f(x)f(y))=xf(x)+y^2f(x)+f(x)f(y)f(z).

Set y=g(x)y=g(x) and we get:

f(x2+g(x)+z)=xf(x)+g(x)2f(x)+f(z),f\left(x^2+g(x)+z\right)=xf(x)+g(x)^2f(x)+f(z),

which contradicts our statement above if xf(x)+g(x)2f(x)≠0xf(x)+g(x)^2f(x)\ne0. Otherwise, we have to have xf(x)+g(x)2f(x)=0xf(x)+g(x)^2f(x)=0 for all such xx, which means x=−g(x)2≤0x=-g(x)^2\le0 for all x≠cf(0)x\ne cf(0), contradiction. No further solutions.