In the interior \(f_x=2xy\), \(f_y=x^2\) vanish only along \(x=0\), where \(f=0\). On the legs \(f=0\). On the hypotenuse \(y=3-x\): \(f=x^2(3-x)\), with derivative \(6x-3x^2=0\) at \(x=2\), and \(f=4\). The absolute maximum is \(4\), at \((2,1)\).
The absolute extrema of a function \(f\) on a closed, bounded region \(D\) are the minimum \(m\) and the maximum \(M\) of the values \(f\) takes on \(D\).
\[m=\min_{D} f,\qquad M=\max_{D} f\]
More practice problems: absolute extrema on a region