1 / 66

Numerical Analysis

Numerical Analysis. EE, NCKU Tien-Hao Chang (Darby Chang). In the previous slide. Error estimation in system of equations vector/matrix norms LU decomposition split a matrix into the product of a lower and a upper triangular matrices

jake
Download Presentation

Numerical Analysis

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. Numerical Analysis EE, NCKU Tien-Hao Chang (Darby Chang)

  2. In the previous slide • Error estimation in system of equations • vector/matrix norms • LU decomposition • split a matrix into the product of a lower and a upper triangular matrices • efficient in dealing with a lots of right-hand-side vectors • Direct factorization • as an systems of equations • Crout decomposition • Dollittle decomposition

  3. In this slide • Special matrices • strictly diagonally dominant matrix • symmetric positive definite matrix • Cholesky decomposition • tridiagonal matrix • Iterative techniques • Jacobi, Gauss-Seidel and SOR methods • conjugate gradient method • Nonlinear systems of equations • (Exercise 3)

  4. 3.7 Special matrices

  5. Special matrices • Linear systems • which arise in practice and/or in numerical methods • the coefficient matrices often have special properties or structure • Strictly diagonally dominant matrix • Symmetric positive definite matrix • Tridiagonal matrix

  6. Strictly diagonally dominant

  7. Symmetric positive definite

  8. Symmetric positive definiteTheorems for verification

  9. Symmetric positive definiteRelations to • Eigenvalues • Leading principal sub-matrix

  10. Cholesky decomposition • For symmetric positive definite matrices • greater efficiency can be obtained • consider the symmetric of the matrix • Rather than LU form, we factor the matrix into the form

  11. Tridiagonal • Only operations • factor step • solve step

  12. 3.7 Special matrices

  13. Before entering 3.8 • So far, we have learnt three methods algorithms in Chapter 3 • Gaussian elimination • LU decomposition • direct factorization • Are they algorithms? • What’s the differences to those algorithms in Chapter 2? • they report exact solutions rather than approximate solutions question further question answer

  14. Before entering 3.8 • So far, we have learnt three methods algorithms in Chapter 3 • Gaussian elimination • LU decomposition • direct factorization • Are they algorithms? • What’s the differences to those algorithms in Chapter 2? • they report exact solutions rather than approximate solutions further question answer

  15. Before entering 3.8 • So far, we have learnt three methods algorithms in Chapter 3 • Gaussian elimination • LU decomposition • direct factorization • Are they algorithms? • What’s the differences to those algorithms in Chapter 2? • they report exact solutions rather than approximate solutions answer

  16. Before entering 3.8 • So far, we have learnt three methods algorithms in Chapter 3 • Gaussian elimination • LU decomposition • direct factorization • Are they algorithms? • What’s the differences to those algorithms in Chapter 2? • they report exact solutions rather than approximate solutions

  17. 3.8 Iterative techniques for linear systems

  18. Iterative techniques • Analytic techniques is slow • Especially for systems with large but sparse coefficient matrices • As an added bonus, iterative techniques are less insensitive to roundoff error

  19. Iterative techniquesBasic idea

  20. Iteration matrixImmediate questions • When does guarantee a unique solution? • When does guarantee convergence? • How quick does converge? • How to generate ?

  21. Assume that is singular, there exists a nonzero vector such that • is a eigenvalue of • but , contradiction

  22. (in section 2.3 with proof) Recall that http://www.dianadepasquale.com/ThinkingMonkey.jpg

  23. Recall that http://www.dianadepasquale.com/ThinkingMonkey.jpg

  24. Iteration matrixFor these questions • We know that when , from will converge linearly to a unique solution with any • What is missing? • remember the problem is to solve • How to generate ? • like and , different algorithms construct different iteration matrix question hint answer

  25. Iteration matrixFor these questions • We know that when , from will converge linearly to a unique solution with any • What is missing? • remember the problem is to solve • How to generate ? • like and , different algorithms construct different iteration matrix hint answer

  26. Iteration matrixFor these questions • We know that when , from will converge linearly to a unique solution with any • What is missing? • remember the problem is to solve • How to generate ? • like and , different algorithms construct different iteration matrix answer

  27. Iteration matrixFor these questions • We know that when , from will converge linearly to a unique solution with any • What is missing? • remember the problem is to solve • How to generate ? • like and , different algorithms construct different iteration matrix

  28. Splitting methods

  29. Splitting methods • and • A class of iteration methods • Jacobi method • Gauss-Seidel method • SOR method

  30. Gauss-Seidel method

  31. Gauss-Seidel methodIteration matrix

  32. The SOR method (successive overrelaxatoin)

  33. Iterative techniques for linear systems

  34. 3.9 Conjugate gradient method 43

  35. Conjugate gradient method • Not all iterative methods are based on the splitting concept • The minimization of an associated quadratic functional

  36. Conjugate gradient methodQuadratic functional

  37. http://fuzzy.cs.uni-magdeburg.de/~borgelt/doc/somd/parabola.gifhttp://fuzzy.cs.uni-magdeburg.de/~borgelt/doc/somd/parabola.gif

  38. Minimizing quadratic functional

  39. Choose the search direction • as the tangent line in Newton’s method • the gradient of at • Choose the step size • as the root of the tangent line

  40. http://www.mathworks.com/cmsimages/op_main_wl_3250.jpg Global optimization problem

More Related