MIT 18.701 — Lecture 17

Classifying Hermitian Forms, Sylvester's Law of Inertia

§ Classifying Hermitian Forms

Today's lecture will look a lot like Lecture 8 on the Jordan Normal Form. In Lecture 8, we proved:

Theorem. (Jordan Normal Form) Let T:V→VT: V \to V be a linear transformation with nn eigenvalues {λ1,…,λn}\{\lambda_1, \dots, \lambda_n\}. Then with an appropriate choice of basis, the matrix corresponding to TT can be made to look like:

MT=[Jn1(λ1)0⋯00Jn2(λ2)⋯0⋮⋮⋱⋮00⋯Jnk(λk)].M_T = \left[\begin{smallmatrix} J_{n_1}(\lambda_1) & 0 & \cdots & 0 \\ 0 & J_{n_2}(\lambda_2) & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & J_{n_k}(\lambda_k) \end{smallmatrix}\right].

In other words, we showed that all linear transformations—with an appropriate choice of basis—can be made to look like a matrix of Jordan Blocks. Today is dedicated to proving the following analogous theorem:

Theorem. (Hermitian Form Classification) Let ⟨∙,∙⟩:V×V→C\langle \bullet, \bullet \rangle : V \times V \to \mathbb{C} be a Hermitian form over a C\mathbb{C}-vector space VV, with signature (n1,n0,n−1)(n_1, n_0, n_{-1}). Then with an appropriate choice of basis, ⟨∙,∙⟩\langle \bullet, \bullet \rangle can be made to look like:

⟨x,y⟩=x†My   where   M=[In1000−In−10000n0]  (where 0n0 is the n0×n0 zero matrix.)\langle x, y \rangle = x^{\dagger}My ~~ \text{ where } ~~ M = \begin{bmatrix} I_{n_1} & 0 & 0 \\ 0 & -I_{n_{-1}} & 0 \\ 0 & 0 & 0_{n_0} \end{bmatrix} ~ \text{ (where $0_{n_0}$ is the $n_0 \times n_0$ zero matrix.)}

In other words, we'll show that all Hermitian forms—with an appropriate choice of basis—can be made to look like a diagonal matrix with only 11s, −1-1s, and 00s. (We'll define “signature” later.)

Remark. Here's another way to see the analogy. Lecture 8 answered the following question:

Take the group action of GLn(F)GL_n(F) on Fn×nF^{n \times n}, where A∈GLn(F)A \in GL_n(F) acts on M∈Fn×nM \in F^{n\times n}
via M↦A−1MAM \mapsto A^{-1}MA. What are the orbits of this group action?

Today's lecture will answer the following alternative question:

Take the group action of GLn(C)GL_n(\mathbb{C}) on Hermn(C)\mathrm{Herm}_n(\mathbb{C}), where A∈GLn(C)A \in GL_n(\mathbb{C}) acts on M∈Hermn(C)M \in \mathrm{Herm}_n(\mathbb{C})
via M↦A†MAM \mapsto A^{\dagger}MA. What are the orbits of this group action?

Notably, because R⊆C\mathbb{R} \subseteq \mathbb{C}, our classification of Hermitian forms over C\mathbb{C} also works equally well toward classifying symmetric forms over R\mathbb{R}: all symmetric forms over Rn\mathbb{R}^n under some basis look diagonal with entries −1-1, 11, and 00.

§ Orthogonality and Nondegenerate Subspaces

Our proof relies on a couple definitions.

Definition (Orthogonal Subspace). Let VV be a finite-dimensional C\mathbb{C}-vector space with Hermitian form ⟨∙,∙⟩\langle \bullet, \bullet \rangle. Given a subspace W⊆VW \subseteq V, its orthogonal subspace is W⊥:={v∈V∣⟨w,v⟩=0  ∀ w∈W}W^{\perp} := \{ v \in V \mid \langle w, v \rangle = 0 ~~ \forall \ w \in W\}.

Example. Depending on our choice of Hermitian form, orthogonality can be very counter-intuitive!

