The Lagrange multiplier equations are , , together with . If , then and ; if , then and . Thus
The constraint is compact and its gradient never vanishes, so these exhaust the possible global extrema. Equivalently, substituting , gives along the boundary.
Minimize the squared distance subject to . The Lagrange multiplier condition gives and . Enforcing the line constraint gives , hence
The displacement to this point is parallel to the line's normal vector , so it is the orthogonal projection. The squared distance restricted to the line has positive quadratic coefficient , proving this stationary point is the unique global minimum.
Let denote the stated cost per area of the cylindrical wall. Charge for the curved wall and cap as specified; no floor cost is supplied. The volume and cost are and . To minimize cost at fixed volume, apply a Lagrange multiplier to . Differentiation with respect to gives . The derivative then gives , reducing to . Thus the optimal cylinder and hemispherical cap with unequal surface costs has
For a global check, eliminate to obtain . Its second derivative is positive for , and its critical radius gives , so the constrained optimum lies inside the physically feasible range and is the unique minimum.

Articles by others on the same topic (0)

There are currently no matching articles.