Docsity

Unitary Matrices, Lecture notes of Construction

Toggle sidebar
bg1
Chapter 4
Unitary Matrices
4.1 Basics
This chapter considers a very important class of matrices that are quite use-
ful in proving a number of structure theorems about all matrices. Called
unitary matrices, they comprise a class of matrices that have the remarkable
properties that as transformations they preserve length, and preserve the an-
gle between vectors. This is of course true for the identity transformation.
Therefore it is helpful to regard unitary matrices as “generalized identities,”
though we will see that they form quite a large class. An important exam-
ple of these matrices, the rotations, have already been considered. In this
chapter, the underlying field is usually C, the underlying vector space is Cn,
and almost without exception the underlying norm is k·k
2.Webeginby
recalling a few important facts.
Recall that a set of vectors x1,...,x
k∈Cnis called orthogonal if
x∗
jxm=hxm,x
ji=0for1≤j6=m≤k.Thesetisorthonormal if
x∗
jxm=δmj =½1j=m
0j6=m.
An orthogonal set of vectors can be made orthonormal by scaling:
xj−→ 1
(x∗
jxj)1/2xj.
Theorem 4.1.1. Every set of orthonormal vectors is linearly independent.
Proof. The proof is routine, using a common technique. Suppose S=
{xj}k
j=1 is orthonormal and linearly dependent. Then, without loss of gen-
157
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18

Partial preview of the text

Download Unitary Matrices and more Lecture notes Construction in PDF only on Docsity!

Chapter 4

Unitary Matrices

4.1 Basics

This chapter considers a very important class of matrices that are quite use- ful in proving a number of structure theorems about all matrices. Called unitary matrices, they comprise a class of matrices that have the remarkable properties that as transformations they preserve length, and preserve the an- gle between vectors. This is of course true for the identity transformation. Therefore it is helpful to regard unitary matrices as “generalized identities,” though we will see that they form quite a large class. An important exam- ple of these matrices, the rotations, have already been considered. In this chapter, the underlying field is usually C, the underlying vector space is Cn, and almost without exception the underlying norm is k · k 2. We begin by recalling a few important facts.

Recall that a set of vectors x 1 ,... , xk ∈ Cn is called orthogonal if x∗ j xm = hxm, xj i = 0 for 1 ≤ j 6 = m ≤ k. The set is orthonormal if

x∗ j xm = δmj =

1 j = m 0 j 6 = m.

An orthogonal set of vectors can be made orthonormal by scaling:

xj −→

(x∗ j xj )^1 /^2

xj.

Theorem 4.1.1. Every set of orthonormal vectors is linearly independent.

Proof. The proof is routine, using a common technique. Suppose S = {xj }kj=1 is orthonormal and linearly dependent. Then, without loss of gen-

157

158 CHAPTER 4. UNITARY MATRICES

erality (by relabeling if needed), we can assume

uk =

kX− 1

j=

cj uj.

Compute u∗ kuk as

1 = u∗ kuk = u∗ k

kX− 1

j=

cj uj

kX− 1

j=

cj u∗ kuj = 0.

This contradiction proves the result.

Corollary 4.1.1. If S = {u 1... uk} ⊂ Cn is orthonormal then k ≤ n.

Corollary 4.1.2. Every k-dimensional subspace of Cn has an orthonormal basis.

Proof. Apply the Gram—Schmidt process to any basis to orthonormalize it.

Definition 4.1.1. A matrix U ∈ Mn is said to be unitary if U ∗U = I. [If U ∈ Mn(R) and U T^ U = I, then U is called real orthogonal.]

Note: A linear transformation T : Cn → Cn is called an isometry if kT xk = kxk for all x ∈ Cn.

Proposition 4.1.1. Suppose that U ∈ Mn is unitary. (i) Then the columns of U form an orthonormal basis of Cn, or Rn , if U is real. (ii) The spectrum σ(u) ⊂ {z | |z| = 1}. (iii) | det U| = 1.

Proof. The proof of (i) is a consequence of the definition. To prove (ii), first denote the columns of U by ui, i = 1,... , n. If λ is an eigenvalue of U with pertaining eigenvector x, then kU xk = k

P

