20.7  The Sylvester Equation Revisited

Chapter 12 settled when the equation AX−XB=C can be solved: over C it has exactly one solution for every C if and only if A and B have no common eigenvalue (Theorem 12.10.2). It then set a question aside. “The quantitative version — how badly conditioned the equation is when the spectra are close but disjoint — is a separate matter, and belongs with perturbation theory in Chapter 20.” Chapter 8, which first wrote the equation as a linear system, said the same thing more briefly: “its quantitative form appears in Chapter 20.” This section pays both debts. It attaches to each pair (A,B) a number that says how large a solution can be, computes it exactly for normal pairs, shows how badly it can behave otherwise, and proves a bound in the spectral norm for Hermitian pairs whose spectra sit on opposite sides of a gap.

The reason to want these bounds now is that Sections 9 and 10 need them. In Section 9 the error in a computed invariant subspace turns out to satisfy a Sylvester equation, and in Section 10 so does the error in a square root or a polar factor. Each of those three errors is measured by one of the bounds proved here, applied once.

Throughout, the field is C, A∈Mm(C) and B∈Mn(C), and X,C∈Mm×n(C). We write S=SA,B for the Sylvester operator X↦AX−XB of Definition 12.10.1, and K=In⊗A−B⊤⊗Im for its matrix, so that vec(S(X))=KvecX by Eq. 12.10.1. The eigenvalues of A are λ1,…,λm and those of B are μ1,…,μn, with multiplicity. Every bound names its norm: ‖⋅‖F is the Frobenius norm and ‖⋅‖2 the spectral norm.

20.7.1. How large can the solution be?

Start with the smallest case, m=n=1. The equation is (a−b)x=c, and when a≠b its solution is x=c/(a−b). So the size of the answer is governed by one number, the distance |a−b| between the two “spectra”: the closer they are, the larger x can be for a given c.

The natural guess for larger matrices is that the distance between the two spectra, mini,j|λi−μj|, plays the same role, so that ‖X‖F≤‖C‖F/mini,j|λi−μj|. We will see that this guess is right for normal pairs and can be wrong by any factor otherwise. The number that really controls the solution is the smallest amount by which S can stretch a matrix, and it deserves a name.

The separation of A and B is the least that the Sylvester operator can shrink a matrix of unit size.

Definition 20.7.1 (Separation)

Let A∈Mm(C) and B∈Mn(C). The separation of A and B is sepF(A,B):=min{‖AX−XB‖F:X∈Mm×n(C), ‖X‖F=1}.

In words: we run over every matrix X of the right shape whose Frobenius norm is exactly 1, apply the Sylvester operator, measure the result in the Frobenius norm, and take the smallest value. By homogeneity, ‖AX−XB‖F≥sepF(A,B)‖X‖F for every X, and sepF(A,B) is the largest constant with this property. The order matters: sepF(A,B) belongs to X↦AX−XB, and sepF(B,A) to a different operator on a different space. The subscript F records the norm, as in ‖⋅‖F.

Well-definedness. A minimum over an infinite set needs to exist, and the first part of Proposition 20.7.1 below shows that it does, without any appeal to compactness: it is the smallest singular value of K.

Examples.

  1. m=n=1. Then X=(x) with |x|=1, and |ax−xb|=|a−b|. So sepF(a,b)=|a−b|, the one-dimensional picture above.
  2. Equal matrices. For square A, sepF(A,A)=0: the matrix X=Im/m has ‖X‖F=1 and AX−XA=O. This degenerate case matters because it is the extreme of a shared eigenvalue, and the first property below says that any shared eigenvalue forces the separation to 0.
  3. Diagonal matrices. If A=diag(λ1,…,λm) and B=diag(μ1,…,μn), then (AX−XB)ij=(λi−μj)xij, so S multiplies each entry by its own factor. The smallest stretch is the smallest factor in modulus, and sepF(A,B)=mini,j|λi−μj|. The proof of Theorem 20.7.2 below writes this out.

Nonexample by minimal change. Drop the normalization and take min{‖AX−XB‖F:X≠O} instead. The set of values is still nonempty and bounded below, but its infimum is 0 for every pair, and when the spectra are disjoint it is never attained: replacing X by tX multiplies the value by t, and t can be as small as we like, while the value 0 is taken at some X≠O exactly when the two spectra meet (Theorem 12.10.2), as they do in the second example above, where A=B and X=Im. It is exactly the clause ‖X‖F=1 that fails, and it is what turns a meaningless infimum into a measurement of the operator.

