MATH 175: Numerical Analysis II

Slides:



Advertisements
Similar presentations
Numerical Computation Lecture 4: Root Finding Methods - II United International College.
Advertisements

Muller’s method & FORTRAN features Muller’s method for solving non-linear equations & FORTRAN features April 6, 2004.
Line Search.
Yunfei duan Hui Pan.  A parabola through three points f(a) f(b) f(c)  for the derivation of this formula is from  denominator should not be zero.
Polynomial and Rational
Chapter 4 Roots of Equations
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Martin Mendez UASLP Chapter 61 Unit II.
Curve Fitting and Interpolation: Lecture (II)
NUMERICAL METHODS WITH C++ PROGRAMMING
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 10 Roots of Polynomials.
Chapter 3 Root Finding.
MATH 175: NUMERICAL ANALYSIS II CHAPTER 3: Differential Equations Lecturer: Jomar Fajardo Rabajante 2nd Sem AY IMSP, UPLB.
Upper and Lower Bounds for Roots
1 5.6 Complex Zeros; Fundamental Theorem of Algebra In this section, we will study the following topics: Conjugate Pairs Theorem Finding a polynomial function.
Polynomial Long and Synthetic Division Pre-Calculus.
UNCONSTRAINED MULTIVARIABLE
MATH 175: NUMERICAL ANALYSIS II Lecturer: Jomar Fajardo Rabajante IMSP, UPLB 2 nd Semester AY
Chapter 4 Roots of Polynomials.
Lesson 2.5 The Fundamental Theorem of Algebra. For f(x) where n > 0, there is at least one zero in the complex number system Complex → real and imaginary.
The Fundamental Theorem of Algebra And Zeros of Polynomials
Zeros of Polynomials PolynomialType of Coefficient 5x 3 + 3x 2 + (2 + 4i) + icomplex 5x 3 + 3x 2 + √2x – πreal 5x 3 + 3x 2 + ½ x – ⅜rational 5x 3 + 3x.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 Roots of Equations Why? But.
Zeros of Polynomial Functions
Chapter 17 Boundary Value Problems. Standard Form of Two-Point Boundary Value Problem In total, there are n 1 +n 2 =N boundary conditions.
MATH 175: Numerical Analysis II Lecturer: Jomar Fajardo Rabajante 2 nd Sem AY IMSP, UPLB.
Partial-fraction Expansion
6.6 The Fundamental Theorem of Algebra
Lesson 3.4 – Zeros of Polynomial Functions Rational Zero Theorem
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 7.
Lesson 2.5, page 312 Zeros of Polynomial Functions Objective: To find a polynomial with specified zeros, rational zeros, and other zeros, and to use Descartes’
Solution of Nonlinear Functions
Section 3.3 Theorems about Zeros of Polynomial Functions.
Using the Fundamental Theorem of Algebra 6.7. Learning Targets Students should be able to… -Use fundamental theorem of algebra to determine the number.
Perfidious Polynomials and Elusive Roots Zhonggang Zeng Northeastern Illinois University Nov. 2, 2001 at Northern Illinois University.
Newton’s Method, Root Finding with MATLAB and Excel
Lecture 5 - Single Variable Problems CVEN 302 June 12, 2002.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 7 Roots of Polynomials.
Solving Non-Linear Equations (Root Finding)
6.5 Theorems About Roots of Polynomial Equations
Bellwork Perform the operation and write the result in standard from ( a + bi)
INTRO TO OPTIMIZATION MATH-415 Numerical Analysis 1.
Warm Up: 1.  2 Finding Rational Zeros (Day 1) 3.
MATH 175: Numerical Analysis II Lecturer: Jomar Fajardo Rabajante IMSP, UPLB 2 nd Sem AY
Zeros (Solutions) Real Zeros Rational or Irrational Zeros Complex Zeros Complex Number and its Conjugate.
Computing ill-Conditioned Eigenvalues
NUMERICAL ANALYSIS I. Introduction Numerical analysis is concerned with the process by which mathematical problems are solved by the operations.
Polynomial Function Review
Polynomial and Synthetic Division
Power and Polynomial Functions
Lesson 2.5 The Fundamental Theorem of Algebra
Today’s class Multiple Variable Linear Regression
MATH 175: Numerical Analysis II
Optimization Part II G.Anuradha.
MATH 175: NUMERICAL ANALYSIS II
The Fundamental Theorem of Algebra And Zeros of Polynomials
MATH 174: Numerical Analysis I
MATH 174: NUMERICAL ANALYSIS I
MATH 174: NUMERICAL ANALYSIS I
Math 175: Numerical Analysis II
Perfidious Polynomials and Elusive Roots
MATH 175: Numerical Analysis II
MATH 175: Numerical Analysis II
MATH 175: NUMERICAL ANALYSIS II
1) Find f(g(x)) and g(f(x) to show that f(x) and g(x) are inverses
Roots of Polynomials Chapter 7 The Islamic University of Gaza
5.6 Complex Zeros; Fundamental Theorem of Algebra
Presentation transcript:

MATH 175: Numerical Analysis II Lecturer: Jomar Fajardo Rabajante IMSP, UPLB 1st Sem AY 2012-2013

Other Method: Bairstow’s Method A special problem associated with polynomials Pn(x) is the possibility of complex roots. Newton's method, the secant method, and Muller's method all can find complex roots if complex arithmetic is used and/or complex initial approximations are specified. Fortunately, complex arithmetic is available in several programming languages, such as FORTRAN and SCILAB. However, hand calculation using complex arithmetic is tedious and time consuming. When polynomials with real coefficients have complex roots, they occur in conjugate pairs, which corresponds to a quadratic factor of the polynomial Pn(x). Bairstow's method extracts quadratic factors from a polynomial using only real arithmetic.

Other Method: Bairstow’s Method Given a polynomial: We can factor a quadratic factor: Quotient term Remainder term

Other Method: Bairstow’s Method What we want to do is make the remainder=0, and find the correct r and s. Then use quadratic formula!!! After getting the correct factor, do synthetic division or long division to get the other factors (of course you can do Bairstow’s again if necessary.)

Other Method: Bairstow’s Method FORMULA: (Derivation omitted) User input:

Other Method: Bairstow’s Method

Other Method: Bairstow’s Method Stopping criteria: (choose one, or you can use both) See Scilab syntax for example (in MS Word file).

Other Methods: Laguerre’s Method Jenkins-Traub Method Brent’s Method - uses a superlinear method (i.e., inverse quadratic interpolation) and monitors its behavior to ensure that it is behaving properly. If not, some interval halving steps are used to ensure at least linear behavior until the root is approached more closely, at which time the procedure reverts to the superlinear method. Brent's method does not require evaluation of the derivative. This approach combines the efficiency of open methods with the robustness of closed methods.

Other Methods: Graeffe’s Method - an algorithm for finding all of the roots of a polynomial. Eigenvalues of Companion Matrix Etc. etc. etc…. NOW, let’s discuss Wilkinson’s Polynomial…

Wilkinson’s Polynomial Wilkinson's polynomial is a specific polynomial which was used by James H. Wilkinson in 1963 to illustrate a difficulty when finding the root of a polynomial: the location of the roots can be very sensitive to perturbations in the coefficients of the polynomial. In 1984, he described the personal impact of this discovery: “Speaking for myself I regard it as the most traumatic experience in my career as a numerical analyst.”

Wilkinson’s Polynomial So what are the roots?

Wilkinson’s Polynomial

Wilkinson’s Polynomial If the coefficient of x19 is changed from −210 to −210.0000001192, then the polynomial value w(20) decreases from 0 to −6.25×1017, and the root at x = 20 grows to x ≈ 20.8. Actually, other roots are also greatly displaced. The change to the coefficient is tiny, and this ill- conditioning is rampant when using computers. Stability Analysis must be done to check if the function is well-conditioned or ill-conditioned (stability analysis in root-finding will not be discussed).

Wilkinson’s Polynomial

END OF CHAPTER 1 Next topics: (these are optional topics in our course outline) -Solving Nonlinear Systems (using Newton’s Method) and -Numerical Optimization (using Golden- section Search and Newton’s Method)