xiuik = (

P

|xi|^2 )^1 /^2 = kxk = |λ|kxk. Hence |λ| = 1. Finally, (iii) follows directly because det U =

Q

λi. Thus | det U | =

Q

|λi| = 1.

This important result is just one of many equivalent results about unitary matrices. In the result below, a number of equivalences are established.

Theorem 4.1.2. Let U ∈ Mn. The following are equivalent.

160 CHAPTER 4. UNITARY MATRICES

such that kxk = kαei + βej k =

q |α|^2 + |β|^2 = 1. Then

1 = kU xk^2 = kU (αei + βej )k^2 = hU (αei + βej ) , U (αei + βej )i = |α|^2 hU ei, U eii + |β|^2 hU ej , U ej i + α β¯ hU ei, U ej i + ¯αβ hU ej , U eii = |α|^2 hui, uii + |β|^2 huj , uj i + α β¯ hui, uj i + ¯αβ huj , uii = |α|^2 + |β|^2 + 2<

α β¯ hui, uj i

α β¯ hui, uj i

Thus <

α β¯ hui, uj i

= 0. Now suppose hui, uj i = s + it. Selecting α = β = √^12 we obtain that < hui, uj i = 0, and selecting α = iβ = √^12 we obtain that = hui, uj i = 0. Thus hui, uj i = 0. Since the coordinates i and j are arbitrary, it follows that the columns of U are orthogonal. (g) ⇒ (h) Suppose {v 1 ,... , vn} is orthogonal. For any two of them kU (vj + vk)k^2 = kvj + vkk^2. Hence hU vj , U vki = 0. (h)⇒ (e) The orthormal set of the standard unit vectors ej , j = 1,... , n is carried to the columns of U. That is U ej = uj , the jth^ column of U. Therefore the columns of U are orthonormal.

Corollary 4.1.3. If U ∈ Mn(C) is unitary, then the transformation defined by U preserves angles.

Proof. We have for any vectors x, y ∈ Cn that the angle θ is completely determined from the inner product via cos θ = (^) khxx,ykkyik. Since U is unitary (and thus an isometry) it follows that

hU x, U yi = hU∗U x, yi = hx, yi

This proves the result.

Example 4.1.1. Let T (θ) =

£ (^) cos θ − sin θ sin θ cos θ

where θ is any real. Then T (θ) is real orthogonal.

Proposition 4.1.1. If U ∈ M 2 (R) is real orthogonal, then U has the form T (θ) for some θ or the form

U =

T (θ) =

cos θ sin θ sin θ − cos θ

Finally, we can easily establish the diagonalizability of unitary matrices.

4.1. BASICS 161

Theorem 4.1.3. If U ∈ Mn is unitary, then it is diagonalizable.

Proof. To prove this we need to revisit the proof of Theorem 3.5.2. As before, select the first vector to be a normalized eigenvector u 1 pertaining to λ 1. Now choose the remaining vectors to be orthonormal to u 1. This makes the matrix P 1 with all these vectors as columns a unitary matrix. Therefore B 1 = P −^1 U P is also unitary. However it has the form

B 1 =

λ α 1... αn− 1 0 ..

. A 2 0

where A 2 is (n − 1) × (n − 1)

Since it is unitary, it must have orthogonal columns by Theorem 4.1.2. It follows then that α 1 = α 2 = · · · = αn = 0 and

B 1 =

λ 0... 0 0 ..

. A 2 0

At this point one may apply and inductive hypothesis to conclude that A 2 is similar to a diagonal matrix. Thus by the manner in which the full similarity was constructed, we see that A must also be similar to a diagonal matrix.

Corollary 4.1.1. Let U ∈ Mn be unitary. Then

(i) Then U has a set of n orthogonal eigenvectors.

(ii) Let {λ 1 ,... , λn} and {v 1 ,... , vn} denote respectively the eigenvalues and their pertaining orthonormal eigenvectors of U. Then U has the representation as the sum of rank one matrices given by

U =

X^ n

j=

λj vj vTj

This representation is often called the spectral respresentation or spectral decomposition of U.

4.1. BASICS 163