Why the Frobenius norm. Vectorization lists the entries of X in one column, so ‖vecX‖2=‖X‖F: vec is an isometry from (Mm×n(C),‖⋅‖F) to (Cmn,‖⋅‖2). That turns sepF into a question about the ordinary matrix K, which the singular value decomposition answers. With ‖⋅‖2 on both sides the minimum is also a sensible quantity, but it has no such formula, and we will not need it: the spectral-norm results below go through a different argument.

Warning. The separation is not the distance between the spectra. It is at most that distance, by part (c) of the proposition below, but it can be far smaller. For A=(1t01) and the 1×1 matrix B=O1, the spectra {1} and {0} are at distance 1 for every t, yet sepF(A,B)<1/t for t>0 (Example (Separation Far Below the Gap)). Whenever A or B is not normal, compute the separation; do not read it off the eigenvalues.

Everything we need about the separation is collected in one proposition.

Proposition 20.7.1 (Properties of the Separation)

Let A∈Mm(C), B∈Mn(C), and K=In⊗A−B⊤⊗Im.

  • (a) The minimum defining sepF(A,B) exists, and sepF(A,B)=σmn(K), the smallest singular value of K.
  • (b) sepF(A,B)>0 if and only if spec(A)∩spec(B)=∅.
  • (c) sepF(A,B)≤mini,j|λi−μj|.
  • (d) If spec(A)∩spec(B)=∅, then for every C the unique solution of AX−XB=C satisfies ‖X‖F≤‖C‖FsepF(A,B), and equality holds for some C≠O.
  • (e) For unitary U∈U(m) and V∈U(n), sepF(U∗AU,V∗BV)=sepF(A,B).
  • (f) If n=1 and B=(μ), then sepF(A,B)=σm(A−μIm), the smallest singular value of A−μIm.

Idea. Part (a) is the isometry vec plus the fact that the smallest stretch of a square matrix is its smallest singular value. Part (b) is Sylvester’s theorem, read through (a). Part (c) needs one good test matrix: an eigenvector of A times a left eigenvector of B is multiplied by λ−μ under S, exactly as in the 1×1 case. Part (d) is the definition read backwards. Part (e) holds because unitary factors change neither the set of unit matrices nor the Frobenius norm. Part (f) is the case n=1 of (a), where K is nothing but A−μIm.

Proof.

  • (a) Let X∈Mm×n(C) and x=vecX. The entries of x are those of X, so ‖x‖2=‖X‖F, and likewise ‖AX−XB‖F=‖Kx‖2 by Eq. 12.10.1. Since vec is a bijection from Mm×n(C) onto Cmn (Definition 8.4.2), the set whose minimum defines sepF(A,B) equals {‖Kx‖2:‖x‖2=1}. By Lemma 17.9.1 (b) with k equal to the size mn of K, the head subspace is all of Cmn, and the minimum of ‖Kx‖/‖x‖ over x≠0 exists and equals σmn(K). Restricting to unit vectors changes nothing, since the quotient is unchanged when x is scaled.

  • (b) By Theorem 13.9.1, the number of nonzero singular values of K is rankK. Since σmn(K) is the smallest, it is nonzero exactly when all mn of them are, that is, when rankK=mn, which says that K is invertible (Theorem 7.5.3 (d)). By Eq. 12.10.1, K is invertible exactly when S is, and by Theorem 12.10.2 ((a) ⇔ (b)) that happens exactly when spec(A)∩spec(B)=∅. Combining with (a) proves (b).

  • (c) Fix i,j. Choose an eigenvector x of A for λi, and, by Proposition 9.10.5 (b), a left eigenvector y of B for μj, so that y⊤B=μjy⊤ (Definition 9.10.1). Scale both to length 1, and put X=xy⊤. Its (p,q) entry is xpyq, so ‖X‖F2=∑p,q|xp|2|yq|2=‖x‖2‖y‖2=1. By associativity, AX−XB=(Ax)y⊤−x(y⊤B)=(λi−μj)X. Hence sepF(A,B)≤‖(λi−μj)X‖F=|λi−μj|. This holds for every pair (i,j), so it holds for the minimum.

  • (d) By Theorem 12.10.2 the solution X exists and is unique. If X=O there is nothing to prove. Otherwise X/‖X‖F has Frobenius norm 1, so by Definition 20.7.1 sepF(A,B)≤‖AX−XB‖F‖X‖F=‖C‖F‖X‖F, and sepF(A,B)>0 by (b), so we may rearrange. For equality, take X0 with ‖X0‖F=1 attaining the minimum, which exists by (a), and put C=AX0−X0B. Then C≠O, because ‖C‖F=sepF(A,B)>0, and the unique solution is X0, for which the two sides are both 1.

  • (e) Put A′=U∗AU and B′=V∗BV. For every X, A′(U∗XV)−(U∗XV)B′=U∗(AX−XB)V, because UU∗=Im and VV∗=In. By Lemma 11.7.5, ‖U∗XV‖F=‖X‖F and the right side has Frobenius norm ‖AX−XB‖F. The map X↦U∗XV is a bijection of Mm×n(C), with inverse Y↦UYV∗, so it carries the matrices of Frobenius norm 1 onto themselves. Hence the two minima are taken over the same set of values, and they are equal.

  • (f) With n=1 and B=(μ), the Kronecker matrix is K=I1⊗A−(μ)⊗Im=A−μIm, of size mn=m. So (a) gives sepF(A,B)=σm(A−μIm).

