\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)= \sin x \cos y$$

On the closed triangle bounded by $x=0$, $y=0$ and $x+y=2\pi$.


\textbf{Answer}

$$-1 \le f(x,y) = \sin x \cos y \le 1, \ \ \ \textrm{everywhere}$$
And
\begin{eqnarray*}
f(\pi/2, 0) & = & 1\\
f(3\pi/2,0) & = & -1
\end{eqnarray*}
Both $(\pi/2,0)$ and $(3\pi/2,0)$ are on the triangle.
\begin{eqnarray*}
\Rightarrow \textrm{min}(f) & = & -1\\
\textrm{max}(f) & = & 1
\end{eqnarray*}

\end{document}

