\documentclass[a4paper,12pt]{article}
\newcommand{\ds}{\displaystyle}
\usepackage{epsfig}
\begin{document}
\parindent=0pt

\begin{center}
\textbf{Applications of Partial Differentiation}

\textit{\textbf{Extremes within restricted domains}}
\end{center}

\textbf{Question}

Find the maximum and minimum values of

$$f(x,y)=x+2y$$

On the disk $x^2+y^2\le 1$.


\textbf{Answer}

As $f_1=1$ and $f_2=2$, $f$ will have no critical points. So the
minimum and maximum points must occur at the boundary. $f$ must have
minimum and maximum points as $f$ is a continuous on a closed, bounded
set in the plane.

The boundary is the circle $x^2+y^2=1$ and can be parameterised as
\begin{eqnarray*}
x & = & \cos t\\
y & = & \sin t\\
& & \\
\Rightarrow f(x,y)=f (\cos t, \sin t) & = & \cos t + 2 \sin t =g(t)
\end{eqnarray*}

For critical points of $g$
\begin{eqnarray*}
0 & = & g'(t) = -\sin t + 2 \cos t\\
\Rightarrow \tan t & = & 2\\
x & = & \pm 1/\sqrt{5}\\
y & = & \pm 2/\sqrt{5}
\end{eqnarray*}
So the critical points of $g$ are
\begin{eqnarray*}
(-1/\sqrt{5},-2/\sqrt{5}) & & f=-\sqrt{5}=\textrm{min}(f)\\\
(1/\sqrt{5},2/sqrt{5}) & & f=\sqrt{5}\textrm{max}(f)
\end{eqnarray*}

\end{document}

