For real numbers $a$ and $b \neq 0$, $f(x)$ satisfies the following:
$$f(f(x))=af(x)+bx$$
(1) $f(x)$ is continuous and $0<a, b<\frac{1}{2}$, show that the equation $f(x)=x$ has a real root, and find the real root.
(2) If $a>0>b, a^2+b \leq 0$, show that $f(x)$ is discontinuous.
I understood that $f$ is one to one, and if $f$ is continuous, it would be monotone.
Any hints??