If $f:\Bbb R\to \Bbb R$ and $f\circ f$ has an unique fixed point, prove $f$ has an unique fixed point too.
I've tried contradiction but only proved that $f(x)$ has at most one fixed point:
Suppose for contradiction that $f(x)$ has two different fixed point $a$ and $b$, thus we have $f(f(a))=f(a)=a$ and $f(f(b))=f(b)=b$, a contradiction.
Any help will be appreciated!