346 CHAPTER 13. MATRICES AND THE INNER PRODUCT

Hint: Let Φ(t) be such that the jth column is x j (t) where

x′j = Ax j, x j (0) = e j.

Use uniqueness as required.

43. You can see more on this problem and the next one in the latest version of Hornand Johnson, [25]. Two n× n matrices A,B are said to be congruent if there is aninvertible P such that

B = PAP∗

Let A be a Hermitian matrix. Thus it has all real eigenvalues. Let n+ be the numberof positive eigenvalues, n−, the number of negative eigenvalues and n0 the number ofzero eigenvalues. For k a positive integer, let Ik denote the k× k identity matrix andOk the k×k zero matrix. Then the inertia matrix of A is the following block diagonaln×n matrix.  In+

In−

On0

Show that A is congruent to its inertia matrix. Next show that congruence is an equiv-alence relation on the set of Hermitian matrices. Finally, show that if two Hermitianmatrices have the same inertia matrix, then they must be congruent. Hint: First recallthat there is a unitary matrix, U such that

U∗AU =

 Dn+

Dn−

On0

where the Dn+ is a diagonal matrix having the positive eigenvalues of A, Dn− beingdefined similarly. Now let

∣∣Dn−

∣∣ denote the diagonal matrix which replaces eachentry of Dn− with its absolute value. Consider the two diagonal matrices

D = D∗ =

 D−1/2n+ ∣∣Dn−

∣∣−1/2

In0

Now consider D∗U∗AUD.

44. Show that if A,B are two congruent Hermitian matrices, then they have the sameinertia matrix. Hint: Let A = SBS∗ where S is invertible. Show that A,B have thesame rank and this implies that they are each unitarily similar to a diagonal matrixwhich has the same number of zero entries on the main diagonal. Therefore, lettingVA be the span of the eigenvectors associated with positive eigenvalues of A andVB being defined similarly, it suffices to show that these have the same dimensions.Show that (Ax,x)> 0 for all x ∈VA. Next consider S∗VA. For x ∈VA, explain why

(BS∗x,S∗x) =(

S−1A(S∗)−1 S∗x,S∗x)

=(S−1Ax,S∗x

)=(

Ax,(S−1)∗ S∗x

)= (Ax,x)> 0

34643.44.CHAPTER 13. MATRICES AND THE INNER PRODUCTHint: Let ®(r) be such that the j” column is ; (t) wherex, = Aax;, x; (0) =e;.Use uniqueness as required.You can see more on this problem and the next one in the latest version of Hornand Johnson, [25]. Two n x n matrices A,B are said to be congruent if there is aninvertible P such thatB= PAP*Let A be a Hermitian matrix. Thus it has all real eigenvalues. Let n. be the numberof positive eigenvalues, n_, the number of negative eigenvalues and no the number ofzero eigenvalues. For k a positive integer, let J, denote the k x k identity matrix andO; the k x k zero matrix. Then the inertia matrix of A is the following block diagonaln Xn matrix.noShow that A is congruent to its inertia matrix. Next show that congruence is an equiv-alence relation on the set of Hermitian matrices. Finally, show that if two Hermitianmatrices have the same inertia matrix, then they must be congruent. Hint: First recallthat there is a unitary matrix, U such thatDn,U*AU = DnOngwhere the D,,, is a diagonal matrix having the positive eigenvalues of A, D,_ beingdefined similarly. Now let |Dn_| denote the diagonal matrix which replaces eachentry of D,_ with its absolute value. Consider the two diagonal matrices—1/2D,,/D=D*= Dn?InNow consider D*U*AUD.Show that if A,B are two congruent Hermitian matrices, then they have the sameinertia matrix. Hint: Let A = SBS* where S is invertible. Show that A,B have thesame rank and this implies that they are each unitarily similar to a diagonal matrixwhich has the same number of zero entries on the main diagonal. Therefore, lettingV4 be the span of the eigenvectors associated with positive eigenvalues of A andVe being defined similarly, it suffices to show that these have the same dimensions.Show that (Ax, a) > 0 for all a € V4. Next consider S*V,. For a € V4, explain why(BS*a,S*x) = (s-'A(S*) | S*a,s*a)(S-1Aw,S*a) = (Aw, (S"')"S*w) = (Awa) > 0