Calculus – How to Classify Extrema Found Using Lagrange Multipliers

calculuslagrange multiplieroptimization

Ok so I have found a bunch of local extrema using the method of Lagrange multipliers.

Now how do I classify them as minimum or maximum?

I cant use the second derivative test because its not a single function – it is a collection of a function along with a bunch of constraints.

Is there any global algorithmic solution for this? Or do I just eyeball it and use human ingenuity that will differ on a case by case basis?

Best Answer

There is a second derivative test for constrained extrema. Here's the statement for the case of one constraint $g(x)=c$. Suppose $a$ is a constrained critical point of $f$ on the constraint set $g(x)=c$. Then we have $\nabla f(a)=\lambda\nabla g(a)$ for some scalar $\lambda$. Consider the Hessian matrix $H$ (matrix of second partial derivatives) of $f(x)-\lambda g(x)$, evaluated at $a$. Then if $v^\top Hv>0$ for all $v$ tangent to the constraint hypersurface at $a$, we conclude that $a$ is a constrained local minimum; if $v^\top Hv<0$ for all $v$ tangent to the constraint hypersurface at $a$, we conclude that $a$ is a constrained local maximum. [Interestingly, it does not work with the Hessian of $f$ alone.]

(One proves this by taking a parametrization $\phi$ of the constraint hypersurface near $a$ (say, with $\phi(0)=a$) and realizing that the function $f\circ\phi$ has a standard critical point at $0$, which can be characterized by looking at the Hessian of $f\circ\phi$ at $0$.)

Related Question