We wish to maximize the value of subject to the constraints

So we use Lagrange multipliers. The objective function, , is

Computing the partial derivatives of with respect to all the variables and the Lagrange multipliers and setting them equal to zero gives:

To begin with, we observe that can not be zero, because if it was, then equations (1) and (2) would force , while equation (3) would force ; a contradiction. Hence, we combine equations (1) and (2) to see that the maximum of occurs on the plane :

Taking this result and using (4), we find

Taking these two results and using (5) we have an equation for z:

Multiplying this equation by 4 and expanding all the quadratic terms we get:

Solving this equation for we get

Taking the larger of the two results we obtain the maximum of subject to the given constraints which is .
|