Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)

Slides:



Advertisements
Similar presentations
EE, NCKU Tien-Hao Chang (Darby Chang)
Advertisements

Numerical Computation Lecture 4: Root Finding Methods - II United International College.
Lecture 5 Newton-Raphson Method
Fixed point iterations and solution of non-linear functions
Chapter 2 Solutions of Systems of Linear Equations / Matrix Inversion
Algebraic, transcendental (i.e., involving trigonometric and exponential functions), ordinary differential equations, or partial differential equations...
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
MATH 685/ CSI 700/ OR 682 Lecture Notes
Chapter 8 Numerical Technique 大葉大學 資訊工程系 黃鈴玲 Linear Algebra.
Lecture 7 Intersection of Hyperplanes and Matrix Inverse Shang-Hua Teng.
CISE301_Topic3KFUPM1 SE301: Numerical Methods Topic 3: Solution of Systems of Linear Equations Lectures 12-17: KFUPM Read Chapter 9 of the textbook.
Lecture 9: Introduction to Matrix Inversion Gaussian Elimination Sections 2.4, 2.5, 2.6 Sections 2.2.3, 2.3.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
2 2.3 © 2012 Pearson Education, Inc. Matrix Algebra CHARACTERIZATIONS OF INVERTIBLE MATRICES.
Solution of linear system of equations
Chapter 9 Gauss Elimination The Islamic University of Gaza
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Linear Algebraic Equations
Roots of Equations Open Methods (Part 2).
Revision.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 15 Solution of Systems of Equations.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW II.
Chapter 1 Systems of Linear Equations
1 © 2012 Pearson Education, Inc. Matrix Algebra THE INVERSE OF A MATRIX.
Matrix Algebra THE INVERSE OF A MATRIX © 2012 Pearson Education, Inc.
Mujahed AlDhaifallah (Term 342) Read Chapter 9 of the textbook
Chapter 3 Root Finding.
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Linear Algebraic Equations ~ Gauss Elimination Chapter.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Scientific Computing Linear Systems – LU Factorization.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
MA2213 Lecture 5 Linear Equations (Direct Solvers)
Matrix Solutions to Linear Systems. 1. Write the augmented matrix for each system of linear equations.
We will use Gauss-Jordan elimination to determine the solution set of this linear system.
8.1 Matrices & Systems of Equations
Lecture 7 - Systems of Equations CVEN 302 June 17, 2002.
Linear algebra: matrix Eigen-value Problems Eng. Hassan S. Migdadi Part 1.
Quadrature rules 1Michael Sokolov / Numerical Methods for Chemical Engineers / Numerical Quadrature Michael Sokolov ETH Zurich, Institut für Chemie- und.
linear  2.3 Newton’s Method ( Newton-Raphson Method ) 1/12 Chapter 2 Solutions of Equations in One Variable – Newton’s Method Idea: Linearize a nonlinear.
Meeting 19 System of Linear Equations. Linear Equations A solution of a linear equation in n variables is a sequence of n real numbers s 1, s 2,..., s.
Direct Methods for Linear Systems Lecture 3 Alessandra Nardi Thanks to Prof. Jacob White, Suvranu De, Deepak Ramaswamy, Michal Rewienski, and Karen Veroy.
Chapter 9 Gauss Elimination The Islamic University of Gaza
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
1 Chapter 7 Numerical Methods for the Solution of Systems of Equations.
CHARACTERIZATIONS OF INVERTIBLE MATRICES
Linear Systems Dinesh A.
Gaoal of Chapter 2 To develop direct or iterative methods to solve linear systems Useful Words upper/lower triangular; back/forward substitution; coefficient;
Unit #1 Linear Systems Fall Dr. Jehad Al Dallal.
Lecture 9 Numerical Analysis. Solution of Linear System of Equations Chapter 3.
1 Numerical Methods Solution of Systems of Linear Equations.
PIVOTING The pivot or pivot element is the element of a matrix, or an array, which is selected first by an algorithm (e.g. Gaussian elimination, simplex.
Spring Dr. Jehad Al Dallal
Numerical Analysis Lecture12.
Linear Algebra Lecture 15.
Solution of Equations by Iteration
Numerical Analysis Lecture 7.
Numerical Analysis Lecture 45.
Numerical Analysis Lecture14.
Numerical Analysis Lecture10.
Some Comments on Root finding
Numerical Analysis Lecture11.
Matrix Algebra THE INVERSE OF A MATRIX © 2012 Pearson Education, Inc.
Chapter 2 A Survey of Simple Methods and Tools
EE, NCKU Tien-Hao Chang (Darby Chang)
Pivoting, Perturbation Analysis, Scaling and Equilibration
Presentation transcript:

Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)

