Sylvester's Law of Inertia
Sylvester's Law of Inertia states that the signature of a real quadratic form is invariant under change of basis. This means that while the specific diagonal entries may change when we diagonalize a quadratic form, the number of positive, negative, and zero entries remains the same. This gives a complete classification of real quadratic forms up to congruence.
Statement
Let be a real quadratic form on with symmetric matrix . If can be reduced to diagonal form in two different ways:
then the number of positive , the number of negative , and the number of zero are the same as for the .
Equivalently: if and are two diagonalizations (where are diagonal), then and have the same numbers of positive, negative, and zero diagonal entries.
The signature of is the triple where is the number of positive diagonal entries, the number of negative entries, and the number of zero entries after diagonalization. Since and is the rank, we often write just .
Two real quadratic forms are congruent (equivalent) if and only if they have the same signature.
Proof sketch
Suppose in one basis and in another. We prove .
Assume for contradiction . Let (the "" coordinates where is positive) and (the "" coordinates where is ).
and . Since , we have , so .
Pick , . Since : (the form is a sum of positive squares on ). Since : (the form is non-positive on ). Contradiction.
Therefore . By symmetry, , so . Similarly .
Examples
: eigenvalues , one positive and one negative. Signature .
: eigenvalues . Signature , rank .
: eigenvalues . Signature (positive definite).
: eigenvalues . Signature (negative definite).
: signature , rank . The form is .
: signature , rank . Equivalent to .
: signature , positive definite. The form .
.
Diagonalization 1 (completing the square): . Diagonal form: . Positive coefficients: .
Diagonalization 2 (eigenvalues of ): eigenvalues . Both positive.
Signature in both cases ✓. Sylvester's Law guarantees this consistency.
Complete classification
Two real quadratic forms on are congruent if and only if they have the same signature (equivalently, the same rank and the same index of positivity ).
There are exactly equivalence classes of quadratic forms on : one for each pair with .
The possible signatures on are:
- : (positive definite), represented by .
- : (indefinite), represented by .
- : (negative definite), represented by .
- : (degenerate, rank , positive).
- : (degenerate, rank , negative).
- : (the zero form).
Total: equivalence classes.
On : pairs with :
.
Total: . For example, the Lorentz form has signature , the same class as .
Sylvester's criterion for definiteness
A symmetric matrix is positive definite if and only if all leading principal minors are positive:
is negative definite iff for all (the minors alternate in sign: ).
.
✓, ✓, ✓.
All positive, so is positive definite.
.
✓ (should be for negative definite). ✓ (should be ).
and . Negative definite ✓.
.
, .
means is not positive definite. Since (so it is not negative definite either), is indefinite. Eigenvalues: , confirming signature .
Congruence vs. similarity
and .
and are congruent (both positive definite with signature , so for some ). Indeed, gives ✓.
But and are not similar (eigenvalues vs ).
Congruence preserves the signature; similarity preserves the characteristic polynomial. These are different equivalence relations.
Over : and are congruent (both signature ).
Over : they are not congruent. To see this, has the rational solution , and has no rational solutions (since has no solutions in ), but has the solution . The forms represent different sets of rationals.
Over , Sylvester's Law classifies forms by signature alone. Over (and other fields), the classification is much richer.
Summary
Sylvester's Law of Inertia provides a complete classification of real symmetric bilinear forms:
- The signature is the unique congruence invariant.
- Every real quadratic form is congruent to .
- Sylvester's criterion provides a practical test for definiteness via leading principal minors.
- Over other fields (e.g., , ), the classification is more complex (Hasse--Minkowski theorem, Witt cancellation).
- The law connects to the Hodge Index Theorem in algebraic geometry, where the intersection form on a surface has signature .