QR-Method Lecture 1 SF2524 - Matrix Computations for Large-Scale Systems

QR-Method Lecture 1 SF2524 - Matrix Computations for Large-Scale Systems

QR-method lecture 1 SF2524 - Matrix Computations for Large-scale Systems QR-method lecture 1 1 / 14 So far we have in the course learned about... Methods suitable for large sparse matrices Power method: largest eigenvalue Inverse iteration: eigenvalue closest to a target Rayleigh Quotient Iteration: One eigenvalue based on starting guess Arnoldi method for eigenvalue problems: I Outer isolated eigenvalues I Only requires matrix vector products Ay I Underlying the matlab command: eigs Now: QR-method Underlying the matlab command: eig Computes all eigenvalues Suitable for dense problems Small matrices in comparison to previous algorithms QR-method lecture 1 2 / 14 Agenda QR-method 1 Decompositions I Jordan form I Schur decomposition I QR-factorization 2 Basic QR-method 3 Improvement 1: Two-phase approach I Hessenberg reduction I Hessenberg QR-method 4 Improvement 2: Acceleration with shifts 5 Convergence theory Reading instructions Point 1: TB Lecture 24 (previous courses) Points 2-4: Lecture notes PDF Point 5: Lecture notes PDF (TB Chapter 28) (Extra reading: TB Chapter 25-26, 28-29) QR-method lecture 1 3 / 14 1 Decompositions I Jordan form I Schur decomposition I QR-factorization 2 Basic QR-method 3 Improvement 1: Two-phase approach I Hessenberg reduction I Hessenberg QR-method 4 Improvement 2: Acceleration with shifts 5 Convergence theory QR-method lecture 1 4 / 14 Similarity transformation m×m m×m Suppose A 2 C and V 2 C is an invertible matrix. Then A and B = VAV −1 have the same eigenvalues. Numerical methods based on similarity transformations If B is triangular we can read-off the eigenvalues from the diagonal. Idea of numerical method: Compute V such that B is triangular. QR-method lecture 1 5 / 14 First idea: compute the Jordan canonical form Jordan canonical form (JCF) m×m m×m Suppose A 2 C . There exists an invertible matrix V 2 C and a block diagonal matrix such that A = V ΛV −1 where 0 1 J1 B .. C Λ = @ . A ; Jk where 0 1 λi 1 B .. .. C B . C Ji = B C ; i = 1;:::; k B .. C @ . 1 A λi QR-method lecture 1 6 / 14 Common case: distinct eigenvalues Suppose λi 6= λj , i = 1;:::; m. Then, 0 1 λ1 B .. C Λ = @ . A : λm Common case: symmetric matrix T m×m Suppose A = A 2 R . Then, 0 1 λ1 B .. C Λ = @ . A : λm QR-method lecture 1 7 / 14 Example - numerical stability of Jordan form Consider 02 1 1 A = @ 2 1A " 2 If " = 0. Then, the Jordan canonical form (JCF) is 02 1 1 Λ = @ 2 1A : 2 If " > 0. Then, the eigenvalues are distinct and 02 + O("1=3) 1 Λ = @ 2 + O("1=3) A : 2 + O("1=3) ) JCF not continuous with respect to " ) JCF is often not numerically stable QR-method lecture 1 8 / 14 Schur decomposition (essentially TB Theorem 24.9) m×m Suppose A 2 C . There exists an unitary matrix P P−1 = P∗ and a triangular matrix T such that A = PTP∗: The Schur decomposition is numerically stable. Goal with QR-method: Numercally compute a Schur factorization QR-method lecture 1 9 / 14 Outline: 1 Decompositions I Jordan form I Schur decomposition I QR-factorization 2 Basic QR-method 3 Improvement 1: Two-phase approach I Hessenberg reduction I Hessenberg QR-method 4 Improvement 2: Acceleration with shifts 5 Convergence theory QR-method lecture 1 10 / 14 QR-factorization m×m m×m Suppose A 2 C . There exists a unitary matrix Q 2 C and an m×m upper triangular matrix R 2 C such that A = QR Note: Very different from Schur factorization A = QTQ∗ QR-factorization can be computed with a finite number of operations Schur decomposition directly gives us the eigenvalues QR-method lecture 1 11 / 14 Basic QR-method Didactic simplifying assumption: All eigenvalues are real Basic QR-method = basic QR-algorithm Simple basic idea: Let A0 = A and iterate: Compute QR-factorization of Ak = QR Set Ak+1 = RQ. Note: ∗ A1 = RQ = Q A0Q ) A0; A1;::: have the same eigenvalues More remarkable: Ak ! triangular matrix (except special cases) QR-method lecture 1 12 / 14 Ak ! triangular matrix: * Time for matlab demo * QR-method lecture 1 13 / 14 Elegant and robust but not very efficient: Disadvantages Computing a QR-factorization is quite expensive. One iteration of the basic QR-method O(m3): The method often requires many iterations. Improvement demo: http://www.youtube.com/watch?v=qmgxzsWWsNc QR-method lecture 1 14 / 14.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    14 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us