Lecture 6 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.

Slides:



Advertisements
Similar presentations
Lecture 5 Newton-Raphson Method
Advertisements

Numerical Solution of Nonlinear Equations
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
CSE 330: Numerical Methods
Open Methods Chapter 6 The Islamic University of Gaza
ROOTS OF EQUATIONS Student Notes ENGR 351 Numerical Methods for Engineers Southern Illinois University Carbondale College of Engineering Dr. L.R. Chevalier.
Open Methods Chapter 6 The Islamic University of Gaza
PHYS2020 NUMERICAL ALGORITHM NOTES ROOTS OF EQUATIONS.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 51.
A few words about convergence We have been looking at e a as our measure of convergence A more technical means of differentiating the speed of convergence.
Open Methods (Part 1) Fixed Point Iteration & Newton-Raphson Methods
Open Methods Chapter 6 The Islamic University of Gaza
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
NUMERICAL METHODS WITH C++ PROGRAMMING
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 8 Roots of Equations Open Methods.
Roots of Equations Open Methods Second Term 05/06.
FP1: Chapter 2 Numerical Solutions of Equations
Solving Non-Linear Equations (Root Finding)
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 Roots of Equations Why? But.
© 2010 Pearson Education Inc.Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e– Slide 1 of 57 Chapter 11 Taylor Polynomials and Infinite.
Newton-Raphson Method Electrical Engineering Majors Authors: Autar Kaw, Jai Paul Transforming Numerical Methods Education.
Newton-Raphson Method
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Lecture 8 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Lecture 3 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
Newton-Raphson Method Chemical Engineering Majors Authors: Autar Kaw, Jai Paul Transforming Numerical Methods Education.
1 Nonlinear Equations Jyun-Ming Chen. 2 Contents Bisection False Position Newton Quasi-Newton Inverse Interpolation Method Comparison.
1 Solution of Nonlinear Equation Dr. Asaf Varol
Chapter 3 Roots of Equations. Objectives Understanding what roots problems are and where they occur in engineering and science Knowing how to determine.
Numerical Methods for Engineering MECN 3500
Numerical Methods.
CHAPTER 3 NUMERICAL METHODS
Today’s class Roots of equation Finish up incremental search
MECN 3500 Inter - Bayamon Lecture 6 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
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.
Newton-Raphson Method. Figure 1 Geometrical illustration of the Newton-Raphson method. 2.
ROOTS OF EQUATIONS. Bracketing Methods The Bisection Method The False-Position Method Open Methods Simple Fixed-Point Iteration The Secant Method.
Lecture 5 - Single Variable Problems CVEN 302 June 12, 2002.
Solving Non-Linear Equations (Root Finding)
Numerical Methods Solution of Equation.
4 Numerical Methods Root Finding Secant Method Modified Secant
SOLVING NONLINEAR EQUATIONS. SECANT METHOD MATH-415 Numerical Analysis 1.
4 Numerical Methods Root Finding.
Newton-Raphson Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul Transforming Numerical Methods Education.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Project on Newton’s Iteration Method Presented by Dol Nath Khanal Project Advisor- Professor Dexuan Xie 05/11/2015.
CSE 330: Numerical Methods. What is true error? True error is the difference between the true value (also called the exact value) and the approximate.
Lecture 4 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Answers for Review Questions for Lectures 1-4. Review Lectures 1-4 Problems Question 2. Derive a closed form for the estimate of the solution of the equation.
CSE 330: Numerical Methods. Introduction The bisection and false position method require bracketing of the root by two guesses Such methods are called.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 / Chapter 5.
Newton-Raphson Method
Newton-Raphson Method
Numerical Analysis Lecture 5.
Chapter 6.
Solution of Equations by Iteration
Numerical Analysis Lecture 7.
Newton-Raphson Method
Computers in Civil Engineering 53:081 Spring 2003
Newton-Raphson Method
SOLUTION OF NONLINEAR EQUATIONS
ROOTS OF EQUATIONS.
3.8 Newton’s Method How do you find a root of the following function without a graphing calculator? This is what Newton did.
Newton-Raphson Method
Chapter 6.
Copyright © Cengage Learning. All rights reserved.
MATH 1910 Chapter 3 Section 8 Newton’s Method.
1 Newton’s Method.
Presentation transcript:

