Infinitesimal calculus MOC

Lagrangian function

In its essence, the Lagrangian function is a way to package all the information required to optimise a function under a constraint into a single function which can be optimised in the normal (unconstrained) fashion. For a function under a constraint , the corresponding Lagrangian function is given by

Using this function, optimising is a matter of solving . This has the same effect as solving the system of equations used for a Lagrange multiplier.

In order to determine the nature of these saddle points of the Lagrangian, one must use the Second derivative test for multivariable functions by taking the Hessian matrix of the Lagrangian:

  1. If it is a local maximum
  2. If it is a local minimum
  3. If it is neither a local maximum nor a local minimum.

#state/tidy | #SemBr | #lang/en