Because element inverses are required, it is obvious that the only subsets of invertible matrices in Mn will be groups. Clearly, GL(n, F ) is a group because the properties follow from those matrix of multiplication. We have already established that invertible lower triangular matrices have lower tri- angular inverses. Therefore, they form a subgroup of GL(n, F ). We consider the unitary and orthogonal groups below.

Proposition 4.1.2. For any integer n = 1, 2 ,... the set of unitary matrices Un (resp. real orthogonal) forms a group. Similarly On is a group, with subgroup SOn.

Proof. The result follows if we can show that unitary matrices are closed under multiplication. Let U and V be unitary. Then

(U V )∗(U V ) = V ∗U ∗U V = V ∗V = I

For orthogonal matrices the proof is essentially identical. That SOn is a group follows from the determinant equality det(AB) = det A det B. There- fore it is a subgroup of On.

4.1.2 Permutation matrices

Another example of matrix groups comes from the idea of permutations of integers.

Definition 4.1.3. The matrix P ∈ Mn(C) is called a permutation matrix if each row and each column has exactly one 1, the rest of the entries being zero.

Example 4.1.3. Let

P =

 Q =

P and Q are permutation matrices.

Another way to view a permutation matrix is with the game of chess. On an n × n chess board place n rooks in positions where none of them attack one another. Viewing the board as an n × n matrix with ones where the rooks are and zeros elsewhere, this matrix will be a permutation matrix.

164 CHAPTER 4. UNITARY MATRICES

Of course there are n! such placements, exactly the number of permutations of the integers { 1 , 2 ,... , n}. Permutation matrices are closely linked with permutations as discussed in Chapter 2.5. Let σ be a permutation of the integers { 1 , 2 ,... , n}. Define the matrix A by

aij =

1 if j = σ (i) 0 if otherwise

Then A is a permutation matrix. We could also use the Dirac notation to express the same matrix, that is to say aij = δiσ(j). The product of permutation matrices is again a permutation matrix. This is apparent by straight multiplication. Let P and Q be two n × n permutation matrices with pertaining permutations σP and σQ of the integers { 1 , 2 ,... , n}. Then the ith^ row of P is eσP (i) and the ith^ row of Q is eσQ(i). (Recall the ei are the usual standard vectors.) Now the ith^ row of the product P Q can be computed by

X^ n

j=

pij eσQ(j) =

X^ n

j=

δiσ(j)eσQ(j) = eσQ(σP (i))

Thus the multiplication ithrow of P Q is a standard vector. Since the σP (i) ranges over the integers { 1 , 2 ,... , n}, it is true also that σQ (σP (i)) does likewise. Therefore the “product” σQ (σP (i)) is also a permutation. We conclude that the standard vectors constitute the rows of P Q. Thus permu- tation matrices are orthogonal under multiplication. Moreover the inverse of every permutation is permutation matrix, with the inverse describe through the inverse of the pertaining permutation of { 1 , 2 ,... , n}. Therefore, we have the following result.

Proposition 4.1.3. Permutation matrices are orthogonal. Permutation matrices form a subgroup of On.

4.1.3 Unitary equivalence

Definition 4.1.4. A matrix B ∈ Mn is said to be unitarily equivalent to A if there is a unitary matrix U ∈ Mn such that

B = U ∗AU.

(In the real case we say B is orthogonally equivalent to A.)

166 CHAPTER 4. UNITARY MATRICES

Computing

HwH w∗ = (I − 2 ww∗)(I − 2 ww∗)∗ = I − 2 ww∗^ − 2 ww∗^ + 4ww∗ww∗ = I − 4 ww∗^ + 4hw, wiww∗^ = I

it follows that Hw is unitary.

Example 4.1.5. Consider the vector w =

cos θ sin θ

and the Householder

transformation

Hw = I − 2 wwT^ =

1 − 2 cos^2 θ −2 cos θ sin θ −2 cos θ sin θ 1 − 2 sin^2 θ

− cos 2θ − sin 2θ − sin 2θ cos 2θ

The transformation properties for the standard vectors are

Hw e 1 =

− cos 2θ − sin 2θ

and

Hw e 2 =

cos 2θ − sin 2θ

This is shown below. It is evident that this unitary transformation is not a rotation. Though, it can be imagined as a “rotation with a one dimensional reflection.”

w

w

w

H e

H e

