Suppose we are minimizing a function
This can (sometimes) be done by instead minimizing the function:
Note that the partial derivative in
so we just need to solve
Lagrange Multipliers for Functionals
General method
We are minimizing
The following method works as long as we have The Necessity Theorem.
- Introduce the slack variable
s.t. . - Introduce the Lagrangian
- Find the set of Feasible Lagrange Multipliers
- Note that
has to be because of term. - Now find
and
which minimize for every - Note that
,
this is called Complimentary Slackness - Hence, determine
such that and are feasible
(this might FAIL in which case the method doesn’t work) - Use Lagrange sufficiency theorem to finalize.
Example 1 (no slack variable)
Minimize
s.t.
Rewrite
Now this cannot go to
Differentiate
and set to zero to find extreme values:
Find
This gives
Now apply Lagrange sufficiency theorem to this.
Example 2 (slack variable)
Minimize
s.t.
Add slack variables:
Write
Terms
Differentiating w.r.t.
If
NOTE: Here we are minimizing
That is why we can say the previous line.
Later we should check if there is a
Now we have two cases:
This should yield
That is a feasible solution so by Lagrange sufficiency theorem we are done.