Sylvester's law of inertia
Statement
No matter which invertible change of basis is used to diagonalize a real quadratic form on , the number of positive coefficients, the number of negative coefficients, and the number of zero coefficients are always the same; the triple is an intrinsic invariant of .
Why is it true?
Switching to a new coordinate system can stretch the axes and change the individual magnitudes of the diagonal numbers , but it can never turn an upward-curving direction into a downward-curving one without passing through a flat direction — so the counts of upward, downward, and flat axes are locked in forever.
Proof sketch
Suppose is diagonalized in two bases and , with positive, negative, and zero counts in the first basis and in the second. Order each basis so the positive coefficients come first, then the negative ones, then the zeros.
Suppose toward a contradiction that . Let , a subspace of dimension on which for every nonzero (since only the positive squares in the -expansion are active on ).
Similarly, let , a subspace of dimension on which for every (since only the negative and zero squares in the -expansion are active on ).
Now count dimensions inside : since , we have . By the dimension formula for subspaces, two subspaces whose dimensions add up to more than cannot have trivial intersection; hence there exists a nonzero vector .
Because and , we must have ; because , we must simultaneously have , an outright contradiction. Therefore , and by symmetry of the two bases , so . Applying the exact same argument to gives , and finally .
Topics that use this theorem
Step-by-step proofs
No step-by-step proof yet for this theorem.
References
- Roger A. Horn, Charles R. Johnson (2012). Matrix Analysis (2nd ed.)
- Gilbert Strang (2016). Introduction to Linear Algebra