Learning Objectives
- Examine critical points and boundary points to find absolute maximum and minimum values for a function of two variables.
When finding global extrema of functions of one variable on a closed interval, we start by checking the critical values over that interval and then evaluate the function at the endpoints of the interval. We briefly revisit the single-variable version below.
Recall: Extreme Value Theorem (single-variable version)
A continuous function [latex]f(x)[/latex] on a closed interval [latex][a,b][/latex] attains an absolute maximum value at some point of [latex]D[/latex] and an absolute minimum value at some point of [latex]D[/latex]. These values are, respectively, the largest and smallest values found among the following:
- The values of [latex]f[/latex] at the critical values of [latex]f[/latex] within the interval [latex][a,b][/latex].
- The values of [latex]f[/latex] at the endpoints of [latex][a,b][/latex].
When working with a function of two variables, the closed interval is replaced by a closed, bounded set. A set is bounded if all the points in that set can be contained within a ball (or disk) of finite radius. First, we need to find the critical points inside the set and calculate the corresponding critical values. Then, it is necessary to find the maximum and minimum value of the function on the boundary of the set. When we have all these values, the largest function value corresponds to the global maximum and the smallest function value corresponds to the absolute minimum. First, however, we need to be assured that such values exist. The following theorem does this.
Theorem: Extreme valUE theorem
A continuous function [latex]f(x, y)[/latex] on a closed and bounded set [latex]D[/latex] in the plane attains an absolute maximum value at some point of [latex]D[/latex] and an absolute minimum value at some point of [latex]D[/latex].
Now that we know any continuous function [latex]f[/latex] defined on a closed, bounded set attains its extreme values, we need to know how to find them.
Theorem: Extreme valUE theorem
Assume [latex]z=f(x, y)[/latex] is a differentiable function of two variables defined on a closed, bounded set [latex]D[/latex]. Then [latex]f[/latex] will attain the absolute maximum value and the absolute minimum value, which are, respectively, the largest and smallest values found among the following:
- The values of [latex]f[/latex] at the critical points of [latex]f[/latex] in [latex]D[/latex].
- The values of [latex]f[/latex] on the boundary of [latex]D[/latex].
The proof of this theorem is a direct consequence of the extreme value theorem and Fermat’s theorem. In particular, if either extremum is not located on the boundary of [latex]D[/latex], then it is located at an interior point of [latex]D[/latex]. But an interior point [latex](x_0, y_0)[/latex] of [latex]D[/latex] that’s an absolute extremum is also a local extremum; hence, [latex](x_0, y_0)[/latex] is a critical point of [latex]f[/latex] by Fermat’s theorem. Therefore the only possible values for the global extrema of [latex]f[/latex] on [latex]D[/latex] are the extreme values of [latex]f[/latex] on the interior or boundary of [latex]D[/latex].
Problem-solving strategy: using the second derivative test for functions of two variables
Let [latex]z=f(x, y)[/latex] be a continuous function of two variables defined on a closed, bounded set [latex]D[/latex], and assume [latex]f[/latex] is differentiable on [latex]D[/latex]. To find the absolute maximum and minimum values of [latex]f[/latex] on [latex]D[/latex], do the following:
- Determine the critical points of [latex]f[/latex] on [latex]D[/latex].
- Calculate [latex]f[/latex] at each of these critical points.
- Determine the maximum and minimum values of [latex]f[/latex] on the boundary of its domain.
- The maximum and minimum values of [latex]f[/latex] will occur at one of the values obtained in steps 2 and 3.
Finding the maximum and minimum values of [latex]f[/latex] on the boundary of [latex]D[/latex] can be challenging. If the boundary is a rectangle or set of straight lines, then it is possible to parameterize the line segments and determine the maxima on each of these segments, as seen in Example: Finding Absolute Extrema. The same approach can be used for other shapes such as circles and ellipses.
If the boundary of the set [latex]D[/latex] is a more complicated curve defined by a function [latex]g(x, y)=c[/latex] for some constant [latex]c[/latex], and the first-order partial derivatives of [latex]g[/latex] exist, then the method of Lagrange multipliers can prove useful for determining the extrema of [latex]f[/latex] on the boundary. The method of Lagrange multipliers is introduced in Lagrange Multipliers.
Example: Finding Absolute extrema
Use the problem-solving strategy for finding absolute extrema of a function to determine the absolute extrema of each of the following functions:
- [latex]f(x, y)=x^{2}-2xy+4y^{2}-4x-2y+24[/latex] on the domain defined by [latex]0\leq x\leq 4[/latex] and [latex]0\leq y\leq 2[/latex].
- [latex]g(x, y)=x^{2}+y^{2}+4x-6y[/latex] on the domain defined by [latex]x^{2}+y^{2}\leq 16[/latex].
Try it
Use the problem-solving strategy for finding absolute extrema of a function to find the absolute extrema of the function
[latex]f(x, y)=4x^{2}-2xy+6y^{2}-8x+2y+3[/latex]
on the domain defined by [latex]0\leq x\leq 2[/latex] and [latex]-1\leq y\leq 3[/latex].
Watch the following video to see the worked solution to the above Try It
Candela Citations
- CP 4.36. Authored by: Ryan Melton. License: CC BY: Attribution
- Calculus Volume 3. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/books/calculus-volume-3/pages/1-introduction. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-3/pages/1-introduction