#659

solved

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

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

for any reals x,yx,y.

Solution

Solution by benjaminchew13.


Let P(x,y)P(x, y) denote f(f(x2)+f(x)f(y))=xf(x)+xyf(f(x^{2}) + f(x)f(y)) = xf(x) + xy for all reals xx and yy.

P(1,y):f(f(1)f(y)+f(1))=y+f(1)P(1, y) : f(f(1)f(y) + f(1)) = y + f(1), so ff is bijective.

P(0,0):f(f(0)2+f(0))=0P(0, 0) : f(f(0)^{2} + f(0)) = 0.

P(0,f(0)2+f(0)):f(0)=0P(0, f(0)^{2} + f(0)) : f(0) = 0.

P(x,0):f(f(x2))=xf(x)P(x, 0) : f(f(x^{2})) = xf(x), so x→−xx \to -x gives xf(x)=−xf(−x)xf(x) = -xf(-x), and so ff is odd when x≠0x \neq 0, but since f(0)=0f(0) = 0 we have that ff is odd for all xx.

P(1,0):f(1)=1P(1, 0) : f(1) = 1.

P(−1,0):f(−1)=−1P(-1, 0) : f(-1) = -1.

P(x,−1):f(f(x2)−f(x))=xf(x)−xP(x, -1) : f(f(x^{2}) - f(x)) = xf(x) - x.

P(x,−f(x)):f(x2)=−f(x)f(−f(x))=f(f(f(x)2))P(x, -f(x)) : f(x^{2}) = -f(x)f(-f(x)) = f(f(f(x)^{2})).

So we have f(f(x)2)=x2f(f(x)^{2}) = x^{2} for all xx.

P(1,y):f(f(y)+1)=y+1P(1, y) : f(f(y) + 1) = y + 1.

P(−1,−y):f(1−f(−y))=y+1P(-1, -y) : f(1 - f(-y)) = y + 1.

So we have f(y)+1=1−f(−y)f(y) + 1 = 1 - f(-y) for all yy, and so ff is odd.

.

P(x,1):f(f(x2)+f(x))=xf(x)+xP(x, 1) : f(f(x^{2}) + f(x)) = xf(x) + x.

P(x,y)+P(x,−y)P(x, y) + P(x, -y) gives f(f(x2)+f(x)f(y))+f(f(x2)−f(x)f(y))=2xf(x)f(f(x^{2}) + f(x)f(y)) + f(f(x^{2}) - f(x)f(y)) = 2xf(x).

Taking x≠0x \neq 0 and yy such that f(x)f(y)=zf(x)f(y) = z, we have that

f(f(x2)+z)+f(f(x2)−z)=2f(f(x2))f(f(x^{2}) + z) + f(f(x^{2}) - z) = 2f(f(x^{2})).

f(x2)=0  ⟺  x2=0  ⟺  x=0f(x^{2}) = 0 \iff x^{2} = 0 \iff x = 0, but since we assumed that x≠0x \neq 0, we also have that f(x2)≠0f(x^{2}) \neq 0.

Therefore letting w=f(x2)w = f(x^{2}) gives f(w+z)+f(w−z)=2f(w)f(w + z) + f(w - z) = 2f(w) for all w≠0w \neq 0 and any zz.

But since ff is odd we have f(0+z)+f(0−z)=2f(0)f(0 + z) + f(0 - z) = 2f(0), so this also holds for w=0w = 0.

So we have that f(a+b)+f(a−b)=2f(a)f(a + b) + f(a - b) = 2f(a) for all aa and bb.

a=ba = b gives 2f(a)=f(2a)2f(a) = f(2a).

f(a+b)+f(a−b)=f((a+b)+(a−b))f(a + b) + f(a - b) = f((a + b) + (a - b)).

So we have that ff is additive, and f(2x)=2f(x)f(2x) = 2f(x).

But P(1,y):f(f(y)+1)=y+1P(1, y) : f(f(y) + 1) = y + 1, so y+1=f(f(y))+f(1)=f(f(y))+1y + 1 = f(f(y)) + f(1) = f(f(y)) + 1, and so f(f(x))=xf(f(x)) = x for all xx.

xf(x)=f(f(x2))=x2xf(x) = f(f(x^{2})) = x^{2}, so f(x)=xf(x) = x for all x≠0x \neq 0. But since this also holds for x=0x = 0, we have that f(x)≡xf(x) \equiv x, which can be easily verified to be a solution.