官术网_书友最值得收藏!

Lagranges multipliers

In the math optimization problem, the method of Lagrange multipliers is used as a tool for finding the local minima and maxima of a function subject to equality constraints. An example involves finding the maximum entropy distribution subject to given constraints.

This is best explained with an example. Let's say we have to maximize K (x, y) = -x2 -y2 subject to y = x + 1.

The constraint function is g (x, y) = x-y+1=0. The L multiplier then becomes this:

Differentiating with respect to x, y, and lambda, and setting to 0 we get the following:

Solving the preceding equations, we get x=-0.5, y=0.5, lambda=-1.

主站蜘蛛池模板: 镇原县| 涞源县| 崇明县| 新野县| 婺源县| 英山县| 洞头县| 永年县| 龙里县| 手机| 团风县| 屯门区| 禹州市| 澄江县| 新民市| 尼玛县| 鄂伦春自治旗| 库伦旗| 溆浦县| 堆龙德庆县| 缙云县| 泾阳县| 浑源县| 龙游县| 偃师市| 罗定市| 香港 | 徐州市| 堆龙德庆县| 北票市| 滦平县| 永和县| 齐河县| 名山县| 灵台县| 天峻县| 阿瓦提县| 通道| 甘洛县| 老河口市| 房山区|