Skip to content

Definiteness and Eigenvalues

Theorem

For a real symmetric matrix A\boldsymbol{A}, definiteness is completely determined by the signs of the eigenvalues: positive definite means all eigenvalues are positive, positive semidefinite means all are nonnegative, negative definite means all are negative, negative semidefinite means all are nonpositive, and indefinite means both positive and negative eigenvalues occur.


Interpretation

Eigenvalues reveal the sign behaviour of a symmetric matrix's quadratic form. The theorem replaces a condition on all nonzero vectors x\boldsymbol{x} by a check of nn numbers.

An ellipse x transposed A x = 1 with its two axes along the eigenvectors, of half-lengths 1 over the square roots of the eigenvalues 3 and 1.

The figure shows the ellipse x⊤Ax=1\boldsymbol{x}^{\top}\boldsymbol{A}\boldsymbol{x}=1 for a symmetric matrix with eigenvalues λ1=3\lambda_1=3 and λ2=1\lambda_2=1. Its axes lie along the unit eigenvectors p1\boldsymbol{p}_1 and p2\boldsymbol{p}_2, which are orthogonal, and have half-lengths 1/31/\sqrt{3} and 11. The larger eigenvalue gives the shorter axis, because the form grows faster in that direction.

On the unit circle x⊤Ax\boldsymbol{x}^{\top}\boldsymbol{A}\boldsymbol{x} runs between the two eigenvalues, reached along the eigenvectors. Their signs decide the definiteness.

For a unit eigenvector p\boldsymbol{p} with Ap=λp\boldsymbol{A}\boldsymbol{p}=\lambda\boldsymbol{p}, the form takes the value p⊤Ap=λ p⊤p=λ\boldsymbol{p}^{\top}\boldsymbol{A}\boldsymbol{p}=\lambda\,\boldsymbol{p}^{\top}\boldsymbol{p}=\lambda, so a negative eigenvalue rules out positive definiteness. A real symmetric matrix has real eigenvalues and mutually orthogonal unit eigenvectors, which form the columns of an orthogonal matrix Q\boldsymbol{Q}, with Q⊤Q=I\boldsymbol{Q}^{\top}\boldsymbol{Q}=\boldsymbol{I} and A=QΛQ⊤\boldsymbol{A}=\boldsymbol{Q}\boldsymbol{\Lambda}\boldsymbol{Q}^{\top}. In the coordinates c=Q⊤x\boldsymbol{c}=\boldsymbol{Q}^{\top}\boldsymbol{x} the form becomes λ1c12+⋯+λncn2\lambda_1c_1^2+\cdots+\lambda_nc_n^2, and its signs can be read from the λi\lambda_i.

Symmetry matters. The non-symmetric (1401)\begin{pmatrix}1&4\\0&1\end{pmatrix} has the single eigenvalue 11, yet x=(1,−1)\boldsymbol{x}=(1,-1) gives x⊤Ax=−2\boldsymbol{x}^{\top}\boldsymbol{A}\boldsymbol{x}=-2. The test must be applied to the symmetric matrix of the form, here (1221)\begin{pmatrix}1&2\\2&1\end{pmatrix}, whose eigenvalues 33 and −1-1 show that the form is indefinite.

For a 2×22\times2 symmetric matrix the eigenvalues need not be computed: their product is det⁡A\det\boldsymbol{A} and their sum is the trace, so A\boldsymbol{A} is positive definite if and only if det⁡A>0\det\boldsymbol{A}>0 and tr⁡(A)>0\operatorname{tr}(\boldsymbol{A})>0. A test with determinants of upper-left submatrices for every nn returns later as Sylvester's criterion.


Key Results

  • This theorem converts a quadratic-form problem into an eigenvalue problem.
  • It applies to real symmetric matrices.

Examples


Prerequisites

Sources

Aliases: eigenvalue test for definiteness Symbols: lambda, square root

Last updated: 20 October 2026 03:02