Does there exist real number $a, b$ and onto function $f : \mathbb{R} \to \mathbb{R}$ satisfying $$ f(f(x))=bxf(x)+a$$ for all real numbes $x$ ?
My attempt :
Let $f(x_1)=f(x_2)$, so $f(f(x_1))=f(f(x_2))$
so $bx_1f(x_1)=bx_2f(x_2)$
then $bx_1f(x_2)=bx_2f(x_2)$
For $b \not= 0$, we have $x_1=x_2$
Hence $f$ is one-to-one function.
Please suggest how to proceed.