Part (d) is the quantitative form that Chapter 8 and Chapter 12 promised, and it says more than an inequality. The number 1/sepF(A,B) is exactly the largest factor by which solving the equation can magnify the data, measured in the Frobenius norm. Since S is linear, it is also the factor for errors: if C is replaced by C+ΔC, the solution moves by S−1(ΔC), whose norm is at most ‖ΔC‖F/sepF(A,B), and some ΔC achieves this. A small separation is the precise meaning of “badly conditioned”. Part (c) says that close spectra always make the separation small. The rest of the section asks whether the converse holds, that is, whether well-separated spectra make it large.

Quick check. Part (f) of Proposition 20.7.1 was read off the Kronecker matrix. Prove it instead straight from Definition 20.7.1, without vectorizing: for B=(μ), unwind what the matrices X of Frobenius norm 1 are.

Solution. Here n=1, so X=x is a column in Cm with ‖x‖F=‖x‖, and Ax−xμ=(A−μIm)x. So sepF(A,B)=min‖x‖=1‖(A−μIm)x‖, which is σm(A−μIm) by Lemma 17.9.1 (b) with k=m.

20.7.2. Normal pairs: the separation is the gap

For normal matrices the naive guess is right, and the proof is the diagonal example written out.

Theorem 20.7.2 (Separation of Normal Matrices)

Let A∈Mm(C) and B∈Mn(C) be normal, with eigenvalues λ1,…,λm and μ1,…,μn. Then sepF(A,B)=mini,j|λi−μj|. Consequently, if δ=mini,j|λi−μj|>0, the unique solution of AX−XB=C satisfies ‖X‖F≤‖C‖F/δ.

Idea. Unitary diagonalization costs nothing in the Frobenius norm, by Proposition 20.7.1 (e). Once both matrices are diagonal, the operator scales the (i,j) entry by λi−μj, so the total shrinkage is a weighted average of the |λi−μj|2, and a weighted average is at least the smallest weight.

Proof. By Corollary 12.4.3 there are unitary U∈U(m) and V∈U(n) with U∗AU=Λ:=diag(λ1,…,λm) and V∗BV=M:=diag(μ1,…,μn). By Proposition 20.7.1 (e), sepF(A,B)=sepF(Λ,M).

Let X=(xij) have ‖X‖F=1, and put δ=mini,j|λi−μj|. The (i,j) entry of ΛX−XM is λixij−xijμj=(λi−μj)xij, since multiplying by a diagonal matrix on the left scales rows and on the right scales columns. Hence ‖ΛX−XM‖F2=∑i,j|λi−μj|2|xij|2≥δ2∑i,j|xij|2=δ2. Therefore sepF(Λ,M)≥δ. The reverse inequality is Proposition 20.7.1 (c). This proves the equality, and the bound on X is then Proposition 20.7.1 (d).

The theorem answers the question of the opening completely in the normal case: there, how badly conditioned the equation is depends on the spectra and on nothing else. In particular it applies to Hermitian pairs, which is the case Section 9 needs.

