Optimization with the Lagrangian
The Lagrangian is another mathematical tool of Kuhn and Tucker for solving linear and nonlinear constrained maximization program. Instead of maximizing
, it maximizes
. Considering the program,
![Rendered by QuickLaTeX.com \[ \left\{ \begin{array}{c} \max_{k_{t+1},h_{t}}\sum\nolimits_{0}^{\infty }\beta ^{t}\left( \ln c_{t}+A\ln \left( 1-h_{t}\right) \right) \\ sc:f\left( \lambda _{t},k_{t},h_{t}\right) =\lambda _{t}\left( k_{t}\right) ^{\theta }\left( h_{t}\right) ^{1-\theta } \\ sc:k_{t+1}=\left( 1-\delta \right) k_{t}+i_{t} \\ sc:f\left( \lambda _{t},k_{t},h_{t}\right) \geq c_{t}+i_{t} \end{array} \right. \]](http://vermandel.fr/wp-content/ql-cache/quicklatex.com-2230855e5d2943dd27240f7294c640b7_l3.png)
We write the Lagrangian as the sum of the objective function and the constraints weighted by a Lagrange multiplier associated with each of these constraints. As the optimization is also an infinity of time, the Lagrangian is dynamic. The constraint (1) and (3) can be reduced by one to simplify the calculations. We must therefore adapt our maximization program by summing the constraints with two Lagrange multipliers
et
,
![Rendered by QuickLaTeX.com \[ \Lambda \left( \zeta _{t},\upsilon _{t}\right) =\max_{k_{t+1},h_{t}}\sum\nolimits_{0}^{\infty }\beta ^{t}\left( \begin{array}{c} \left( \ln c_{t}+A\ln \left( 1-h_{t}\right) \right) \\ -\zeta _{t}\left[ \lambda _{t}\left( k_{t}\right) ^{\theta }\left( h_{t}\right) ^{1-\theta }-\left( c_{t}+i_{t}\right) \right] \\ -\upsilon _{t}\left[ \left( 1-\delta \right) k_{t}+i_{t}-k_{t+1}\right] \end{array}% \right) \]](http://vermandel.fr/wp-content/ql-cache/quicklatex.com-be8a0e5e5d89b7cffdd6a44c4a5d5875_l3.png)
We must now determine the gradients (or extremas), according to the Lagrangian variables to maximize,


The Lagrangian has two additional variables to be determined, it is also much more gradients than there are constraints,


Our four first-order conditions, after a little algebra, lead us to find,
![Rendered by QuickLaTeX.com \[ \left\{ \begin{array}{c} \frac{c_{t+1}}{\beta c_{t}}r_{t}+\left( 1-\delta \right) \\ Ac_{t}=\left( 1-h_{t}\right) w_{t}% \end{array}% \right. \]](http://vermandel.fr/wp-content/ql-cache/quicklatex.com-67794fc82c7d8fb9e24ccd81b5e3bff9_l3.png)
If the Lagrangian is slightly longer from a pure mathematical point of view, it has the advantage of simplifying the optimization problem. From experience, calculation errors are much less frequent using the Lagrangian with respect to partial derivatives.