e

e 2

1 θ

2θ

2θ

Householder transformation

Example 4.1.6. Let θ be real. For any n ≥ 2 and 1 ≤ i, j ≤ n with i 6 = j

4.1. BASICS 167

define

Un(θ, i, j)

i

j

........... cos θ............ − sin θ........... .. .

........... sin θ............ cos θ........... .. .

i j

Then Un(θ; i, j) is a rotation and is unitary.

Proposition 4.1.4 (Limit theorems). (i) Show that the unitary matri- ces are closed with respect to any norm. That is, if the sequence {Un}⊂ Mn(C) are all unitary and the limn→∞ Un = U in the k·k 2 norm, then U is also unitary. (ii) The unitary matrices are closed under pointwise convergence. That is, if the sequence {U n}⊂ Mn(C) are all unitary and limn→∞ Un = U for each (ij)entry, then U is also unitary.

Householder transformations can also be used to triangularize a matrix. The procedure successively removes the lower triangular portion of a matrix column by column in a way similar to Gaussian elimination. The elemen- tary row operations are replaced by elementary reflectors. The result is a triangular matrix T = Hvn · · · Hv 2 Hv 1 A. Since these reflectors are unitary, the factorization yields an effective method for solving linear systems. The actual process is rather straightforward. Construct the vector v such that

I − 2 vvT^

A =

I − 2 vvT^

a 11 a 12 · · · a 1 n a 21 a 22 · · · a 2 n .. .

an 1 an 2 · · ·^ ann

ˆa 11 ˆa 12 · · · ˆa 1 n 0 ˆa 22 · · · ˆa 2 n .. .

0 ˆan 2 · · ·^ ˆann

4.1. BASICS 169

possibility of notational confusion) and move to describe Hv 2 using a trans- formation of the same kind with a vector of the type v = (0, x 2 , x 3 ,... , xn). Such a selection will not affect the structure of the first column. Continue this until the matrix is triangularized. The upshot is that every matrix can be factored as A = U T, where U is unitary and T is upper triangular. The main result for this section is the factorization theorem. As it turns out, every Unitary matrix can be written as a product of elementary reflectors. The proof requires a slightly more general notion of reflector.

Definition 4.1.6. The general form of the Householder matrix, also called an elementary reflector, has the form

Hv = I − τ vv∗

where the vector v ∈ Cn.

In order for Hv to be unitary, it must be true that

HvH v∗ = (I − τ vv∗) (I − τ vv∗)∗ = (I − τ vv∗) (I − ¯τ vv∗) = I − τ vv∗^ − ¯τ vv∗^ + |τ |^2 (v∗v) vv∗ = I − 2Re (τ ) vv∗^ + |τ |^2 |v|^2 vv∗ = I

Therefore, for v 6 = 0 we must have

−2Re (τ ) vv∗^ + |τ |^2 |v|^2 vv∗^ =

−2Re (τ ) + |τ |^2 |v|^2

vv∗ = 0

or

−2Re (τ ) + |τ |^2 |v|^2 = 0

Now suppose that Q ∈ Mn (R) is orthogonal and that the spectrum σ (Q) ⊂ {− 1 , 1 }. Suppose Q has a complete set of normalized orthogonal eigen-

vectors^1 , it can be expressed as Q =

Pn i=

λiviviT where the set v 1 ,... , vn are

the eigenvectors and λi ⊂ σ (Q). Now assume the eigenvectors have been arranged so that this simplifies to

Q = −

X^ k

i=

vivTi +

X^ n

i=k+

vivTi

(^1) This is in fact a theorem that will be established in Chapter 4.2. It follows as a consequence of Schur’s theorem

170 CHAPTER 4. UNITARY MATRICES

Here we have just arrange the eigenvectors with eigenvalue −1 to come first. Define

Hj = I − 2 vj vjT , j = 1,... , k

It follows that

Q =

Y^ k

j=

Hj =

Y^ k

j=

I − 2 vj vjT

for it is easy to check that

U vm =

Y^ k

j=

Hj =

−vm if m ≤ k vm if m > k

Since we have agreement with Q on a basis, the equality follows. In words we may say that an orthogonal matrix U with spectrum σ (Q) ⊂ {− 1 , 1 } with can be written as a product of reflectors. With this simple case out of

