Skip to main content

Section 5.4 Applications

The Mean Value Theorem turns derivative information into comparisons of function values. This lets us read off monotonicity, detect local extrema, and prove qualitative facts about derivatives themselves. At the end of the section we include a brief preview of the Fundamental Theorem of Calculus, assuming the usual properties of the definite integral.

Subsection 5.4.1 Monotonicity

Proof.

We prove the increasing case; the decreasing case follows by applying the same argument to \(-f\text{.}\) First suppose that \(f\) is increasing on \(I\text{.}\) Fix \(c \in I\text{.}\) By \(\text{Carath\'{e}odory}\)’s Criterion (Proposition 5.1.4), there exists a function \(\varphi \colon I \to \R\text{,}\) continuous at \(c\text{,}\) such that
\begin{equation*} f(x)-f(c)=\varphi(x)(x-c) \end{equation*}
for all \(x \in I\text{,}\) and \(\varphi(c)=f'(c)\text{.}\) For \(x \neq c\text{,}\) monotonicity of \(f\) gives
\begin{equation*} \varphi(x)=\frac{f(x)-f(c)}{x-c} \ge 0. \end{equation*}
Since \(\varphi\) is continuous at \(c\text{,}\) it follows that \(f'(c)=\varphi(c) \ge 0\text{.}\)
Conversely, suppose that \(f'(x) \ge 0\) for every \(x \in I\text{.}\) Let \(x_1,x_2 \in I\) with \(x_1 \lt x_2\text{.}\) By the Mean Value Theorem (Theorem 5.3.3), applied to the restriction of \(f\) to \([x_1,x_2]\text{,}\) there exists \(c \in (x_1,x_2)\) such that
\begin{equation*} f(x_2)-f(x_1)=f'(c)(x_2-x_1). \end{equation*}
Since \(f'(c) \ge 0\) and \(x_2-x_1 \gt 0\text{,}\) we have \(f(x_2)-f(x_1) \ge 0\text{.}\) Hence \(f(x_1) \le f(x_2)\text{,}\) so \(f\) is increasing on \(I\text{.}\)

Proof.

Again we prove only the increasing case. Let \(x_1,x_2 \in I\) with \(x_1 \lt x_2\text{.}\) By the Mean Value Theorem (Theorem 5.3.3), there exists \(c \in (x_1,x_2)\) such that
\begin{equation*} f(x_2)-f(x_1)=f'(c)(x_2-x_1). \end{equation*}
Since \(f'(c) \gt 0\) and \(x_2-x_1 \gt 0\text{,}\) we get \(f(x_2)-f(x_1) \gt 0\text{.}\) Therefore \(f\) is strictly increasing on \(I\text{.}\)

Example 5.4.3.

The converse of Proposition 5.4.2 is false. The function \(f(x)=x^3\) is strictly increasing on \(\R\text{,}\) but \(f'(0)=0\text{.}\)
The graph of y equals x cubed rises from left to right and has a horizontal tangent at the origin.
Figure 5.4.4. The function \(x^3\) is strictly increasing even though its tangent is horizontal at \(0\text{.}\)

Proof.

By Proposition 5.4.1, \(f\) is both increasing and decreasing on \(I\text{.}\) Hence \(f\) is constant on \(I\text{.}\)
The fact that the domain is an interval is essential here. For example, define \(f \colon (-1,0)\cup(0,1) \to \R\) by
\begin{equation*} f(x)=\begin{cases} -1 & \text{if } x \lt 0,\\ 1 & \text{if } x \gt 0. \end{cases} \end{equation*}
Then \(f'(x)=0\) for every point of its domain, but \(f\) is not constant. What remains true in general is that \(f\) is constant on each interval component of its domain.

Subsection 5.4.2 Derivative Tests for Extrema

The sign of the derivative often reveals where extrema occur. The first derivative test uses only the sign pattern of \(f'\text{.}\) The second derivative test packages the same idea into a convenient condition at a single point.

Proof.

We prove the first statement. Let \(x \in (a,c)\text{.}\) The function \(f\) is continuous on \([x,c]\) and differentiable on \((x,c)\text{,}\) so the Mean Value Theorem (Theorem 5.3.3) gives a point \(u_x \in (x,c)\) such that
\begin{equation*} f(c)-f(x)=f'(u_x)(c-x). \end{equation*}
Since \(f'(u_x) \ge 0\) and \(c-x \gt 0\text{,}\) we obtain \(f(c)-f(x) \ge 0\text{,}\) that is, \(f(x) \le f(c)\text{.}\)
Similarly, if \(y \in (c,b)\text{,}\) then applying the Mean Value Theorem to \([c,y]\) gives \(v_y \in (c,y)\) such that
\begin{equation*} f(y)-f(c)=f'(v_y)(y-c). \end{equation*}
Since \(f'(v_y) \le 0\) and \(y-c \gt 0\text{,}\) we get \(f(y) \le f(c)\text{.}\) Therefore \(f(x) \le f(c)\) for every \(x \in (a,b)\text{,}\) so \(c\) is a maximum point of \(f\text{.}\) The strict case is identical, with \(\ge\) replaced by \(\gt\) and \(\le\) replaced by \(\lt\text{.}\) The second statement follows by applying the first to \(-f\text{.}\)

Proof.

We prove the first statement. Apply \(\text{Carath\'{e}odory}\)’s Criterion (Proposition 5.1.4) to \(f'\) at \(x_0\text{.}\) Then there exists a function \(\psi\text{,}\) continuous at \(x_0\text{,}\) such that
\begin{equation*} f'(x)-f'(x_0)=\psi(x)(x-x_0) \end{equation*}
for all \(x\) near \(x_0\text{,}\) and \(\psi(x_0)=f''(x_0) \gt 0\text{.}\) Since \(f'(x_0)=0\text{,}\) this becomes
\begin{equation*} f'(x)=\psi(x)(x-x_0). \end{equation*}
Because \(\psi\) is continuous at \(x_0\) and \(\psi(x_0) \gt 0\text{,}\) there exists \(\delta \gt 0\) such that \(\psi(x) \gt 0\) whenever \(|x-x_0| \lt \delta\text{.}\) Hence \(f'(x) \lt 0\) on \((x_0-\delta,x_0)\) and \(f'(x) \gt 0\) on \((x_0,x_0+\delta)\text{.}\) By the First Derivative Test (Proposition 5.4.6), \(x_0\) is a strict local minimum of \(f\text{.}\) The second statement follows by applying the first to \(-f\text{.}\)

Subsection 5.4.3 Darboux’s Theorem and a Preview of the FTC

Proof.

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{,}\) \(\text{Carath\'{e}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, \(\text{Carath\'{e}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{.}\)
Since differentiability implies continuity, \(f\) is continuous on \([a,b]\text{.}\) By the Extreme Value Theorem (Theorem 4.4.4), \(f\) attains its minimum at some point \(c \in [a,b]\text{.}\) Neither endpoint is a minimum point, so \(c \in (a,b)\text{.}\) The Critical Point Theorem (Proposition 5.3.1) then gives \(f'(c)=0\text{,}\) as required.
Darboux’s theorem shows that derivatives have the intermediate value property, even though derivatives need not be continuous. We now record one further application of the earlier results. This final part depends on the usual properties of the definite integral, which we have not yet developed systematically, so it should be viewed as a preview.

Proof.

By the Extreme Value Theorem (Theorem 4.4.4), \(f\) attains an absolute minimum \(m\) and an absolute maximum \(M\) on \([a,b]\text{.}\) Hence
\begin{equation*} m \le f(x) \le M \quad \text{for all } x \in [a,b]. \end{equation*}
Integrating gives
\begin{equation*} m(b-a) \le \int_a^b f(x)\,dx \le M(b-a). \end{equation*}
Since \(b-a \gt 0\text{,}\)
\begin{equation*} m \le \frac{1}{b-a}\int_a^b f(x)\,dx \le M. \end{equation*}
Because \(f\) is continuous on \([a,b]\text{,}\) the Intermediate Value Theorem (Theorem 4.4.8) yields some \(c \in [a,b]\) such that
\begin{equation*} f(c)=\frac{1}{b-a}\int_a^b f(x)\,dx. \end{equation*}
Multiplying by \(b-a\) gives the result.

Remark 5.4.10.

The same identity holds with reversed limits. If \(b \lt a\) and \(f\) is continuous on \([b,a]\text{,}\) the Integral Mean Value Theorem gives a point \(c \in [b,a]\) such that
\begin{equation*} \int_a^b f(t)\,dt=-\int_b^a f(t)\,dt =-f(c)(a-b)=f(c)(b-a). \end{equation*}

Proof.

Fix \(c \in [a,b]\text{.}\) We will show that \(F\) is differentiable at \(c\) and that \(F'(c)=f(c)\text{.}\) Define
\begin{equation*} \varphi_c(x)=\begin{cases} \dfrac{F(x)-F(c)}{x-c} & \text{if } x\neq c,\\ f(c) & \text{if } x=c. \end{cases} \end{equation*}
Then \(F(x)-F(c)=\varphi_c(x)(x-c)\) for every \(x \in [a,b]\text{.}\) By \(\text{Carath\'{e}odory}\)’s Criterion (Proposition 5.1.4), it remains to show that \(\varphi_c\) is continuous at \(c\text{.}\)
Let \((x_n)\) be any sequence in \([a,b]\) converging to \(c\text{.}\) For each \(n\) with \(x_n\neq c\text{,}\) the Integral Mean Value Theorem (Proposition 5.4.9), including its reversed-limits version, gives a point \(z_n\) in the closed interval with endpoints \(c\) and \(x_n\) such that
\begin{equation*} F(x_n)-F(c)=\int_c^{x_n} f(t)\,dt =f(z_n)(x_n-c). \end{equation*}
Dividing by \(x_n-c\neq 0\) gives \(\varphi_c(x_n)=f(z_n)\text{.}\) If \(x_n=c\text{,}\) set \(z_n=c\text{;}\) then the same equality holds by the definition of \(\varphi_c(c)\text{.}\)
For every \(n\text{,}\)
\begin{equation*} |z_n-c|\le |x_n-c|\to 0, \end{equation*}
so \(z_n\to c\text{.}\) By continuity of \(f\) at \(c\text{,}\)
\begin{equation*} \varphi_c(x_n)=f(z_n)\to f(c)=\varphi_c(c). \end{equation*}
Since \((x_n)\) was arbitrary, the sequential characterization of continuity (Proposition 4.3.1) shows that \(\varphi_c\) is continuous at \(c\text{.}\) Hence \(F\) is differentiable at \(c\text{,}\) with \(F'(c)=\varphi_c(c)=f(c)\text{.}\) Since \(c\) was arbitrary, the result holds throughout \([a,b]\text{,}\) with one-sided derivatives at the endpoints.
In the integration chapter we will prove a more general second form of the Fundamental Theorem of Calculus (Theorem 7.3.1), where the integrand is assumed only to be Riemann integrable and the conclusion is differentiability at points of continuity of the integrand.

Proof.

Let \(F_a(x)=\int_a^x f(t)\,dt\text{.}\) By the Fundamental Theorem of Calculus (Special Case) (Theorem 5.4.11), \(F_a'=f\) on \([a,b]\text{.}\) Since also \(F'=f\) by hypothesis, \((F-F_a)'(x)=0\) for every \(x \in (a,b)\text{.}\) By Corollary 5.4.5, the function \(F-F_a\) is constant on \((a,b)\text{.}\) Since both \(F_a\) and \(F\) are differentiable, hence continuous, on \([a,b]\text{,}\) it follows that \(F-F_a\) is constant on all of \([a,b]\text{.}\)
Evaluating at \(x=a\) shows that this constant is \(F(a)-F_a(a)=F(a)\text{,}\) because \(F_a(a)=\int_a^a f(t)\,dt=0\text{.}\) Thus \(F(x)-F_a(x)=F(a)\) for every \(x \in [a,b]\text{.}\) Setting \(x=b\) and rearranging gives
\begin{equation*} \int_a^b f(x)\,dx=F(b)-F(a). \end{equation*}
Likewise, the integration chapter proves the more general first form of the Fundamental Theorem of Calculus (Theorem 7.3.5) and the corresponding Newton-Leibniz formula (Corollary 7.3.6).