#300

solved

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

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

for any reals x,yx,y.

Solution

Solution by maromex.


Let P(x,y)P(x,y) be the given assertion f(x2+xy)=xf(x)+f(x)f(y).f(x^2+xy) = xf(x) + f(x)f(y).

P(0,y):f(0)=f(0)f(y)P(0,y) : f(0) = f(0)f(y), which means either f(y)f(y) is constant or f(0)=0.f(0)=0. The only constant function that works is f(x)=0f(x)=0, so we have f(0)=0f(0)=0 anyway.

P(x,−x):0=xf(x)+f(x)f(−x)P(x,-x) : 0=xf(x)+f(x)f(-x). This means that for every real xx,

f(x)=0 or f(−x)=−x.f(x)=0 \text{ or }f(-x)=-x.

Case 1: f(x0)=0f(x_0) = 0 for some real x0≠0x_0 \neq 0

P(x0,tx0−x0):f(t)=0.P\left(x_0,\frac{t}{x_0}-x_0\right): f(t) = 0. So f(x)=0f(x)=0 for all real xx. This function works.

Case 2: f(x)≠0f(x) \neq 0 for all nonzero real xx

We have f(−x)=−xf(-x) = -x for all nonzero real xx, which means f(x)=xf(x)=x for all nonzero real x.x. We have f(0)=0f(0)=0 too, so f(x)=xf(x) = x for all real x.x. This function works.

Combining cases, the functions that work are f(x)=0f(x)=0 for all real xx and f(x)=xf(x)=x for all real x.x.