Before we begin, let’s just agree to think about only the case where
\(f'(x)\gt 0\) on the interval
\((a,b)\text{.}\) The other case (where
\(f'(x)\lt 0\)) ends up being the exact same argument, with some changes in signs and directions of inequalities. So we’ll say
\(f'(x)\gt 0\) for all
\(x\)-values in the interval
\((a,b)\text{.}\)
Let’s pick two arbitrary
\(x\)-values from the interval
\((a,b)\text{.}\) Call them
\(x_1\) and
\(x_2\text{,}\) and we’ll make sure that we name them in a way where
\(x_1\lt x_2\text{.}\) Now,
\(f\) must be continuous on
\([x_1,x_2]\) and differentiable on
\((x_1, x_2)\text{.}\) We also know that
\(f'(x)\gt 0\) for every
\(x\) in the interval (
\(x_1\lt x\lt x_2\)).
The Mean Value Theorem says that there is some \(x=c\) in \((x_1,x_2)\) with
\begin{equation*}
f'(c)=\frac{f(x_2)-f(x_1)}{x_2-x_1}\text{.}
\end{equation*}
Equivalently, this means that
\begin{equation*}
f'(c)(x_2-x_1) = f(x_2)-f(x_1)\text{.}
\end{equation*}
Notice that \(f'(c)\gt 0\) (since the derivative is positive everywhere in the interval) and \((x_2-x_1)\gt 0\) (by the way we named these \(x\)-values). This means that \(f'(c)(x_2-x_1)\gt 0\text{,}\) and so \((f(x_2)-f(x_1))\gt 0\) as well.
So notice what just happened: we arbitrarily chose
\(x\)-values
\(x_1\) and
\(x_2\) and noticed that for any of these pairs where
\(x_1\lt x_2\text{,}\) we found that
\(f(x_1)\lt f(x_2)\text{.}\) This is exactly what it means for
\(f\) to be increasing on the interval
\((a,b)\) (based on
Definition 4.1.4).