Example (A Normal Pair)

Let A=(2112),B=(0−110). Compute sepF(A,B) in two ways: from Theorem 20.7.2, and from the singular values of K.

Solution. The matrix A is real symmetric, hence normal, with pA(x)=(x−2)2−1=(x−1)(x−3), so its eigenvalues are 1,3. The matrix B is real with B⊤B=I2=BB⊤, hence normal, and pB(x)=x2+1, so its eigenvalues are ±i. The four distances are |1∓i|=2,|3∓i|=10, so Theorem 20.7.2 gives sepF(A,B)=2.

For the second computation, B⊤=(01−10), and by Definition 8.4.1, in 2×2 blocks, K=I2⊗A−B⊤⊗I2=(A−I2I2A). Since K is real, K∗=K⊤, so the singular values of K are the nonnegative square roots of the eigenvalues of K⊤K (Definition 13.9.1). Since A is real symmetric, block multiplication (Theorem 8.1.1) gives K⊤K=(AI2−I2A)(A−I2I2A)=(A2+I2OOA2+I2). The eigenvalues of A2+I2 are 12+1=2 and 32+1=10 (Theorem 9.10.1), so the singular values of K are 10,10,2,2. The smallest is 2, in agreement with Proposition 20.7.1 (a).

20.7.3. Nonnormal pairs: the separation can collapse

For a nonnormal pair the inequality of Proposition 20.7.1 (c) can be strict, and by as large a factor as we please. The smallest example uses a 1×1 matrix B, so that Proposition 20.7.1 (f) computes the separation.

Example (Separation Far Below the Gap)

For a real number t≥0, let A=(1t01),B=O1. Compute sepF(A,B) and compare it with the distance between the spectra. Then, for t=99/10, solve AX−XB=C with C=e2 and compare the size of the solution with the guess ‖C‖F/min|λi−μj|.

Solution. The spectra are spec(A)={1} (triangular, Theorem 9.7.4) and spec(B)={0}, at distance 1 for every t. By Proposition 20.7.1 (f) with μ=0, sepF(A,B)=σ2(A), the square root of the smaller eigenvalue of A⊤A=(1tt1+t2). Its characteristic polynomial is (z−1)(z−1−t2)−t2=z2−(2+t2)z+1. Both roots are positive and their product is 1, so the smaller is the reciprocal of the larger, σ2(A)=1/σ1(A). Solving the quadratic, σ2(A)2=2+t2−tt2+42=(t2+4−t2)2, as expanding the square confirms. Hence sepF(A,B)=t2+4−t2=2t2+4+t, where the second form multiplies top and bottom by t2+4+t. The second form is less than 2/(2t)=1/t for t>0, because t2+4>t. The spectra stay at distance 1, and the separation tends to 0 as t→∞.

For t=99/10 we have t2+4=10201/100, whose square root is 101/10, so sepF(A,B)=12(10110−9910)=110. The equation is Ax=e2 for the column x=X, so x=A−1e2=(−t,1), since A−1=(1−t01). Its length is t2+1=9901/10≈9.95. The guess from the eigenvalues was ‖C‖F/1=1, wrong by a factor of almost 10. The true bound ‖C‖F/sepF(A,B)=10 from Proposition 20.7.1 (d) is almost attained, and it is attained when C is a unit left singular vector of A for σ2.

The example has a second reading. The eigenvalue 1 of A is far from 0, yet a perturbation of A of size sepF(A,B)=1/10 in the spectral norm makes 0 an eigenvalue, because that is how far A is from the singular matrices (Corollary 17.9.7). Exercise C1 below shows that, for every pair, no perturbation of spectral norm less than sepF(A,B) can create a common eigenvalue, and that when B is 1×1 one of exactly that size can. For a nonnormal pair, the distance between the spectra measures the wrong thing, and the separation measures the right one.

20.7.4. A one-sided bound in the spectral norm

Section 9 will measure the angle between two invariant subspaces, and the largest such angle is a spectral norm, not a Frobenius norm. For Hermitian pairs, Theorem 20.7.2 already gives ‖X‖F≤‖C‖F/δ. The spectral-norm analogue with the same constant is false in general: Exercise C2 below exhibits real diagonal A and B whose spectra interlace at distance 1, yet ‖X‖2>‖C‖2. What rescues the spectral norm is a stronger hypothesis on where the spectra lie: all of spec(A) on one side of a gap and all of spec(B) on the other.