Lecture 6 Numerical Analysis

Solution of Non-Linear Equations Chapter 2

Introduction Bisection Method Regula-Falsi Method Method of iteration Newton - Raphson Method Secant Method Muller’s Method Graeffe’s Root Squaring Method

Bisection Method (Bolzano)

Regula-Falsi Method Method of false position

Method of Iteration

Let x = a is the desired root Suppose x 0 is its initial approximation. The first and successive approximations to the root can be obtained as

Newton - Raphson Method

An approximation to the root is given by

Better and successive approximations x 2, x 3, …, x n to the root are obtained from N-R Formula

Example Find a real root of the equation x 3 – x – 1 = 0 using Newton - Raphson method, correct to four decimal places.

Solution Let f (x) = x 3 –x – 1, Then f (1) = – 1, f (2) = 5 Therefore, the root lies in the interval (1, 2).

Further f’ (x) = 3x 2 – 1, f” (x) =6x Since f (2) and f”(2) are of the same sign, we choose x 0 = 2 as the first approximation to the root.

The second approximation is computed using Newton-Raphson method as and

The successive approximations are Hence, the required root is

Note ! Methods such as bisection method and the false position method of finding roots of a nonlinear equation f( x ) = 0 require bracketing of the root by two guesses. Such methods are called bracketing methods.

These methods are always convergent since they are based on reducing the interval between the two guesses to zero in on the root.

In the Newton-Raphson method, the root is not bracketed. Only one initial guess of the root is needed to get the iterative process started to find the root of an equation. Hence, the method falls in the category of open methods.

Newton - Raphson method is based on the principle that if the initial guess of the root of f( x ) = 0 is at x i, then if one draws the tangent to the curve at f( x i ), the point x i+1 where the tangent crosses the x-axis is an improved estimate of the root

Draw backs of N-R Method Divergence at inflection points: If the selection of a guess or an iterated value turns out to be close to the inflection point of f ( x ), [where f”( x ) = 0 ], the roots start to diverge away from the root.

Division of zero or near zero: If an iteration, we come across the division by zero or a near- zero number, then we get a large magnitude for the next value, x i+1.

Root jumping: In some case where the function f (x) is oscillating and has a number of roots, one may choose an initial guess close to a root. However, the guesses may jump and converge to some other root.

Oscillations near local maximum and minimum : Results obtained from N-R method may oscillate about the local max or min without converging on a root but converging on the local max or min. Eventually, it may lead to division to a number close to zero and may diverge.

Convergence of N-R Method

Let us compare the N-R formula with the general iteration formula

The iteration method converges if Therefore, N-R formula converges, provided in the interval considered.

Newton-Raphson formula therefore converges, provided the initial approximation x 0 is chosen sufficiently close to the root and are continuous and bounded in any small interval containing the root.

DefinitionLet where is a root of f (x) = 0. If we can prove that where K is a constant and is the error involved at the n - th step, while finding the root by an iterative method, then the rate of convergence of the method is p.

The N-R method converges quadratic ally where is a root of f (x) = 0 and is the error involved at the n-th step, while finding the root by N-R formula

Using Taylor’s expansion, we get

Since is a root, Therefore, the above expression simplifies to

On neglecting terms of order and higher powers, we obtain Where It shows that N-R method has second order convergence or converges quadratic ally.

Example Set up Newton’s scheme of iteration for finding the square root of a positive number N.

Solution The square root of N can be carried out as a root of the equation Let

By Newton’s method, we have In this Problem Therefore

Example Evaluate, by Newton’s formula. SolutionSince we take

Hence

Lecture 6 Lecture 6 Numerical Analysis