Theorem (intermediate value theorem)

Suppose $f: [a,b]\to\R$ is continuous $f(a) < f(b)$. Then for all $\eta\in\big(f(a), f(b)\big)$, there exists $c\in[a,b]$ such that $f(c) = \eta$.

Proof

Similar results for $f(a) > f(b)$.