See Lagrange multipliers
Suppose we are minimizing
subject to
This is equivalent to minimizing:
Note that here
On the other hand, suppose the condition was
Then we want to minimize:
This way, the Euler-Lagrange for the function
See Lagrange multipliers
Suppose we are minimizing
subject to
This is equivalent to minimizing:
Note that here
On the other hand, suppose the condition was
Then we want to minimize:
This way, the Euler-Lagrange for the function