Recognition of positive definite matrices
Introduction / Definition
There are several equivalent tests for a real symmetric matrix to be positive definite. Eigenvalue testing checks that every eigenvalue is positive. Sylvester's criterion checks leading principal minors. Cholesky factorization gives a practical numerical test.
Syntax / Mathematical Form
A≻0 ⇔ λᵢ>0; also Δ₁>0,Δ₂>0,…,Δₙ>0
Detailed Explanation
For a symmetric matrix, positive eigenvalues are necessary and sufficient. Sylvester's criterion states that all leading principal minors must be positive. A successful A=LLᵀ Cholesky factorization is another recognition method.
Example
A = [ 2 1 ]
[ 1 2 ]
Δ₁=2>0, Δ₂=4−1=3>0.
Output
A is positive definite.
Explanation
error code: 502
Important Points / Notes
- Check symmetry before applying these standard tests.
- All eigenvalues positive ⇔ positive definite for symmetric A.
- Cholesky is useful computationally.
Mini Practice Question
Use Sylvester's criterion on [ 3 1 ] [ 1 1 ].