Definition (Nondegenerate). A Hermitian form ⟨x,y⟩\langle x, y \rangle over a C\mathbb{C}-vector space VV is nondegenerate if V⊥={0}V^{\perp} = \{0\}. More generally, a subspace W⊆VW \subseteq V is nondegenerate if W∩W⊥={0}W \cap W^{\perp} = \{0\}.

Example. As we saw in the previous example, V=C2V = \mathbb{C}^2 with ⟨x,y⟩=x†[1000]y\langle x, y \rangle = x^{\dagger} \left[\begin{smallmatrix} 1 & 0 \\ 0 & 0 \end{smallmatrix}\right]y is degenerate.

Example. Also as in the previous example, consider V=C2V = \mathbb{C}^2 with Hermitian form ⟨x,y⟩=x†[100−1]y\langle x, y \rangle = x^{\dagger} \left[\begin{smallmatrix} 1 & 0 \\ 0 & -1 \end{smallmatrix}\right] y.

Theorem. (Nondegenerate   ⟺  \iff Invertible) Let VV be a C\mathbb{C}-vector space with a chosen basis and a Hermitian form ⟨x,y⟩=x†Ay\langle x, y \rangle = x^{\dagger}Ay. Then ⟨∙,∙⟩\langle \bullet, \bullet \rangle is nondegenerate if and only if AA is invertible.

Proof: Suppose ⟨∙,∙⟩\langle \bullet, \bullet \rangle is degenerate, so there is a nonzero y∈Vy \in V such that ⟨x,y⟩=0\langle x, y \rangle = 0 for all x∈Vx \in V. Equivalently, for all x∈Vx \in V, we have x†Ay=0x^{\dagger}Ay = 0. This is possible if and only if Ay=0Ay = 0, that is, AA is not invertible.   ■\blacksquare

The previous theorem will be useful for our proof of Hermitian Classification. This next one is just a fun fact.

Theorem. (Nondegenerate   ⟹  \implies Injectivity) Let VV be a C\mathbb{C}-vector space with nondegenerate Hermitian form. Suppose v,v′∈Vv, v' \in V satisfy ⟨v,w⟩=⟨v′,w⟩\langle v, w \rangle = \langle v', w \rangle for all w∈Vw \in V. Then v=v′v = v'.

Proof: Observe ⟨v,w⟩=⟨v′,w⟩\langle v, w \rangle = \langle v', w \rangle implies ⟨v−v′,w⟩=0\langle v - v', w \rangle = 0 for all w∈Vw \in V, which means v−v′∈V⊥v - v' \in V^{\perp}. But the Hermitian form was nondegenerate, so V⊥={0}V^{\perp} = \{0\}, meaning v−v′=0v - v' = 0.   ■\blacksquare

§ Proving Hermitian Classification

Definitions aside, here's the driving theorem of our proof of Hermitian form classification.

Theorem. (Orthogonal Decomposition) Let WW be a nondegenerate subspace of a nondegenerate C\mathbb{C}-vector space VV. Then the decomposition V=W⊕W⊥V = W \oplus W^{\perp} holds. Furthermore, W⊥W^{\perp} is also nondegenerate.

Assuming this theorem to be true, we propose the following proof of Hermitian form classification:

Proof: We may assume VV is nondegenerate, as the degenerate subspace V⊥V^{\perp} may be “taken out”.

Argue by induction on dim⁡V\dim V, where the base case of dim⁡V=1\dim V = 1 is trivial. Now pick a nondegenerate subspace W⊆VW \subseteq V and set the basis of VV to the union of bases of WW and W⊥W^{\perp}.

Because the “Orthogonal Decomposition” theorem holds, the MM in ⟨x,y⟩=x†My\langle x, y \rangle = x^{\dagger}My must now look like:

M=[M100M2]   where   ⟨x,y⟩=x†M1y  in W,  and ⟨x,y⟩=x†M2y  in W⊥.M = \begin{bmatrix} M_1 & 0 \\ 0 & M_2 \end{bmatrix} ~~ \text{ where } ~ ~\langle x, y \rangle = x^{\dagger}M_1y ~ \text{ in } W, ~ \text{ and } \langle x, y \rangle = x^{\dagger}M_2y ~ \text{ in } W^{\perp}.

