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.
Hint: First, consider $w$ such that $f(w)=0$ and see what happens when you iterate $f$ on $w$. Then consider $v$ such that $f(v)=-1/b$ and see what happens when you iterate $f$ on $v$.
A full solution is hidden below.
${}$