Proof: Sylvester's Law of Inertia
We prove that the signature of a real quadratic form is well-defined, independent of the choice of diagonalizing basis.
Theorem: If is a real quadratic form with symmetric, then the numbers in any canonical form are uniquely determined by . They are called the signature.
Proof: Suppose we have two diagonal representations via changes of coordinates and :
We must show and .
Step 1: Define positive and negative spaces.
Let using the first representation. This is the span of the first coordinate directions in -coordinates, so .
Let using the second representation. This contains the span of the last coordinate directions in -coordinates, so .
Step 2: Intersection argument.
If , then (from ) and (from ), so .
Thus .
Step 3: Dimension counting.
By linear algebra, for subspaces with trivial intersection:
Therefore: , which gives .
Step 4: Symmetry.
By the same argument with roles reversed (using from first representation and from second), we get .
Combining: .
Step 5: Determine .
Since equals the rank of (which is well-defined), and we've shown is unique, must also be unique.
Alternatively, apply the same intersection argument to negative spaces: define (dimension ) and (codimension ), proving similarly.
Conclusion: The signature is uniquely determined by , independent of how we diagonalize. β
This proof elegantly uses dimension counting and the geometry of positive/negative cones. The key insight: subspaces where has definite sign cannot have "too large" an intersection with subspaces of opposite sign. Sylvester's law justifies treating signature as an intrinsic property of the quadratic form, much like rank is intrinsic to linear maps.