Professional Documents
Culture Documents
z
DEFINITIONS Local Maximum, Local Minimum
Let ƒ(x, y) be defined on a region R containing the point (a, b). Then
1. ƒ(a, b) is a local maximum value of ƒ if ƒsa, bd Ú ƒsx, yd for all domain
points (x, y) in an open disk centered at (a, b).
2. ƒ(a, b) is a local minimum value of ƒ if ƒsa, bd … ƒsx, yd for all domain
points (x, y) in an open disk centered at (a, b).
x
y
Local maxima correspond to mountain peaks on the surface z = ƒsx, yd and local minima
correspond to valley bottoms (Figure 14.38). At such points the tangent planes, when they
exist, are horizontal. Local extrema are also called relative extrema.
As with functions of a single variable, the key to identifying the local extrema is a
first derivative test.
FIGURE 14.37 The “roof surface”
A ƒ ƒ x ƒ - ƒ yƒ ƒ - ƒ x ƒ - ƒ y ƒB
Local maxima
1
z = (no greater value of f nearby)
2
Local minimum
(no smaller value
of f nearby)
HISTORICAL BIOGRAPHY FIGURE 14.38 A local maximum is a mountain peak and a local
minimum is a valley low.
Siméon-Denis Poisson
(1781–1840)
THEOREM 10 First Derivative Test for Local Extreme Values
If ƒ(x, y) has a local maximum or minimum value at an interior point (a, b) of its
domain and if the first partial derivatives exist there, then ƒxsa, bd = 0 and
ƒysa, bd = 0.
z
0f
0
0x z f (x, y) Proof If ƒ has a local extremum at (a, b), then the function gsxd = ƒsx, bd has a local ex-
0f tremum at x = a (Figure 14.39). Therefore, g¿sad = 0 (Chapter 4, Theorem 2). Now
0
0y g¿sad = ƒxsa, bd, so ƒxsa, bd = 0. A similar argument with the function hsyd = ƒsa, yd
g(x) f (x, b) shows that ƒysa, bd = 0.
0 b h( y) f (a, y)
a If we substitute the values ƒxsa, bd = 0 and ƒysa, bd = 0 into the equation
y
ƒxsa, bdsx - ad + ƒysa, bds y - bd - sz - ƒsa, bdd = 0
(a, b, 0)
x
for the tangent plane to the surface z = ƒsx, yd at (a, b), the equation reduces to
FIGURE 14.39 If a local maximum of ƒ 0 # sx - ad + 0 # s y - bd - z + ƒsa, bd = 0
occurs at x = a, y = b , then the first
or
partial derivatives ƒxsa, bd and ƒysa, bd are
both zero. z = ƒsa, bd.
z Thus, Theorem 10 says that the surface does indeed have a horizontal tangent plane at a lo-
cal extremum, provided there is a tangent plane there.
xy (x 2 y 2 ) Theorem 10 says that the only points where a function ƒ(x, y) can assume extreme val-
z
x2 y2 ues are critical points and boundary points. As with differentiable functions of a single
z variable, not every critical point gives rise to a local extremum. A differentiable function
of a single variable might have a point of inflection. A differentiable function of two vari-
ables might have a saddle point.
y
DEFINITION Saddle Point
x
A differentiable function ƒ(x, y) has a saddle point at a critical point (a, b) if in
every open disk centered at (a, b) there are domain points (x, y) where
ƒsx, yd 7 ƒsa, bd and domain points sx, yd where ƒsx, yd 6 ƒsa, bd. The corre-
sponding point (a, b, ƒ(a, b)) on the surface z = ƒsx, yd is called a saddle point of
the surface (Figure 14.40).
z y2 y4 x2
Solution The domain of ƒ is the entire plane (so there are no boundary points) and the
partial derivatives ƒx = -2x and ƒy = 2y exist everywhere. Therefore, local extrema can
x
y
occur only at the origin (0, 0). Along the positive x-axis, however, ƒ has the value
ƒsx, 0d = -x 2 6 0; along the positive y-axis, ƒ has the value ƒs0, yd = y 2 7 0. There-
FIGURE 14.41 The graph of the function fore, every open disk in the xy-plane centered at (0, 0) contains points where the function
ƒsx, yd = x 2 + y 2 is the paraboloid is positive and points where it is negative. The function has a saddle point at the origin
z = x 2 + y 2. The function has a local (Figure 14.42) instead of a local extreme value. We conclude that the function has no local
minimum value of 0 at the origin extreme values.
(Example 1). That ƒx = ƒy = 0 at an interior point (a, b) of R does not guarantee ƒ has a local ex-
treme value there. If ƒ and its first and second partial derivatives are continuous on R, how-
ever, we may be able to learn more from the following theorem, proved in Section 14.10.
Solution The function is defined and differentiable for all x and y and its domain has
no boundary points. The function therefore has extreme values only at the points where ƒx
and ƒy are simultaneously zero. This leads to
ƒx = y - 2x - 2 = 0, ƒy = x - 2y - 2 = 0,
or
x = y = -2.
Therefore, the point s -2, -2d is the only point where ƒ may take on an extreme value. To
see if it does so, we calculate
ƒxx = -2, ƒyy = -2, ƒxy = 1.
The discriminant of ƒ at sa, bd = s -2, -2d is
ƒxx ƒyy - ƒxy2 = s -2ds -2d - s1d2 = 4 - 1 = 3.
The combination
ƒxx 6 0 and ƒxx ƒyy - ƒxy2 7 0
tells us that ƒ has a local maximum at s -2, -2d . The value of ƒ at this point is
ƒs -2, -2d = 8.
B(0, 9)
EXAMPLE 5 Finding Absolute Extrema
y9x
Find the absolute maximum and minimum values of
9 , 9 ƒsx, yd = 2 + 2x + 2y - x 2 - y 2
2 2
x0
on the triangular region in the first quadrant bounded by the lines x = 0, y = 0,
y = 9 - x.
(1, 1)
x
O y0 A(9, 0) Solution Since ƒ is differentiable, the only places where ƒ can assume these values are
points inside the triangle (Figure 14.44) where ƒx = ƒy = 0 and points on the boundary.
FIGURE 14.44 This triangular region is
(a) Interior points. For these we have
the domain of the function in Example 5.
fx = 2 - 2x = 0, fy = 2 - 2y = 0,
yielding the single point sx, yd = s1, 1d. The value of ƒ there is
ƒs1, 1d = 4.
ƒsx, 0d = ƒs1, 0d = 3.
ƒsx, yd = ƒs0, yd = 2 + 2y - y 2.
We know from the symmetry of ƒ in x and y and from the analysis we just carried out
that the candidates on this segment are
ƒs0, 0d = 2, ƒs0, 9d = -61, ƒs0, 1d = 3.
(iii) We have already accounted for the values of ƒ at the endpoints of AB, so we need only
look at the interior points of AB. With y = 9 - x, we have
ƒsx, yd = 2 + 2x + 2s9 - xd - x 2 - s9 - xd2 = -61 + 18x - 2x 2.
ƒsx, yd = ƒ a , b = - .
9 9 9 9 41
y = 9 - = and
2 2 2 2 2
Summary We list all the candidates: 4, 2, -61, 3, -s41>2d. The maximum is 4, which ƒ
assumes at (1, 1). The minimum is -61, which ƒ assumes at (0, 9) and (9, 0).
Solving extreme value problems with algebraic constraints on the variables usually re-
quires the method of Lagrange multipliers in the next section. But sometimes we can solve
such problems directly, as in the next example.
Solution Let x, y, and z represent the length, width, and height of the rectangular box,
respectively. Then the girth is 2y + 2z. We want to maximize the volume V = xyz of the
Girth distance box (Figure 14.45) satisfying x + 2y + 2z = 108 (the largest box accepted by the deliv-
around here ery company). Thus, we can write the volume of the box as a function of two variables.
V = xyz and
Vs y, zd = s108 - 2y - 2zdyz x = 108 - 2y - 2z
z = 108yz - 2y 2z - 2yz 2
Setting the first partial derivatives equal to zero,
x y
Vys y, zd = 108z - 4yz - 2z 2 = s108 - 4y - 2zdz = 0
FIGURE 14.45 The box in Example 6. Vzs y, zd = 108y - 2y 2 - 4yz = s108 - 2y - 4zdy = 0,
gives the critical points (0, 0), (0, 54), (54, 0), and (18, 18). The volume is zero at (0, 0),
(0, 54), (54, 0), which are not maximum values. At the point (18, 18), we apply the Second
Derivative Test (Theorem 11):
Vyy = -4z, Vzz = -4y, Vyz = 108 - 4y - 4z.
Then
Vyy Vzz - V yz2 = 16yz - 16s27 - y - zd2.
Thus,
Vyys18, 18d = -4s18d 6 0
and
C Vyy Vzz - V yz2 D s18,18d = 16s18ds18d - 16s -9d2 7 0
imply that (18, 18) gives a maximum volume. The dimensions of the package are
x = 108 - 2s18d - 2s18d = 36 in., y = 18 in., and z = 18 in. The maximum volume is
V = s36ds18ds18d = 11,664 in.3 , or 6.75 ft3.
Despite the power of Theorem 10, we urge you to remember its limitations. It does not ap-
ply to boundary points of a function’s domain, where it is possible for a function to have
extreme values along with nonzero derivatives. Also, it does not apply to points where ei-
ther ƒx or ƒy fails to exist.