06.09.2021 Views

Linear Algebra, Theory And Applications, 2012a

Linear Algebra, Theory And Applications, 2012a

Linear Algebra, Theory And Applications, 2012a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

15.2. THE QR ALGORITHM 399<br />

A matrix whose characteristic polynomial is the given polynomial is<br />

⎛<br />

⎞<br />

−1 −4 −1 2<br />

⎜ 1 0 0 0<br />

⎟<br />

⎝ 0 1 0 0 ⎠<br />

0 0 1 0<br />

Using the QR algorithm yields the following sequence of iterates for A k<br />

⎛<br />

⎞<br />

. 999 99 −2. 592 7 −1. 758 8 −1. 297 8<br />

A 1 = ⎜ 2. 121 3 −1. 777 8 −1. 604 2 −. 994 15<br />

⎟<br />

⎝ 0 . 342 46 −. 327 49 −. 917 99 ⎠<br />

0 0 −. 446 59 . 105 26<br />

⎛<br />

A 9 = ⎜<br />

⎝<br />

.<br />

−. 834 12 −4. 168 2 −1. 939 −. 778 3<br />

1. 05 . 145 14 . 217 1 2. 547 4 × 10 −2<br />

0 4. 026 4 × 10 −4 −. 850 29 −. 616 08<br />

0 0 −1. 826 3 × 10 −2 . 539 39<br />

Now this is similar to A and the eigenvalues are close to the eigenvalues obtained from<br />

the two blocks on the diagonal. Of course the lower left corner of the bottom block is<br />

vanishing but it is still fairly large so the eigenvalues are approximated by the solution to<br />

( ( ) (<br />

))<br />

1 0<br />

−. 850 29 −. 616 08<br />

det λ −<br />

0 1 −1. 826 3 × 10 −2 =0<br />

. 539 39<br />

The solution to this is<br />

λ = −. 858 34, .547 44<br />

and for the complex eigenvalues,<br />

The solution is<br />

det<br />

( ( 1 0<br />

λ<br />

0 1<br />

) ( −. 834 12 −4. 168 2<br />

−<br />

1. 05 . 145 14<br />

))<br />

=0<br />

λ = −. 344 49 − 2. 033 9i, −. 344 49 + 2. 033 9i<br />

⎞<br />

⎟<br />

⎠<br />

How close are the complex eigenvalues just obtained to giving a solution to the original<br />

equation? Try −. 344 49 + 2. 033 9i .When this is plugged in it yields<br />

−.00 12 + 2. 006 8 × 10 −4 i<br />

which is pretty close to 0. The real eigenvalues are also very close to the corresponding real<br />

solutions to the original equation.<br />

It seems like most of the attention to the QR algorithm has to do with finding ways<br />

to get it to “converge” faster. Great and marvelous are the clever tricks which have been<br />

proposed to do this but my intent is to present the basic ideas, not to go in to the numerous<br />

refinements of this algorithm. However, there is one thing which is usually done. It involves<br />

reducing to the case of an upper Hessenberg matrix which is one which is zero below the<br />

main sub diagonal. To see that every matrix is unitarily similar to an upper Hessenberg<br />

matrix , see Problem 1 on Page 273. What follows is a construction which also proves this.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!