#772

solved

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

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

for any reals x,yx,y.

Solution

Solution by megarnie.


The answer is just f(x)=xf(x) = x and f≡0f\equiv 0. These work. Let P(x,y)P(x,y) be the given assertion. Assume ff is not identically zero. If we choose xx with f(x)≠0f(x) \ne 0, then the RHS is 2yf(x)2yf(x), which can take all real numbers, so ff is surjective.

P(1,y):f(2f(y))=2yf(1)P(1,y): f(2f(y)) = 2y f(1). If f(1)=0f(1) = 0, then f(2f(y))=0∀yf(2f(y)) = 0 \forall y, so ff is identically zero because it’s surjective. Therefore, f(1)≠0f(1) \ne 0. Now, if f(a)=f(b)f(a) = f(b), then f(2f(a))=f(2f(b))f(2f(a)) = f(2f(b)), so 2af(1)=2bf(1)  ⟹  a=b2a f(1) = 2b f(1) \implies a = b, so ff is injective.

P(x,0.5):f(xf(0.5)+f(0.5x))=f(x)P(x,0.5): f( x f(0.5) + f(0.5 x) ) = f(x), so xf(0.5)+f(0.5x)=xxf(0.5) + f(0.5 x) = x. Therefore f(0.5x)=x−xf(0.5)f(0.5 x) = x - xf(0.5), so setting x→2xx \to 2x gives f(x)=2(1−f(0.5))xf(x) = 2(1 - f(0.5)) x. Now, x=0.5x = 0.5 gives f(0.5)=1−f(0.5)f(0.5) = 1 - f(0.5), so f(0.5)=0.5f(0.5) = 0.5. Therefore, f(x)=xf(x) = x always, as desired.