Skip to content

Positive Definite Matrices

Portfolio variance w⊤Σw\mathbf{w}^\top\Sigma\mathbf{w} must be non-negative for every book w\mathbf{w}. That single inequality is the definition of positive semi-definiteness, and it is equivalent to "all eigenvalues ≥0\ge 0", to "a Cholesky factor exists" (in the definite case), and to "the matrix is a Gram matrix S⊤SS^\top S". This note states those equivalences at working level, connects them to quadratic forms, and reads a negative eigenvalue of a supposed covariance as a desk failure mode — not a market fact.
Learning objectives. By the end of this note you should be able to:
  • state equivalent characterisations of PSD / PD for symmetric matrices;
  • test a small matrix via eigenvalues or the quadratic form;
  • state the existence (and uniqueness with positive diagonal) of a Cholesky factor for PD matrices;
  • explain why a covariance must be PSD and what λ<0\lambda<0 implies for reported portfolio variance.

Definitions and equivalences

Definition 1 (PSD / PD). A real symmetric matrix AA is positive semi-definite (PSD) if x⊤Ax≥0\mathbf{x}^\top A\mathbf{x}\ge 0 for all x\mathbf{x}, and positive definite (PD) if x⊤Ax>0\mathbf{x}^\top A\mathbf{x}>0 for all x≠0\mathbf{x}\neq\mathbf{0}.
Theorem 1 (Equivalent characterisations). For real symmetric AA, conditions 1–3 are equivalent. Positive definiteness strengthens them as indicated below:
  1. x⊤Ax≥0\mathbf{x}^\top A\mathbf{x}\ge 0 for all x\mathbf{x} (Definition 1);
  2. every eigenvalue of AA satisfies λi≥0\lambda_i\ge 0;
  3. A=B⊤BA=B^\top B for some real BB (Gram form); For PD, every eigenvalue is positive and BB has full column rank. These strict conditions are also equivalent to a Cholesky factorisation A=LL⊤A=LL^\top with LL lower triangular and positive diagonal.
Proof of (1) ⇔\Leftrightarrow (2) — the load-bearing derivation. By the spectral theorem, A=QΛQ⊤A=Q\Lambda Q^\top. For x=Qc\mathbf{x}=Q\mathbf{c},
x⊤Ax=c⊤Λc=∑iλici2.\mathbf{x}^\top A\mathbf{x}=\mathbf{c}^\top\Lambda\mathbf{c}=\sum_i\lambda_i c_i^2.

The sum is ≥0\ge 0 for every c\mathbf{c} if and only if every λi≥0\lambda_i\ge 0. Strict positivity for c≠0\mathbf{c}\neq\mathbf{0} forces every λi>0\lambda_i>0. ■\blacksquare

Proof sketch of (3) ⇒\Rightarrow (1). If A=B⊤BA=B^\top B, then x⊤Ax=∥Bx∥2≥0\mathbf{x}^\top A\mathbf{x}=\lVert B\mathbf{x}\rVert^2\ge 0. Conversely, a PSD AA has a symmetric square root from the spectral calculus (S=QΛQ⊤S=Q\sqrt{\Lambda}Q^\top, so A=S⊤SA=S^\top S), giving a Gram representation. Full write-up: Positive (Semi-)Definite Matrices.
Corollary 1 (Covariances are PSD). For T>1T>1, any matrix of the form 1T−1X~⊤X~\frac{1}{T-1}\tilde X^\top\tilde X is PSD by characterisation (3). A population covariance Σ=E[(R−μ)(R−μ)⊤]\Sigma=\mathbb{E}[(\mathbf{R}-\boldsymbol\mu)(\mathbf{R}-\boldsymbol\mu)^\top] is PSD because w⊤Σw=Var⁡(w⊤R)≥0\mathbf{w}^\top\Sigma\mathbf{w}=\operatorname{Var}(\mathbf{w}^\top\mathbf{R})\ge 0.
Financial interpretation. Variance of a portfolio return cannot be negative. If a risk system prints λ=−0.4\lambda=-0.4 for a "covariance", Corollary 1 says the object is not a covariance: date misalignment, a broken shrinkage step, or severe numerical pollution — not "the market went negative variance."

In this lesson

  1. Definitions and equivalences
  2. Quadratic forms and portfolio variance
  3. Cholesky (existence statement)

Before you start

References

The full lesson, with worked examples and exercise solutions, is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or browse the Linear Algebra, Optimisation and Numerical Methods syllabus.