This supplement is optional; its inclusion does not establish any current course or examination requirement. Work over .
Definition
Quadratic form
A quadratic form on is with real symmetric. It is positive definite if for every nonzero , positive semidefinite if for all , and indefinite if it takes both positive and negative values.
Every real matrix gives the same form as its symmetric part . The symmetric representation is unique. Changing coordinates by gives ; this is congruence, not similarity in general. If is orthogonal, however, the two formulas coincide.
The preceding real spectral theorem gives an orthogonal with . Substitution gives , providing the diagonal representation used in the shared inertia proof. Testing coordinate vectors gives necessity of the eigenvalue sign conditions; sums of squares give sufficiency.
All spaces are finite-dimensional over the stated field. A bilinear form is linear in both arguments; it is not a Hermitian inner product over .
Rescaling the diagonal entries of a real symmetric form gives
The triple is its inertia and is independent of all basis choices.
Proof of uniqueness. In this representation, the positive coordinate subspace has dimension and the quadratic form is positive definite on it. No subspace of dimension greater than can carry a positive definite restriction: it must intersect the coordinate subspace where all positive coordinates vanish, whose dimension is , because their dimensions sum to more than . A nonzero vector in that intersection has quadratic value at most zero, a contradiction. Thus is intrinsically the largest possible dimension of a positive definite subspace. Similarly is the largest dimension for a negative definite restriction. Then , equivalently the radical dimension. ∎
A form is positive definite exactly when , negative definite when , and indefinite when both . Positive semidefinite allows zeros but no negative squares. Nondegeneracy means , not positivity.
For a real symmetric matrix, orthogonal spectral diagonalization is a particular congruence since . It follows that inertia counts positive, negative and zero eigenvalues with multiplicity. General congruence preserves those counts, not the numerical eigenvalues themselves.
Worked example
Rotate to principal axes
For , . With and , spectral decomposition gives . Both eigenvalues are positive, so the form is positive definite and its inertia is , counting positive, negative and zero signs.
Choosing a method and avoiding mistakes
Use orthogonal diagonalization to find principal axes and eigenvalues. Completing squares may classify signs more quickly, but the resulting invertible change need not be orthogonal. A cross-term coefficient corresponds to off-diagonal entries , not . Positive determinant alone does not imply positive definiteness.
Exercises
- Classify by its eigenvalue signs.
- Classify and find its zero set.
- Explain why a nonsingular coordinate change cannot turn into a positive-definite form.
Full solutions
- The symmetric matrix is , with eigenvalues and . Therefore the form is indefinite with inertia .
- ; it is positive semidefinite but not definite because it vanishes for nonzero . Its zero set is the line .
- For any invertible , the vector is nonzero and the transformed form has value at . Thus it cannot be positive definite. Equivalently its inertia remains .
Connection
In optimization, a Hessian at a critical point is symmetric; its quadratic form describes the second-order term. A definite Hessian supplies a local test under the usual differentiability hypotheses, whereas a semidefinite Hessian alone is inconclusive.