#553

solved

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

f(f(x)2+f(x)f(y))=f(x)2+f(x)f(y)f(f(x)^2 + f(x)f(y)) = f(x)^2 + f(x)f(y)

for any reals x,yx,y.

Solution

Solution by jasperE3.


We solve

f(f(x)2+f(x)f(y))=f(x)2+f(x)f(y).f(f(x)^2+f(x)f(y))=f(x)^2+f(x)f(y).

Let ∅≠S⊆R\emptyset\ne S\subseteq\mathbb R have the closure property that

a,b∈S⇒a2+ab∈S.a,b\in S\Rightarrow a^2+ab\in S.

Put

T={a2+ab∣a,b∈S}.T=\{a^2+ab\mid a,b\in S\}.

Then all solutions are

f(x)={x,x∈T,g(x),x∉T,\boxed{ f(x)= \begin{cases} x,&x\in T,\\ g(x),&x\notin T, \end{cases}}

where g:R∖T→Sg:\mathbb R\setminus T\to S is arbitrary.

First, such functions work. Since T⊆ST\subseteq S, we have f(x)∈Sf(x)\in S for every xx. Hence

f(x)2+f(x)f(y)∈T,f(x)^2+f(x)f(y)\in T,

so

f(f(x)2+f(x)f(y))=f(x)2+f(x)f(y).f(f(x)^2+f(x)f(y))=f(x)^2+f(x)f(y).

Conversely, let ff be any solution and set

S=f(R).S=f(\mathbb R).

Then SS is nonempty, and if a,b∈Sa,b\in S, write a=f(x)a=f(x) and b=f(y)b=f(y). The equation gives

f(a2+ab)=a2+ab,f(a^2+ab)=a^2+ab,

so a2+ab∈Sa^2+ab\in S and SS has the required closure property. Moreover, for

T={a2+ab∣a,b∈S},T=\{a^2+ab\mid a,b\in S\},

the same identity shows f(t)=tf(t)=t for all t∈Tt\in T, while for x∉Tx\notin T we only need f(x)∈Sf(x)\in S. This gives exactly the stated family.