When you want to maximize (or minimize) a multivariable function subject to the constraint that another multivariable function equals a constant,
follow these steps:
Step 1: Introduce a new variable , and define a new function as follows:
This function is called the "Lagrangian", and the new variable is referred to as a "Lagrange multiplier"
Step 2: Set the gradient of equal to the zero vector.
In other words, find the critical points of
Step 3: Consider each solution, which will look something like . Plug each one into f. Or rather, first remove the then plug it into f, since f does not have as an input. Whichever one gives the greatest (or smallest) value is the maximum (or minimum) point your are seeking.
Comments
Leave a comment