the way, we consider more general case we write Q =

Pn i=

λivivTi. where the

set v 1 ,... , vn are the eigenvectors and λi ⊂ σ (Q). We wish to represent Q similar to the above formula as a product of elementary reflectors.

Q =

Y^ k

j=

Hj =

Y^ k

j=

I − τj wj w∗ j

where wi = αivi for some scalars αi. On the one hand it must be true that −2Re (τi) + |τi|^2 |wi|^2 = 0 for each i = 1,... n, and on the other hand it must follow that

(I − τiwiw∗ i ) vm =

λivi if m = i vm if m 6 = i

The second of these relations is automatically satisfied by the orthogonality of the eigenvectors. The second relation can needs to be solved. This simplifies to (I − τiwiw∗ i ) vi =

1 − τi |αi|^2

vi = λivi. Therefore, it is

necessary to solve the system

−2Re (τi) + |τi|^2 |vi|^2 = 0 1 − τi |αi|^2 = λi

Having done so there results the factorization.

172 CHAPTER 4. UNITARY MATRICES

Q as shown below

Q =

λ 0 · · · 0 0 ..

. Qˆ 0

It follows that

Q∗P ∗AP Q =

λ 0 · · · 0 0 ..

. T 2 0

= T

is triangular, as indicated. Therefore the factorization is complete upon defining the similarity transformation U = P Q. Of course, the eigenvalues of A 2 together with λ constitute the eigenvalues of A, and therefore by similarity the diagonal of T contains only eigenvalues of A.

The triangular matrix above is not unique as is easy to see by mixing or permuting the eigenvalues. An important consequence of Schur’s theorem pertains to unitary matrices. Suppose that B is unitary and we apply the Schur factorization to write B = U ∗T U. Then T = U BU ∗. It follows that the upper triangular matrix is itself unitary, which is to say T ∗T^ =^ I.^ It is a simple fact to prove this implies that T is in fact a diagonal matrix. Thus, the following result is proved.

Corollary 4.2.1. Every unitary matrix is diagonalizable. Moreover, every unitary matrix has n orthogonal eigenvectors.

Proposition 4.2.1. If B, A ∈ M 2 are similar and tr(B∗B) = tr(A∗A), then B and A are unitarily equivalent.

This result higher dimensions.

Theorem 4.2.2. Suppose that A ∈ Mn(C) has distinct eigenvalues λ 1... λk with multiplicities n 1 , n 2 ,... , nk respectively. Then A is similar to a matrix of the form     

T 1

T 2

Tk

4.2. SCHUR’S THEOREM 173

where Ti ∈ Mni is upper triangular with diagonal entries λi.

Proof. Let E 1 be eigenspace of λ 1. Assume dim E 1 = m 1. Let u 1... um 1 be an orthogonal basis of E 1 , and suppose v 1... vn−m 1 is an orthonormal basis of Cn^ − E 1. Then with P = [u 1... um 1 , v 1... vn−m 1 ] we have P −^1 AP has the block structure · T 1 0 0 A 2

Continue this way, as we have done before. However, if dim Ei < mi we must proceed a different way. First apply Schur’s Theorem to triangularize. Arrange the first m 1 eigenvalues to the first m 1 diagonal entries of T , the similar triangular matrix. Let Er,s be the matrix with a 1 in the r, s position and 0’s elsewhere. We assume throughout that r 6 = s. Then, it is easy to see that I + αEr,s is invertible and that (I + αErs)−^1 = I − αErs. Now if we define

(I + αErs)−^1 T (I + αErs)

we see that trs → trs + α(trr − tss). We know trr − tss 6 = 0 if r and s pertain to values with different eigenvalues. Now this value is changed, but so also are the values above and to the right of trs. This is illustrated below.

columns → s

row r

To see how to use these similarity transformation to zero out the upper blocks, consider the special case with just two blocks

A =

T 1 T 12

0 T 2

We will give a procedure to use elementary matrices αEij to zero-out each of the entries in T 12. The matrix T 12 has m 1 · m 2 entries and we will need

4.2. SCHUR’S THEOREM 175

