Q, (A, I 41) R,,: J. H. Wilkinson National Physical England
Q, (A, I 41) R,,: J. H. Wilkinson National Physical England
ALGEBRA
Global Convergence
Shifts*
of Tridiagonal
QR
409
Algorithm
with Origin
J. H. WILKINSON
National
Physical
Teddington,
Laboratory
England
1. INTRODUCTION
R,QtT
+ k,I = At+l>
t=
1,2,...,
A t+1
(1)
Since
(2)
QtAtQt'p
ak,k+l
(*)
ak+l,k
(*I
ek+l
(3)
k, = tin(t);
* Dedicated
(4)
to Professor
A. M. Ostrowski
Linear
Copyright
Algebra
1968 by American
Elsevier
1, 409-420
Publishing
Company,
(1908)
Inc.
(b)
k, = A,, where
A, is the eigenvalue
a!!!. ,
is closer
(3
to d I.
the algorithm
with
is always
blocks
immediately
convergent
of orders
available.
behavior
with shifts
in choice
A, tends
of the convergence
version,
of the shifted
In this connection
for performing
This strateg!,
diagonal
are
of the process
has
i.e.,
k, = 0 for all t,
There remained
simultaneously
to block
the eigenvalues
version.
the shifts
the matrices
a method
so that
in that
1 and 2 only,
Analyses
matrix
a,,()I
P,,f)
Ie,,()
which
of the 2
certainlv
Francis
[3, ii]
two steps of QR
of the 2 x 2 matrix
leads to oscillation
used
with the
matris
2
__~I
2
-1
I
-1
-I.
~.EMI;MA
07
(b)
idkt)l and lektt)i aye bounded b! maxIA, 1 and all elements derived during the
triangularization
of all .4, (and hence all elements of all R,) are hounded b~l
2 maxlil,l.
Proof.
Since
similar
to -4, WC hnvc~
every
element
of l/A,!/ is bounded
by
)(A,l&
(7
Hence
(8)
(a) or (b).
Hence
of a principal
submatrix
of -4, whether
theorem
we USC
RR
ALGORITHM
WITH
SHIFTS
411
(9)
ORIGIK
giving
II4 - ~,~lls,<
PO)
It is well known that the Euclidean norm of any column (or row) of a
matrix is not greater than the 12 norm of the matrix itself, and in the
orthogonal triangularization
of A, - K,I to give R, the Euclidean norm
of each column remains unaltered throughout.
Hence all elements derived
during all triangularizations
are bounded by 2 maxIAil. We denote this
bound by M from now on.
2.
THE
BASIC
RELATIONS
n...
R$R$(A,
by pre-
- k,l) = R,,
(11)
where R$ is a rotation in the (i, i) plane. We denote the cosine and sine
associated with Rtt!
&,,1 1 by c!,.~ and s!!~, respectively. With either strategy
we write
$) = &(I - k,
and denote
the configuration
(12)
by Rf)_,,,
by
(13)
Clearly
pp)_
1
Linear
[(A$_1)2 + (ek()2]2,
Algebra
(14)
1, 409-420
(1968)
J. H. WIT,KINSON
(15)
(16j
(17)
and
A,+,
( R$T,
is obtained
k,l
by
postmultiplying
Hence
e.(
* i 1 = p;yt),
3.
GLOBAL
Mith
successively
b!
j = -YJ
_) . . . ) 92 - 1,
(19)
e v t 1)= x (Usvi
II
It ,I )
(20)
(21)
CONVERGENCE
strategy
this
we have
WITH
(a) we have
ct. II
STRATEGY
(a)
II
this
it follows
that
p,,,()c~f)
, (Q))2,
(22)
giving
The
elements
le+jt)( therefore
a limit L (say).
and column
n and combine
monotonically
with a matrix
and thus
of order PZ-
of e,t) is ultimately
cubic
in this case.
e(l)
n 10.
I,
tend
to
omit row
1, the current
as an eigenvalue.
decrease
40!)-420
(1968)
QR ALGORITHM
Proof.
WITH
From
ORIGIN
SHIFTS
413
(22)
and the right-hand side tends to unity if Iez I--+L > 0. Hence I&, 1I~lf)/~+
1 and since both factors are bounded
above by unity
@i/ + 1 and
IQ/2 * 1. The former implies that for any positive E
IstL,I <E
large t.
(25)
Hence et)_, -+ 0 and we can ultimately omit the last two rows and columns
and work with a matrix of order 12 - 2.
Note that in this case the usual proof [5, 71 showing ultimate
convergence does not apply and it is easy to see that convergence
be quite slow. Consider, for example, the matrix
with
strategy
(28)
(a2 + c2)@
0
be(a2 + Ed)-W
cubic
may
be(a2 + &2)-l/2
0
ba(a2 + E~)-~/~
ba(a2 + E~)-~/~
0
I*
W-9
It is clear that the convergence of eiii to zero is merely linear and that
if the eigenvalues
are f A,, & 1, then e!?i is ultimately
diminished
by
the factor i2,/3, per iteration.
If A, is close to As convergence is very slow.
Linear
Algebra
and Its
Applications
1, 409-
420 (1968)
Perhaps
a more
interesting
example
is the matris
(30)
the shifted
modulus.
matrix
in fact
(31)
(X)
Although
regime
convergence
This example
IO-lo.
In general
iterations
then
was investigated
ezCt)changes
but ultimately
almost
immediate.
the accompanying
necessary
usually
is ultimately
cubic
it is a long time
this
values of c from 10 5 to
number
of
is
a rapid change
takes
\I:ith e == lo-lo
the history
tabulation.
to achieve
with various
convergence
compared
required.
0077 208)
IO-(1.0001
8767 107)
lW~(1.0488
2126 954)
IO-(1.755%
4888 838)
lW(4.7686
0295 751)
lo-z(1.6906
7771 311)
Algebra
md
Its
Applicntiovs
1, 4OB-4%)
of /eQCt)I
is gi\,cn in
47 iterations
were
Lznear
before
is established.
(1968)
QR
ALGORITHM
4. GLOBAL
WITH
ORIGIN
CONVERGENCE
WITH
415
SHIFTS
(b)
STRATEGY
With strategy
(eJ)) 2
8n 1
(33)
and
/a:L,l > (Q).
(34)
With this strategy it is not in general true that le,,@)Iis monotonic, but we
now prove that j&!_,e,()/ is monotonic decreasing. From Eqs. (14-21)
it is easy to show that
x,(f) z
$
(( n 11
s,(y~&l)
(35)
e V-I-1)= x,(os V)
n
n )
(36)
while
(0 V)
(I)
Y*-~ = e,-,k2.
(37)
Hence
(33)
from which it follows that
jen(t+l)j < leiL,I
(39)
because all other factors on the right of (38) are bounded in modulus by
unity. We have also
(40)
and from (38) and (40)
Linear
Algebra
and
Its Applications
1,
416
J, H. WILKINSON
Since
we have
Hence
finally
lejt?i)e,(+r)( <
le$e,()/
I\ Ie()
n-1 1this
The alternative
If
(44)
is that
IeltCt)j
< E.
For
L > 0,
(45)
(43)
giving
jc,*(lI- 0,
Ic;Lr; -+ 0.
(47)
Now
~~
(e,(f))2---- =
[(e,(f))2+ (xKd21
and hence A$,
--* 0.
(48)
But
P&
= d!?,cj?_,
(SnV))2 +
e~l_,~j?_~,s~~,
+ 0 and dt:,
1, 409-420
is bounded
(1968)
(49)
this means that
QR ALGORITHM
WITH
ORIGIN
417
SHIFTS
e$,c~!_&_t),
+ 0.
(50)
However, @s/ and @.il -+ 1; hence e!Li -+ 0 and from (39) this implies
that je,()1 + 0. In all cases therefore efltr)+ 0, a most satisfactory conclusion.
.j. ASYMPTOTIC
BEHAVIOR
WITH
STRATEGY
(b)
2.
If
R,
(51)
We have
IIBQTeA = llRTenlla
= IrJ
But minIrZ,(B)
1=
miq+111B4I2 and
(52)
let
6 = minjl, -
$1.
(53)
Suppose we have reached the stage at which e,,() = E so that the shifted
A, is of the form
&
e/&
1)
(54)
Algebra
lk+~G.,
and Its Applications
(55)
1, 409-420 (1968)
J.
418
H.
WILKINSON
and writing
fJ =,L& -
ii +
(56)
\\reha\,c
(57)
remembering
that
the separation
Completing
Hence
in the last
two rows is
the transformation
we ha1.e
of the shifted
A, to
R, the
QX
ilLGORITHM
WITH
ORIGIN
419
SHIFTS
will
(63)
One step of the algorithm gives
(1 +ees)li2
(1 + &2)12
&a/(1+ G)
&s/(1+ Es)
&Z/(1+ Es) e/(1 + e2) 1
(64)
and the
(1 + Es)@
(1 +OEa)l!s - &+ &S/(1+ 9)
E2/(1+ E2)
.G/(l + ES)
-
E3/(i +
(65)
E2)
COMMENTS
Algebra
1, 409-420 (1968)
J. H. WILKIXSON
420
~2.
approximates
the general
theory
we expect
of the shifted
e, to be diminished
matrix.
Hence
after
is diminished
by a factor
the QR algorithm
progresses
of the remaining
et(t) tend
usually
since toward
to be fairly
of e12e22.
by a factor which
(a) e,,
(b) it is diminished
becomes
more marked
as
several
small.
ACKNOWLEDGMENTS
Physical
Laboratory.
REFERESCES
1 F. L. Bauer, Numerische
symmetrischer
2 H. Bowdler,
algorithms
Matrizen,
Absch%tzung
Aplikace
R. S. Martin,
for symmetric
293-306.
3 J. G. F. Francis, TheQR
26.5-271, 332-345.
4 V. N. Kublanovskaya,
value problem,
und Berechnung
Matematiky
C. Reinsch,
tridiagonal
5 J. H. Wilkinson,
1965.
6 J. H. Wilkinson,
The QH algorithm
The QH and QL
A:zwzeriscke Mathematik
eigen-
555-570.
Problem, Oxford Univ. Press, London,
J. 8(1965), 77-84.
5, 1968
ll(1968).
4(19til-1962),
matrices
with multiple
Received March
nicht-
178-189.
On some algorithms
van Eigenwerten
and J. H. Wilkinson,
matrices,
Transformation,
10(19&j),
1, 409-480
(1968)
Comnputev