Michael Corral: Vector Calculus
Michael Corral: Vector Calculus
Michael Corral: Vector Calculus
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
2.7 Constrained Optimization: Lagrange Multipliers 99<br />
Substituting this into g(x,y)= x 2 +y 2 = 80 yields 5x 2 = 80,<br />
so x=±4. So the two constrained critical points are (4,8)<br />
and(−4,−8). Since f(4,8)=45and f(−4,−8)=125, andsince<br />
there must be points on the circle closest to and farthest<br />
from (1,2), then it must be the case that (4,8) is the point<br />
on the circle closest to (1,2) and (−4,−8) is the farthest from<br />
(1,2) (see Figure 2.7.1).<br />
Notice that since the constraint equation x 2 +y 2 = 80 describes<br />
a circle, which is a bounded set in 2 , then we were<br />
guaranteed that the constrained critical points we found<br />
were indeed the constrained maximum and minimum.<br />
y<br />
x 2 +y 2 = 80<br />
(4,8)<br />
(1,2)<br />
0<br />
(−4,−8)<br />
Figure 2.7.1<br />
x<br />
The Lagrange multiplier method can be extended to functions of three variables.<br />
Example 2.27.<br />
Maximize (and minimize) : f(x,y,z)= x+z<br />
Solution: Solve the equation∇f(x,y,z)=λ∇g(x,y,z):<br />
given : g(x,y,z)= x 2 +y 2 +z 2 = 1<br />
1=2λx<br />
0=2λy<br />
1=2λz<br />
The first equation impliesλ0 (otherwise we would have 1=0), so we can divide<br />
byλin the second equation to get y = 0 and we can divide byλin the first and<br />
third equations to get x= 1<br />
2λ<br />
= z. Substituting these expressions into the constraint<br />
( )<br />
equation g(x,y,z)= x 2 + y 2 + z 2 1<br />
= 1 yields the constrained critical points √<br />
1<br />
,0, √2<br />
( ( ) (<br />
2<br />
−1<br />
and √,0, −1 √<br />
1<br />
). Since f √,0, √2<br />
1 −1<br />
> f √,0, −1 √<br />
), and since the constraint equation<br />
2 2 2 2 2<br />
( )<br />
x 2 + y 2 + z 2 = 1 describes a sphere (which is bounded) in 3 1<br />
, then √<br />
1<br />
,0, √2 is the<br />
( )<br />
2<br />
−1<br />
constrained maximum point and √,0, −1 √ is the constrained minimum point.<br />
2 2<br />
SofarwehavenotattachedanysignificancetothevalueoftheLagrangemultiplier<br />
λ. Weneededλonlytofindtheconstrainedcriticalpoints,butmadenouseofitsvalue.<br />
It turns out thatλgives an approximation of the change in the value of the function<br />
f(x,y) that we wish to maximize or minimize, when the constant c in the constraint<br />
equation g(x,y)=cis changed by 1.