#265

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


The solutions are

f(x)=0,f(x)=x,f(x)=12.\boxed{f(x)=0},\qquad \boxed{f(x)=x},\qquad \boxed{f(x)=\frac12}.

First,

P(0,0):f(0)=2f(0)2,P(0,0):\qquad f(0)=2f(0)^2,

so f(0)∈{0,12}f(0)\in\{0,\frac12\}.

Suppose f(0)=0f(0)=0. Then

f(x2)=f(x)2.(1)f(x^2)=f(x)^2. \tag{1}

If f(a)=f(b)≠0f(a)=f(b)\ne0, comparing P(a,y)P(a,y) and P(b,y)P(b,y) gives that ff has period a2−b2a^2-b^2. If this period were nonzero, (1) would imply f(t)≥0f(t)\ge0 for all tt, while

P(x,−x2f(x))P\left(x,-\frac{x^2}{f(x)}\right)

would give a negative value whenever f(x)≠0f(x)\ne0, a contradiction. Hence a2=b2a^2=b^2. Thus

f(a)=f(b)≠0  ⟹  a=±b.(2)f(a)=f(b)\ne0\implies a=\pm b. \tag{2}

If f(1)=1f(1)=1, then P(1,y)P(1,y) gives f(y+1)=f(y)+1f(y+1)=f(y)+1. Comparing P(x,y+1)P(x,y+1) and P(x,y)P(x,y) gives

f(t+f(x))=f(t)+f(x)f(t+f(x))=f(t)+f(x)

for every tt whenever f(x)≠0f(x)\ne0. In particular, f(f(x))=f(x)f(f(x))=f(x) for such xx, so (2) gives f(x)=±xf(x)=\pm x. The negative option is impossible, because if f(k)=−kf(k)=-k with k≠0k\ne0, then P(k,k)P(k,k) gives 0=2k20=2k^2. A nonzero root is also impossible: if f(k)=0f(k)=0 with k≠0k\ne0, then comparing P(x,k)P(x,k) and P(x,0)P(x,0) for xx with f(x)≠0f(x)\ne0 forces k=−2k=-2 from x=1x=1, contradicting f(4)=4f(4)=4. Therefore f(x)=xf(x)=x.

If f(1)=0f(1)=0, then P(x,1)P(x,1) and (2) imply f(x)∈{0,−2x2}f(x)\in\{0,-2x^2\} for every xx. If f(k)≠0f(k)\ne0, then P(k,k)P(k,k) gives a positive value 8k48k^4, impossible for a function whose values are only 00 and nonpositive numbers. Hence f≡0f\equiv0.

Now suppose f(0)=12f(0)=\frac12. From P(1,0)P(1,0), f(1)∈{0,12}f(1)\in\{0,\frac12\}. If f(1)=0f(1)=0, then

P(0,2):f(2)=−12,P(0,4):f(4)=−32,P(0,2): f(2)=-\frac12,\qquad P(0,4): f(4)=-\frac32,

but P(2,0)P(2,0) gives f(4)=0f(4)=0, a contradiction. Thus f(1)=12f(1)=\frac12.

Then P(1,y)P(1,y) and P(0,y)P(0,y) give

f(1+y2)=14+12f(y)=f(y2),f\left(1+\frac y2\right)=\frac14+\frac12f(y)=f\left(\frac y2\right),

so ff is periodic with period 11. Also

P(x,0):f(x2)=f(x)2+12f(x)≥−116.P(x,0):\qquad f(x^2)=f(x)^2+\frac12f(x)\ge -\frac1{16}.

By periodicity, ff is bounded below by −116-\frac1{16} on all of R\mathbb R. If f(x)≥anf(x)\ge a_n for all xx, then P(0,2x)P(0,2x) gives

f(x)=14+12f(2x)≥14+12an.f(x)=\frac14+\frac12f(2x)\ge \frac14+\frac12a_n.

Starting with a1=−1/16a_1=-1/16 and iterating, an→1/2a_n\to1/2, so f(x)≥1/2f(x)\ge1/2 for all xx.

Finally,

P(x,−x2f(x))P\left(x,-\frac{x^2}{f(x)}\right)

is valid because f(x)>0f(x)>0, and gives

12=f(x)2+f(x)f(−x2f(x))≥14+14.\frac12=f(x)^2+f(x)f\left(-\frac{x^2}{f(x)}\right)\ge\frac14+\frac14.

Equality forces f(x)=1/2f(x)=1/2 for every xx. All three listed functions work.