#286

solved

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

f(x2+f(x)f(y))=f(x)2+xyf(x^2 + f(x)f(y)) = f(x)^2 + xy

for any reals x,yx,y.

Solution

Solution by maromex/jatloe/OronSH.


Let P(x,y)P(x, y) denote the given assertion f(x2+f(x)f(y))=f(x)2+xy.f(x^2+f(x)f(y)) = f(x)^2 + xy.


Claim: ff is injective.

Proof: For any real numbers aa and bb, if f(a)=f(b)f(a) = f(b), then by P(1,a)P(1, a) and P(1,b)P(1, b) we get f(1)2+a=f(1+f(1)f(a))=f(1+f(1)f(b))=f(1)2+bf(1)^2 + a = f(1+f(1)f(a)) = f(1+f(1)f(b)) = f(1)^2 + b, which means a=b.a=b. □\square


P(0,y)P(0, y) : f(f(0)f(y))=f(0)2f(f(0)f(y)) = f(0)^2 for all real yy. As ff is injective and f(0)2f(0)^2 is a constant in yy, f(0)f(y)f(0)f(y) must be a constant in yy. So either f(y)f(y) is constant or f(0)=0.f(0)=0. Constant functions ff do not work, so f(0)=0f(0)=0.

P(x,0):f(x2)=f(x)2.P(x,0) : f(x^2) = f(x)^2. This means P(1,0):f(1)=f(1)2.P(1, 0) : f(1) = f(1)^2. We have f(1)≠0f(1) \neq 0 because ff is injective, so f(1)=1f(1)=1 instead.

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

P(1,1+f(y)):f(1+(1+y))=1+(1+f(y))P(1, 1+f(y)): f(1 + (1+y)) = 1+(1+f(y)) which means

f(y+2)=f(y)+2.(⋆)f(y+2) = f(y) + 2. \tag{$\star$}

Plug in y=0y=0 into (⋆)(\star) to get f(2)=2.f(2)=2.

P(2,y):f(4+2f(y))=4+2y.P(2, y) : f(4 + 2f(y)) = 4 + 2y. By (⋆)(\star) we can get f(2f(y))=2y.f(2f(y)) = 2y.


Claim: ff is surjective.

Proof: f(2f(y))=2yf(2f(y)) = 2y takes all real values. □\square


P(x,y+2):f(x2+f(x)f(y+2))=f(x)2+x(y+2)P(x, y+2) : f(x^2+f(x)f(y+2)) = f(x)^2 + x(y+2), which by (⋆)(\star) is equivalent to f(x2+f(x)f(y)+2f(x))=f(x)2+xy+2x.f(x^2 + f(x)f(y) + 2f(x)) = f(x)^2 + xy + 2x.

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

Note that f(x)≠0f(x) \neq 0 for all x≠0x \neq 0 because ff is injective and f(0)=0.f(0)=0. So if x≠0x \neq 0, then, because ff is surjective, for any real aa there exists yy such that f(y)=a−x2f(x)f(y) = \frac{a-x^2}{f(x)} and therefore a=x2+f(x)f(y).a=x^2+f(x)f(y). We have

f(a+2f(x))−f(a)=2x=f(2f(x)) f(a+2f(x)) - f(a) = 2x = f(2f(x))

for any real aa and nonzero real x.x. For any nonzero real bb, plug in x=1+f(b2−1)x = 1+f\left(\frac{b}{2}-1\right) to get 2f(x)=b2f(x) = b and

f(a+b)−f(a)=f(b) f(a+b) - f(a) = f(b)

for all reals aa and nonzero reals b.b. This is clearly true for b=0b=0 as well, so ff is additive. (f(x+y)=f(x)+f(y)f(x+y) = f(x)+f(y) for all reals xx and yy).


Recall P(x,0):f(x2)=f(x)2.P(x,0) : f(x^2) = f(x)^2. This means f(x2)≥0f(x^2) \ge 0, so f(x)≥0f(x) \ge 0 for all x≥0.x \ge 0. So ff is bounded on some nontrivial interval and is additive, which means f(x)=cxf(x)=cx for some real c.c. Plugging this into the given equation, we find that only f(x)=xf(x)=x works.