Remark 4.2.1. If A ∈ Mn(R) and σ(A) ⊂ R, then all operations can be carried out with real numbers.

Lemma 4.2.1. Let J ⊂ Mn be a commuting family. Then there is a vector x ∈ Cn^ for which x is an eigenvector for every A ∈ J.

Proof. Let W ⊂ Cn^ be a subspace of minimal dimension that is invariant under J. Since Cn^ is invariant, we know W exists. Since Cn^ is invariant, we know W exists. Suppose there is an A ∈ J for which there is a vector in W which is not an eigenvector of A. Define W 0 = {y ∈ W | Ay = λy for some λ}. That is, W 0 is a set of eigenvectors of A. Since W is invariant under A, it follows that W 0 6 = φ. Also, by assumption. W 0 $ W. For any x ∈ W 0

ABx = (AB)x = B(Ax) = λBx

and so Bx ∈ W 0. It follows that W 0 is J invariant, and W 0 has lower positive dimension than W.

As a consequence we have the following result.

Theorem 4.2.3. Let J be a commuting family in Mn. If^ A^ ∈^ J^ is diago- nalizable, then J is simultaneously diagonalizable.

Proof. Since A is diagonalizable there are n linearly independent eigenvec- tors of A and if S is in Mn and consists of those eigenvectors the matrix S−^1 AS is diagonal. Since eigenvectors of A are the same as eigenvectors of B ∈ J , it follows that S−^1 BS is also diagonal. Thus S−^1 J S = D := all diagonal matrices.

Theorem 4.2.4. Let J ⊂ Mn be a commuting family. There is a unitary matrix U ∈ Mn such that U ∗AU is upper triangular for each A ∈ J.

Proof. From the proof of Schur’s Theorem we have that the eigenvectors chosen for U are the same for all A ∈ J. This follows because after the first step we have reduced A and B to · A 11 A 12 0 A 22

and

B 11 B 12

0 B 22

respectively. Commutativity is preserved under simultaneous similarity and therefore A 22 and B 22 commutes. Therefore at the second step the same eigenvector can be selected for all B 22 ⊂ J 2 , a commuting family.

176 CHAPTER 4. UNITARY MATRICES

Theorem 4.2.5. If A ∈ Mn(R), there is a real orthogonal matrix Q ∈ Mn(R) such that

(?) QT^ AQ =

A 1

A 2?

Ak

1 ≤ k ≤ n

where each Ai is a real 1 × 1 matrix or a real 2 × 2 matrix with a non real pair of complex conjugate eigenvalues.

Theorem 4.2.6. Let J ⊂ Mn(R) be a commuting family. There is a real orthogonal matrix Q ∈ Mn(R) for which QT^ AQ has the form (?) for every A ∈ J.

Theorem 4.2.7. Suppose A, B ∈ Mn(C) have eigenvalues α 1 ,... , αn and β 1 ,... , βn respectively. If A and B commute then there is a permutation i 1... in of the integers 1 ,... , n for which the eigenvalues of A + B are αj + βij , j = 1,... , n. Thus σ(A + B) ⊂ σ(A) + σ(B).

Proof. Since J = {A, B} forms a commuting family we have that every eigenvector of A is an eigenvector of B, and conversely. Thus if Ax = αj x we must have that Bx = Bij x. But how do we get the permutation? The answer is to simultaneously triangularize with U ∈ Mn. We have

U ∗AU = T and U ∗BU = R.

Since

U ∗(A + B)U = T + R

we have that the eigenvalues pair up as described.

Note: We don’t necessarily need A and B to commute. We need only the hypothesis that A and B are simultaneously diagonalizable. If A and B do not commute little can be said of σ(A + B). In particular σ(A + B) $ σ(A) + σ(B). Indeed, by summing upper triangular and lower triangular matrices we can exhibit a range of possibilities. Let A = [ 0 10 0 ], B = [ 0 01 0 ], σ(A + B) = {− 1 , 1 } but σ(A) = σ(B) = { 0 }.

Corollary 4.2.1. Suppose A, B ∈ Mn are commuting matrices with eigen- values α 1 ,... , αn and β 1 ,... , βn respectively. If αi 6 = −βj for all 1 ≤ i, j ≤ n, then A + B is nonsingular.