※ 引述《TimJack (饱喀喀)》之铭言:
: find the maximum and minimum values of the function f(x,y)=x+2*y subject to th
: e constraints x+y+z=1 and y^2+z^2=4
: 请问各位大大
: 这极值该如何求
: 感谢
object function : f(x,y,z) = x+2y
constraints : g(x,y,z) = x+y+z-1 = 0 , h(x,y,z) = y^2+z^2-4 = 0
解 ▽f - λ▽g - s▽h = 0
得到 λ = 1, 2sy = 1, 2sz = -1 => s,y,z 不等于 0
=> 可能发生极值的点 x = 1, y = √2, z = -√2 或 x = 1 , y = -√2, z = √2
=> 最大值 1 + 2√2 , 最小值 1 - 2√2