Section 14.8 Lagrange Multipliers
7. Each of these extreme value problems has a solution with both a maximum value and a minimum value. Use Lagrange multipliers to find the extreme values of the function subject to the given constraint.
f (x, y) = 2x2+ 6y2, x4+ 3y4= 1
Solution:
SECTION 14.8 LAGRANGE MULTIPLIERS ¤ 1451
22= 82 ⇒ 2= 42, and substitution into the third equation gives 42+ 42= 8 ⇒ = ±1. If = ±1 then
2= 4 ⇒ = ±2, so has possible extreme values at (1 ±2) and (−1 ±2). Evaluating at these points, we see that the maximum value is (1 2) = (−1 −2) = 2 and the minimum is (1 −2) = (−1 2) = −2.
6. ( ) = , ( ) = 2+ 2= 2, and ∇ = ∇ ⇒ h i = h2 2i, so = 2, = 2, and
2+ 2= 2. First note that from the first equation 6= 0. If = 0, the second equation implies = 0, so 6= 0. Then from the first two equations we have
2= =
2 ⇒ 2= 22 ⇒ = 2, and substituting into the third equation gives 2+ (2)2= 2 ⇒ 4+ 2− 2 = 0 ⇒ (2+ 2)(2− 1) = 0 ⇒ = ±1. From = 2we have = 1, so has possible extreme values at (±1 1). Evaluating at these points, we see that the maximum value is
(1 1) = and the minimum is (−1 1) = −.
7. ( ) = 22+ 62, ( ) = 4+ 34= 1, and ∇ = ∇ ⇒ h4 12i =
43 123, so we get the three equations 4 = 43, 12 = 123, and 4+ 34 = 1. The first equation implies that = 0 or 2= 1
. The second equation implies that = 0 or 2= 1
. Note that and cannot both be zero as this contradicts the third equation. If = 0, the third equation implies = ± 1
√4
3. If = 0, the third equation implies that = ±1. Thus, has possible extreme values at
0 ± 1
√4
3
and (±1 0). Next, suppose 2= 2= 1
. Then the third equation gives
1
2
+ 3
1
2
= 1 ⇒ = ±2.
= −2 results in a nonreal solution, so consider = 2 ⇒ = = ± 1
√2. Therefore, also has possible extreme values
at
± 1
√2 ± 1
√2
(all 4 combinations). Substituting all 8 points into , we find the maximum value is
± 1
√2 ± 1
√2
= 4and the minimum value is (±1 0) = 2.
8. ( ) = −2−2, ( ) = 2 − = 0, and ∇ = ∇ ⇒
−2−2− 22−2−2 −2−2− 22−2−2
= h2 −i, so we get the three equations
−2−2− 22−2−2= 2, −2−2− 22−2−2 = −, and 2 − = 0. Multiplying the second equation by 2 and adding it to the first gives 2−2−2− 42−2−2+ −2−2− 22−2−2= −2 + 2 = 0 ⇒
2 − 42+ − 22 = 0(as −2−26= 0). From the third equation, 2 = , and substituting into the new equation, we have 2 − 4(2)2+ 2 − 22(2) = 0 ⇒ 4 − 203= 0 ⇒ 4(1 − 52) = 0 ⇒ = 0 or = ± 1
√5, so
has possible extreme values at (0 0),
1
√5 2
√5
, and
− 1
√5 − 2
√5
. Substituting these into , we see that the minimum
value is (0 0) = 0 and the maximum value is
1
√5 2
√5
=
− 1
√5 − 2
√5
= 2 5.
° 2021 Cengage Learning. All Rights Reserved. May not be scanned, copied, or duplicated, or posted to a publicly accessible website, in whole or in part.c
10. Each of these extreme value problems has a solution with both a maximum value and a minimum value. Use Lagrange multipliers to find the extreme values of the function subject to the given constraint.
f (x, y, z) = exyz; 2x2+ y2+ z2= 24
Solution:
SECTION 14.8 LAGRANGE MULTIPLIERS ¤ 485
2= 1 ⇒ = ±1. If = 1 then substitution into the second equation gives −2 = 2 ⇒ = 0, and from the constraint we must have = ±1. Thus the possible points for the extreme values of are (0 ±1) and (±1 0). Evaluating at these points, we see that the maximum value of is (±1 0) = 1 and the minimum is (0 ±1) = −1.
4. ( ) = , ( ) = 3+ 3 = 16, and ∇ = ∇ ⇒ h i =
32 32
, so = 32and
= 32. Note that = 0 ⇔ = 0 which contradicts 3+ 3= 16, so we may assume 6= 0, 6= 0, and then
= (32) = (32) ⇒ 3= 3 ⇒ = . But 3+ 3= 16, so 23= 16 ⇒ = 2 = .
Here there is no minimum value, since we can choose points satisfying the constraint 3+ 3= 16that make ( ) =
arbitrarily close to 0 (but never equal to 0). The maximum value is (2 2) = 4.
5. ( ) = , ( ) = 42+ 2 = 8, and ∇ = ∇ ⇒ h i = h8 2i, so = 8, = 2, and
42+ 2= 8. First note that if = 0 then = 0 by the first equation, and if = 0 then = 0 by the second equation. But this contradicts the third equation, so 6= 0 and 6= 0. Then from the first two equations we have
8= =
2 ⇒ 22 = 82 ⇒ 2 = 42, and substitution into the third equation gives
42+ 42 = 8 ⇒ = ±1. If = ±1 then 2= 4 ⇒ = ±2, so has possible extreme values at (1 ±2) and (−1 ±2). Evaluating at these points, we see that the maximum value is (1 2) = (−1 −2) = 2 and the minimum is
(1 −2) = (−1 2) = −2.
6. ( ) = , ( ) = 2+ 2= 2, and ∇ = ∇ ⇒ h i = h2 2i, so = 2, = 2, and
2+ 2= 2. First note that from the first equation 6= 0. If = 0, the second equation implies = 0, so 6= 0. Then from the first two equations we have
2= =
2 ⇒ 2= 22 ⇒ = 2, and substituting into the third equation gives 2+ (2)2= 2 ⇒ 4+ 2− 2 = 0 ⇒ (2+ 2)(2− 1) = 0 ⇒ = ±1. From = 2we have = 1, so has possible extreme values at (±1 1). Evaluating at these points, we see that the maximum value is
(1 1) = and the minimum is (−1 1) = −.
7. ( ) = 2+ 2+ 2, ( ) = + + = 12, and ∇ = ∇ ⇒ h2 2 2i = h i. Then 2 = = 2 = 2 ⇒ = = , and substituting into + + = 12 we have
+ + = 12 ⇒ = 4 = = . Here there is no maximum value, since we can choose points satisfying the constraint + + = 12 that make ( ) = 2+ 2+ 2arbitrarily large. The minimum value is (4 4 4) = 48.
8. ( ) = , ( ) = 22+ 2+ 2= 24, and ∇ = ∇ ⇒ h i = h4 2 2i.
Then = 4, = 2, = 2, and 22+ 2+ 2= 24. If any of , , , or is zero, then the first
° 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied, or duplicated, or posted to a publicly accessible website, in whole or in part.c
486 ¤ CHAPTER 14 PARTIAL DERIVATIVES
three equations imply that two of the variables , , must be zero. If = = = 0 it contradicts the fourth equation, so exactly two are zero, and from the fourth equation the possibilities are
±2√ 3 0 0
, 0 ±2√
6 0 ,
0 0 ±2√ 6
, all with an -value of 0= 1. If none of , , , is zero then from the first three equations we have
4
= = 2
=2
⇒ 2
=
=
. This gives 22 = 2 ⇒ 22 = 2 and 2= 2 ⇒
2= 2. Substituting into the fourth equation, we have 2+ 2+ 2= 24 ⇒ 2= 8 ⇒ = ±2√2, so
2= 4 ⇒ = ±2 and 2= 2 ⇒ = ±2√
2, giving possible points
±2 ±2√ 2 ±2√
2(all combinations).
The value of is 16when all coordinates are positive or exactly two are negative, and the value is −16when all are negative or exactly one of the coordinates is negative. Thus the maximum of subject to the constraint is 16and the minimum is −16.
9. ( ) = 2, ( ) = 2+ 2+ 2= 4, and ∇ = ∇ ⇒
2 2 2
= h2 2 2i. Then
2 = 2, 2 = 2, 2= 2, and 2+ 2+ 2= 4.
Case 1: If = 0, then the first equation implies that = 0 or = 0. If = 0, then any values of and satisfy the first three equations, so from the fourth equation all points ( 0 ) such that 2+ 2= 4are possible points. If = 0 then from the third equation = 0 or = 0, and from the fourth equation, the possible points are (0 ±2 0), (±2 0 0). The -value in all these cases is 0.
Case 2: If 6= 0 but any one of , , is zero, the first three equations imply that all three coordinates must be zero, contradicting the fourth equation. Thus if 6= 0, none of , , is zero and from the first three equations we have
2
2 = = =2
2 . This gives 2 = 22 ⇒ 2= 22 and 222= 222 ⇒ 2= 2. Substituting into the fourth equation, we have 2+ 22+ 2= 4 ⇒ 2= 1 ⇒ = ±1, so = ±√
2and = ±1, giving possible points
±1 ±√ 2 ±1
(all combinations). The value of is 2 when and are the same sign and −2 when they are opposite.
Thus the maximum of subject to the constraint is (1 ±√
2 1) = (−1 ±√
2 −1) = 2 and the minimum is
(1 ±√
2 −1) = (−1 ±√
2 1) = −2.
10. ( ) = ln(2+ 1) + ln(2+ 1) + ln(2+ 1), ( ) = 2+ 2+ 2= 12. Then ∇ = ∇ ⇒
2
2+ 1 2
2+ 1 2
2+ 1
= h2 2 2i, so 2
2+ 1= 2, 2
2+ 1= 2, 2
2+ 1= 2, and 2+ 2+ 2= 12.
First, if = 0 then = = = 0 which contradicts the last equation, so we may assume that 6= 0.
Case 1: If 6= 0, 6= 0, and 6= 0, then from the first three equations we have 1
2+ 1 = = 1
2+ 1= 1
2+ 1 ⇒
2= 2= 2, and substitution into the last equation gives 32= 12 ⇒ = ±2. Thus possible points are (±2 ±2 ±2) (all combinations), all of which have an -value of 3 ln 5.
[continued]
° 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied, or duplicated, or posted to a publicly accessible website, in whole or in part.c
1
28. Find the extreme values of f on the region described by the inequality.
f (x, y) = 2x2+ 3y2− 4x − 5, x2+ y2≤ 16
Solution:
SECTION 14.8 LAGRANGE MULTIPLIERS ¤ 489
19. ( ) = + 2, ( ) = + + = 1, ( ) = 2+ 2= 4 ⇒ ∇ = h1 2 0i, ∇ = h i and ∇ = h0 2 2i. Then 1 = , 2 = + 2 and 0 = + 2 so =12 = − or = 1(2), = −1(2).
Thus + + = 1 implies = 1 and 2+ 2 = 4implies = ±2√12. Then the possible points are 1 ±√
2 ∓√ 2 and the maximum value is
1√ 2 −√
2
= 1 + 2√
2and the minimum value is 1 −√
2√ 2
= 1 − 2√2.
20. ( ) = 3 − − 3, ( ) = + − = 0, ( ) = 2+ 22= 1 ⇒ ∇ = h3 −1 −3i,
∇ = h −i, ∇ = (2 0 4). Then 3 = + 2, −1 = and −3 = − + 4, so = −1, = −1,
= 2. Thus ( ) = 1 implies 4
2 + 2
1
2
= 1or = ±√
6, so = ∓√16; = ±√26; and ( ) = 0
implies = ∓√36. Hence the maximum of subject to the constraints is √ 6
3 −√26 −√66
= 2√
6and the minimum is
−√36√26√66
= −2√6.
21. ( ) = 2+ 2+ 4 − 4. For the interior of the region, we find the critical points: = 2 + 4, = 2 − 4, so the only critical point is (−2 2) (which is inside the region) and (−2 2) = −8. For the boundary, we use Lagrange multipliers.
( ) = 2+ 2= 9, so ∇ = ∇ ⇒ h2 + 4 2 − 4i = h2 2i. Thus 2 + 4 = 2 and 2 − 4 = 2.
Adding the two equations gives 2 + 2 = 2 + 2 ⇒ + = ( + ) ⇒ ( + )( − 1) = 0, so
+ = 0 ⇒ = − or − 1 = 0 ⇒ = 1. But = 1 leads to a contradition in 2 + 4 = 2, so = − and
2+ 2 = 9implies 22= 9 ⇒ = ±√32. We have
√3 2 −√32
= 9 + 12√
2 ≈ 2597 and
−√32√3 2
= 9 − 12√
2 ≈ −797, so the maximum value of on the disk 2+ 2≤ 9 is
√3 2 −√32
= 9 + 12√ 2and the minimum is (−2 2) = −8.
22. ( ) = 22+ 32− 4 − 5 ⇒ ∇ = h4 − 4 6i = h0 0i ⇒ = 1, = 0. Thus (1 0) is the only critical point of , and it lies in the region 2+ 2 16. On the boundary, ( ) = 2+ 2= 16 ⇒ ∇ = h2 2i, so 6 = 2 ⇒ either = 0 or = 3. If = 0, then = ±4; if = 3, then 4 − 4 = 2 ⇒ = −2 and
= ±2√
3. Now (1 0) = −7, (4 0) = 11, (−4 0) = 43, and
−2 ±2√
3= 47. Thus the maximum value of
( )on the disk 2+ 2≤ 16 is
−2 ±2√ 3
= 47, and the minimum value is (1 0) = −7.
23. ( ) = −. For the interior of the region, we find the critical points: = −−, = −−, so the only critical point is (0 0), and (0 0) = 1. For the boundary, we use Lagrange multipliers. ( ) = 2+ 42= 1 ⇒
∇ = h2 8i, so setting ∇ = ∇ we get −−= 2and −−= 8. The first of these gives
−= −2, and then the second gives −(−2) = 8 ⇒ 2= 42. Solving this last equation with the
° 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied, or duplicated, or posted to a publicly accessible website, in whole or in part.c
57. The plane x + y + 2z = 2 intersects the paraboloid z = x2+ y2in an ellipse. Find the points on this ellipse that are nearest to and farthest from the origin.
Solution:
494 ¤ CHAPTER 14 PARTIAL DERIVATIVES
= 52[again 6= 2 or else (3) implies = 0]. Hence523= and the dimensions which minimize cost are
= = 3
2
5 units, = 135 2
23
units.
43.If the dimensions of the box are given by , , and , then we need to find the maximum value of ( ) =
[ 0] subject to the constraint =
2+ 2+ 2or ( ) = 2+ 2+ 2 = 2. ∇ = ∇ ⇒ h i = h2 2 2i, so = 2 ⇒ =
2, = 2 ⇒ =
2, and = 2 ⇒ =
2. Thus =
2=
2 ⇒ 2= 2 [since 6= 0] ⇒ = and =
2 =
2 ⇒ = [since 6= 0].
Substituting into the constraint equation gives 2+ 2+ 2= 2 ⇒ 2= 23 ⇒ = √
3 = = and the maximum volume is
√ 33
= 3 3√
3.
44.Let the dimensions of the box be , , and , so its volume is ( ) = , its surface area is 2 + 2 + 2 = 1500 and its total edge length is 4 + 4 + 4 = 200. We find the extreme values of ( ) subject to the
constraints ( ) = + + = 750 and ( ) = + + = 50. Then
∇ = h i = ∇ + ∇ = h( + ) ( + ) ( + )i + h i. So = ( + ) + (1),
= ( + ) + (2), and = ( + ) + (3). Notice that the box can’t be a cube or else = = = 503 but then + + = 25003 6= 750. Assume is the distinct side, that is, 6= , 6= . Then (1) minus (2) implies
( − ) = ( − ) or = , and (1) minus (3) implies ( − ) = ( − ) or = . So = = and + + = 50 implies = 50 − 2; also + + = 750 implies (2) + 2= 750. Hence 50 − 2 =750 − 2
2 or
32− 100 + 750 = 0 and =50 ± 5√ 10
3 , giving the points1 3
50 ∓ 10√ 10, 13
50 ± 5√ 10,13
50 ± 5√ 10. Thus the minimum of is 1
3
50 − 10√ 3, 13
50 + 5√ 10, 13
50 + 5√ 10
=271
87,500 − 2500√
10, and its maximum is 1
3
50 + 10√ 10,13
50 − 5√ 10, 13
50 − 5√ 10
= 27187,500 + 2500√ 10. Note: If either or is the distinct side, then symmetry gives the same result.
45.We need to find the extreme values of ( ) = 2+ 2+ 2subject to the two constraints ( ) = + + 2 = 2 and ( ) = 2+ 2− = 0. ∇ = h2 2 2i, ∇ = h 2i and ∇ = h2 2 −i. Thus we need 2 = + 2 (1), 2 = + 2 (2), 2 = 2 − (3), + + 2 = 2 (4), and 2+ 2− = 0 (5).
From (1) and (2), 2( − ) = 2( − ), so if 6= , = 1. Putting this in (3) gives 2 = 2 − 1 or = +12, but putting
= 1into (1) says = 0. Hence + 12 = 0or = −12. Then (4) and (5) become + − 3 = 0 and 2+ 2+12 = 0. The last equation cannot be true, so this case gives no solution. So we must have = . Then (4) and (5) become 2 + 2 = 2 and 22− = 0 which imply = 1 − and = 22. Thus 22= 1 − or 22+ − 1 = (2 − 1)( + 1) = 0 so =12 or
° 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied, or duplicated, or posted to a publicly accessible website, in whole or in part.c
SECTION 14.8 LAGRANGE MULTIPLIERS ¤ 495
= −1. The two points to check are1 21212
and (−1 −1 2): 1 21212
= 34and (−1 −1 2) = 6. Thus1
21212is the point on the ellipse nearest the origin and (−1 −1 2) is the one farthest from the origin.
46. (a) After plotting =
2+ 2, the top half of the cone, and the plane
= (5 − 4 + 3)8 we see the ellipse formed by the intersection of the surfaces. The ellipse can be plotted explicitly using cylindrical coordinates (see Section 15.7): The cone is given by = , and the plane is
4 cos − 3 sin + 8 = 5. Substituting = into the plane equation gives 4 cos − 3 sin + 8 = 5 ⇒ = 5
4 cos − 3 sin + 8. Since = on the ellipse, parametric equations (in cylindrical coordinates) are = , = = 5
4 cos − 3 sin + 8, 0 ≤ ≤ 2.
(b) We need to find the extreme values of ( ) = subject to the two
constraints ( ) = 4 − 3 + 8 = 5 and ( ) = 2+ 2− 2= 0.
∇ = ∇ + ∇ ⇒ h0 0 1i = h4 −3 8i + h2 2 −2i, so we need 4 + 2 = 0 ⇒ = −2 (1),
−3 + 2 = 0 ⇒ =32 (2), 8 − 2 = 1 ⇒ = 82−1 (3), 4 − 3 + 8 = 5 (4), and
2+ 2= 2 (5). [Note that 6= 0, else = 0 from (1), but substitution into (3) gives a contradiction.]
Substituting (1), (2), and (3) into (4) gives 4
−2
− 3
3
2
+ 8
8−1 2
= 5 ⇒ = 3910−8 and into (5) gives
−2
2
+
3
2
2
=
8−1 2
2
⇒ 162+ 92= (8 − 1)2 ⇒ 392− 16 + 1 = 0 ⇒ = 131 or = 13. If =131 then = −12and =134, = −133, =135. If = 13then = 12and = −43, = 1, = 53. Thus the highest point on the ellipse is
−43 153
and the lowest point is4
13 −133135 .
47. ( ) = −, ( ) = 92+ 42+ 362= 36, ( ) = + = 1. ∇ = ∇ + ∇ ⇒
− − −−
= h18 8 72i + h + i, so −= 18 + , −= 8 + ( + ),
−−= 72 + , 92+ 42+ 362= 36, + = 1. Using a CAS to solve these 5 equations simultaneously for ,
, , , and (in Maple, use the allvalues command), we get 4 real-valued solutions:
≈ 0222444, ≈ −2157012, ≈ −0686049, ≈ −0200401, ≈ 2108584
≈ −1951921, ≈ −0545867, ≈ 0119973, ≈ 0003141, ≈ −0076238
≈ 0155142, ≈ 0904622, ≈ 0950293, ≈ −0012447, ≈ 0489938
≈ 1138731, ≈ 1768057, ≈ −0573138, ≈ 0317141, ≈ 1862675 Substituting these values into gives (0222444 −2157012 −0686049) ≈ −53506,
° 2016 Cengage Learning. All Rights Reserved. May not be scanned, copied, or duplicated, or posted to a publicly accessible website, in whole or in part.c
2