680 likes | 854 Views
Numerical Analysis. EE, NCKU Tien-Hao Chang (Darby Chang). In the previous slide. Accelerating convergence linearly convergent Newton’s method on a root of multiplicity (exercise 2) Proceed to systems of equations linear algebra review pivoting strategies. In this slide.
E N D
Numerical Analysis EE, NCKU Tien-Hao Chang (Darby Chang)
In the previous slide • Accelerating convergence • linearly convergent • Newton’s method on a root of multiplicity • (exercise 2) • Proceed to systems of equations • linear algebra review • pivoting strategies
In this 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.3 Vector and matrix norms
Vector and matrix norms • Pivoting strategies are designed to reduce the impact roundoff error • The size of a vector/matrix is necessary to measure the error
Vector normEquivalent • One of the other uses of norms is to establish the convergence • Two trivial questions: • converge or diverge in different norms? • converge to different limit values in different norms? • The answer to both is no • all vector norms are equivalent
Matrix norms • Similarly, there are various matrix norms, here we focus on those norms related to vector norms • natural matrix norms
Natural matrix normsComputing Euclidean norm • Euclidean norm, unfortunately, is not as straightforward as computing maximum matrix norms • Requires knowledge of the eigenvalues of the matrix
Eigenvalue review later
http://thomashawk.com/hello/209/1017/1024/Jackson%20Running.jpghttp://thomashawk.com/hello/209/1017/1024/Jackson%20Running.jpg In action
3.4 Error estimates and condition number
Error estimation • A linear system , and is an approximate solution • The error, ,cannot be directly computed ( is never known) • The residue vector, , can be easily computed
Is a good estimation of ? • Construct the relationship between and • From the definition hint#1 hint#2 hint#3
Is a good estimation of ? • Construct the relationship between and • From the definition hint#2 hint#3 hint#4 answer
Is a good estimation of ? • Construct the relationship between and • From the definition hint#3 hint#4 answer
Is a good estimation of ? • Construct the relationship between and • From the definition hint#4 answer
Is a good estimation of ? • Construct the relationship between and • From the definition answer
Is a good estimation of ? • Construct the relationship between and • From the definition
Perturbations (skipped) . . .
3.5 LU decomposition
LU decompositionMotivation • Gaussian elimination solve a linear system, , with unknowns • with back substitution • the minimum number of operations • If there are a lots of right-hand-side vectors • how many operations for a new RHS? • with Gaussian elimination, all operations are also carried out on the RHS
LU decomposition • Given a matrix , a lower triangular matrix and an upper triangular matrix for which are said to form an LU decomposition of • Here we replace mathematical descriptions with an example to show how Gaussian elimination is used to obtain an LU decomposition