[Math] Intermediate value and monotonic implies continuous

analysiscontinuityreal-analysis

$I$ is an interval, $I^0$ is the interior of $I$. Let $f:I\to\Bbb R$ be a function with intermediate value property on $I$, and $f$ is monotonic on $I^0$. Does it follow that $f$ is continuous on $I$?

Best Answer

Hint: Let $x \in I$. Assume $f$ is increasing, since the decreasing case is similar.

We want to show that $\lim_{h\rightarrow 0} f(x+h) = f(x)$. By the intermediate value property, $\forall \epsilon > 0 \exists h_0, h_1 $ such that $f(x+h_0) - f(x) = \epsilon$ and $f(x)-f(x-h_1) = \epsilon$ (note that possibly only one of the $h_i$ exist if $x$ is an end point of I). Can you think what to do next?

Related Question