#29

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


Let P(x,y)P(x,y) be the assertion f(x+f(y)2)=f(x)+yf(y)f\left(x+f(y)^2\right)=f(x)+yf(y).

If f(a)=f(b)≠0f(a)=f(b)\ne0 then P(0,a)P(0,a) and P(0,b)P(0,b) imply a=ba=b.

Now f(x)=0\boxed{f(x)=0} is a solution, else there is some jj with f(j)≠0f(j)\ne0. Also, ff is a solution iff −f-f is, so WLOG f(1)≥0f(1)\ge0.

P(j,0)⇒f(j+f(0)2)=f(j)≠0⇒j+f(0)2=j⇒f(0)=0P(j,0)\Rightarrow f\left(j+f(0)^2\right)=f(j)\ne0\Rightarrow j+f(0)^2=j\Rightarrow f(0)=0.

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

In particular, f(f(1)2)=f(1)f\left(f(1)^2\right)=f(1). If f(1)≠0f(1)\ne0 then f(1)2=1f(1)^2=1, so f(1)=1f(1)=1.


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

Since f(0)=0f(0)=0, j≠0j\ne0 and so jf(j)≠0jf(j)\ne0.

P(1,j)⇒f(1+f(j)2)=jf(j)=f(f(j)2)P(1,j)\Rightarrow f\left(1+f(j)^2\right)=jf(j)=f\left(f(j)^2\right).

Since f(1+f(j)2)=f(f(j)2)≠0f\left(1+f(j)^2\right)=f\left(f(j)^2\right)\ne0, we have 1+f(j)2=f(j)21+f(j)^2=f(j)^2, contradiction.


Case 2: f(1)=1f(1)=1

P(x,1)⇒f(x+1)=f(x)+1P(x,1)\Rightarrow f(x+1)=f(x)+1.

P(x,y+1)⇒f(x+f(y)2+2f(y))+1=f(x+f(y)2+2f(y)+1)=f(x)+(y+1)(f(y)+1)=f(x+f(y)2)+y+f(y)+1,P(x,y+1)\Rightarrow f\left(x+f(y)^2+2f(y)\right)+1=f\left(x+f(y)^2+2f(y)+1\right)=f(x)+(y+1)(f(y)+1)=f\left(x+f(y)^2\right)+y+f(y)+1,

so f(x+2f(y))=f(x)+y+f(y)f(x+2f(y))=f(x)+y+f(y).

Take y↦z+2f(y)y\mapsto z+2f(y), we have:

f(x)+z+f(z)+y+3f(y)=f(x)+z+2f(y)+f(z+2f(y))=f(x+2f(z+2f(y)))=f(x+2f(z)+2y+2f(y))=f(x+2y)+z+f(z)+y+f(y),f(x)+z+f(z)+y+3f(y)=f(x)+z+2f(y)+f(z+2f(y))=f(x+2f(z+2f(y)))=f(x+2f(z)+2y+2f(y))=f(x+2y)+z+f(z)+y+f(y),

which simplifies as f(x+2y)=f(x)+2f(y)f(x+2y)=f(x)+2f(y).

Set x=0x=0, this is f(2y)=2f(y)f(2y)=2f(y), so f(x+2y)=f(x)+f(2y)f(x+2y)=f(x)+f(2y) implying that ff is additive in general.

From f(x+2f(y))=f(x)+y+f(y)f(x+2f(y))=f(x)+y+f(y) we have 2f(f(y))=y+f(y)2f(f(y))=y+f(y) for all yy, and from the original equation f(f(x)2)=xf(x)f\left(f(x)^2\right)=xf(x). In the latter, take x↦x+yx\mapsto x+y and use additivity:

xf(x)+yf(y)+xf(y)+yf(x)=f(f(x+y)2)=f(f(x)2)+2f(f(x)f(y))+f(f(y)2)=xf(x)+yf(y)+f(2f(x)f(y)),xf(x)+yf(y)+xf(y)+yf(x)=f\left(f(x+y)^2\right)=f\left(f(x)^2\right)+2f(f(x)f(y))+f\left(f(y)^2\right)=xf(x)+yf(y)+f(2f(x)f(y)),

so f(2f(x)f(y))=xf(y)+yf(x)f(2f(x)f(y))=xf(y)+yf(x).

Take y↦f(y)y\mapsto f(y), we have:

f(yf(x))+xf(y)+yf(x)2=f(yf(x))+f(f(x)f(y))=f(f(x)(y+f(y)))=xf(f(y))+f(x)f(y)=xy+xf(y)2+f(x)f(y),f(yf(x))+\frac{xf(y)+yf(x)}2=f(yf(x))+f(f(x)f(y))=f(f(x)(y+f(y)))=xf(f(y))+f(x)f(y)=\frac{xy+xf(y)}2+f(x)f(y),

so f(yf(x))=xy−yf(x)2+f(x)f(y)f(yf(x))=\frac{xy-yf(x)}2+f(x)f(y).

Set x↦2f(x)−xx\mapsto2f(x)-x, noting that f(2f(x)−x)=2f(f(x))−f(x)=xf(2f(x)-x)=2f(f(x))-f(x)=x, we have:

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

Let g(x)=f(x)−xg(x)=f(x)-x, it satisfies the system g(x+y)=g(x)+g(y)g(x+y)=g(x)+g(y), g(xy)=xg(y)+yg(x)g(xy)=xg(y)+yg(x), and g(g(x))=−32g(x)g(g(x))=-\frac32g(x). Using these:

−3xg(x)=(2)−32g(x2)=(3)g(g(x2))=(2)g(2xg(x))=(1)2g(xg(x))=(2)2xg(g(x))+2g(x)2=(3)−3xg(x)+2g(x)2\begin{aligned} -3xg(x)&\overset{(2)}=-\frac32g\left(x^2\right)\\ &\overset{(3)}=g\left(g\left(x^2\right)\right)\\ &\overset{(2)}=g\left(2xg(x)\right)\\ &\overset{(1)}=2g\left(xg(x)\right)\\ &\overset{(2)}=2xg(g(x))+2g(x)^2\\ &\overset{(3)}=-3xg(x)+2g(x)^2 \end{aligned}

and we conclude g(x)=0g(x)=0, i.e. f(x)=x\boxed{f(x)=x} for all xx.

Solution −f-f is f(x)=−x\boxed{f(x)=-x}.