Calculus 3 · Optimization
Optimizing under a constraint can be done by comparing the gradients of the quantity and the constraint.