The zero-entries are guaranteed because ⟨e1,e2⟩=0\langle e_1, e_2 \rangle = 0 for any basis vectors e1∈We_1 \in W and e2∈W⊥e_2 \in W^{\perp}.

Apply the inductive hypothesis on WW and W⊥W^{\perp} so M1M_1 and M2M_2 are diagonal with only −1-1s, 00s, and 11s. Rearrange the diagonal entries to finish.   ■\blacksquare

Pretty simple, right? It remains to justify the statements written in teal. Starting with the first…

Theorem. (Justification #1: Degeneracy) If the Hermitian form classification holds for all nondegenerate VV, then it also holds for all degenerate VV.

Proof: Set the basis of VV by first choosing a basis for V⊥V^{\perp} and then extending it to all of VV. This way, V=V⊥⊕V∗V = V^{\perp} \oplus V^* for some nondegenerate vector space V∗V^*. Then the MM in ⟨x,y⟩=x†My\langle x, y \rangle = x^{\dagger}My looks like:

M=[ 00 0M∗] ⁣,  where  0  indicates a submatrix of zeroes.M = \begin{bmatrix} \ \boxed{0} & \boxed{0} \\ \ \boxed{0} & M^* \end{bmatrix}\!, ~ \text{ where } ~ \boxed{0} ~ \text{ indicates a submatrix of zeroes.}

Then since V∗V^* is nondegenerate, M∗M^* may be written in the desired form, at which point MM is too.   ■\blacksquare

Now to justify the base case…

Theorem. (Justification #2: The Base Case) Let ⟨∙,∙⟩\langle \bullet, \bullet \rangle be a Hermitian form over a one-dimensional C\mathbb{C}-vector space. Under an appropriate choice of basis, ⟨∙,∙⟩\langle \bullet, \bullet \rangle can be made to look like either [1]\left[\begin{smallmatrix} 1 \end{smallmatrix}\right], [−1]\left[\begin{smallmatrix} -1 \end{smallmatrix}\right], or [0]\left[\begin{smallmatrix} 0 \end{smallmatrix}\right].

Proof: In the one-dimensional case, any change of basis M↦A†MAM \mapsto A^{\dagger}MA looks like the following:

Given M=[m] and A=[λ], we have A†MA=[∣λ∣2m].\text{Given } M = \left[\begin{smallmatrix} m \end{smallmatrix}\right] \text{ and } A = \left[\begin{smallmatrix} \lambda \end{smallmatrix}\right], ~ \text{we have } A^{\dagger}MA = \left[\begin{smallmatrix} |\lambda|^2 m \end{smallmatrix}\right].

And ∣λ∣2|\lambda|^2 can be any positive real number, so ∣λ∣2m|\lambda|^2m can be made to equal either 11, −1-1, or 00 as needed.   ■\blacksquare

For Justification #3, we'll use the fact that VV is nondegenerate…  (Do you see where?)

Theorem. (Justification #3: Picking a Nondegenerate Subspace) Let VV be a nondegenerate C\mathbb{C}-vector space with Hermitian form ⟨∙,∙⟩\langle \bullet, \bullet \rangle. Then VV has a 11-dimensional nondegenerate subspace WW.

Proof: We begin with the following lemma.

Lemma. There exists some v∈Vv \in V with ⟨v,v⟩≠0\langle v, v \rangle \neq 0.

Proof: Pick some x,y∈Vx, y \in V such that ⟨x,y⟩≠0\langle x, y \rangle \neq 0. We can also pick some λ∈C\lambda \in \mathbb{C} so that ⟨x,λy⟩=λ⟨x,y⟩\langle x, \lambda y \rangle = \lambda \langle x, y \rangle is real and nonzero. Because of this real-ness, ⟨x,λy⟩=⟨λy,x⟩\langle x, \lambda y \rangle = \langle \lambda y, x \rangle, so the Polarization Identity holds:

⟨x,λy⟩=⟨x+λy,x+λy⟩−⟨x,x⟩−⟨λy,λy⟩2.\langle x, \lambda y \rangle = \dfrac{\langle x + \lambda y, x + \lambda y \rangle - \langle x, x \rangle - \langle \lambda y, \lambda y \rangle}{2}.

Since ⟨x,λy⟩≠0\langle x, \lambda y \rangle \neq 0, at least one of {x+λy, x, λy}\{x + \lambda y, \ x, \ \lambda y \} must be a valid choice for v∈Vv \in V with ⟨v,v⟩≠0\langle v, v \rangle \neq 0.   □\square

Take vv as in the above lemma. Then for any nonzero a,b∈Cva, b \in \mathbb{C}v, we have ⟨a,b⟩≠0\langle a, b \rangle \neq 0, so Cv\mathbb{C}v is nondegenerate.   ■\blacksquare

And finally, the most crucial step: justifying the “Orthogonal Decomposition” theorem…

Theorem. (Justification #4: Orthogonal Decomposition) Let WW be a nondegenerate subspace of a nondegenerate C\mathbb{C}-vector space VV. Then the decomposition V=W⊕W⊥V = W \oplus W^{\perp} holds, and W⊥W^{\perp} is nondegenerate.

Proof: Suppose n=dim⁡Vn = \dim V and k=dim⁡Wk = \dim W. We claim the following:

Claim. We always have dim⁡W⊥≥n−k\dim W^{\perp} \geq n - k (regardless of whether WW or VV are degenerate or not!).

Proof: The only constraints on elements w⊥∈W⊥w^{\perp} \in W^{\perp} are that ⟨w⊥,w⟩=0\langle w^{\perp}, w \rangle = 0 for all w∈Ww \in W. It's good enough to ensure this constraint holds for exactly kk choices of ww, where these kk choices together span WW.

So W⊥W^{\perp} is the set of vectors w⊥∈Vw^{\perp} \in V satisfying kk linear constraints of the form ⟨w⊥,w⟩=0\langle w^{\perp}, w \rangle = 0, which must have dimension at least n−kn - k.   □\square

However, W∩W⊥={0}W \cap W^{\perp} = \{0\} because WW is nondegenerate. Thus, V=W⊕W⊥V = W \oplus W^{\perp} follows for dimension reasons.

It remains to show W⊥W^{\perp} is nondegenerate; this is where the nondegeneracy of VV becomes necessary. Suppose, for the sake of contradiction, that some nonzero v∈W⊥v \in W^{\perp} were also in (W⊥)⊥(W^{\perp})^{\perp}. Then:

But V=W⊕W⊥V = W \oplus W^{\perp}, so the above implies vv is orthogonal to all of VV, contradicting the nondegeneracy of VV.   ■\blacksquare

And that's the proof!

§ Signatures and Sylvester's Law of Inertia

Okay, one more thing…  does every Hermitian form have a unique representation in this classification?

Definition (Signature). Take a Hermitian matrix MM in the form described by this classification. Its signature is the ordered triple (n1,n0,n−1)(n_1, n_0, n_{-1}) with the number of +1+1s, 00s, and −1-1s, respectively, along the diagonal of MM.

Theorem. (Sylvester's Law of Inertia) Every Hermitian form has a unique signature, irrespective of basis.

Proof: Suppose a Hermitian form has two signatures (n1,n0,n−1)(n_1, n_0, n_{-1}) and (n1′,n0′,n−1′)(n_1', n_0', n_{-1}'). Then:

Suppose, without loss of generality, that n1′>n1n_1' > n_1.

Then W1′∩(W0⊕W−1)≠{0}W_1' \cap (W_0 \oplus W_{-1}) \neq \{0\} for size reasons. But this means there is some nonzero v∈Vv \in V such that:

And obviously, that's a contradiction.   ■\blacksquare

§ Foreshadowing: Signatures are Critical Points…

To conclude, we provide some handwavy foreshadowing on some applications of today's lecture.

Recall from last lecture (Section 16.3) that the Hessian is a matrix that encodes the “quadratic”-ness of a function f:Rn→Rf: \mathbb{R}^n \to \mathbb{R}. It turns out the signature of the Hessian describes the behavior of the critical point!