Theorem 20.7.3 (One-Sided Sylvester Bound)

Let A∈Mm(C) and B∈Mn(C) be Hermitian, and let α>β be real numbers with A⪰αIm,B⪯βIn. Then for every C∈Mm×n(C) the equation AX−XB=C has exactly one solution, and it satisfies ‖X‖2≤‖C‖2α−β,‖X‖F≤‖C‖Fα−β.

Idea. The singular-pair trick. A single pair of vectors sees the whole spectral norm of X: by the singular value decomposition there are unit vectors u,v with Xv=su and X∗u=sv, where s=‖X‖2. Sandwich the equation between them. The left side becomes u∗AXv−u∗XBv=s(u∗Au−v∗Bv), a real number at least s(α−β) because of the two one-sided hypotheses. The right side becomes u∗Cv, which is at most ‖C‖2 in modulus. The one-sided hypotheses are used exactly once, to make both quadratic forms pull in the same direction.

Proof. Existence and uniqueness. Let λ∈spec(A) with unit eigenvector x. Then λ=⟨Ax,x⟩≥α, because ⟨(A−αIm)x,x⟩≥0 by Definition 13.1.1 and Definition 13.5.1. Likewise every μ∈spec(B) satisfies μ≤β<α. So spec(A)∩spec(B)=∅, and Theorem 12.10.2 gives exactly one solution X.

The spectral norm. Put s=‖X‖2, which equals σ1(X) by Theorem 16.3.3 (c). If s=0 there is nothing to prove. Otherwise X has rank at least 1, and Theorem 13.9.1 with Eq. 13.9.3 (for i=1) gives unit vectors u∈Cm and v∈Cn with

Xv=su,X∗u=sv.
(20.7.1)

Taking adjoints in the second, u∗X=sv∗. Multiply AX−XB=C by u∗ on the left and v on the right: u∗Cv=u∗A(Xv)−(u∗X)Bv=su∗Au−sv∗Bv. Since A−αIm⪰O and u is a unit vector, u∗Au−α=⟨(A−αIm)u,u⟩≥0. Since βIn−B⪰O, likewise v∗Bv≤β. Hence u∗Cv is real and u∗Cv≥s(α−β). On the other hand, by the Cauchy–Schwarz inequality (Theorem 11.1.5) and Theorem 16.3.2 (a), |u∗Cv|≤‖u‖‖Cv‖≤‖C‖2. Combining, s(α−β)≤‖C‖2, and dividing by α−β>0 gives the first bound.

The Frobenius norm. Hermitian matrices are normal. Every λi≥α and every μj≤β, as shown above, so λi−μj≥α−β for all i,j. By Theorem 20.7.2, sepF(A,B)=mini,j(λi−μj)≥α−β, and Proposition 20.7.1 (d) gives ‖X‖F≤‖C‖F/sepF(A,B)≤‖C‖F/(α−β). This proves the theorem.

The trick deserves its name because it is portable. Whenever a matrix X satisfies a linear equation and one wants ‖X‖2, take a top singular pair of X itself and test the equation against it. The spectral norm is then attained on the test, and the rest is a pair of scalar inequalities. Notice what was not used: the size of the gap between individual eigenvalues. Only the two half-lines [α,∞) and (−∞,β] matter, which is why the bound survives when A and B have many eigenvalues each.

Remark. The one-sided hypothesis does real work in the spectral-norm bound, as Exercise C2 shows. When the spectra of two Hermitian matrices are merely at distance δ, in any interlaced pattern, the spectral-norm bound does hold with a larger constant: ‖X‖2≤(π/2)‖C‖2/δ, and π/2 cannot be improved. We do not prove this, and nothing in the book depends on it.

The form of the theorem used most often has a plus sign and two positive definite matrices. It is a direct translation.

Corollary 20.7.4 (Sylvester Bound for Positive Matrices)

Let S∈Mm(C) and T∈Mn(C) be Hermitian with S⪰αIm and T⪰βIn, where α+β>0. Then for every C∈Mm×n(C) the equation SX+XT=C has exactly one solution, and it satisfies ‖X‖2≤‖C‖2α+β,‖X‖F≤‖C‖Fα+β.

