
The constraint is the relation between the variables x, y, and z. in this problem we know that x+2y+2z=108, so that is the constraint. Note that it is also in the form g(x,y,z)=c so we can use g(x,y,z)=x+2y+2z as the constraint function. The gradient of g is:

Remember that we want to find the points that satisfy the constraint equation, at which the gradient of f is parallel to the gradient of g (Why?). This gives the following system of equations:

Lagrange multipliers: A Review
.
Return to Quiz 6.