- #1
squenshl
- 479
- 4
Optimize f(x,y,z) = x3 + y3 + z3, subject to the constraint g(x,y,z) = x2 + y2 + z2 - 1 = 0
Step 1:
I did L = f - [tex]\lambda[/tex]g = x3 + y3 + z3 - [tex]\lambda[/tex](x2 + y2 + z2 - 1)
Step 2:
I got Lx = 3x2 - 2[tex]\lambda[/tex]x = 0, Ly = 3y2 - 2[tex]\lambda[/tex]y = 0, Lz = 3z2 - 2[tex]\lambda[/tex]z = 0
Now I can't seem to solve these 3 equations to get the critical points & find what [tex]\lambda[/tex] is. Some help please. Thanks.
Step 1:
I did L = f - [tex]\lambda[/tex]g = x3 + y3 + z3 - [tex]\lambda[/tex](x2 + y2 + z2 - 1)
Step 2:
I got Lx = 3x2 - 2[tex]\lambda[/tex]x = 0, Ly = 3y2 - 2[tex]\lambda[/tex]y = 0, Lz = 3z2 - 2[tex]\lambda[/tex]z = 0
Now I can't seem to solve these 3 equations to get the critical points & find what [tex]\lambda[/tex] is. Some help please. Thanks.