When we cut a surface z=f(x,y) down to the piece above a closed, bounded region in the xy-plane, we want to find its absolute highest and lowest points.
Closed, Bounded Regions and the Suspect List
On a single-variable interval [a,b], the boundary is just the two endpoints a and b. On a two-dimensional region, the boundary is a loop of edges and corners with infinitely many points, so we need a way to narrow the boundary down to a finite list of suspects.
Finding Suspects on the Inside, Edges and Corners
To find the highest and lowest points of a continuous function f(x,y) on a closed, bounded region, we gather three types of suspects and compare their heights f(x,y):
Interior critical points: points inside the region where both fx=0 and fy=0, or where fx or fy does not exist.
Boundary critical points: points along each boundary edge where the slice of f(x,y) along that edge has a derivative that is zero or undefined.
Corners: the endpoints where boundary edges meet.
You don't need the Second Derivative Test D=fxxfyy−(fxy)2 here, because comparing the heights f(x,y) at the end automatically rules out any saddle points.
An interior critical point only counts while it lies inside the region; once the surface's peak or valley moves outside the boundary, the highest or lowest point occurs on an edge or at a corner instead.
An inside flat spot only counts while it lies in the region, so once the hill’s peak passes outside the boundary, the highest point lands on an edge or at a corner instead.
1
Regions with Straight Edges
Let's find the absolute maximum and minimum values of
f(x,y)=x2+y2−2x−4y
on the closed triangle bounded by x=0,y=0, and x+y=4.
Example: Absolute Extrema on a Triangle
Text solution
Find critical points inside the triangleSet both partial derivatives to zero and check that the point lands inside the boundaries x>0,y>0, and x+y<4.
Check the slanted edge (y=4−x,0≤x≤4)Replace y with 4−x to turn the slanted slice into a function of x alone, set its derivative to zero, and plug x back into y=4−x.
Add the corners and compare heightsInclude the three corners (0,0),(4,0), and (0,4) where the edges meet, then evaluate f(x,y)=x2+y2−2x−4y at all seven suspects.
So the absolute minimum is −5 at the bottom of the bowl (1,2) inside the triangle, and the absolute maximum is 8 at the corner (4,0) farthest from (1,2).
Along the triangle's boundary, each edge slice dips lowest where it passes closest to the bowl's bottom and climbs highest at the corner farthest from it.
2
Regions with a Curved Boundary
Now suppose the region is a circular disk. A circle has no corners, and solving its equation for y introduces square roots, so we look for a cleaner way to substitute the boundary into f(x,y).
We want to find the absolute maximum and minimum values of
f(x,y)=x2+2y2−2x
on the closed circular disk x2+y2≤4.
Example: Absolute Extrema on a Circular Disk
Text solution
Find critical points inside the disk (x2+y2<4)Set both partial derivatives to zero and check that the point lies inside the circle of radius 2.
Substitute y2 on the boundary circle (x2+y2=4)Solve for y2=4−x2 directly instead of solving for y, and keep x on the closed interval [−2,2] where 4−x2≥0.
g(x)=x2+2(4−x2)−2x=−x2−2x+8,−2≤x≤2
Find critical points along the circleSet g′(x)=0 on (−2,2) and plug x back into y2=4−x2 to get the matching points on both halves of the circle.
g′(x)y2=−2x−2=0⟹x=−1=4−(−1)2=3⟹y=±3⟹Suspects 2 and 3: (−1,3),(−1,−3)
Include the x-interval endpoints and compare heightsFind the circle points at the endpoints x=−2 and x=2, then evaluate f(x,y) at all five suspects.
So the absolute minimum is −1 inside the disk at (1,0), and the absolute maximum is 9, occurring in a two-way tie on the boundary at (−1,3) and (−1,−3).
On the circular boundary, the top and bottom halves have the exact same height at every x-value, so the whole 3D rim matches a single parabola.
Summary
To find the absolute maximum and minimum of a continuous function f(x,y) on a closed, bounded region, build a finite suspect list and compare their heights f(x,y). You don't need the Second Derivative Test D=fxxfyy−(fxy)2 here, because comparing f(x,y) across all suspects at the end automatically rules out saddle points.
Inside the region
Solve fx=0 and fy=0 together, and also include any interior point where fx or fy does not exist (such as (0,0) when x2+y2 is in the denominator of fx). Immediately check that each point satisfies the region's inequalities (like (1,2), which stays inside x+y≤4 because 1+2<4), and throw out any point that falls outside.
Boundary edges
Substitute each boundary equation into f(x,y) to turn it into a single-variable function, then find where its derivative is zero or undefined inside that edge's interval. On a straight line like x+y=4, substitute y=4−x on 0≤x≤4. On a curved boundary like x2+y2=4 with f(x,y)=x2+2y2−2x, do not solve for y=±4−x2 when y only appears as y2; substitute y2=4−x2 directly on −2≤x≤2, and remember that solving y2=3 gives two points, y=±3.
Corners and interval endpoints
Add the corners where boundary edges meet, such as (0,0),(4,0), and (0,4) on the triangle. When a curved boundary has no corners, include the endpoints of your substitution interval instead, such as x=−2 and x=2 on x2+y2=4.
Compare values
Plug every suspect into f(x,y). The largest output is the absolute maximum and the smallest output is the absolute minimum.
3
Practice
1
Find the absolute maximum and minimum values of f(x,y)=x2+y2−4x+2y on the closed rectangle 0≤x≤3,0≤y≤2, and state the points where they occur.
After solving fx=0 and fy=0, check whether that point actually sits inside 0≤x≤3 and 0≤y≤2 before checking the four edges y=0,y=2,x=0, and x=3.
Inside the rectangle:
fxfy=2x−4=0⟹x=2=2y+2=0⟹y=−1
Watch out: y=−1 lies outside 0≤y≤2, so discard (2,−1) (keeping (2,−1) without checking the rectangle's bounds gives the wrong minimum −5).
Absolute maximum is 8 at (0,2); absolute minimum is −4 at (2,0).
2
Find the absolute maximum and minimum values of f(x,y)=xy−x−y on the closed triangle bounded by x=0,y=0, and x+y=6, and state the points where they occur.
When taking fx and fy, treat the other variable in xy as a constant multiplier; along the slanted edge, substitute y=6−x for 0≤x≤6.
Inside the triangle (x>0,y>0,x+y<6):
fxfy1+1=y−1=0⟹y=1=x−1=0⟹x=1=2<6⟹(1,1)
Watch out: (1,1) is inside the triangle, but do not assume an interior critical point is automatically the highest or lowest point. It is a saddle point with f(1,1)=−1 (forgetting to test the corners (6,0) and (0,6) leaves you with the wrong minimum −1 at (1,1)).
Along the three edges:
Bottom (y=0,0≤x≤6):f(x,0)=−x⟹(−x)′=−1=0 (no critical points)Left (x=0,0≤y≤6):f(0,y)=−y⟹(−y)′=−1=0 (no critical points)Slanted (y=6−x,0≤x≤6):f(x,6−x)=x(6−x)−x−(6−x)=−x2+6x−6(−x2+6x−6)′=−2x+6=0⟹x=3,y=3⟹(3,3)
Include the three corners (0,0),(6,0), and (0,6), and compare f(x,y):
f(1,1)f(3,3)f(0,0)f(6,0)f(0,6)=−1=3=0=−6=−6
Absolute maximum is 3 at (3,3); absolute minimum is −6 at both (6,0) and (0,6).
3
Find the absolute maximum and minimum values of f(x,y)=y2−x2−4y on the closed circular disk x2+y2≤9, and state the points where they occur.
Watch out: do not forget the endpoints y=−3 and y=3 of the substitution interval [−3,3].
Notice which variable in f(x,y)=y2−x2−4y appears only squared. Solve for that squared term from x2+y2=9 so the boundary becomes a function of y on [−3,3].
Inside the disk (x2+y2<9):
fxfy02+22=−2x=0⟹x=0=2y−4=0⟹y=2=4<9⟹(0,2)
Along the boundary circle (x2+y2=9), substitute x2=9−y2 for −3≤y≤3:
Watch out: do not forget the endpoints y=−3 and y=3 of the substitution interval [−3,3] (leaving out the interval endpoints misses (0,−3) and (0,3), giving the wrong maximum −4 at (0,2) instead of 21 at (0,−3)):
Absolute maximum is 21 at (0,−3); absolute minimum is −11 at (22,1) and (−22,1).
4
Find the absolute maximum and minimum values of f(x,y)=2x2+y2−4y on the closed region bounded by the parabola y=x2 and the line y=4, and state the points where they occur.
Set x2=4 to find the two corners where the parabola and line meet; along the parabolic boundary y=x2, substitute y directly for x2.
At the bottom endpoint y=0 of the parabola, x2=0⟹(0,0).
Along the top line (y=4,−2≤x≤2):
f(x,4)(2x2)′=2x2+42−4(4)=2x2=4x=0⟹x=0⟹(0,4)
Where y=x2 meets y=4,x2=4⟹x=±2. Watch out: keep both the negative and positive roots for the corners (−2,4) and (2,4) (taking only the positive root x=2 misses (−2,4) in the two-way tie for the maximum).
Absolute maximum is 8 at (−2,4) and (2,4); absolute minimum is −4 at (0,2).
5
Find the absolute maximum and minimum values of f(x,y)=3x2+y2−2x on the closed circular disk x2+y2≤4, and state the points where they occur.
Check where the partial derivatives fx and fy are undefined as well as where they equal zero; on the boundary circle x2+y2=4, replace the entire x2+y2 under the square root with 4.
Inside the disk (x2+y2<4):
fxfy=x2+y23x−2,=x2+y23y
For (x,y)=(0,0),fy=0 gives y=0, and plugging y=0 into fx=0 gives ±3−2=0, so the partial derivatives are never both zero. Watch out: at (0,0), the denominator x2+y2 is zero, so these formulas give no value there; (0,0) is the sharp tip of the cone, where fx and fy do not exist, making (0,0) an interior critical point (skipping points where the partial derivatives are undefined misses the sharp cone tip at (0,0) and gives the wrong minimum 2 at (2,0)).
Along the boundary circle (x2+y2=4,−2≤x≤2), substitute x2+y2=4 directly:
g(x)g′(x)=34−2x=6−2x,−2≤x≤2=−2=0 (no critical points on (−2,2))
Include the interval endpoints x=−2 and x=2, which give (−2,0) and (2,0), and compare f(x,y):
f(0,0)f(−2,0)f(2,0)=0=10=2
Absolute maximum is 10 at (−2,0); absolute minimum is 0 at (0,0).