Lagrange multiplier method (拉格朗日乘数法)

The Lagrange multiplier method is used to solve the problem that find the extremum of a function z=f(x,y) , given ϕ(x,y)=0 .

simple extremum problem

To solve a simple extremum problem,

z=f(x,y)

we just need to find the (x,y) where
zx=0zy=0

By solving the simultaneous equations, we could find the (x,y)s. Then plugging in the (x,y)s into the function z = f(x,y), we find the extremum of z.

extremum problem with restricted condition

The problem is finding the extremum of

z=f(x,y)

where,
ϕ(x,y)=0

By applying Lagrange multiplier method, we define a new function, as:
F(x,y,λ)=f(x,y)+λϕ(x,y)

Then, take the partial derivatives of x,y,λ . We get Fx,Fy,Fλ . Make them be 0 .
Fx=0Fy=0Fλ=0

Three equations, three unknow variables. The equation set could be solved. By solving the equation set, we get the (x,y) , we care nothing about λ .
Then, plugging the (x,y) , just solve out, in the function z=f(x,y) , we find the extremum of z=f(x,y) with restricted condition ϕ(x,y)=0

explanation

as ϕ(x,y) always be 0 , F(x,y,λ) will always be equal to f(x,y) .

F(x,y,λ)=f(x,y)+λϕ(x,y)ϕ(x,y)=0F(x,y,λ)=f(x,y)

So F(x,y,λ) and f(x,y) have the same 3-d surface, if you thought a=F(x,y,λ) is a function in 3-d space. In fact the function F(x,y,λ) is a function in 4-d space.
What we do is going to find the extremum of the 4-d space function F(x,y,λ) . When F(x,y,λ) get its extremum, the conditions exactly fit the origin problem conditions, occasionally, luckily in fact.
Solving the simple 4-d problem solves the complex 3-d problem. “Why not solve the simple problem?”, Lagrange thought.

[MORE DETAILED EXPLANATION COMES SOON.]

reference

1 [youdaoDic]
特别的,我们学过,怎样找到直线与平面的交点,通过将参数方程带入平面方程。
And, well, we’ve learned in particular how to find where a line intersects a plane by plugging in the parametric equation into the equation of a plane.
2 拉格朗日乘数法_百度百科

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值