scieee AI-readable full text Open interactive document viewer

Eigenpairs of Wilkinson Matrices

Ferreira, Carla; Parlett, Beresford

Abstract

In the 1950s J. H. Wilkinson introduced two families of symmetric tridiagonal integer matrices. Most of the eigenvalues are close to diagonal entries. We develop the structure of their eigenvectors in a natural way which reveals that these eigenvectors all look the same to the naked eye. The shape of the envelopes is like twin peaks (or a badly dented bell curve). We also analyze the eigenvectors of the remaining noninteger eigenvalues.

Full text

EIGENPAIRS OF WILKINSON MATRICES ∗ CARLA FERREIRA†AND BERESFORD PARLETT‡ Abstract. In the 1950s J. H. Wilkinson introduced two families of symmetric tridiagonal integer matrices. Most of the eigenvalues are close to diagonal entries. We develop the structure of their eigenvectors in a natural way which reveals that these eigenvectors all look the same to the naked eye. The shape of the envelopes is like twin peaks (or a badly dented bell curve). We also analyze the eigenvectors of the remaining noninteger eigenvalues. Key words. Wilkinson matrix, persymmetry, eigensystem AMS subject classifications. 65F15 1. Introduction. For each positive integer m, J. H. Wilkinson defined two real symmetric tridiagonal matrices W± 2m+1 as follows. All the next-to-diagonal entries are one. The diagonal entries are given by diag(W± 2m+1) = m m −1. . . 1 0 ±1±2. . . ±m. These matrices may be found in [15, pp. 308–311] but were circulating among the experts a decade earlier (see [16]). Each matrix illustrated subtle difficulties in the automatic computation of eigenvectors and eigenvalues as described in the next section. These matrices did not come from applications. It seems that no one has studied the structure of the eigenvectors of these matrices and it was our observation that nearly all of them had the same shape that launched our investigations. More precisely, the visual support of the normalized eigenvectors of W− 2m+1 is limited to 9 contiguous indices and the interior eigenvectors are displaced versions of each other, visually. The situation for W+ 2m+1 is more subtle; the visual support of a normalized eigenvector is confined to two sections of 9 contiguous indices. See Figures 1.1 and 1.2 together with Table 1.1. Most of the eigenvalues are integers to visual accuracy. We should not have been surprised by these observations and Section 8 discusses what happens when the parameter mreaches infinity. The shape revealed in Figure 1.1 is very special because it is orthogonal to all its displaced versions. The paper is organized as follows. A little history gives the setting for the invention of each class of matrices and will be news to young readers. Next comes important notation and the concept of persymmetry. Our analysis begins with the triangular factorization LDLtof Vm, the leading principal m×msubmatrix of both families. It is the rapid convergence, as m→ ∞, of the pivots in Dthat drives the eigenvalues of all three matrices Vm,W− 2m+1 and W+ 2m+1 towards integer values. Next we show the secular equations (rational expressions for the eigenvalues) because we find them so informative. The essential analysis is complete and we present, in Section 7, the structure of the eigenvectors for each family showing the similarities and differences. The final section, the big picture, lets mreach infinity and reveals that W− ∞has the integers Zfor its spectrum and all eigenvectors are displaced versions of each other. Both V∞and W+ ∞are also interesting. We had not considered m=∞when we began this paper. We thank two anonymous referees for their useful suggestions. In particular Section 8.1 comes from one of them. ∗The research of Carla Ferreira author was partially financed by Portuguese Funds through FCT (Funda¸c˜ao para a Ciˆencia e a Tecnologia) within the Project UID/MAT/00013/2013. †Centro de Matem´atica, Universidade do Minho, 4710-057 Braga, Portugal ([email protected]). ‡Department of Mathematics and Computer Science Division of the EECS Department, University of California, Berkeley, California 94720-3840, U.S.A. ([email protected]). 1 2Carla Ferreira and Beresford Parlett W− 31 W+ 31 0−1.12544152 ±1.00000000 0.25380582 0.94753437 ±2.00000000 1.78932135 2.13020922 ±3.00000000 2.96105888 3.04309929 ±4.00000000 3.99604800 4.00435382 ±5.00000000 4.99977432 5.00023627 ±6.00000000 5.99999184 6.00000836 ±7.00000000 6.99999980 7.00000021 ±8.00000000 8.00000000 8.00000001 ±9.00000021 9.00000021 9.00000021 ±10.00000816 10.00000816 10.00000816 ±11.00022568 11.00022568 11.00022568 ±12.00395200 12.00395200 12.00395200 ±13.03894112 13.03894112 13.03894112 ±14.21067865 14.21067865 14.21067865 ±15.74619418 15.74619418 15.74619418 Table 1.1 Eigenvalues of W− 31 and W+ 31 Figure 1.1.Eigenvector w0of W− 31 for eigenvalue λ− 0= 0 (top) and its envelope (bottom). The matrix Vm, mentioned above, is relevant as may be seen from the relation W− 2m+1 =V2m+1 −(m+ 1)I2m+1. Wilkinson Matrices 3 Figure 1.2.W− 31 envelopes of eigenvectors w11 and w−11 for eigenvalues λ− 11 ≃11 and −λ− 11 ≃ −11, respectively (top). W+ 31 envelopes of eigenvectors w11 and w+ 11 for eigenvalues close to 11,λ11 and λ+ 11, respectively (bottom). Last but not least, we want to encourage the use of the attractive notation, introduced by G. W. (Pete) Stewart, for the reversal matrix, I   m=       1 1 p p p 1 1       . We hope it becomes as ubiquitous as the use of Imfor the identity matrix. 2. A little history. We look back to 1954 to a mostly forgotten piece of work by W. Givens. The 1950’s were exciting times for the new enterprise of automatic eigenvalue computations. As early as 1950 C. Lanczos published his method of minimized iterations for reducing a full real symmetric matrix Ato tridiagonal form T. It was soon apparent that the tiny roundoff errors, inevitable in using computer arithmetic, caused significant changes from what was predicted by analysis of the algorithm in exact arithmetic and slowed its adoption. The amazing result of C. C. Paige that the eigenvalues are not degraded by these changes had to wait over 20 years till 1971 [8, 9, 10]. In another direction the method used by C. G. J. Jacobi, in 1846, for hand calculation of the eigenvalues of a 7 ×7 real symmetric matrix Ahad been rediscovered [5] but was considered rather slow. The very sophisticated work of Z. Drmaˇc to speed up the process to a competitive level did not appear until the 21st century [3]. So, what did W. Givens do? He proposed to reduce Ato Tby a well chosen sequence of plane rotations. The eigenvalues of The computed using bisection and Sturm sequences of polynomials 4Carla Ferreira and Beresford Parlett from T. He gave the first formal backward error analysis in this field, showing that the computed eigenvalues belong to a matrix very close to Ain norm. In a backward analysis we do not discuss the errors in the computed eigenvalues. We must mention that Givens used fixed point arithmetic and it was already on its way out by the mid 1950’s for matrix computations. However, at that time, fixed point analysis was considered much easier than error analysis of the new floating point arithmetic. So far we have not mentioned eigenvectors. To compute an eigenvector vfor a computed eigenvalue λof T, Givens used what we should call the pure mathematician’s algorithm. It is not hard to see that v’s top entry v1can not vanish. So set it to 1 and use the top equation in (T−λI)v=0 to determine v2, use the second equation to determine v3and so on until the penultimate equation yields the last entry. There is no need to split the matrix into factors. Tridiagonal form is exploited to the hilt. At this point Wilkinson’s matrix W− 21 enters the picture. All of its eigenvalues are well separated and λmax ≃10.75, λmin ≃ −10.75. It’s eigensystem is easy to compute. Using the method described above on his computer with precision roughly to 9 decimals, Wilkinson computed the corresponding eigenvectors vmax and vmin. Although vmin was extremely accurate (even the tiny entries had most digits correct), the computed vmax was pointing in the wrong direction. With this simple matrix, Wilkinson demonstrated unequivocally that this method (which unfortunately was called Givens method) was unreliable. This story is a little sad because if the last entry were set to 1, instead of the first, and the equations in (W− 21 −λmaxI)vmax =0had been used in reverse order to compute vmax from bottom to top, then the output would have been excellent. The ultimately satisfactory algorithm did not appear until almost 2000 when numerical analysts accepted to factor T−λI both from top down and bottom up in order to decide on the right entry to set to 1 (see [11, 12] for details). This story reveals how devastating a few roundoff errors can be in matrix computations, in contrast to some other parts of numerical analysis (pde boundary value problems) where roundoff error is dwarfed by discretization error. Next we turn to W+ 21 which was created to have eigenvalues in pairs with separation varying all the way from 10−15 up to 0.1. A formidable test for any procedure. The natural “workhorse” to compute eigenvectors is to use some variant of inverse iteration; at step ione solves (T−λI)vi+1 =vi for the new vector vi+1. However, when eigenvalues that are formally distinct are computed equal to working accuracy, inverse iteration runs into trouble. Knowing how W+ 21 is constructed gives rise to the idea that different parts of the matrix may be used to compute eigenvectors that are orthogonal and yet share the same eigenvalue. This idea is pursued in [13] and [4]. The challenge for real symmetric matrices is to produce eigenvectors orthogonal to working precision without getting trapped into invoking the Gram-Schmidt procedure too often. 3. Preliminaries. 3.1. Essential notation. In=e1e2. . . en. We introduced the symbol I   for the reversal matrix in Section 1, I   m=enen−1. . . e1. The symmetries apparent on the diagonal of both W− 2m+1 and W+ 2m+1 encourage us to look for eigenvectors having a matching structure. Recall the matrix Vmfrom the Introduction and note that diag(W± 2m+1) = diag(Vm) 0 ±diag( I   VmI   ) where I   takes its size from the context. Unfortunately the matrix −I   VmI   has all its next-to- diagonal entries negative. This blemish may be removed by a notational trick. For any signature matrix S(S= diag(±1)) the matrix STS is similar to tridiagonal T, since S=S−1. In this paper Wilkinson Matrices 5 we fix Sto have alternating signs Sm= diag 1,−1,1,−1,...,(−1)m−1 and to satisfy Se1=e1for all m. It is easily verified that ST S reverses the signs of all next-to- diagonal entries and leaves the diagonal invariant. Thus the trailing m×mprincipal submatrix of W− 2m+1 may be written as −SI   VmI   S. This looks clumsy at first but permits simple analysis in all that follows. As with I   the context dictates the size of S. Note that S2= I   2=Iand SI   =±I   S (SI   = I   S, for modd, and SI   =−I   S, for meven). We use these relations without explicit mention throughout this work. In particular, with dimension k, I   Se1= I   e1=ek. Lower case Roman letters denote column vectors and vtis the transpose of v. We use braces {·} for sequences or sets. Another special notation in this paper is δmto denote the last pivot in the triangular factorization of Vm. Write Vm=LDLt,Lunit lower bidiagonal, D= diag(d1, d2, . . . , dm) and δm=dmhere. The rapid convergence of δmto a limit φ > 0 explains our surprising observation that most of the eigenvectors of Vmlook the same to the naked eye and seem independent of m! Later we show that Vmis positive definite. The eigenpairs of Vmare denoted by Vmzk=zkλk, k = 1,2, . . . , m, 0 = λ0< λ1< λ2<··· < λm. Here the eigenvectors {zi}are chosen orthonormal in contrast to our choice later of the eigenvectors of W± 2m+1. We will see that zero is an eigenvalue of W− 2m+1 and that the other 2meigenvalues occur in ±pairs. We denote these eigenvalues by λ− 0= 0 and ±λ− k,k= 1, . . . , m, and represent the eigenvector equations as W− 2m+1wk=wkλ− k, k = 0,1,2, . . . , m, 0< λ− 1< λ− 2<··· < λ− m; W− 2m+1w−k=w−k(−λ− k), k = 1,2, . . . , m. We will show that each eigenvalue λkof Vmis an eigenvalue of W+ 2m+1 and the other m+ 1 eigenvalues will be denote by λ+ k, k = 0, . . . , m. The eigenvector equations are W+ 2m+1w+ k=w+ kλ+ k, k = 0,1,2, . . . , m, λ+ 0<0< λ+ 1< λ+ 2<··· < λ+ m; W+ 2m+1wk=wkλk, k = 1,2, . . . , m. We acknowledge that the notation wkwill be used both for W− 2m+1 and W+ 2m+1, but the different expressions will appear in different sections of the paper and so this will not be a source of ambiguity. For future reference we write down, in block form, the useful observation W± 2m+1 =  VmemO et m0et 1 Oe1±I   e VmI     ,e Vm=Vm,for W+ 2m+1 SVmS, for W− 2m+1 .(3.1) Notice that SI   VmI   S= (±I   S)Vm(±SI   ) = I   SVmSI   . In this context we can treat Sand I   as though they always commute, which they do not. The key to our analysis is that when W− 2m+1 is shifted by a suitable integer ±k,k= 1, . . . , m, the diagonal blocks in (3.1) break up into the blocks Vm−kand −I   SVm+kSI   . The vector V−1 m−kem−k is ubiquous in the rest of this paper. 6Carla Ferreira and Beresford Parlett We also need to consider related vectors, say w(p)and w, for integer p, where w(p)(i) = w(i−p) for all entries i. We will say that w(p)is a displaced version of wand we will usually not worry about end effects since most of our vectors decay rapidly near the extremes, top and bottom. To keep things simple we will often show the envelope of an eigenvector, that is, the vector of the absolute values in place of the true eigenvector. 3.2. Persymmetry. Definition 3.1. A real vector vis persymmetric (respectively, skew-persymmetric) if I   v=v (respectively, I   v=−v). Definition 3.2. A real square matrix Mis persymmetric (respectively, skew-persymmetric) if I   M I   =Mt(respectively, I   M I   =−Mt). Lemma 3.3. If a real symmetric matrix is also persymmetric then each eigenvector vfor a simple eigenvalue λis either persymmetric or skew-persymmetric. Proof. Let real symmetric matrix Msatisfy Mv=vλ, with λsimple, and also be persymmetric. Observe that M( I   v) = I   ( I   MI   v) = I   Mtv= I   Mv= ( I   v)λ. Since λis simple, I   vis a multiple of v, and, since I   is orthogonal, the only freedom is I   v=±v. Both cases arise. Note that W− 2m+1 is not skew-persymmetric which is why we brought in our special signature matrix S. Fortunately, I   SW − 2m+1SI   =−W− 2m+1,(3.2) which is the appropriate replacement. Lemma 3.4. If a real symmetric matrix Malso satisfies S I   M I   S=−M, then its nonzero eigenvalues occur in ±pairs. Proof. Let Mv=vλ, with λ > 0 and simple. Then M( I   Sv) = I   S(SI   MI   Sv) = I   S(−M)v= ( I   Sv)(−λ), which exhibits the negative eigenvalues −λ. 4. Vmand its triangular factorizaton. From the Introduction (Section 1) recall that all the next-to-diagonal entries of Vmare 1 and diag(Vm) = m m −1m−2··· 2 1. Vmis symmetric positive definite (see Section 5.1) and so permits triangular factorization in the form Vm=LDLt, where Lis unit lower bidiagonal and D= diag(d1, d2, . . . , dm) holds the pivots {dj}. The recurrence for the pivots and multipliers {lj}is d1=m;dj+1 =m−j−1 dj , lj=1 dj , j = 1,2, . . . , m −1.(4.1) Since Dis congruent to Vmall the pivots are positive. We choose to present our analysis in a sequence of formal lemmas. Each lemma plays a significant role. Lemma 4.1. Given Vm=LDLt, 0≤m−j < dj≤m−j+ 1, j = 1,2, . . . , m. (4.2) Wilkinson Matrices 7 Proof. (by induction). The basis is d1=m>m−1. The induction assumption is that Lemma 4.1 holds for some j < m. In that case dj> m −j≥1 and so dj+1 =m−j−1 dj > m −j−1 = m−(j+ 1) and, again by (4.1), dj+1 < m −j. Thus Lemma 4.1 holds for the next value of j, namely j+ 1. By the principle of finite induction Lemma 4.1 holds for all j= 1,2, . . . , m. Equality in the upper bound holds only for j= 1. Lemma 4.1 is, in fact, the most direct proof that Vmis positive definite. It says that the pivots dj,j= 1, . . . , m, in the recurrence (4.1) are all positive which means that Vmadmits the triangular factorization Vm=LDLt(no need to assume it exists). Since Vmis congruent to D, it follows that all the eigenvalues of Vmare positive. We need a special notation for the last pivot dmof each Vm. We choose δm:= dm(Vm).(4.3) In words, δmis the last element on D’s diagonal for Vm=LDLt. Note that δm−1=dm−1(Vm−1) is different from dm−1=dm−1(Vm). By Lemma 4.1, 0 < δm≤1. Lemma 4.2. V−1 mm,m =δ−1 m. Proof. Since Lis unit lower bidiagonal, V−1 mm,m =et mL−tD−1L−1em=et mD−1em=dm(Vm)−1=δ−1 m. Lemma 4.3. The sequence {δm}is monotone decreasing. Proof. For the duration of the next two proofs let ¯ dj:= dj(Vm−1), j = 1, . . . , m −1. Compare dj+1 with ¯ dj. For j < m, by (4.1) dj+1 = (m−j)−1 dj , ¯ dj= (m−1) −(j−1) −1 ¯ dj−1 = (m−j)−1 ¯ dj−1 , j > 1, ¯ dj−dj+1 =1 dj−1 ¯ dj−1 =¯ dj−1−dj dj¯ dj−1 , j = 1, . . . , m −1.(4.4) Note that d2=m−1−1 m< m −1 = ¯ d1. By Lemma 4.1, dj>0 and ¯ dj−1>0, for all 1 < j < m, and thus we have dj¯ dj−1>0. So, (4.4) shows that ¯ dj−dj+1 >0 for all j < m, using the principle of finite induction. In particular, δm=dm(Vm) = dm<¯ dm−1=dm−1(Vm−1) = δm−1, as claimed. Lemma 4.4. 2 m!(m−1)! < δm−1−δm<1 m!(m−3)!,m > 3. 8Carla Ferreira and Beresford Parlett Proof. For m > 3, apply the recurrence (4.4) in the proof of Lemma 4.3 consecutively, in reverse, for j=m−1, m −2,...,2,1 to find δm−1−δm=¯ dm−1−dm =¯ dm−2−dm−1 dm−1¯ dm−2 =¯ dm−3−dm−2 dm−1¯ dm−2dm−2¯ dm−3 =··· =¯ d1−d2 dm−1¯ dm−2dm−2¯ dm−3···d3¯ d2d2¯ d1 =¯ d1−d2 dm−1Qm−2 i=2 ¯ dm−idm−i¯ d1 , m > 3. Lemma 4.1 shows that for m > 3, 1 2(m−2)!(m−1)! = m−2 Y i=2 i(i+ 1) > m−2 Y i=2 ¯ dm−idm−i> m−2 Y i=2 (i−1)i= (m−3)!(m−2)!. Since ¯ d1=m−1, d2=m−1−1/m and dm−1>1, 2 m!(m−1)! < δm−1−δm<1 m(m−1)(m−2)!(m−3)! =1 m!(m−3)!, as claimed. For m= 3,we have 2/[m!(m−1)!] = 1/[m!(m−3)!] = 1/6, but the strict upper bound still holds, δ2−δ3= 1/2−2/5 = 1/10 <1/6. Since the sequence {δm}is bounded below by 0 and monotone decreasing, it converges to some limit φ:= lim m→+∞δm≥0. What is important for our observation concerning the envelopes of the interior eigenvectors of W− 2m+1 is the rapid convergence of δmto φ. Lemma 4.5. For m > 2,0< δm−φ < 1 m!(m−1)!. Proof. Write down Lemma 4.4 with increasing values. For a given whole number m > 2, δm−δm+1 <1 (m+ 1)!(m−2)!, δm+1 −δm+2 <1 (m+ 2)! (m−1)! =1 (m+ 2)(m−1)(m+ 1)! (m−2)! <m−2 (m+ 1)! (m−2)!. Crudely, bounding below both (m+j+ 1) ···(m+ 2) and (m+j−2) ···(m−1) by mj, for j≥4, δm+j−δm+j+1 <1 (m+j+ 1)!(m+j−2)! <m−2j (m+ 1)!(m−2)!. Wilkinson Matrices 9 Sum these inequalities to obtain δm−δm+j+1 =δm−δm+1 +δm+1 −δm+2 +. . . +δm+j−δm+j+1 <1 (m+ 1)!(m−2)! j X i=0 m−2i=1−m−2(j+1) 1−m−2·1 (m+ 1)!(m−2)! <m2 m2−1·1 (m+ 1)!(m−2)! =m2 (m+ 1)2·1 m!(m−1)! (4.5) <1 m!(m−1)!, j ≥0.(4.6) Now let j→+∞, to find δm−φ < 1 m!(m−1)!, as claimed. Numerical evaluation of δmfor increasing values of mshows that φ= 0.3882107655 . . . . Using recurrence (4.1) in reverse gives a continued fraction representation for δm. In a notation related to the Pringsheim’s notation, δm= 1 −1 2− 1 3− 1 4−··· 1 (m−1)− 1 m. We thank David H. Bailey and Karl Dilcher who pointed out to us (see [1]) that there is a closed form for φ, φ= lim m→+∞δm=J0(2) J1(2), where Jn(z) is the Bessel function of the first kind (bounded at x= 0) defined as the solution of Bessel’s differential equation x2d2y dx2+xdy dx + (x2−n2)y= 0, x ≥0. For full details see [14]. Table 4.1 compares our bound, Lemma 4.5, to the real difference. It is Lemma 4.5 that ensures that most eigenvalues of Vmare integers. Section 5.2 gives the details (see Theorem 5.1). 4.1. Last column of V−1 mand its norm  V−1 mem .Let x=V−1 memand use Vm=LDLt to find Ltx=D−1L−1em=D−1em=emδ−1 m, x(m) = δ−1 m≥1. Back solve this bidiagonal system to find x(j) + ljx(j+ 1) = 0,1≤j < m, x(m−j) = x(m) j Y i=1 (−lm−i).(4.7) 16 Carla Ferreira and Beresford Parlett Continuing in this vein, we can approximate an eigenvector for an eigenvalue near k= 2,3, m −2, m −1 by e z=xt1ytt, with x=−V−1 m−kem−kand y=SI   V−1 k−1ek−1, whose Rayleigh quotient is ¯ρ:= k+δm−k−δk−1 δk−1δm−kkezk2≃k∓δl−φ φδl1 + kxk2+kyk2 with l= min(k−1, m −k). Observe that since {δm}is monotone decreasing and convergent to φ, |δm−k−δk−1|<|δl−φ|. Thus, when k= 2, x=−V−1 m−2em−2,y= [1], δl=δ1= 1, we obtain ¯ρ≃2−1−0.38821 0.38821 ·(1 + 9.47467 + 1) ≃1.86266 (λ2= 1.789321), and when k= 3, x=−V−1 m−3em−3,y=SI   V−1 2e2=−1 2t,δl=δ2= 1/2, ¯ρ≃3−1/2−0.38821 0.38821 ·(1/2) ·(1 + 9.47467 + 5) ≃2.96278 (λ3= 2.961059). Similarly, for k=m−2 and k=m−1, we have, respectively, ¯ρ≃(m−2) + 0.0372173 and ¯ρ≃(m−1) + 0.137339. Thus, when plotted, the eigenvectors for λ1,λ2and λ3are modest distortions of our canonical vector zfrom (5.2), forced by a lack of room for the bottom of part y. The top section of the eigenvectors is recognizable as −V−1 m−kem−k(= x). For the largest three eigenvalues recall, from (5.1), that they are mirror images of the small ones, namely, λm−k+1 =m+ 1 −λk,k= 1,2,3, and it is the bottom section of the eigenvectors that is recognizable as SI   V−1 k−1ek−1(= y). 6. Secular equations for eigenvalues of W± 2m+1.All the analysis needed to obtain the eigenvectors of W± 2m+1 to visual accuracy has been done but before presenting them we wish to share two pictures, Figures 6.1 and 6.2 below, that convey all needed information concerning the eigenvalues. 6.1. W− 2m+1.We take trial vector w=ut1vttfor u∈Rm,v∈Rm, a typical eigenvalue µand examine the components of W− 2m+1 −µI2m+1w. Use (3.1) to find W− 2m+1 −µI2m+1  u 1 v  =  (Vm−µIm)u+em·1 + 0 et mu−µ·1 + et 1v 0+e1·1−I   S(Vm+µIm)SI   v  . The right choice for uis u=−Vm−µIm−1emand the right choice for vis v= I   S(Vm+µIm)−1SI   e1= I   S(Vm+µIm)−1Sem=SI   (Vm+µIm)−1em, since Sem=em, I   S=SI   , when mis odd, and Sem=−em,−I   S=SI   , when mis even. With these choices the middle component turns out to be −et mVm−µIm−1em−µ+et 1SI   (Vm+µIm)−1em= =−et mVm−µIm−1em−µ+et m(Vm+µIm)−1em. Wilkinson Matrices 17 Now it is time to use the spectral factorization of Vm,Vm=ZΛZt,I=ZZt, to see that µis an eigenvalue of W− 2m+1 if, and only if, µ=− m X k=1 zk(m)2 λk−µ+ m X k=1 zk(m)2 λk+µ. Note first that µ= 0 is one solution. Next divide through by µ6= 0 and combine the two sums to find our desired secular (= rational) equation for the nonzero eigenvalues of W− 2m+1: 1 2= m X k=1 zk(m)2 µ2−λ2 k .(6.1) The right hand side of (6.1) is an even function of µand thus the solutions occur in ±pairs. It has 2mdistinct simple poles at ±λk, k = 1, . . . , m. When µ > 0, it has negative slope and approaches 0 as µ−→ +∞. Thus the positive solutions λ− kare to the right of the poles. Let us label the solutions of (6.1) as ±λ− kand conclude that ±λ− k2> λ2 k>0, i = 1,2, . . . , m. The zero eigenvalue must have multiplicity 1 (= 2m+ 1 −2m).We exhibit its eigenvector w0in Section 7.1. See also Figure 1.2 in the Introduction. Figure 6.1 shows, for m= 15, the graphs of y= m X k=1 zk(m)2 µ2−λ2 k and y=1 2, for µ > 0. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1/2 y Figure 6.1.Solutions µ > 0of the equation m X k=1 zk(m)2 µ2−λ2 k =1 2for m= 15. 6.2. W+ 2m+1.This matrix is persymmetric ( I   W+ 2m+1 I   =W+ 2m+1) and its eigenvectors are alternately symmetric and anti-symmetric about the middle entry (index m+ 1). The eigenpairs of the smaller matrix Vm, the leading principal submatrix of W+ 2m+1, play a crucial role in describing the eigenpairs of W+ 2m+1. 18 Carla Ferreira and Beresford Parlett For k= 1,2, . . . , m, with Vmzk=zkλk, use (3.1) to verify that the anti-symmetric vector with respect to the middle entry w=zt k0−zt kI   tis an eigenvector of W+ 2m+1 with eigenvalue λk, W+ 2m+1   zk 0 −I   zk  =  Vmzk+em·0 + 0 et mzk+ 0 −et 1I   zk 0+e1·0−I   VmI   2zk  =  zk 0 −I   zk  λk. This accounts for meigenpairs and leaves m+1 to find. These we denote by λ+ kfor k= 0,1,2, . . . , m. Our symmetric trial eigenvector has the form w+=ut1utI   tand when one examines the three components of W+ 2m+1 −µI2m+1w+one finds W+ 2m+1 −µI2m+1  u 1 I   u  =  (Vm−µIm)u+em et mu−µ+et 1I   u e1+ ( I   VmI   −µIm)( I   u)  =  (Vm−µIm)u+em 2et mu−µ I   m(Vm−µIm)u+em . It turns out that the right choice for uis u=−Vm−µIm−1emand, using this value, the middle component gives the needed equation −µ−2et mVm−µIm−1em= 0.(6.2) Here is the place to explain Wilkinson’s use of an auxiliary unsymmetric (m+ 1) ×(m+ 1) matrix Um+1, along with Vm, to give the eigenvalues of W+ 2m+1. See [15, p. 309]. The last pivot of the triangular factorization of the leading principal (m+ 1) ×(m+ 1) submatrix of W+ 2m+1 −µI2m+1, namely, Vm−µImem et m−µ,is −µ−et mVm−µIm−1em which is the expression (6.2) derived above except for the factor 2. So, Wilkinson just changed the (m+ 1, m) entry of this submatrix to 2 and he had a simple matrix Um+1 =Vmem 2et m0 that gave the needed m+ 1 eigenvalues of W+ 2m+1. In contrast, our derivation (6.2) above reveals in a natural way the contribution to the middle component from the submatrix I   VmI   below it. No need for Um+1. Invoking Vm’s spectral factorization in (6.2) gives our desired secular equation 1 2µ= m X k=1 zk(m)2 µ−λk .(6.3) The right hand side has poles at the λk, goes to 0 as µ−→ ±∞, and has negative slope elsewhere. The left hand side is a straight line passing through 0 and so there is just one negative solution µ which we label λ+ 0while all other solutions λ+ ksatisfy λ+ k> λk, for k= 1,2, . . . , m. Since the slope of the left hand side of (6.3) is 1 2, we see that λ+ k−λkdiminishes steadly as kincreases and, when m= 15, λ+ 11 −λ11 ≃10−14. The steady variation in λ+ k−λkmakes W+ 2m+1 a demanding test matrix for eigenvalue software. Figure 6.2 shows the graphs of y=Pm k=1 zk(m)2 µ−λkand y=1 2µfor m= 15. Zooming in this figure we obtain Figure 6.3, for λ+ 11. Wilkinson Matrices 19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 y Figure 6.2.Solutions µof the equation m X k=1 zk(m)2 µ−λk =1 2µfor m= 15. 11-10-12 11 11+10-12 -4 -2 0 2 4 6 8 y Figure 6.3.Eigenvalue λ+ 11 of W+ 31 with |λ+ 11 −λ11| ≃ 10−14. The slope of the “horizontal” line is 1/2. 7. Eigenvectors for near-integer eigenvalues of W± 2m+1 . 7.1. W− 2m+1.Recall from the previous section that the eigenvalues of W− 2m+1, solutions of the equation (6.1), include 0, are well separated and occur in ±pairs, labeled ±λ− k. The absolute values 20 Carla Ferreira and Beresford Parlett λ− kof the eigenvalues satisfy λ− 0= 0 < λ1< λ− 1< λ2< λ− 2<··· < λm< λ− m where λkis an eigenvalue of Vm,k= 1, . . . , m. Since W− 2m+1 =V2m+1 −(m+ 1)I2m+1 the eigenvectors of W− 2m+1 are the same as those of V2m+1 and these were presented in Section 5.2. We content ourselves with a few observations. Since SI   W− 2m+1 I   S=−W− 2m+1 it follows that the eigenvector for the eigenvalue (close to) −k (0 ≤k≤m−3) is obtained by applying I   Sto the eigenvector for the eigenvalue (close to) k. See Lemma 3.4. The envelopes look the same but one has its middle entry at m+1+k, the other at m+ 1 −k. The middle eigenvalue of V2m+1 is m+ 1 and the eigenvector for λ− 0= (m+ 1) −(m+ 1) = 0 of W− 2m+1 is the only one for which both xand yin e zin Section 5.2 belong to Rm, since, in that context, (2m+ 1) −(m+ 1) = (m+ 1) −1 = m. So eigenvector w0≃e z/α for eigenvalue 0 has a top part xand a bottom part y=−SI   x, w0≃  x 1 y  = −V−1 mem 1 SI   V−1 mem  .(7.1) In Section 4.1 we saw that the entries in V−1 memalternate in sign and that the last entry is equal to δ−1 mand it is always positive. It turns out that only the last 4 entries in V−1 mem/kV−1 memkexceed 1/100 in magnitude for all m≥4. Thus, thanks to I   , the eigenvector w0has its visual support on the 9 indices m+ 1 −4 : m+ 1 + 4. Consider an eigenvalue of W− 2m+1 close to integer k, 0 < k ≤m−3. Observe that k= (m+ 1 + k)−(m+ 1) and it is easy to verify that an approximate eigenvector e wfor k has a top part x=−V−1 m−kem−k∈Rm−kand a bottom part y=SI   V−1 m+kem+k∈Rm+k. In the context of Section 5.2 for V2m+1 we take the eigenvalue close to m+1+kand (2m+ 1) −(m+1+k) = m−k, (m+1+k)−1 = m+k. We emphasize that for m−k≥4 both |x|and |y|above look like |V−1 mem|provided m≥4. Thus, as kvaries the envelope of the associated eigenvector looks just like the envelope of the eigenvector w0for eigenvalue 0 but with its middle entry at index m+ 1 −k. Figure 7.1 shows the eigenvectors described above for eigenvalues close to k=±11 when m= 15. See Figure 1.2 in the Introduction for the characteristic envelopes (dented bell curves) of these eigenvectors. See also Figure 7.2 which shows the envelopes of eigenvectors for eigenvalues close to k= 6,7,8. The largest three eigenvalues in magnitude, approximately ±(m+ 3/4), ±[(m−1) + 1/5], ±[(m−2) + 1/25], are not close to integers and their eigenvectors do not have room for the characteristic 9-index envelope (see Figure 1.1); they are different from those above only in their lack of symmetry about a central entry. For example, the eigenvector associated with +(m+ 3/4) is close to SI   V−1 2m+1e2m+1 and its envelope is close to the lower part of the envelope of W− 2m+1’s eigenvector w0. The envelope of the eigenvector associated with −(m+3/4) is −V−1 2m+1e2m+1 which is very close to the top portion of the envelope of the eigenvector w0. In Figure 7.3 we exhibit the envelopes of the eigenvectors for the largest three eigenvalues of W− 31. Wilkinson Matrices 21 Figure 7.1.Eigenvectors w0,w−11 and w11 of W− 31 for eigenvalues 0,−λ− 11 and λ− 11, respectively. Figure 7.2.W− 31 envelopes of eigenvectors wk,k= 6,7,8, for λ− k, respectively. Figure 7.3.Envelopes of W− 31 eigenvectors for eigenvalues λ− 0,λ− 13,λ− 14 and λ− 15. 7.2. W+ 2m+1.These eigenvectors are more complicated than those of W− 2m+1. From Section 6.2 each eigenvalue λkof Vmis an eigenvalue of W+ 2m+1 and the other m+1 eigenvalues are solutions 22 Carla Ferreira and Beresford Parlett of equation (6.3). All together these eigenvalues satisfy λ+ 0<0< λ1< λ+ 1< λ2< λ+ 2<··· < λm< λ+ m and, apart from λ+ 0and the four positive eigenvalues closest to 0, all the others occur in pairs λk, λ+ k getting closer and closer to each other as kincreases. This is independent of whether λkis close to an integer. We acknowledge that λ+ 0is a strange designation for a negative number but we feel that our simple labels for the whole set of m+ 1 solutions to equation (6.3) is adequate compensation. Furthermore for 4 ≤k≤m−3 both λkand λ+ kare visually close to kand λk< k < λ+ k,for k < (m+ 1)/2, k≤λk< λ+ k,for k≥(m+ 1)/2. For our range 4 ≤k≤m−3 these envelopes look alike. Our goal is to see why this occurs and identify its limitations for extreme values of k. By persymetry of W+ 2m+1, the eigenvector wof λksatisfies I   2m+1w=−w, while the eigenvector w+for λ+ ksatisfies I   2m+1w+=w+. Our notation is w:= zt0−ztI   mt,w+:= utβutI   mt,kuk= 1, β 6= 0. Below we will compare the top part u(= uk) of w+to the top part z(= zk) of w. We now embark on the most complicated analyses in the paper all aimed at producing the comparisons shown in (7.13). It is most convenient to proceed in two stages. We write λ+ k=k+η where ηis small but not 0. The analysis in Section 6.2 gives (W+ 2m+1 −λ+ kI2m+1)w+in three parts as (Vm−λ+ kIm)u+emβ(7.2) et mu−λ+ kβ+et 1I   u(7.3) e1β+I   VmI   −λ+ kImI   u= I   I   e1β+ (Vm−λ+ kIm)u.(7.4) Both (7.2) and (7.4) vanish when u=−(Vm−λ+ kIm)−1emβwhile (7.3) evaluates to γ:= 2et mu−λ+ kβ=−β2et m(Vm−λ+ kIm)−1em+λ+ k and must also vanish. Note that diag(Vm−kIm) = m−k . . . 1 0 −1. . . −k+ 1which suggests our notation for the top part of w+, u=xt1ytt¯α, x∈Rm−k,y∈Rk−1,¯α=1 + kxk2+kyk2−1/2. Now unpack (7.2)-(7.4) using λ+ k=k+η, to obtain ¯α(Vm−k−ηIm−k)x+em−k= 0 (7.5) ¯αet m−kx−η·1 + et 1y= 0 (7.6) ¯αe1−SI   (Vk−1+ηIk−1) I   Sy=SI   I   Se1−(Vk−1+ηIk−1) I   Sy¯α=−ek−1β. (7.7) Wilkinson Matrices 23 Note that (7.7) is not homogeneous. Section 7.3 shows that ηis small enough that Vm−k−ηIm−k is still positive definite. From (7.5) we obtain x=−(Vm−k−ηIm−k)−1em−k. Next rewrite (7.7) as (Vk−1+ηIk−1) I   Sy= I   Se1+ I   Sek−1β/¯α. Recall that I   Sek−1=e1, k even, −e1, k odd, while I   Se1=ek−1always. Thus y=SI   (Vk−1+ηIk−1)−1(ek−1±e1β/¯α).(7.8) Constraint (7.6) becomes −et m−k(Vm−k−ηIm−k)−1em−k−η+et k−1(Vk−1+ηIk−1)−1(ek−1±e1β/¯α) = 0 (7.9) and observe that for small enough η(k≥4) it reduces to −et m−kV−1 m−kem−k−η+et k−1V−1 k−1(ek−1±e1β/¯α)≃0 (7.10) or (δ−1 k−1−δ−1 m−k)¯α−η¯α±et k−1V−1 k−1e1β≃0.(7.11) Note that (7.11) is an approximation to the exact (7.9) and both bring a new quantity into the analysis. By symmetry of Vk−1, ω=ωk−1:= et k−1V−1 k−1e1=et 1V−1 k−1ek−1, and so ωis the top entry of V−1 k−1ek−1∈Rk−1. By Lemma 4.6 |ω|<1 φ(k−2)! <3 (k−2)! (7.12) which shows why we do not consider small values of k(k= 2,3) in what follows. When mis odd then k= (m+ 1)/2 is an integer eigenvalue of both Vmand W+ 2m+1. Note that (7.5) determines xindependently of β. At this point we begin stage 2. We are ready to compare the eigenvectors wfor λk=k+εand 24 Carla Ferreira and Beresford Parlett w+for λ+ k=k+ηin our range 4 ≤k≤m−3: w=  zk 0 −I   zk  ,w+=  uk β I   uk  ,uk=−(Vm−λ+ kIm)−1emβ, where zk=  x 1 y  α(Section 5.2) uk=  x 1 y  ¯α(7.13) α=1 + kxk2+kyk2−1/2¯α=1 + kxk2+kyk2−1/2 x=−Vm−k−εIm−k−1em−kx=−(Vm−k−ηIm−k)−1em−k y=SI   Vk−1+εIk−1−1ek−1y=SI   (Vk−1+ηIk−1)−1(ek−1±e1β/¯α) Figure 7.4 shows the eigenvectors wand w+for eigenvalues close to k= 11 when m= 15. Figure 1.2 in the Introduction exhibits the characteristic envelopes of these eigenvectors. Figure 7.4.Eigenvectors w11 and w+ 11 of W+ 31 for eigenvalues λ11 and λ+ 11, respectively. We found it intriguing that the difference between zkand ukshould lie in the lower (constant sign) parts yand yand not the top parts xand x. Recall that the entries in xand xalternate in sign while those in yand yhave constant sign. In general β1 and the extra term in yis obscured by the part that is equal to y. As kdrops to its lowest permissible value k= 4 the eye can detect the difference in the envelopes. See Table 7.1. The middle entry βin w+varies significantly. However as kapproaches mthe new quantity |ω| diminishes rapidly and the envelopes of yand ybecome harder to distinguish. At the other end β is far from negligible and these two envelopes are visibly different. See Table 7.1 and 7.2. Apart from the case k= (m+ 1)/2 the term δ−1 k−1−δ−1 m−kdominates ηin (7.11). See Table 7.2. In Figures 7.5 and 7.6 we show the characteristic envelopes for the extreme eigenvalues close to k= 3 and k= 13, respectively, for W+ 31. Wilkinson Matrices 25 k α ¯α β maxi(α|x|− ¯α|x|) maxi(α|y|− ¯α|y|) 2 0.4269 0.1213 0.5952 ×1000.4316 ×10−10.3073 ×10−1 3 0.2641 0.1844 0.2719 ×1000.2860 ×10−10.7621 ×10−1 4 0.2282 0.2194 0.7146 ×10−10.4121 ×10−20.1891 ×10−1 5 0.2242 0.2236 0.1441 ×10−10.2763 ×10−30.2805 ×10−2 6 0.2239 0.2239 0.2433 ×10−20.1120 ×10−40.3641 ×10−3 7 0.2239 0.2239 0.3523 ×10−30.3075 ×10−60.4304 ×10−4 8 0.2239 0.2239 0.4456 ×10−40.6129 ×10−80.4615 ×10−5 9 0.2239 0.2239 0.5000 ×10−50.9299 ×10−10 0.4502 ×10−6 10 0.2239 0.2239 0.5042 ×10−60.1112 ×10−11 0.4018 ×10−7 11 0.2242 0.2242 0.4615 ×10−70.1074 ×10−13 0.3300 ×10−8 12 0.2282 0.2282 0.3851 ×10−80.8480 ×10−16 0.2497 ×10−9 13 0.2641 0.2641 0.2806 ×10−90.4675 ×10−18 0.1661 ×10−10 14 0.4269 0.4269 0.1394 ×10−10 0.8907 ×10−17 0.7508 ×10−12 Table 7.1 The quantities α,¯αand βfor m= 15. k η δ−1 k−1−δ−1 m−kω 2 0.1302 ×100−0.1576 ×1011 3 0.4310 ×10−1−0.5759 ×100−1 4 0.4353 ×10−2−0.7592 ×10−10.5000 ×100 5 0.2362 ×10−3−0.4491 ×10−2−0.1429 ×100 6 0.8352 ×10−5−0.1627 ×10−30.3030 ×10−1 7 0.2080 ×10−6−0.4090 ×10−5−0.52356 ×10−2 8 0.7650 ×10−80 0.7668 ×10−3 9 0.2051 ×10−60.4090 ×10−5−0.9765 ×10−4 10 0.8158 ×10−50.1627 ×10−30.1100 ×10−4 11 0.2257 ×10−30.4491 ×10−2−0.1113 ×10−5 12 0.3952 ×10−20.7592 ×10−10.1021 ×10−6 13 0.3894 ×10−10.5759 ×100−0.8576 ×10−8 14 0.2107 ×1000.1576 ×1010.6640 ×10−9 Table 7.2 The quantities δ−1 k−1−δ−1 m−kand ωfor m= 15. 7.3. Estimating η.The equation for the eigenvalues µis (6.3), 1 2µ= m X k=1 zk(m)2 µ−λk , where eigenvector zksatisfies kzkk= 1. We model (6.3) by using the dominant term in the sum when λkis close to k. This gives the quadratic equation µ(µ−λk)=2zk(m)2