Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2006/ib/paper-2/1e/solution

Sylvester's law of inertia says that any real quadratic form has coordinates in which it is a sum of positive squares minus negative squares, with unused coordinates, and that the numbers are invariant under every invertible linear change of coordinates. Its rank is ; its signature of a quadratic form is commonly , with also called its signature pair.
The symmetric matrix here is , where and . On the line spanned by , has eigenvalue . If , then , so that the orthogonal complement has eigenvalue with multiplicity . Thus the off-diagonal all-ones quadratic form has
For the form vanishes, so rank and scalar signature are both zero, with inertia . Including this case is necessary because the distinguished eigenvalue then becomes zero.

New to topics? Read the docs here!