Calculus 3 · Optimization
On a closed, bounded region, the largest and smallest values can sit inside the region or on its boundary, so both must be checked.