iterative techniques in matrix algebra relaxation
play

Iterative Techniques in Matrix Algebra Relaxation Techniques for - PowerPoint PPT Presentation

Iterative Techniques in Matrix Algebra Relaxation Techniques for Solving Linear Systems Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University 2011


  1. Iterative Techniques in Matrix Algebra Relaxation Techniques for Solving Linear Systems Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University � 2011 Brooks/Cole, Cengage Learning c

  2. Residual Vectors SOR Method Optimal ω SOR Algorithm Outline Residual Vectors & the Gauss-Seidel Method 1 Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 2 / 36

  3. Residual Vectors SOR Method Optimal ω SOR Algorithm Outline Residual Vectors & the Gauss-Seidel Method 1 Relaxation Methods (including SOR) 2 Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 2 / 36

  4. Residual Vectors SOR Method Optimal ω SOR Algorithm Outline Residual Vectors & the Gauss-Seidel Method 1 Relaxation Methods (including SOR) 2 Choosing the Optimal Value of ω 3 Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 2 / 36

  5. Residual Vectors SOR Method Optimal ω SOR Algorithm Outline Residual Vectors & the Gauss-Seidel Method 1 Relaxation Methods (including SOR) 2 Choosing the Optimal Value of ω 3 The SOR Algorithm 4 Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 2 / 36

  6. Residual Vectors SOR Method Optimal ω SOR Algorithm Outline Residual Vectors & the Gauss-Seidel Method 1 Relaxation Methods (including SOR) 2 Choosing the Optimal Value of ω 3 The SOR Algorithm 4 Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 3 / 36

  7. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method Motivation We have seen that the rate of convergence of an iterative technique depends on the spectral radius of the matrix associated with the method. Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 4 / 36

  8. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method Motivation We have seen that the rate of convergence of an iterative technique depends on the spectral radius of the matrix associated with the method. One way to select a procedure to accelerate convergence is to choose a method whose associated matrix has minimal spectral radius. Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 4 / 36

  9. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method Motivation We have seen that the rate of convergence of an iterative technique depends on the spectral radius of the matrix associated with the method. One way to select a procedure to accelerate convergence is to choose a method whose associated matrix has minimal spectral radius. We start by introducing a new means of measuring the amount by which an approximation to the solution to a linear system differs from the true solution to the system. Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 4 / 36

  10. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method Motivation We have seen that the rate of convergence of an iterative technique depends on the spectral radius of the matrix associated with the method. One way to select a procedure to accelerate convergence is to choose a method whose associated matrix has minimal spectral radius. We start by introducing a new means of measuring the amount by which an approximation to the solution to a linear system differs from the true solution to the system. The method makes use of the vector described in the following definition. Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 4 / 36

  11. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method Definition R n is an approximation to the solution of the linear Suppose ˜ x ∈ I system defined by A x = b The residual vector for ˜ x with respect to this system is r = b − A ˜ x Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 5 / 36

  12. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method Definition R n is an approximation to the solution of the linear Suppose ˜ x ∈ I system defined by A x = b The residual vector for ˜ x with respect to this system is r = b − A ˜ x Comments A residual vector is associated with each calculation of an approximate component to the solution vector. Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 5 / 36

  13. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method Definition R n is an approximation to the solution of the linear Suppose ˜ x ∈ I system defined by A x = b The residual vector for ˜ x with respect to this system is r = b − A ˜ x Comments A residual vector is associated with each calculation of an approximate component to the solution vector. The true objective is to generate a sequence of approximations that will cause the residual vectors to converge rapidly to zero. Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 5 / 36

  14. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method Looking at the Gauss-Seidel Method Suppose we let r ( k ) = ( r ( k ) 1 i , r ( k ) 2 i , . . . , r ( k ) ni ) t i denote the residual vector for the Gauss-Seidel method Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 6 / 36

  15. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method Looking at the Gauss-Seidel Method Suppose we let r ( k ) = ( r ( k ) 1 i , r ( k ) 2 i , . . . , r ( k ) ni ) t i denote the residual vector for the Gauss-Seidel method corresponding to the approximate solution vector x ( k ) defined by i x ( k ) = ( x ( k ) 1 , x ( k ) 2 , . . . , x ( k ) i − 1 , x ( k − 1 ) , . . . , x ( k − 1 ) ) t n i i Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 6 / 36

  16. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method Looking at the Gauss-Seidel Method Suppose we let r ( k ) = ( r ( k ) 1 i , r ( k ) 2 i , . . . , r ( k ) ni ) t i denote the residual vector for the Gauss-Seidel method corresponding to the approximate solution vector x ( k ) defined by i x ( k ) = ( x ( k ) 1 , x ( k ) 2 , . . . , x ( k ) i − 1 , x ( k − 1 ) , . . . , x ( k − 1 ) ) t n i i The m -th component of r ( k ) is i i − 1 n r ( k ) a mj x ( k ) a mj x ( k − 1 ) � � mi = b m − − j j j = 1 j = i Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 6 / 36

  17. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method i − 1 n r ( k ) a mj x ( k ) a mj x ( k − 1 ) � � mi = b m − − j j j = 1 j = i Looking at the Gauss-Seidel Method (Cont’d) Equivalently, we can write r ( k ) mi in the form: i − 1 n r ( k ) a mj x ( k ) a mj x ( k − 1 ) − a mi x ( k − 1 ) � � mi = b m − − j j i j = 1 j = i + 1 for each m = 1 , 2 , . . . , n . Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 7 / 36

  18. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method i − 1 n r ( k ) � a mj x ( k ) � a mj x ( k − 1 ) − a mi x ( k − 1 ) mi = b m − − j j i j = 1 j = i + 1 Looking at the Gauss-Seidel Method (Cont’d) In particular, the i th component of r ( k ) is i i − 1 n r ( k ) a ij x ( k ) a ij x ( k − 1 ) − a ii x ( k − 1 ) � � = b i − − ii j j i j = 1 j = i + 1 Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 8 / 36

  19. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method i − 1 n r ( k ) � a mj x ( k ) � a mj x ( k − 1 ) − a mi x ( k − 1 ) mi = b m − − j j i j = 1 j = i + 1 Looking at the Gauss-Seidel Method (Cont’d) In particular, the i th component of r ( k ) is i i − 1 n r ( k ) a ij x ( k ) a ij x ( k − 1 ) − a ii x ( k − 1 ) � � = b i − − ii j j i j = 1 j = i + 1 so i − 1 n a ii x ( k − 1 ) + r ( k ) a ij x ( k ) a ij x ( k − 1 ) � � = b i − − i ii j j j = 1 j = i + 1 Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 8 / 36

  20. Residual Vectors SOR Method Optimal ω SOR Algorithm Residual Vectors & the Gauss-Seidel Method i − 1 n a ii x ( k − 1 ) + r ( k ) a ij x ( k ) a ij x ( k − 1 ) � � (E) = b i − − i ii j j j = 1 j = i + 1 Looking at the Gauss-Seidel Method (Cont’d) Recall, however, that in the Gauss-Seidel method, x ( k ) is chosen to be i   i − 1 n = 1 x ( k ) a ij x ( k ) a ij x ( k − 1 ) � �  b i − −  i j j a ii j = 1 j = i + 1 Numerical Analysis (Chapter 7) Relaxation Techniques R L Burden & J D Faires 9 / 36

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend