Quadratic forms, positive definiteness, Sylvester's law
Why this is asked: Signature is the complete invariant over ℝ (Sylvester). Positive definiteness is tested by leading principal minors, or by all eigenvalues being positive — do not mix the two tests up.
In one sentence
A quadratic form is classified by its signature and by nothing else, congruence is the relation that preserves it, and congruence is not similarity — it changes eigenvalues freely.
Why the exam asks it
Because candidates arrive knowing one criterion — leading principal minors — and apply it to positive semidefiniteness, where it is false. And because congruence and similarity are easy to conflate when both are written , differing only in whether the left factor is or .
The idea
A quadratic form on is with symmetric. The symmetry is a normalisation, not a restriction: any can be replaced by without changing .
Under a change of variable with invertible,
so the matrix transforms by . That relation is congruence.
Congruence is . Similarity is . They agree exactly when is orthogonal.
That last remark is why the spectral theorem is so useful here: for symmetric we can take orthogonal, and then congruence and similarity coincide, so the diagonal entries can be taken to be the eigenvalues.
Sylvester's law of inertia
Every real quadratic form is congruent to a diagonal form with entries , and , and the counts of each are invariants — independent of how you diagonalise it.
- = number of positive eigenvalues, = negative, = zero.
- , signature commonly means or the pair .
Two real symmetric matrices are congruent they have the same . Note what this does not say: nothing about the eigenvalues themselves. Congruence can scale them arbitrarily, as long as no sign changes.
Over there are no signs to preserve — is a square — so only the rank classifies, and every complex quadratic form of rank is congruent to .
Definiteness
symmetric is:
- positive definite if for all all eigenvalues ;
- positive semidefinite if all eigenvalues ;
- indefinite if it takes both signs eigenvalues of both signs.
Sylvester's criterion: is positive definite all leading principal minors are . This is a genuine shortcut — no eigenvalues required.
And it does not adapt to the semidefinite case. The correct statement there needs all principal minors , not just the leading ones. The counterexample is small and worth knowing cold:
Its leading principal minors are and , both . Its eigenvalues are and , so it is not positive semidefinite — indeed . The non-leading principal minor, the entry , is the one that catches it, and the leading sequence never looks at it.
Where intuition breaks
"Leading principal minors , so positive semidefinite." . The single most productive trap in this topic, because the definite version is true with strict inequalities and the weakening looks harmless.
"Congruent, so similar." and are congruent via , and their eigenvalues are and , so they are not similar. Congruence preserves only the signs.
"Similar, so congruent." Also false in general, for real symmetric matrices it happens to follow from equal eigenvalues, but similar non-symmetric matrices need not be congruent at all. Do not treat either as implying the other.
"All diagonal entries positive, so positive definite." has positive diagonal and eigenvalues and . The diagonal entries are — they only test the coordinate directions.
"Positive definite, so all entries positive." is positive definite with a negative entry. The two statements are unrelated in both directions.
", so positive definite." in two variables has determinant . The determinant is the product of the eigenvalues, and an even number of negatives cancels.
"The signature depends on how you diagonalise." It does not — that is exactly Sylvester's law, and it is the reason signature is a legitimate invariant to ask about.
"A quadratic form is determined by its matrix." By its symmetric matrix. and give the same form .
The exam's angle
- Get the signature and stop. Almost every question about congruence, classification, or the shape of a conic is answered by .
- For definiteness, use leading minors — but only for the strict case. If the question says semidefinite, go to eigenvalues or check all principal minors.
- Read against carefully. The exponent is the whole question.
- Count sign changes in the characteristic polynomial if the eigenvalues are awkward: Descartes' rule gives the number of positive roots quickly for a symmetric matrix.
- Over , only rank matters. If the stem moves to , every signature distinction collapses.
The night before
- with symmetric; change of variable gives congruence .
- Congruence similarity. They coincide only for orthogonal .
- Sylvester's law: is invariant. Congruent same . Over , rank alone.
- Positive definite all eigenvalues all leading principal minors .
- Semidefinite needs all principal minors . has both leading minors and is not semidefinite.
- Positive diagonal does not give definiteness: . does not either: .
- Positive definite matrices can have negative entries.
- Congruence preserves signs of eigenvalues, not their values: and .
See it move
More in Inner Product Spaces and Forms
Take it further
- The mistake this prevents: invariants don't determine → real wrong options, and why each one tempts
- The mistake this prevents: converse assumed → real wrong options, and why each one tempts
- Previous-year questions set on this — every option and the answer, free:June 2025 · Part BDecember 2025 · Part BJune 2025 · Part CDecember 2024 · Part BDecember 2024 · Part BJune 2024 · Part BJune 2024 · Part BDecember 2024 · Part C
Last revised . Found a mistake? Tell us — corrections are the fastest thing we act on.
Next: Determinants, trace, block matrices, rank inequalities
Create a free account to keep your place and have this feed your study plan.
Open this in the full syllabus view · Unit 1