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

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.

主站蜘蛛池模板: 乌鲁木齐县| 衢州市| 松江区| 连平县| 长顺县| 定远县| 邢台市| 高雄市| 渝北区| 东港市| 东乡族自治县| 山丹县| 仁化县| 衡水市| 华蓥市| 泽州县| 瑞金市| 兴海县| 翼城县| 中牟县| 稻城县| 中西区| 肃宁县| 航空| 云和县| 谷城县| 南和县| 东台市| 黄梅县| 浏阳市| 鹤壁市| 福清市| 平度市| 顺平县| 莫力| 福海县| 陵水| 夏河县| 台山市| 井冈山市| 平度市|