This is an example to accompany my Lagrange multipliers tutorial:
[ Ссылка ]
In this example, I consider a (rather artificial) commodities trading firm trying to maximize its profit by adjusting the quantities of five commodities that it keeps on hand, subject to two constraints. This requires two separate Lagrange multiplier terms, and a good imagination (with computer assistance) to picture what's going on in five dimensions.
![](https://i.ytimg.com/vi/lj148TCnyCE/maxresdefault.jpg)