Replacing
\(f\) by
\(x \mapsto f(x)-\lambda x\text{,}\) it suffices to prove the theorem in the case
\(\lambda=0\text{.}\) Replacing
\(f\) by
\(-f\) if necessary, we may further assume that
\(f'(a) \lt 0 \lt f'(b)\text{.}\)
Since
\(f\) is differentiable at
\(a\text{,}\) Carathéodory’s Criterion (
Proposition 5.1.4) gives a function
\(\varphi_a\text{,}\) continuous at
\(a\text{,}\) such that
\begin{equation*}
f(x)-f(a)=\varphi_a(x)(x-a)
\end{equation*}
for all \(x \in [a,b]\text{,}\) with \(\varphi_a(a)=f'(a) \lt 0\text{.}\) Hence \(\varphi_a(x) \lt 0\) for all \(x \gt a\) sufficiently close to \(a\text{.}\) Since also \(x-a \gt 0\text{,}\) it follows that \(f(x)-f(a) \lt 0\) for such \(x\text{.}\) Therefore \(a\) is not a minimum point of \(f\) on \([a,b]\text{.}\)
A similar argument at \(b\) shows that \(b\) is not a minimum point either. Indeed, Carathéodory’s Criterion gives a function \(\varphi_b\text{,}\) continuous at \(b\text{,}\) such that
\begin{equation*}
f(x)-f(b)=\varphi_b(x)(x-b)
\end{equation*}
for all \(x \in [a,b]\text{,}\) with \(\varphi_b(b)=f'(b) \gt 0\text{.}\) Thus \(\varphi_b(x) \gt 0\) for all \(x \lt b\) sufficiently close to \(b\text{.}\) Since then \(x-b \lt 0\text{,}\) we obtain \(f(x)-f(b) \lt 0\text{.}\) Hence \(b\) is not a minimum point of \(f\text{.}\)
By the Extreme Value Theorem (
Theorem 4.4.4),
\(f\) attains its minimum value at some point
\(c \in [a,b]\text{.}\) Thus, we must have
\(c \in (a,b)\text{.}\) The Critical Point Theorem (
Proposition 5.3.1) then gives
\(f'(c)=0\text{,}\) as required.