Suppose $p$ is an attracting fixed point under a continuous map $f$ and that the basin of attraction of $p$ is the interval $(a,b)$. How do I show that $f(a,b) \subset (a,b)$?
I said that since $f$ is continuous, we can involve derivatives. (Edit: apparently that's false, and I don't know what I am talking about...) Since $p$ is an attracting fixed point, $|f'(p)| < 1$. So $\frac{|f(x)-f(y)|}{|x-y|}<1$ for every $x,y \in (a,b)$. This implies $f(a,b) \subset (a,b)$.
Is this correct?