#305

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3.


f(x2+xy)=f(x)2+f(x)f(y)f\left(x^2+xy\right)=f(x)^2+f(x)f(y).

P(0,0)⇒f(0)=2f(0)2⇒f(0)∈{0,12}P(0,0)\Rightarrow f(0)=2f(0)^2\Rightarrow f(0)\in\left\{0,\frac12\right\}.

P(1,0)⇒f(1)=f(1)2+f(1)f(0)⇒f(1)∈{0,1,12}P(1,0)\Rightarrow f(1)=f(1)^2+f(1)f(0)\Rightarrow f(1)\in\left\{0,1,\frac12\right\}.

If f(1)=0f(1)=0:

P(1,x−1)⇒f(x)=0P(1,x-1)\Rightarrow\boxed{f(x)=0} which fits.

If f(1)=1f(1)=1:

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

P(x,y+1),P(x,y)⇒f(x2+xy+x)−f(x2+xy)=f(x)P(x,y+1),P(x,y)\Rightarrow f\left(x^2+xy+x\right)-f\left(x^2+xy\right)=f(x).

Take y↦y−x2xy\mapsto\frac{y-x^2}x, we have:

f(x+y)=f(x)+f(y)f(x+y)=f(x)+f(y)

for all x≠0x\ne0, but also for x=0x=0.

P(x,0)⇒f(x2)=f(x)2P(x,0)\Rightarrow f\left(x^2\right)=f(x)^2, so ff is bounded below on a nontrivial interval and therefore linear. The only solution in this case is f(x)=x\boxed{f(x)=x}.

If f(1)=12f(1)=\frac12.

P(1,0)⇒f(0)=12P(1,0)\Rightarrow f(0)=\frac12.

P(0,x)⇒f(x)=12P(0,x)\Rightarrow\boxed{f(x)=\frac12}.

All are solutions.