Proof. The equation reads SX−X(−T)=C. The matrix −T is Hermitian, and −βIn−(−T)=T−βIn⪰O, so −T⪯−βIn. Since α>−β, Theorem 20.7.3 applies to the pair (S,−T) with the numbers α and −β, and α−(−β)=α+β.

The hypothesis is weaker than it looks: α or β may be negative, provided their sum is positive. The typical case is S,T≻O with α=λm(S) and β=λn(T), the smallest eigenvalues, which are the best constants because S⪰λm(S)Im (Lemma 13.5.2). Section 10 applies the corollary twice in this form, once with S and T the square roots of two positive definite matrices and once with them the positive factors of two polar decompositions.

Example (The Bound Can Be Attained)

Let S=(2112), T=(1), and C=(4−4). Solve SX+XT=C and compare with Corollary 20.7.4.

Solution. The eigenvalues of S are 1 and 3 (as for A in Example (A Normal Pair)), so S⪰1⋅I2 by Lemma 13.5.2, and T⪰1. The corollary applies with α=β=1 and predicts ‖X‖2≤‖C‖2/2.

Here X=x is a column and the equation is (S+I2)x=C, with S+I2=(3113),(S+I2)−1=18(3−1−13). So x=18(12+4,−4−12)=(2,−2). For a column, the spectral and Frobenius norms are both the Euclidean length, so ‖X‖2=22, while ‖C‖2/2=42/2=22. The bound is an equality.

The reason is visible: C is an eigenvector of S for its smallest eigenvalue 1, so (S+I2)C=2C, and the solution is x=C/2, of norm exactly ‖C‖2/(α+β). The data sits where both one-sided hypotheses are tight.

20.7.5. Exercises

A. Check your understanding

Exercise (A1)
  • (a) Define sepF(A,B) for A∈Mm(C) and B∈Mn(C), and state how it is computed from the Kronecker matrix K.
  • (b) True or false: sepF(A,B)=mini,j|λi−μj| for all square A,B. Justify your answer.
  • (c) True or false: sepF(A+cIm,B+cIn)=sepF(A,B) for every c∈C. Justify your answer.
  • (d) State the bound on the solution of AX−XB=C in terms of the separation, including its hypothesis.
  • (e) In the proof of Theorem 20.7.3, which vectors are the equation multiplied by, and where are the hypotheses A⪰αIm and B⪯βIn used?

Solution.

  • (a) sepF(A,B)=min{‖AX−XB‖F:‖X‖F=1}, the minimum over X∈Mm×n(C) (Definition 20.7.1). It equals σmn(K), the smallest singular value of K=In⊗A−B⊤⊗Im (Proposition 20.7.1 (a)).

  • (b) False. It is true for normal pairs (Theorem 20.7.2), but Example (Separation Far Below the Gap) has spectra at distance 1 and separation 1/10 when t=99/10. What is always true is the inequality ≤ of Proposition 20.7.1 (c).

  • (c) True. For every X, (A+cIm)X−X(B+cIn)=AX+cX−XB−cX=AX−XB, so the two minima are taken over the same set of values.

  • (d) If spec(A)∩spec(B)=∅, the unique solution satisfies ‖X‖F≤‖C‖F/sepF(A,B), and equality holds for some C≠O (Proposition 20.7.1 (d)).

  • (e) By u∗ on the left and v on the right, where u,v are unit vectors with Xv=su and X∗u=sv, s=‖X‖2. The hypotheses give u∗Au≥α and v∗Bv≤β, which make u∗Cv=s(u∗Au−v∗Bv) at least s(α−β).

B. Practice

Exercise (B1: A positive Sylvester equation)

Let S=(3113),T=(1002),C=(34−3−4).

  • (a) Find the largest α and β with S⪰αI2 and T⪰βI2, and state the bound that Corollary 20.7.4 gives for ‖X‖2.
  • (b) Solve SX+XT=C, column by column.
  • (c) Compute ‖X‖2 and ‖C‖2, and check the bound. Hence decide whether the bound is attained here.

