If the following data are given, prove that $f(a) \leq f(x) \leq f(b) $
f is differentiable on [a,b] and f'(x) $ \geq 0 \forall x \in (a,b) $
Is the following argument correct?
$f'(x) \geq 0 \implies f $ is increasing on (a,b) $ \implies f(a) \leq f(b) $
Let $x_0 \in (a,b) $
Since f is increasing $f(a) \leq f(x_0) \leq f(b) $ $$ \therefore \forall x \in (a,b) f(a) \leq f(x) \leq f(b) $$
It's continuous on $(-1,1)$ but not on $[-1,1]$
– Darth Geek Aug 11 '14 at 16:02