Examples from Global extrema
All examples from Global extrema.
Extrema on a rectangle
Find the maximum and minimum of
on
For interior candidates,
The equations give either , hence , or , hence , which is outside the rectangle. The only interior candidate is , with
On the vertical edges ,
The derivative is , so the edge critical point is , where
The edge endpoints give
On the horizontal edges,
The latter has minimum at and maximum at . Comparing all candidates gives
and
The minimum is interior, while the maximum occurs at corners.
Extrema on the closed unit disk
Let
on
The interior gradient is
Solving gives , with .
The boundary is the unit circle. Parameterise it by
Then
Since ,
The maximum occurs at
and the minimum occurs at
Comparing with the interior value gives
at the two same-sign boundary points and
at the two opposite-sign boundary points.