1 / 16

Choleski’s Method

B.3. Choleski’s Method. LU Decomposition. LU Decomposition is another method to solve a set of simultaneous linear equations Which is better, Gauss Elimination or LU Decomposition? To answer this, a closer look at LU decomposition is needed. The Method. Decompose Forward substitution:

saul
Download Presentation

Choleski’s Method

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. B.3 Choleski’s Method

  2. LU Decomposition LU Decomposition is another method to solve a set of simultaneous linear equations Which is better, Gauss Elimination or LU Decomposition? To answer this, a closer look at LU decomposition is needed.

  3. The Method • Decompose • Forward substitution: Given [L] and [B] find [Y] • Backward substitution Given [U] and [Y] find [X] ? ?

  4. LU Decomposition How is this better or faster than Gauss Elimination? Let’s look at computational time. n = number of equations To decompose [A], time is proportional to To solve and time proportional to

  5. LU Decomposition Therefore, total computational time for LU Decomposition is proportional to or Gauss Elimination computation time is proportional to How is this better?

  6. LU Decomposition What about a situation where the [B] vector changes? In LU Decomposition, LU decomposition of [A] is independent of the [B] vector, therefore it only needs to be done once. Let m = the number of times the [B] vector changes The computational times are proportional to Gauss Elimination = LU decomposition = Consider a 100 equation set with 50 right hand side vectors LU Decomposition = Gauss Elimination =

  7. LU Decomposition Method: [A] Decompose to [L] and [U] [U] is the same as the coefficient matrix at the end of the forward elimination step. [L] is obtained using the multipliers that were used in the forward elimination process

  8. LU Decomposition

  9. Forward Substitution Solve[L][Y]=[B] for [Y] Recall: [Y] is the same right hand side matrix, as obtained by Gauss elimination method

  10. Backward Substitution Solve[U][X]=[Y] for [X]

  11. B.4 Computing Inverse Matrix

  12. Finding Inverse

  13. Finding Inverse

  14. Finding Inverse

  15. Finding Inverse by Gauss-Jordan Gauss-Jordan This method is numerically unstable unless complete pivoting is used

  16. Thanks to Prof. Autar Kaw for his wonderful slides

More Related