I was reviewing for my Real Analysis 1 exam and I found this theorem:
Let $f : I \to \mathbb R$ be a function, where $I\subseteq\mathbb R$ is an interval. Suppose that $f$ is monotonic in $I$, then the following statements are equivalent:
- $f$ is continuous in $I$
- $f(I)$ is an interval
I am almost finished with this exam but I never used this equivalence in practice, my question is: can you give me some examples where studying the image of an interval is easier or more useful than directly checking the limits of the function, to know when a function is continuous?