If we have a function of three variables, $\ f(x, y, z)$ and want to look for its extrema, we can use Sylvester's criterion by creating a matrix: $$\begin{bmatrix} f_{xx} & f_{xy} & f_{xz} \\ f_{yx} & f_{yy} & f_{yz} \\ f_{zx} & f_{zy} & f_{zz} \\ \end{bmatrix}$$ where $f_{ij}$ is 2nd partial derivative of $f$ with respect to $i$ and $j$.
Now, if all the principal minors of the matrix are positive, the matrix is positive-definite, and function $f$ has a minimum in the given point. Else, if the principal minors are alternating between negative and positive (<, >, <, >, ...) then the matrix is negative-definite, and the function $f$ has a maximum in the point.
My question is, what if some of the minors are equal to zero? For example, all but one minors are positive, and that one is equal to zero, is that function still positive definite or not?