reklaws89
- 6
- 0
We're suppose to minimize f(x,y,z)=x^2+y^2+z^2 subject to 2x+y+2z=9.
I only ever remember learning how to do f(x,y) would it be the same equation? Thus, f(x,y,\lambda) = f(x,y) + \lambda g(x,y)? Meaning f(x,y,z,\lambda) = x^2+y^2+z^2 + \lambda (2x+y+2z-9) and then continue solving for each variable from there?
Any help?
I only ever remember learning how to do f(x,y) would it be the same equation? Thus, f(x,y,\lambda) = f(x,y) + \lambda g(x,y)? Meaning f(x,y,z,\lambda) = x^2+y^2+z^2 + \lambda (2x+y+2z-9) and then continue solving for each variable from there?
Any help?