We are looking for minima of the cost function
f (x, y, z) = 6x + 4y + 8z
subject to the constraint Q(x, y, z) = 1000, where Q(x, y, z) = x yz. Using Lagrange multipliers the equations for critical points are
6 = yzλ
4 = xzλ
8 = xyλ
xyz = 1000
We multiply the first equation by x, the second by y and the third by z to obtain
We substitute this into the constraint equation to obtain
We substitute this into the constraint equation to obtain
Therefore the least cost for producing 1000 widgets is achieved using
tons of aluminium
tons of iron and
tons of magnesium