Lagrange multiplier method, proof of
Let and . Taking the derivative of and with respect to gives:
and
By letting the partial derivatives can be rewritten as follows:
This implies that thus Now this equation can be rewritten as Since this equation can be separated into two new equations:
Using the above equations, a new function, , can be defined:
which can be generalized as: