#583

solved

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

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

for any reals x,yx,y.

Solution

Solution by jasperE3/sqing-inequality-BUST/ja..


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

If f(a)=f(b)f(a)=f(b):

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

P(b,1)⇒f(f(a)2+f(a))=b2+f(a)f(1)P(b,1)\Rightarrow f\left(f(a)^2+f(a)\right)=b^2+f(a)f(1)

so a2=b2a^2=b^2.

Claim: f(x)=xf(x)=x for all x≥0x\ge0.

P(0,x)⇒f(f(0)2+f(0))=f(0)f(x)P(0,x)\Rightarrow f\left(f(0)^2+f(0)\right)=f(0)f(x), if f(0)≠0f(0)\ne0 then ff is constant, but no constant solutions exist. Therefore we must have f(0)=0f(0)=0.

Similarly, if f(k)=0f(k)=0 for any kk then k=0k=0.

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

From this equation, we obtain two things: that [0,∞)⊆f(R)[0,\infty)\subseteq f(\mathbb R) and that:

f(x4)=f(f(f(x)2)2)=f(x)4.f\left(x^4\right)=f\left(f\left(f(x)^2\right)^2\right)=f(x)^4.

Substituting x=1x=1, the last equation turns into f(1)4=f(1)f(1)^4=f(1), and since f(1)≠0f(1)\ne0, f(1)=1f(1)=1.

P(1,x)⇒f(f(x)+1)=f(x)+1P(1,x)\Rightarrow f(f(x)+1)=f(x)+1, and since f(x)+1f(x)+1 can take any value ≥1\ge1 we have f(x)=xf(x)=x for all x≥1x\ge1.

For 0<x<10<x<1 we have, for large enough yy, y>1y>1 and xy>1xy>1 and so:

P(x,y)⇒f(x)2+xy=x2+yf(x)P(x,y)\Rightarrow f(x)^2+xy=x^2+yf(x), varying yy we find that f(x)=xf(x)=x.

So whether x=0x=0, 0<x<10<x<1, or x≥1x\ge1 we have f(x)=xf(x)=x.

Now f(f(x)2)=x2f\left(f(x)^2\right)=x^2 becomes f(x)2=x2f(x)^2=x^2 and so f(x)∈{−x,x}f(x)\in\{-x,x\}.

For x≤0x\le0:

P(−1,x)⇒f(−1)f(x)=−xP(-1,x)\Rightarrow f(-1)f(x)=-x, and since f(−1)∈{1,−1}f(-1)\in\{1,-1\} this gives us the two solutions f(x)=∣x∣\boxed{f(x)=\lvert x\rvert} (which indeed satisfies the equation) and f(x)=x\boxed{f(x)=x}.