1 / 5

Introduction to Numerical Analysis I

Introduction to Numerical Analysis I. PA=LU. MATH/CMPSC 455. Partial Pivoting. Why? (1) zeros pivot; (2) swapping rows reduces possibility of rounding errors and poor scaling contaminating the solution. How?

lance
Download Presentation

Introduction to Numerical Analysis I

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Numerical Analysis I PA=LU MATH/CMPSC 455

  2. Partial Pivoting Why? (1) zeros pivot; (2) swapping rows reduces possibility of rounding errors and poor scaling contaminating the solution. How? Swap rows at each elimination step to place the largest element on the diagonal.

  3. Permutation Matrices Definition: A permutation matrix is a matrix consisting of all zeros, except for a single 1 in every row and column. Fundamental Theorem of Permutation Matrices: Let P be the permutation matrix formed by a particular set of row exchanges applied to the identity matrix. Then, for any matrix A, PA is the matrix obtained by applying exactly the same set of row exchanges to A.

  4. PA=LU factorization Definition: PA=LU factorization is simply the LU factorization of a row-exchanged version of A. • The algorithm consists of two parts: • Factorization phase: apply to A only and is designed to produce the LU decomposition of PA. • Solution phase: update the right hand side Pb, and then solve LU = Pbby forward and backward substitution.

  5. Example: Example: Example:

More Related