Positive-Definite Covariance Matrices in Mean-Variance Optimization
Summary
The document explains why positive definiteness matters for the covariance matrix in mean-variance portfolio optimization. Portfolio variance is a quadratic form in portfolio weights, and a valid covariance matrix cannot imply negative variance. Positive definiteness means that this quadratic form is positive for every nonzero weight vector; positive semidefiniteness allows zero variance in special cases, such as redundant assets or a portfolio with no uncertainty.
The responses connect positive definiteness to optimization: it ensures invertibility and supports a unique global minimum for a quadratic objective. The question also raises how to handle covariance estimates that fail this condition, but the answers do not discuss specific causes or repair methods. The discussion gives the core mathematical intuition rather than implementation guidance, and it does not establish that every practical mean-variance problem requires strict positive definiteness under all constraint sets.
Key ideas
- Portfolio variance is represented by a quadratic form in portfolio weights and the covariance matrix.
- A valid covariance matrix cannot produce negative portfolio variance.
- A positive-definite matrix is invertible and its inverse is also positive definite.
- Positive definiteness supports a unique global minimum for a quadratic optimization problem.
- The document raises possible covariance matrix remedies but does not describe them.
Tags
Full text
# Why does portfolio optimization require a positive-definite covariance matrix? # Why does portfolio optimization require a positive-definite covariance matrix? Why does the portfolio optimization mean-variance model require the covariance matrix to be positive-definite? Does this requirement have to do with the need to be able to invert the matrix during optimization? How is positive-definiteness achieved? Does it happen because all matrix elements (variance and covariance) are non-negative? In which cases do asset returns fail to make the covariance matrix positive definite? are there any known work-arounds when this happens ## Answer by Quantoisseur (score 8, accepted) https://quant.stackexchange.com/a/57341 To supplement the other answer, yes there are optimization reasons for the covariance matrix being symmetric positive definite (SPD). All positive definite matrices are invertible and its inverse is also positive definite. This guarantees a unique global minimum in a quadratic optimization problem (MVO). Lots of material available on the topic: https://www.cis.upenn.edu/~cis515/cis515-12-sl14.pdf ## Answer by Martin Vesely (score 7) https://quant.stackexchange.com/a/57332 Positive definite matrix $A$ is defined as $x^TAx > 0$ for all vectors $x$. Since a term $w^T\Sigma w$ in Markowitz (and other models as well) expresses variance in returns, it is a measure of dispersion. Any measure of dispersion has to be positive (or maybe zero but it is a case where there is no uncertainty and hence no risk). Negative dispersion is meaningless.
Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.