Lagrangian Method
Lagrangian Method
Optimization Problems
Mathias Herzing, Department of Economics, Stockholm University
The Lagrangian equals the objective function f (x1 ; x2 ) minus the La-
grange mulitiplicator multiplied by the constraint (rewritten such that the
right-hand side equals zero). It is a function of three variables, x1 , x2 and .
By calculating the partial derivatives with respect to these three variables,
we obtain the …rst-order conditions of the optimization problem:
1
Why Is this Method Applied?
The Lagrange method is frequently used in economics, mainly because
the Lagrange multiplicator(s) has an interesting interpretation. The La-
grange multiplicator represents the shadow price of the constraint that it
is multiplied with; it measures how much the optimal value of the objective
function f (x1 ; x2 ) would change if the constraint would be relaxed marginally
(i.e. if the constant c would increase marginally).
max x1 x2 s.t. p1 x1 + p2 x2 = m:
x1 ;x2
2
Example: Cost Minimization
The utility function is given by u(x1 ; x2 ) = x1 x2 . We want to minimize
the expenditures, given by E(x1 ; x2 ) = p1 x1 + p2 x2 , for attaining utility level
u:
min p1 x1 + p2 x2 s.t. x1 x2 = u:
x1 ;x2