Consider the function defined on . Then, attainsdoes not attain an absolute minimum and an absolute maximum on since
is continuous on . is closed and bounded. is continuous on and is closed and bounded.
Where could the absolute extrema occur?
at all of the critical points of at the critical points of that occur in the region . on the boundary of .
To find the critical points on that lie within , we compute the gradient.

Hence, the critical point of is .

To determine if this critical point lies in , we must check if . When and , we have that , so the critical point liesdoes not lie in and hence it isis not a candidate for the location of an absolute extrema.

Note that we do not have to use the Second Derivative Test to classify the extrema; we only need to determine the value takes at this critical point and compare it to the values that takes at the other candidates for absolute extrema (which occur on the boundary). To this end, we note that

We now must determine the extreme values attains on the boundary. We can do this using two methods.
Method 1: Parameterize the boundary

The boundary is the circle , so a good choice of parameterization is for . Along the boundary, we thus have .

We thus must find the absolute extrema for for . Note that , so when .
  • The maximum value takes on the boundary is .
  • The maximum value takes on the boundary is .
This is hard to work with in general, but we can draw triangles in Quadrants II and IV.

The triangle in Quadrant I is shown below.

Here, we find that and .

Since along the boundary, we use these values for and to find that at the critical point in Quadrant II.

A similar analysis for the triangle in Quadrant IV shows that at the critical point in Quadrant IV.

Finally, we note that the endpoints and could yield absolute extrema, so we check there as well and find that when , and when , .

Thus, by considering the absolute extrema on the boundary as well as the extrema that occurs within the interior of , we find the following.

  • The absolute maximum value of over is and occurs when .
  • The absolute minimum value of over is and occurs when .
Method 2: Use Lagrange multipliers by writing the boundary as a constraint.

By setting , we recognize the boundary as the level curve defined by . We thus compute

  • .
  • .

and must solve the system of equations that arises from the condition and the original constraint.

Note that it looks like a variable could “cancel” in the top two equations. If we do this, we might lose potential solutions if the quantity we would like to divide by is , so we will instead cross-multiply the top equations to obtain

Note that if , Eqn (1) tells us that and Eqn (2) tells us that , which corresponds to our earlier critical point. Since this point lies in the interior of the region and not on the boundary, we may disregard it.

The interesting case occurs when . We may thus take and substitute this into the constraint equation to find that we have two critical points, and . The candidates for critical points are thus and .

We now check at each of these critical points and find
  • .
  • .

Thus, by considering the absolute extrema on the boundary as well as the extrema that occurs within the interior of , we find the following.

  • The absolute maximum value of over is and occurs when .
  • The absolute minimum value of over is and occurs when .