Symmetric & Positive Definite Matrices
A symmetric matrix mirrors its off-diagonal entries. Its eigenvectors form perpendicular directions. The quadratic form xᵀSx reveals whether every nonzero direction points uphill, some directions are flat, or directions disagree.
Build a symmetric 2 × 2 matrix
1. Why symmetry matters
S = Sᵀ means the two off-diagonal entries match. Every real symmetric matrix has real eigenvalues and an orthonormal eigenbasis: S = QΛQᵀ. In those rotated coordinates, the quadratic form has no cross term.
xᵀSx = λ₁z₁² + λ₂z₂², z = QᵀxThe dashed axes are the columns of Q. Try changing b to rotate them.
2. What positive definite means
Positive definite means xᵀSx > 0 for every nonzero x. Equivalently, both eigenvalues are positive. For this symmetric 2 × 2 matrix, Sylvester’s criterion gives the quick test a > 0 and ac − b² > 0.
If one eigenvalue reaches zero, a nonzero direction becomes flat: positive semidefinite. A positive determinant alone is insufficient; two negative eigenvalues also multiply to a positive number.