#550

solved

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

f(f(x)2+f(x)f(y))=xf(x)+f(xy)f(f(x)^2 + f(x)f(y)) = xf(x) + f(xy)

for any reals x,yx,y.

Solution

Solution by megarnie.


The answer is f≡0f\equiv 0, f(x)=xf(x)=x, and f(x)=−xf(x)=-x, which all work. Let P(x,y)P(x,y) denote the given assertion. Clearly 00 is the only constant solution, so assume ff is not constant.

Claim: ff is injective.

Proof: Assume f(a)=f(b)f(a)=f(b) for some reals a≠ba\ne b. WLOG aa is nonzero. Let r=bar=\frac ba. From P(x,a)P(x,a) compared with P(x,b)P(x,b) we get f(xa)=f(xb)f(xa)=f(xb). So since axax can take any real, we have f(x)=f(rx)f(x)=f(rx) for all reals xx. P(x,y)P(x,y) compared with P(rx,y)P(rx,y) gives xf(x)=rxf(rx)=rxf(x)xf(x)=rxf(rx)=rxf(x). Since r≠1r\ne1, we deduce that xf(x)=0xf(x)=0 for all x∈Rx\in\mathbb R. Thus, f(x)=0f(x)=0 for all x≠0x\ne0.

Now, if we set xx and yy nonzero in the original equation, the LHS becomes f(0)f(0) and the RHS becomes 00, so f(0)=0f(0)=0. Therefore, f≡0f\equiv0, a contradiction because ff is nonconstant. □\square

Claim: f(0)=0f(0)=0.

Proof: P(0,0):f(2f(0)2)=f(0)P(0,0): f(2f(0)^2)=f(0), so injectivity concludes. □\square

P(−1,1)P(-1,1) gives that f(−1)(f(−1)+f(1))=0f(-1)(f(-1)+f(1))=0. Since ff is injective, f(−1)=0f(-1)=0 cannot hold, so f(−1)+f(1)=0f(-1)+f(1)=0.

P(1,y):f(f(1)2+f(1)f(y))=f(1)+f(y)P(1,y): f(f(1)^2+f(1)f(y))=f(1)+f(y).

P(−1,−y):f(f(−1)2+f(−1)f(−y))=−f(−1)+f(y)=f(1)+f(y)P(-1,-y): f(f(-1)^2+f(-1)f(-y))=-f(-1)+f(y)=f(1)+f(y).

Combining the two and using the fact that ff is injective, we see that

f(1)2+f(1)f(y)=f(−1)2+f(−1)f(−y),f(1)^2+f(1)f(y)=f(-1)^2+f(-1)f(-y),

so f(1)f(y)=f(−1)f(−y)f(1)f(y)=f(-1)f(-y), which implies f(y)=−f(−y)f(y)=-f(-y) for each yy, so ff is odd.

P(x,−x):0=xf(x)+f(−x2)=xf(x)−f(x2)P(x,-x): 0=xf(x)+f(-x^2)=xf(x)-f(x^2), so f(x2)=xf(x)f(x^2)=xf(x).

P(x,0):f(f(x)2)=xf(x)P(x,0): f(f(x)^2)=xf(x). By using injectivity, we get f(x)2=x2f(x)^2=x^2.

Now, assume there existed a,b≠0a,b\ne0 with f(a)≠−af(a)\ne-a and f(b)≠bf(b)\ne b. Note that f(a)=af(a)=a, f(b)=−bf(b)=-b.

P(a,b):f(a2−ab)=a2+f(ab)P(a,b): f(a^2-ab)=a^2+f(ab).

P(b,a):f(b2−ab)=f(ab)−b2P(b,a): f(b^2-ab)=f(ab)-b^2.

We have two cases, either when f(ab)=abf(ab)=ab or when f(ab)=−abf(ab)=-ab. If f(ab)=abf(ab)=ab, then we have f(a2−ab)=a2+abf(a^2-ab)=a^2+ab. So either a2−ab=a2+aba^2-ab=a^2+ab or a2−ab=−(a2+ab)a^2-ab=-(a^2+ab), but both cases imply either a=0a=0 or b=0b=0, a contradiction.

If f(ab)=−abf(ab)=-ab, then f(b2−ab)=−ab−b2f(b^2-ab)=-ab-b^2. So b2−ab=−ab−b2b^2-ab=-ab-b^2, or ab−b2=−ab−b2ab-b^2=-ab-b^2, but both cases again imply ab=0ab=0, absurd.

Therefore, we get a contradiction, so f(x)=xf(x)=x for all xx or f(x)=−xf(x)=-x for all xx.