The method of Lagrange Multipliers can be summarized in one single formula:
where is the function to be optimized and
is the constraint.
Example
Let’s illustrate this using the example in your notes (pg 40): Find the relative extrema of subject to the constraint
.
Let denote the constraint. According to the formula
,
Now we need to solve the simultaneous equations: , and
, and the constraint
.
From this part onwards, the solving is identical to the part in the notes.
To understand Lagrange Multiplier intuitively, check out this nice post on Quora.