Solution.

  • (a) pS(x)=(x−3)2−1=(x−2)(x−4), so λ2(S)=2, and λ2(T)=1. By Lemma 13.5.2, ⟨Sx,x⟩≥2 for unit x, with equality at an eigenvector, so α=2 is the largest constant with S⪰αI2; likewise β=1. The corollary gives ‖X‖2≤‖C‖2/3.

  • (b) Since T is diagonal, column j of XT is tjj times column j of X. So column j of the equation is (S+tjjI2)xj=cj. For j=1: (4114)x1=(3,−3), and x1=(1,−1) works, since 4−1=3 and 1−4=−3. For j=2: (5115)x2=(4,−4), and x2=(1,−1) works. The solution is unique by Corollary 20.7.4, so X=(11−1−1).

  • (c) Both matrices have rank one: X=ab⊤ with a=(1,−1), b=(1,1), and C=ac⊤ with c=(3,4). For a rank-one matrix ab⊤, the spectral norm equals the Frobenius norm (Proposition 16.3.4), which is ‖a‖‖b‖ by the computation in Proposition 20.7.1 (c). So ‖X‖2=2⋅2=2 and ‖C‖2=2⋅5=52. The bound reads 2≤52/3≈2.357, which holds. It is not attained. Each column of C lies along the eigenvector (1,−1) of S for α=2, but the second column is paired with t22=2 rather than β=1, so the second column of X is c2/4, not c2/3.

Exercise (B2: Separations of four pairs)

For each pair, compute sepF(A,B) and decide whether it equals mini,j|λi−μj|. Justify your answer.

  • (a) A=diag(1,3), B=(0110).
  • (b) A=(2112), B=(−1).
  • (c) A=(0−220), B=diag(1,−1).
  • (d) A=(1401), B=O1.

Solution.

  • (a) B is real symmetric with eigenvalues ±1, and 1∈spec(A)∩spec(B). So sepF(A,B)=0 by Proposition 20.7.1 (b), which equals the minimum distance |1−1|=0.

  • (b) Both matrices are real symmetric, hence normal. The eigenvalues of A are 1,3 and that of B is −1, so Theorem 20.7.2 gives sepF(A,B)=min(2,4)=2. It equals the minimum distance.

  • (c) A⊤A=4I2=AA⊤, so A is normal, with pA(x)=x2+4 and eigenvalues ±2i. B is diagonal. The distances |±2i∓1| all equal 5, so sepF(A,B)=5 by Theorem 20.7.2, equal to the minimum distance.

  • (d) This is Example (Separation Far Below the Gap) with t=4: sepF(A,B)=(20−4)/2=5−2≈0.236, while the spectra {1} and {0} are at distance 1. They are not equal. The theorem does not apply because A is not normal: A⊤A=(14417)≠(17441)=AA⊤.

Exercise (B3: A symmetric Sylvester equation)

Let A∈Mn(C) be Hermitian with A⪰2In, and let C∈Mn(C).

  • (a) Prove that AX+XA=C has exactly one solution, and that it satisfies ‖X‖2≤‖C‖2/4.
  • (b) Prove that if C is Hermitian, then so is X.

Solution.

  • (a) Apply Corollary 20.7.4 with S=T=A and α=β=2. Since α+β=4>0, the equation has exactly one solution, and ‖X‖2≤‖C‖2/4.

  • (b) Take the adjoint of AX+XA=C. Since A∗=A and C∗=C, we get X∗A+AX∗=C, so X∗ is also a solution. By the uniqueness in (a), X∗=X.

C. Going deeper

Exercise (C1: The separation is stable, and it measures a distance)

Let A∈Mm(C), B∈Mn(C), E∈Mm(C), and F∈Mn(C).

  • (a) Prove that ‖EX‖F≤‖E‖2‖X‖F and ‖XF‖F≤‖F‖2‖X‖F for every X∈Mm×n(C).
  • (b) Prove that |sepF(A+E,B+F)−sepF(A,B)|≤‖E‖2+‖F‖2.
  • (c) Now let n=1 and B=(μ). Prove that there is E with ‖E‖2=sepF(A,B) such that μ is an eigenvalue of A+E.
  • (d) Hence, for t=99/10 in Example (Separation Far Below the Gap), exhibit the size of a perturbation of A that makes 0 an eigenvalue, and explain why the eigenvalue gap 1 is a poor guide to how close the pair is to having a common eigenvalue.

Hint for (c): use a singular value decomposition of A−μIm.