In the previous slide Fixed point iteration scheme –what is a fixed point? –iteration function –convergence Newton’s method –tangent line approximation –convergence Secant method 2

In this slide Accelerating convergence –linearly convergent –Newton’s method on a root of multiplicity >1 –(exercises) Proceed to systems of equations –linear algebra review –pivoting strategies 3

2.6 4 Accelerating Convergence

Accelerating convergence Having spent so much time discussing convergence –is it possible to accelerate the convergence? How to speed up the convergence of a linearly convergent sequence? How to restore quadratic convergence to Newton’s method? –on a root of multiplicity > 1 5

Accelerating convergence Linearly convergence Thus far, the only truly linearly convergent sequence –false position –fixed point iteration Bisection method is not according to the definition 6

7

Aitken’s Δ 2 -method Substituting Eq. (2) into Eq. (1) Substituting Eq. (4) into Eq. (3) The above formulation should be a better approximation to p than p n 8

9

Aitken’s Δ 2 -method Accelerated? 10 which implies super- linearly convergence later answer

11

Any Questions? 12 About Aitken’s Δ 2 -method

Accelerating convergence Anything to further enhance? 13

14 Why not use p-head instead of p ?

Steffensen’s method 15

16 Restoring quadratic convergence to Newton’s method

17

18

Any Questions? 19

Two disadvantages Both the first and the second derivatives of f are needed Each iteration requires one more function evaluations 20 answer

Any Questions? 21 Chapter 2 Rootfinding (2.7 is skipped)

Exercise /4/21 9:00am to or hand over in class. You may arbitrarily pick one problem among the first three, which means this exercise contains only five

23

24

25

26

27 (Programming)

Chapter 3 28 Systems of Equations

Systems of Equations Definition 29

Linear Algebra Review (vectors and matrices)

Matrix Definitions 31

Any Questions? 32 m, n, m, i, j, E QUAL, S UM, S CALAR M ULTIPLICATION, P RODUCT …

The Inverse Matrix 33 (cannot be skipped)

34

Any questions? 35 answerquestion

The Determinant 36 (cannot be skipped, too)

37 cofactor

38

Link the concepts –All these theorems will be extremely important throughout this chapter Nonsingular matrices Determinants Solutions of linear systems of equations 39

40

41 (Hard to prove)

Any Questions? Linear Algebra Review

Gaussian Elimination (I suppose you have already known it)

An application problem 44

I 1 -I 2 -I 3 =0 I 2 -I 4 -I 5 =0 I 3 +I 4 -I 6 =0 2I 3 +I 6 =7 I 2 +2I 5 =13 -I 2 +2I 3 -3I 4 =0 45

Following Gaussian elimination 46

Any Questions? 47 Gaussian elimination

Gaussian elimination Operation Counts 48

Operation Counts Comparison Gaussian elimination –forward elimination –back substitution Gauss-Jordan elimination Compute the inverse matrix 49

Pivoting Strategy

51

52

53 Compare to x 1 =1, x 2 =7, x 3 =1

Pivoting strategy To avoid small pivot elements A scheme for interchanging the rows (interchanging the pivot element) Partial pivoting 54

55 In action

56

57 Compare to x 1 =1, x 2 =7, x 3 =1

Any Questions? 58

From the algorithm view How to implement the interchanging operation? –change implicitly Introduce a row vector r –each time a row interchange is required, we need only swap the corresponding elements of the vector –number of operations from 3n to 3 59 hint answer

60 In action

61 Without pivoting

62

63

x = [1.000, , , ] T –exact solution x = [1,-1,1,-1] T –no r x = [1.131, , , ] T 64

Scaled Partial Pivoting 65

Scaled partial pivoting An example 66

Any Questions? 67

Scaled partial pivoting A blind spot of partial pivoting 68 answer

Scaled partial pivoting 69

70

71 In action

72

73

x = [1.000, , 1.000, ] T –exact solution x = [1,-1,1,-1] T –no s x = [1.000, , , ] T –no r x = [1.131, , , ] T 74

Any Questions? Pivoting Strategy