#343

solved

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

f(xf(x)+f(y)2)=x2+y2f(xf(x) + f(y)^2) = x^2 + y^2

for any reals x,yx,y.

Solution

Solution by iamthehazard.


The answer is f(x)=xf(x)=x only, which clearly works. Let P(x,y)P(x,y) denote the assertion.

If f(t)=0f(t)=0, compare P(0,t)P(0,t) and P(t,t)P(t,t) to get t2=2t2t^2=2t^2, hence t=0t=0. Then from P(0,0)P(0,0), we get that f(f(0)2)=0f(f(0)^2)=0, hence f(0)2=0f(0)^2=0 and f(0)=0f(0)=0.

Now suppose that f(a)=f(b)f(a)=f(b) but a≠ba \neq b. Compare P(0,a)P(0,a) with P(0,b)P(0,b) to get that a2=b2a^2=b^2, hence b=−ab=-a. Then compare P(a,1)P(a,1) with P(−a,1)P(-a,1) to get f(−af(a)+f(1)2)=f(af(a)+f(1))2f(-af(a)+f(1)^2)=f(af(a)+f(1))^2. Since a,f(a)≠0a,f(a) \neq 0, we can’t have −af(a)+f(1)2=af(a)+f(1)2-af(a)+f(1)^2=af(a)+f(1)^2, but since f(1)2≠0f(1)^2 \neq 0, we can’t have −af(a)+f(1)2=−(af(a)+f(1)2)-af(a)+f(1)^2=-(af(a)+f(1)^2) either. Therefore ff is injective.

Comparing P(x,0)P(x,0) and P(0,x)P(0,x) therefore gives us xf(x)=f(x)2xf(x)=f(x)^2. If x≠0x \neq 0, then f(x)≠0f(x) \neq 0 and we have f(x)=xf(x)=x. We already know that f(0)=0f(0)=0, so combining these yields f(x)=xf(x)=x as the only solution.