#189

solved

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

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

for any reals x,yx,y.

Known appearances

Solution

Solution by maromex/MathLuis.


Let P(x,y)P(x,y) denote the given assertion f(x2+yf(y))=xf(x)+y2.f(x^2+yf(y)) = xf(x)+y^2.

P(x,0):f(x2)=xf(x)P(x,0) : f(x^2) = xf(x).

P(0,y):f(yf(y))=y2.P(0, y) : f(yf(y)) = y^2. This means f(f(y2))=y2f(f(y^2)) = y^2, and therefore f(f(x))=xf(f(x)) = x for all x≥0.x \ge 0.

Taking ff of both sides of P(x,0)P(x,0), we get x2=f(xf(x)).x^2 = f(xf(x)).

We can get, for all x≥0x \ge 0, x2=f(xf(x))=f(f(x)f(f(x)))=f(x)2.x^2 = f(xf(x)) = f(f(x)f(f(x))) = f(x)^2. So f(x)∈{x,−x}f(x) \in \{x, -x\} for all x≥0.x \ge 0.

P(−x,0):f(x2)=−xf(−x).P(-x, 0) : f(x^2) = -xf(-x). This means xf(x)=−xf(−x)xf(x) = -xf(-x), so f(−x)=−f(x)f(-x) = -f(x) for all real xx, and so

f(x)∈{x,−x}f(x) \in \{x,-x\}

for all real x.x.

Case 1: f(x)=xf(x) = x for all real xx

This function works.

Case 2: f(x0)≠x0f(x_0) \neq x_0 for some real x0x_0

We must have f(x0)=−x0≠0.f(x_0) = -x_0 \neq 0.

P(x,x0):f(x2−x02)=xf(x)+x02P(x, x_0) : f(x^2 - x_0^2) = xf(x) + x_0^2. As f(x)2=x2f(x)^2 = x^2 for all real xx, this means

x4=x2f(x)2=(f(x2−x02)−x02)2=f(x2−x02)2−2f(x2−x02)x02+x04=(x2−x02)2+x04−2x02f(x2−x02)x4=x4+x02(−2x2+2x02−2f(x2−x02))0=−2x2+2x02−2f(x2−x02)f(x2−x02)=−(x2−x02).\begin{align*} x^4 = x^2f(x)^2 &= (f(x^2-x_0^2) - x_0^2)^2 \\ &= f(x^2-x_0^2)^2 - 2f(x^2-x_0^2)x_0^2 + x_0^4 \\ &= (x^2 - x_0^2)^2 + x_0^4 - 2x_0^2f(x^2-x_0^2) \\ x^4 &= x^4 + x_0^2(-2x^2 + 2x_0^2 - 2f(x^2-x_0^2)) \\ 0 &= -2x^2 + 2x_0^2 - 2f(x^2-x_0^2) \\ f(x^2-x_0^2) &= -(x^2 - x_0^2) \end{align*}.

Therefore, f(x)=−xf(x) = -x for all x≥0≥−x02.x \ge 0 \ge -x_0^2. As f(−x)=−f(x)f(-x) = -f(x), we have f(x)=−xf(x) = -x for all real x.x. This function works.

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