Why must you also check boundary points when optimizing a function on a closed bounded domain, not just interior critical points?
Think about your answer, then reveal below.
Model answer: On a closed bounded domain, a continuous function is guaranteed (by the extreme value theorem) to attain its global maximum and minimum somewhere on the domain. These extrema may occur either at interior critical points (where ∇f = 0) or on the boundary. Interior critical points are only candidates for extrema inside the open domain; the boundary is a separate region that must be analyzed independently.
Consider f(x, y) = x + y on the unit disk x² + y² ≤ 1. The only critical point of the unrestricted function is nowhere (∇f = (1,1) ≠ 0 everywhere), so all extrema are on the boundary. The maximum is at (1/√2, 1/√2) and the minimum at (−1/√2, −1/√2), both on the boundary circle.