I'm wondering what the hessian matrix of a function tells me about its critical points.
Quick Example: Let $f(x,y) = \frac{x^2}{2}+\frac{y^2}{2}$ and $M:=\{(x,y)\in\mathbb R^2 | \frac{x^2}{2}+y^2\leq1\}$
We get a minima in $p_1=(0,0)$ and two maxima at $p_{2,3}=(\pm\sqrt{2},0)$
The Hessian Matrix of $f$ is $Hess(f)=\begin{pmatrix}1&0\\0&1\end{pmatrix}$
I always though, that:
$Hess(f(p_i))$ positive definit $\Rightarrow p_i$ is minima
$Hess(f(p_i))$ negativedefinit $\Rightarrow p_i$ is maxima
$Hess(f(p_i))$ indefinit $\Rightarrow p_i$ is saddle point
But here we have a positive definit Hessian Matrix for any Point. Thus all of them would be maxima. But they can't be, since there must be a minima between two maxima.
Question 1: So whats going on here? Where's my mistake?
Question 2: What exactly tells me, if my hessian matrix is (pos/neg) semi-definit? In which cases can I follow what? How do I handle these cases?
