Shorthand for "A is positive definite." The ≻ symbol is the matrix analogue of the scalar inequality >0 — but it means xTAx>0 for all nonzero x, not that every entry of A is positive. Only defined for symmetric matrices.
$A \succeq 0$A succeq zero — positive semi-definite
"A is positive semi-definite." Requires xTAx≥0 for all x — equality is permitted. A PSD matrix may have zero eigenvalues, meaning it is singular. Valid covariance matrices are PSD (not necessarily PD) because a portfolio with zero variance is possible (perfectly correlated assets).
$L$L — Cholesky factor
The lower-triangular matrix in the Cholesky decomposition A=LLT. Exists (and is unique with positive diagonal entries) whenever A is symmetric positive definite. The Cholesky factor is the matrix analogue of the square root: L "is the square root" of A in the sense that A=LLT.
$\lambda_{\min}(A)$lambda min A — smallest eigenvalue
The smallest eigenvalue of a symmetric matrix A. A≻0⟺λmin(A)>0. Provides a quantitative measure of "how positive definite" A is — the further λmin is from zero, the better conditioned A is.
01 · What Is Positive Definiteness?
A matrix is called positive definite when multiplying it by any nonzero vector and then dotting with that same vector always gives a positive number. The condition xTAx>0 captures a geometric idea: A never "collapses" a direction — it stretches every nonzero vector to have some component in its own direction.
This matters in finance because a covariance matrix Σ must satisfy wTΣw≥0 — portfolio variance cannot be negative. If Σ is estimated from data and fails this condition (e.g. due to numerical errors), the "covariance matrix" is mathematically invalid.
Definition — Positive Definite Matrix
A symmetric matrix A∈Rn×n is positive definite (A≻0) if:
xTAx>0for all x∈Rn,x=0
A is positive semi-definite (A⪰0) if the inequality is ≥0 (zero is allowed).
A is negative definite if −A≻0, and indefinite if neither A nor −A is PSD.
✓ Example — Testing Positive Definiteness by Definition
Complete the square: 2x12+2x1x2+3x22=2(x1+21x2)2+25x22.
Both terms are non-negative; both are zero only when x2=0 and then x1=0. Therefore xTAx>0 for all x=0, so A≻0.
❌ What Breaks — Positive Entries Do Not Imply Positive Definite
A=(1221) has all positive entries, but xTAx=x12+4x1x2+x22. Try x=(1−1): 1−4+1=−2<0. A is indefinite — not even PSD. Positive entries are completely unrelated to positive definiteness.
02 · Four Equivalent Characterisations
Positive definiteness can be detected four ways. Each characterisation is useful in a different situation.
Definition — Four Equivalent Conditions for PD
For a symmetric A∈Rn×n, the following are equivalent:
PD1 (Quadratic form):xTAx>0 for all x=0.
PD2 (Eigenvalues): All eigenvalues of A are strictly positive: λ1,…,λn>0.
PD3 (Leading minors): All k leading principal minors are positive: det(Ak)>0 for k=1,…,n, where Ak is the top-left k×k submatrix.
PD4 (Cholesky):A has a Cholesky decomposition A=LLT with L lower-triangular and positive diagonal entries.
Which Condition to Use When
PD2 (eigenvalues) is the most intuitive but requires computing eigenvalues. PD3 (leading minors) gives a fast check for small matrices — just compute up to n determinants. PD4 (Cholesky) is the numerical standard: if the Cholesky algorithm completes without a zero or negative diagonal, the matrix is PD.
Step-by-step — Verifying all four PD conditions for $A=\begin{pmatrix}4&2\\2&3\end{pmatrix}$
The Cholesky decomposition A=LLT is the matrix analogue of taking a square root. It exists for every PD matrix and is unique when diagonal entries of L are required positive.
Step-by-step — Cholesky decomposition of $A=\begin{pmatrix}9&3&3\\3&5&1\\3&1&6\end{pmatrix}$
1
Column 1 of L:ℓ11=a11=9=3. ℓ21=a21/ℓ11=3/3=1. ℓ31=a31/ℓ11=3/3=1.
2
Column 2 of L:ℓ22=a22−ℓ212=5−1=2. ℓ32=(a32−ℓ31ℓ21)/ℓ22=(1−1⋅1)/2=0.
The equivalences follow from the spectral theorem.
PD1 ⟺ PD2 via spectral theorem: Every symmetric A has real eigenvalues and orthogonal eigenvectors: A=QΛQT. Then xTAx=xTQΛQTx=yTΛy=∑iλiyi2 where y=QTx. Since Q is invertible, y=0 iff x=0. Therefore xTAx>0 for all x=0 iff λi>0 for all i.
PD1 ⟺ PD3 (Sylvester's criterion): The leading minors capture the "partial" positive definiteness condition — if any k×k leading submatrix is indefinite, the full matrix is not PD.
PD1 ⟺ PD4: If A=LLT, then xTAx=xTLLTx=∥LTx∥2≥0, with equality iff LTx=0 iff x=0 (since L has positive diagonal, hence L is invertible). Conversely, the Cholesky algorithm succeeds without encountering a square root of a non-positive number iff A≻0.
❌ What Breaks — PSD Is Not PD
A covariance matrix estimated from n observations on p assets with n<p has rank at most n, so it has at least p−n zero eigenvalues — it is PSD but not PD. Cholesky fails (encounters 0), and the matrix is singular: no unique mean-variance-optimal portfolio exists. The fix is regularisation: add λI (ridge shrinkage) to make Σ^+λI positive definite.
Portfolio variance is σp2=wTΣw. For this to be a valid variance:
It must be non-negative for all weight vectors w — so Σ⪰0 (PSD).
If every non-trivial portfolio has positive variance, Σ≻0 (PD).
When does Σ fail to be PD?
Two perfectly correlated assets: ρ=1, so Σ=(σ12σ1σ2σ1σ2σ22) has det=0. The hedge portfolio w=(w,−w)T with wσ1=wσ2 achieves zero variance.
Sample estimate with too few observations: n<p means rank deficiency.
Numerical errors in estimation: slightly negative eigenvalues from floating-point arithmetic.
Nearest PD matrix: Given a symmetric indefinite matrix Σ~ (from numerical errors), the nearest PD matrix (in Frobenius norm) is obtained by replacing negative eigenvalues with a small ϵ>0: Σ^=QΛ+QT where Λ+=diag(max(λi,ϵ)).
06 · Practice Exercises
EXERCISE 14.1
Compute xTAx symbolically. Then try to complete the square — if you can write it as a sum of squared terms with positive coefficients, it is PD. Alternatively, check eigenvalues.
A=(3112).
xTAx=3x12+2x1x2+2x22.
Complete the square: 3(x1+31x2)2+(2−31)x22=3(x1+31x2)2+35x22.
Both terms ≥0; equal to zero only when x2=0 and x1+31(0)=0, i.e. x1=x2=0. Therefore A≻0 ✓.
Eigenvalue check: p(λ)=(3−λ)(2−λ)−1=λ2−5λ+5. λ=25±5. Both ≈3.618 and ≈1.382 — both positive ✓.
Determine whether A=(3112) is positive definite. Use the quadratic form (complete the square) and verify using eigenvalues.
EXERCISE 14.2
Check the three leading minors: det(a11)>0, det(a11a21a12a22)>0, det(A)>0. All three must be positive.
A=420231012.
Minor 1:det(4)=4>0 ✓.
Minor 2:det(4223)=12−4=8>0 ✓.
Minor 3 (det(A)): expanding along row 3: 0⋅(…)−1⋅det(4201)+2⋅det(4223)=0−1(4)+2(8)=−4+16=12>0 ✓.
All three leading minors are positive by Sylvester's criterion ⇒A≻0.
Apply Sylvester's criterion (PD3 — check all leading principal minors) to determine if A=420231012 is positive definite.
EXERCISE 14.3
Follow the Cholesky algorithm: ℓ11=a11, ℓj1=aj1/ℓ11, then ℓ22=a22−ℓ212, and so on.
A=(4222).
ℓ11=4=2.
ℓ21=a21/ℓ11=2/2=1.
ℓ22=a22−ℓ212=2−1=1.
L=(2101).
Verify: LLT=(2101)(2011)=(4222)=A ✓.
Both diagonal entries ℓ11=2>0, ℓ22=1>0 confirm A≻0.
Find the Cholesky decomposition A=LLT for A=(4222). Verify LLT=A and confirm the diagonal entries of L are positive.
EXERCISE 14.4
A=QΛQT (spectral theorem). Use y=QTx to change variables. Then xTAx=yTΛy=∑iλiyi2. What sign does this have when all λi>0?
Step 1: By the spectral theorem (A symmetric), A=QΛQT where Q is orthogonal (eigenvector matrix) and Λ=diag(λ1,…,λn).
Step 2: Substitute into the quadratic form. Let y=QTx. Since Q is invertible, y=0⟺x=0.
xTAx=xTQΛQTx=(QTx)TΛ(QTx)=yTΛy=∑i=1nλiyi2.
Step 3 (⇒): If all λi>0, then for x=0 (so y=0): ∑λiyi2>0 since all terms λiyi2≥0 and at least one yj2>0 multiplied by λj>0.
Step 4 (⇐): If some λk≤0, pick y=ek (standard basis), so x=Qek (the k-th eigenvector). Then xTAx=λk≤0 — not positive definite.
Prove that a symmetric matrix A≻0 (PD1) if and only if all eigenvalues of A are strictly positive (PD2). Use the spectral decomposition A=QΛQT and the substitution y=QTx.
EXERCISE 14.5
Show that for any B, the matrix BTB is always PSD. It is PD iff B has full column rank (no null vector). Write the quadratic form xTBTBx=∥Bx∥2.
BTB is always PSD: For any x: xTBTBx=(Bx)T(Bx)=∥Bx∥2≥0. Equality when Bx=0, i.e. x∈ker(B).
BTB is PD iff B has full column rank:BTB≻0⟺∥Bx∥2>0 for all x=0⟺Bx=0 for all x=0⟺ker(B)={0}⟺B has full column rank.
Application: the sample covariance matrix Σ^=n−11XTX (where X is the mean-centered data matrix) is PD iff the n observations are not confined to a proper subspace — equivalently, iff there are no perfectly collinear assets and n≥p+1.
Prove that BTB is always positive semi-definite for any real matrix B. State the condition under which BTB is strictly positive definite. Apply this to explain when the sample covariance matrix Σ^=n−11XTX is PD.
EXERCISE 14.6
Compute the eigenvalues of Σ~. Replace any negative eigenvalues with a small ϵ>0 to get Λ+. Reconstruct Σ^=QΛ+QT.
Σ~=(10.90.90.8) (estimated, possibly from numerical error).
det(Σ~)=0.8−0.81=−0.01<0 — Σ~ is indefinite (negative determinant ⇒ negative eigenvalue).
λ1≈1.806>0, λ2≈−0.006<0 — one negative eigenvalue confirms the matrix is not PSD.
Fix with ϵ=0.01: Replace λ2=−0.006 with ϵ=0.01.
Λ+=(1.806000.01).
The eigenvector for λ1≈1.806: (Σ−1.806I)v=0 gives approximate direction (0.830.56); for λ2: (−0.560.83).
Σ^=QΛ+QT — the nearest PD matrix (in Frobenius norm) to Σ~. In practice, the repaired matrix has slightly higher variance in the near-zero direction, ensuring all portfolios have positive variance.
A numerical estimation procedure yields Σ~=(10.90.90.8). Verify that Σ~ is not positive semi-definite by computing its determinant and eigenvalues. Describe the procedure for finding the nearest valid (PSD) covariance matrix by thresholding eigenvalues.
07 · Chapter Summary
Concept
Key Fact
Positive definite (PD1)
xTAx>0 for all x=0; only for symmetric A
PD via eigenvalues (PD2)
All eigenvalues strictly positive
PD via minors (PD3)
All leading principal minors positive (Sylvester)
PD via Cholesky (PD4)
A=LLT; L lower-triangular, positive diagonal
Positive semi-definite
xTAx≥0; zero eigenvalues allowed
BTB always PSD
xTBTBx=∥Bx∥2≥0; PD iff B has full col rank
Positive entries ⇒ PD
Need all eigenvalues positive, not all entries positive
Covariance matrix
Always PSD; PD iff full rank and n≥p+1
Repair indefinite matrix
Replace negative eigenvalues: Σ^=QΛ+QT
Cholesky fails when
Matrix is not PD — square root of negative number encountered
Next: Chapter 15 — Covariance Matrices & Quadratic Forms builds on positive definiteness to derive sample covariance matrices from data, compute portfolio variance wTΣw as a quadratic form, and connect the spectral decomposition to principal component analysis.