Positive definite matrices
Introduction / Definition
A real symmetric matrix is positive definite when its quadratic form is positive for every nonzero vector. Positive definite matrices have strictly positive eigenvalues. They represent upward curvature in every direction. They are important in optimization and numerical methods.
Syntax / Mathematical Form
A=Aᵀ and xᵀAx>0 for all x≠0
Detailed Explanation
For real symmetric A, positive definiteness is equivalent to all eigenvalues being positive. It is also equivalent to positive leading principal minors and to successful Cholesky factorization.
Example
A = [ 2 0 ]
[ 0 3 ], x=(1,1)
xᵀAx=5>0.
Output
The quadratic form is positive; A is positive definite.
Explanation
error code: 502
Important Points / Notes
- A must be symmetric for the standard real criterion.
- All eigenvalues are positive.
- Positive definite matrices are invertible.
Mini Practice Question
Is diag(1,4) positive definite?