Necessary and Sufficient Conditions for a Minimum

Directional derivatives can be used to provide simple necessary or sufficient conditions for a minimum [Demyanov [2009, propositions 8 and 10]].

Result: If is a local minimizer of then and for all directions . If for all then has a strict local minimum at .


The special case of a quadratic deserves some separate study, because the quadratic model is so prevalent in optimization. So let us look at , with symmetric. Use the eigen-decomposition to change variables to , also using . Then , which we can write as Here

  • If is non-empty we have .
  • If is empty, then attains its minimum if and only if for all . Otherwise again

If the minimum is attained, then with the Moore-Penrose inverse. And the minimum is attained if and only if is positive semi-definite and .