After some search here and on Google, I couldn't find a way to determine the definiteness of this matrix:
\begin{bmatrix}0&1\\1&0\end{bmatrix}
My understanding is that it should be negative semi-definite since all principal minors are $\leq 0$.
However, in the sample solutions of the book I am working through it stated that it is neither positive nor negative semi-definite.
A general procedure (for positive and negative semi-definiteness) would be really helpful.
Why is that?
(Not a general procedure) Going back to the original definition, a matrix $M$ is positive semi-definite if $v^T Mv\ge 0$ for all $v\in\mathbb R^n$ (similar for negative). But
$$ \begin{bmatrix}a&b\end{bmatrix}\begin{bmatrix}0&1\\1&0\end{bmatrix}\begin{bmatrix}a\\b\end{bmatrix} = 2ab $$ The expression is not always $\ge 0$ or $\le 0$, so the matrix is indefinite.