squenshl
- 468
- 4
Optimize f(x,y,z) = x2 + y2 + z2 - 2x subject to the constraint g(x,y,z) = x2 + y2 + z2 - 25 = 0
Step 1:
L = f - [tex]\lambda[/tex]g = x2 + y2 + z2 - 2x - [tex]\lambda[/tex](x2 + y2 + z2 - 25).
Step 2:
Lx = 2x - 2 - 2[tex]\lambda[/tex]x = 0
Ly = 2y - 2[tex]\lambda[/tex]y = 0
Lz = 2z - 2[tex]\lambda[/tex]z = 0
What do I do now? Please help.
Step 1:
L = f - [tex]\lambda[/tex]g = x2 + y2 + z2 - 2x - [tex]\lambda[/tex](x2 + y2 + z2 - 25).
Step 2:
Lx = 2x - 2 - 2[tex]\lambda[/tex]x = 0
Ly = 2y - 2[tex]\lambda[/tex]y = 0
Lz = 2z - 2[tex]\lambda[/tex]z = 0
What do I do now? Please help.