%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                       %
%  Rolle's Theorem and the Mean Value Theorem           %
%                                                       %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\problemgrouptitle{Rolle's Theorem and the Mean Value Theorem}

\item Using Rolle's Theorem, show that the graph of $f(x)=x^3-2x^2-7x-2$ has a horizontal tangent line at a point with $x$-coordinate between $-1$ and $4$. Next find the value $x=c$ guaranteed by the theorem at which this occurs.
\answer{$f$ is continuous on $[-1,4]$, differentiable on $(-1,4)$, and $f(-1)=f(4)=2$ so Rolle's Theorem applies.  Solving $f'(c)=0$ shows $c=7/3$ or $c=-1$, however only $c=7/3$ is in the open interval $(-1,4)$.}

\lab{\addtoanswerkey{\clearpage}}
\item By Rolle's Theorem it follows that if $f$ is a function defined on $[0,1]$ with the following properties:
\begin{enumerate}[label=(\alph*)]
\item\label{itm:rolle1} $f$ is continuous on $[0,1]$
\item\label{itm:rolle2} $f$ is differentiable on $(0,1)$
\item\label{itm:rolle3} $f(0)=f(1)$
\end{enumerate}
then there exists a least one value $c$ in $(0,1)$ with $f'(c)=0$.  Show that each condition is required for the conclusion to follow by giving a counterexample in the case that \ref*{itm:rolle1}, \ref*{itm:rolle2}, or \ref*{itm:rolle3} is not required.

\answer{Each of the following graphs of $f$ give one possible counterexample.  There is no point in the interval $[0,1]$ where the function has a horizontal tangent and hence the conclusion to Rolle's theorem is invalid.
\begin{multicols}{3}
\begin{enumerate}
\item Continuity fails:

\resizebox{0.95\columnwidth}{!}{%
\includegraphics{graphics/rolles-theorem-and-the-mean-value-theorem1}%
}
\item Differentiability fails:

\resizebox{0.95\columnwidth}{!}{%
\includegraphics{graphics/rolles-theorem-and-the-mean-value-theorem2}%
}
\item $f(0)\neq f(1)$:

\resizebox{0.95\columnwidth}{!}{%
\includegraphics{graphics/rolles-theorem-and-the-mean-value-theorem3}%
}
\end{enumerate}
\end{multicols}
}

\item Suppose that $f$ is continuous on $[-3,4]$, differentiable on $(-3,4)$, and that $f(-3)=5$ and $f(4)=-2$\,.  Show there is a $c$ in $(-3,4)$ with $f'(c)=-1$\,.
\answer{Use the Mean Value Theorem.}

\item Verify the Mean Value Theorem for the function $f(x)=x^3+2x-2$ on the interval $[-1,2]$\,.
\answer{$c=1$ in $(-1,2)$ has $\displaystyle f'(c)=\frac{10-(-5)}{2-(-1)}=5$\,.}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "../master"
%%% End:
