Derivation of relation between definiteness of Hessian and nature of stationary point
At a stationary point $\v x_0$, since $\vnabla f = \v 0$, the Taylor expansion about $\v x_0$ is $$ f(\v x_0 + \delta\v x) \approx f(\v x_0) + \frac12 \delta\v x H\delta\v x^T. $$
If $H$ is positive definite, then for any small $\delta\v x$, $$ \delta\v x H \delta\v x^T > 0. $$ So in a sufficiently local vicinity of $\v x_0$, $$ f(\v x) > f(\v x_0) $$ so $\v x_0$ is a local minimum.
Similar logic applies to negative definite $H$.