Solution.

  • (a) Let x1,…,xn be the columns of X. The columns of EX are Exq, so by Theorem 16.3.2 (a) ‖EX‖F2=∑q‖Exq‖2≤‖E‖22∑q‖xq‖2=‖E‖22‖X‖F2. For the second, ‖XF‖F=‖(XF)∗‖F=‖F∗X∗‖F, since conjugate transposition does not change the moduli of the entries. By the first part this is at most ‖F∗‖2‖X∗‖F=‖F∗‖2‖X‖F. Finally ‖F∗‖2=‖F‖2: if F=UΣV∗ is a singular value decomposition, then F∗=VΣ⊤U∗ is one for F∗, with the same diagonal, so σ1(F∗)=σ1(F) by Theorem 13.9.2 and Theorem 16.3.3 (c).

  • (b) Let ‖X‖F=1. By the triangle inequality (Corollary 11.1.6, the Frobenius norm being induced by an inner product) and (a), ‖(A+E)X−X(B+F)‖F≥‖AX−XB‖F−‖EX‖F−‖XF‖F≥sepF(A,B)−‖E‖2−‖F‖2. Taking the minimum over X gives sepF(A+E,B+F)≥sepF(A,B)−‖E‖2−‖F‖2. Applying this to the pair (A+E,B+F) with the perturbations −E,−F gives the reverse inequality, and together they are the claim.

  • (c) By Proposition 20.7.1 (f), s:=sepF(A,B)=σm(A−μIm). Let A−μIm=UΣV∗ be a singular value decomposition (Theorem 13.9.1), with last columns um of U and vm of V. Then (A−μIm)vm=sum, comparing column m of (A−μIm)V=UΣ. Put E=−sumvm∗. Then (A+E−μIm)vm=sum−sum(vm∗vm)=0 with vm≠0, so μ is an eigenvalue of A+E. Also ‖Ex‖=s|vm∗x|≤s‖x‖ by Cauchy–Schwarz, with equality at x=vm, so ‖E‖2=s.

  • (d) With μ=0 and sepF(A,O1)=1/10, part (c) gives a perturbation of spectral norm 1/10 after which 0 is an eigenvalue of A+E, so A+E and B share an eigenvalue. The eigenvalues 1 and 0 are at distance 1, but a perturbation ten times smaller than that distance destroys the solvability of the equation. By (b) with F=O, no perturbation of spectral norm less than 1/10 can do it, since it leaves the separation positive. So the separation, not the eigenvalue gap, is the distance to a shared eigenvalue here.

Exercise (C2: Interlaced spectra break the spectral-norm bound)

Let A=diag(0,2), B=diag(1,3), and C=(111−1).

  • (a) Show that every eigenvalue of A is at distance at least 1 from every eigenvalue of B, and explain why Theorem 20.7.3 does not apply with α−β=1.
  • (b) Solve AX−XB=C.
  • (c) Show that ‖X‖2>‖C‖2.
  • (d) Verify directly that ‖X‖F≤‖C‖F, as Theorem 20.7.2 requires.

Hint for (c): compute C⊤C, and test X on the vector (1,1).

Solution.

  • (a) The eigenvalues are 0,2 and 1,3, and the four differences λi−μj are −1,−3,1,−1, all of modulus at least 1. The theorem needs A⪰αI and B⪯βI with α>β, that is, every eigenvalue of A above every eigenvalue of B, or, applying it to (−A,−B), every one below. Neither holds, since 0<1<2<3 interlace. Applied honestly, the best one-sided constants are α=0 and β=3, and α>β fails.

  • (b) As in the diagonal example after Definition 20.7.1, (AX−XB)ij=(aii−bjj)xij, so xij=cij/(aii−bjj): X=(1/(0−1)1/(0−3)1/(2−1)−1/(2−3))=(−1−1/311).

  • (c) C⊤C=2I2, so both singular values of C are 2 and ‖C‖2=2 (Theorem 16.3.3 (c)). For x=(1,1)/2, a unit vector, Xx=(−4/3,2)/2, so ‖Xx‖2=12(169+4)=269>2. Hence ‖X‖2≥26/3>2=‖C‖2.

  • (d) ‖X‖F2=1+19+1+1=289 and ‖C‖F2=4, so ‖X‖F≤‖C‖F, in agreement with Theorem 20.7.2, which gives sepF(A,B)=1. So the Frobenius bound with constant 1/δ survives interlacing, while the spectral-norm bound with the same constant does not.

Found a typo or a mistake? Report it, or read this page’s source

The text of this book is licensed under CC BY-NC-SA 4.0.