The critical point \((1,2)\) gives \(2\), but that is the minimum. Evaluate the corners: \(f(0,0)=7\), \(f(3,0)=10\), \(f(0,3)=4\), \(f(3,3)=7\). On each side \(f\) is an upward-opening parabola, so its maximum is at an end of the side, and the largest value is \(10\).
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