# Is a correlation matrix with positive determinant PSD?

Please note: I'm not interested in the difference between positive definiteness and semi-definiteness for this question.

A correlation matrix is a symmetric positive semi-definite matrix with 1s down the diagonal and off-diagonal terms $-1 \leq M_{ij} \leq 1$.

Since a correlation matrix must be positive semi-definite, it must have a positive (or zero) determinant, but does a positive determinant imply positive definiteness? In other words, if I have a matrix with 1s down the diagonal, off-diagonals satisfying $-1 \leq M_{ij} \leq 1$ and positive determinant, is that enough to prove that the matrix is positive definite (and thus an acceptable correlation matrix)?

Thank you.

• $$\begin{bmatrix} -1 & 0\\ 0 & -1\end{bmatrix}$$has a positive determinant, but it's negative definite. – Rodrigo de Azevedo Jun 21 '16 at 10:38
• Thanks, but this doesn't satisfy the set-up of my question - it has negative 1s along the diagonal, so clearly isn't a correlation matrix from the get-go. – JamesF Jun 21 '16 at 11:04
• You asked "does a positive determinant imply positive definiteness?". – Rodrigo de Azevedo Jun 21 '16 at 11:04
• Only in the first part! I clarified what I meant in the second sentence of the second paragraph. – JamesF Jun 21 '16 at 11:40
• Your question is very messy. Correlation matrices are symmetric and positive semidefinite. Hence, their determinants are always nonnegative, but not necessarily positive. – Rodrigo de Azevedo Jun 21 '16 at 11:44

## 3 Answers

The answer to your question, as I now understand it, is no. In particular, we can construct a matrix of you particular pattern with a positive determinant that fails to be positive definite.

In particular, consider the matrix

$$M = \pmatrix{ 1&-1&-1&0&0&0\\ -1&1&-1&0&0&0\\ -1&-1&1&0&0&0\\ 0&0&0&1&-1&-1\\ 0&0&0&-1&1&-1\\ 0&0&0&-1&-1&1\\ }$$ which has eigenvalues $-1-1,2,2,2,2$

• Thanks. Could I ask you to expand to demonstrate this, or could you include a link that would do so? – JamesF Jun 21 '16 at 12:28
• See my latest edit. – Omnomnomnom Jun 21 '16 at 12:37
• Thanks, but I don't think this really answers my question. I'm not interested in the "semi-" part of "semi-definite". What I want to know is this: I have a matrix which looks like a correlation matrix (1s on the diagonal, 0.5 etc on the off-diagonal) and I know it has a positive determinant. Can I be sure from this, without calculating eigenvalues, that the matrix is PSD? ie. can I be sure that there aren't two negative eigenvalues lurking in there that would give it a positive determinant but still fail to be be positive semi-definite? – JamesF Jun 21 '16 at 13:18
• See my latest edit... again – Omnomnomnom Jun 21 '16 at 13:36
• Thanks! (side note: the matrix actually has eigenvalues of -1, -1, 2, 2, 2, 2) – JamesF Jun 21 '16 at 13:56

Three facts:

1. Symmetric semi positive definite matrix has all eigenvalues real and greater or equal zero.
2. Symmetric positive definite matrix has all eigenvalues real and greater than zero.
3. Determinant of any matrix is equal to product of all eigenvalues.

Hence, if determinant of symmetric semi positive definite matrix $A$ is nonzero, then $A$ is positive definite.

The answer is yes.

• Thanks, but like the other commentators you've focussed on determining semi-definite vs definiteness. That's not what I was asking - see Omnomnomnom's answer. – JamesF Jun 23 '16 at 6:55
• Question: Since a correlation matrix must be positive semi-definite, it must have a positive (or zero) determinant, but does a positive determinant imply positive definiteness?. I understand this question as: is correlation matrix with positive determinant a positive definite matrix. My answer shows that this is true. – Pawel Kowal Jun 23 '16 at 7:43
• Please read the very next sentence after the part of the question you've quoted. Better yet, read Omnomnomnom's answer. – JamesF Jun 24 '16 at 14:50

Slight variation to original poster's question, would the conjecture hold if the determinants of leading principal minors are non-negative? I.e.

Take a matrix with the following properties: a) real symmetric b) all entries between -1 and 1 c) diagonal elements are all equal to 1 d) determinants of leading principal minors are non-negative

Is there an example of such a matrix which is not positive semi-definite? I wasn't able to construct any such example yet.

This is very much related to Sylvester's criterion and already holds for positive definite matrices, whereas in the case of positive semi-definite matrices, all principal minors must have non-negative determinants. The conjecture (which seems what the original poster was after) really means that for such "nicely" structured matrices, the stronger property holds and we only have to check the leading principal minors?