Positive definiteness of the following matrix We have the matrix $$\begin{pmatrix}1&1&0\\1&1&1\\0&1&1\end{pmatrix}.$$
I learned the terms positive definiteness and signature only recently, so I would really appreciate it if somebody could show me if this matrix if positive definite and what its rank and signature are. Thanks in advance.
Edit: Can somebody show me how to compute the rank and signature of this matrix specifically?
 A: By Silvester's criterion a symmetric matrix is positive definite if and only if all of the leading principal minors have positive determinant. 
Since the $2\times 2$ principal minor has determinant zero, the matrix is not positive definite.
A: A matrix is positive definite if it's determinant is positive. In this matrix the determinant is negative so the matrix is not positive definite.
Signature: Since the determinant is negative, so this matrix has atmost one negative eigenvalue.
Rank: Rank is equal to the number of non-zero eigenvalues (counting multiplicity)
A: Here is another option how to decide on the definiteness of the matrix simply by definition. Since $[1,-1,1]A[1,-1,1]^T=-1<0$ and $[1,1,1]A[1,1,1]^T=7>0$, the matrix is indefinite.
A: Call your matrix $A$. It has at least one positive eigenvalue because its trace is positive. It follows that $A$ has exactly one negative eigenvalue and two positive eigenvalues because $\det A<0$. Hence $A$ is not positive definite and it has full rank.
