Lagrange Multipliers - 2nd method for dealing with boundary, what is it and why does it work (14.8)
Example
Example with 2 constraints