Linear Algebra and Its Applications · Problem 6.2.36
Positive Definite Matrices — Gilbert Strang
Mathematics · tests-for-positive-definiteness
Problem
An algebraic proof of the law of inertia starts with the orthonormal eigenvectors x1,…,xp of A corresponding to eigenvalues λi>0, and the orthonormal eigenvectors y1,…,yq of CTAC corresponding to eigenvalues μi<0.
(a) To prove that the p+q vectors x1,…,xp,Cy1,…,Cyq are independent, assume that some combination gives zero:
a1x1+⋯+apxp=b1Cy1+⋯+bqCyq(=z, say).
Show that zTAz=λ1a12+⋯+λpap2≥0 and zTAz=μ1b12+⋯+μqbq2≤0.
(b) Deduce that the a's and b's are zero (proving linear independence). From that deduce p+q≤n.
(c) The same argument for the n−p negative λ's and the n−q positive μ's gives n−p+n−q≤n. (We again assume no zero eigenvalues---which are handled separately). Show that p+q=n, so the number p of positive λ's equals the number n−q of positive μ's---which is the law of inertia.