p 1 p 0 (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- cant method.

Similar documents
SEC POWER METHOD Power Method

446 CHAP. 8 NUMERICAL OPTIMIZATION. Newton's Search for a Minimum of f(x,y) Newton s Method

CHAPTER-II ROOTS OF EQUATIONS

5.1 Least-Squares Line

9.2 Euler s Method. (1) t k = a + kh for k = 0, 1,..., M where h = b a. The value h is called the step size. We now proceed to solve approximately

434 CHAP. 8 NUMERICAL OPTIMIZATION. Powell's Method. Powell s Method

9.6 Predictor-Corrector Methods

632 CHAP. 11 EIGENVALUES AND EIGENVECTORS. QR Method

The Tangent Parabola The AMATYC Review, Vol. 23, No. 1, Fall 2001, pp

Order of convergence

9.8 Boundary Value Problems. Another type of differential equation has the form. (1) x = f (t, x, x ) for a t b, with the boundary conditions

Numerical Methods. Root Finding

SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS BISECTION METHOD

SOLVING EQUATIONS OF ONE VARIABLE

Bernstein polynomials of degree N are defined by

ROOT FINDING REVIEW MICHELLE FENG

Solution of Nonlinear Equations

Roots of Equations. ITCS 4133/5133: Introduction to Numerical Methods 1 Roots of Equations

MATHEMATICAL EXPOSITION

NON-LINEAR ALGEBRAIC EQUATIONS Lec. 5.1: Nonlinear Equation in Single Variable

Chapter 4. Solution of Non-linear Equation. Module No. 1. Newton s Method to Solve Transcendental Equation

cha1873x_p02.qxd 3/21/05 1:01 PM Page 104 PART TWO

Zeroes of Transcendental and Polynomial Equations. Bisection method, Regula-falsi method and Newton-Raphson method

Iteration & Fixed Point

THE SECANT METHOD. q(x) = a 0 + a 1 x. with

Chapter 1. Root Finding Methods. 1.1 Bisection method

Bisection Method. and compute f (p 1 ). repeat with p 2 = a 2+b 2

Applied Mathematics Letters. Combined bracketing methods for solving nonlinear equations

Comparative Analysis of Convergence of Various Numerical Methods

Root Finding (and Optimisation)

INTRODUCTION TO NUMERICAL ANALYSIS

Applied Numerical Analysis

PART I Lecture Notes on Numerical Solution of Root Finding Problems MATH 435

15 Nonlinear Equations and Zero-Finders

A Derivative Free Hybrid Equation Solver by Alloying of the Conventional Methods

CHAPTER 4 ROOTS OF EQUATIONS

converges to a root, it may not always be the root you have in mind.

3.1 Introduction. Solve non-linear real equation f(x) = 0 for real root or zero x. E.g. x x 1.5 =0, tan x x =0.

SKMM 3023 Applied Numerical Methods

by Martin Mendez, UASLP Copyright 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Numerical Methods Dr. Sanjeev Kumar Department of Mathematics Indian Institute of Technology Roorkee Lecture No 7 Regula Falsi and Secant Methods

Numerical Analysis: Solving Nonlinear Equations

The iteration formula for to find the root of the equation

A Review of Bracketing Methods for Finding Zeros of Nonlinear Functions

Numerical Method for Solution of Fuzzy Nonlinear Equations

APPROXIMATION OF ROOTS OF EQUATIONS WITH A HAND-HELD CALCULATOR. Jay Villanueva Florida Memorial University Miami, FL

Comments on An Improvement to the Brent s Method

Generalization Of The Secant Method For Nonlinear Equations

Investigation of Tangent Polynomials with a Computer Algebra System The AMATYC Review, Vol. 14, No. 1, Fall 1992, pp

Nonlinear Equations and Continuous Optimization

Hence a root lies between 1 and 2. Since f a is negative and f(x 0 ) is positive The root lies between a and x 0 i.e. 1 and 1.

Algebra & Trigonometry for College Readiness Media Update, 2016

Roots of Equations Roots of Polynomials

Utah Math Standards for College Prep Mathematics

Scientific Computing. Roots of Equations

Bisected Direct Quadratic Regula Falsi

Variable. Peter W. White Fall 2018 / Numerical Analysis. Department of Mathematics Tarleton State University

Solving nonlinear equations (See online notes and lecture notes for full details) 1.3: Newton s Method

Determining the Roots of Non-Linear Equations Part I

Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Spring 2018 Instructor: Dr. Sateesh Mane.

Using Lagrange Interpolation for Solving Nonlinear Algebraic Equations

Solution of Algebric & Transcendental Equations

SAURASHTRA UNIVERSITY RAJKOT.

Convergence Rates on Root Finding

Chapter 6. Nonlinear Equations. 6.1 The Problem of Nonlinear Root-finding. 6.2 Rate of Convergence

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 4

Utah Core State Standards for Mathematics - Precalculus

Computational Methods. Solving Equations

Finding roots. Lecture 4

Lecture 44. Better and successive approximations x2, x3,, xn to the root are obtained from

Solutions of Equations in One Variable. Newton s Method

NUMERICAL AND STATISTICAL COMPUTING (MCA-202-CR)

CAM Ph.D. Qualifying Exam in Numerical Analysis CONTENTS

CS 323: Numerical Analysis and Computing

Nonlinearity Root-finding Bisection Fixed Point Iteration Newton s Method Secant Method Conclusion. Nonlinear Systems

AN INTRODUCTION TO NUMERICAL METHODS USING MATHCAD. Mathcad Release 14. Khyruddin Akbar Ansari, Ph.D., P.E.

Numerical mathematics with GeoGebra in high school

Modified Cubic Convergence Iterative Method for Estimating a Single Root of Nonlinear Equations

1. Method 1: bisection. The bisection methods starts from two points a 0 and b 0 such that

Numerical Methods. Roots of Equations

Question Bank (I scheme )

Nonlinear Equations. Your nonlinearity confuses me.

F I F T H E D I T I O N. Introductory Methods of Numerical Analysis. S.S. Sastry

Numerical Study of Some Iterative Methods for Solving Nonlinear Equations

SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY, COIMBATORE- 10 DEPARTMENT OF SCIENCE AND HUMANITIES B.E - EEE & CIVIL UNIT I

High School Mathematics Honors PreCalculus

A Three-Step Iterative Method to Solve A Nonlinear Equation via an Undetermined Coefficient Method

University of Houston, Department of Mathematics Numerical Analysis, Fall 2005

1.1: The bisection method. September 2017

Nonlinearity Root-finding Bisection Fixed Point Iteration Newton s Method Secant Method Conclusion. Nonlinear Systems

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science

Engineering. Mathematics. GATE 2019 and ESE 2019 Prelims. For. Comprehensive Theory with Solved Examples

Lec7p1, ORF363/COS323

SME 3023 Applied Numerical Methods

UNIT II SOLUTION OF NON-LINEAR AND SIMULTANEOUS LINEAR EQUATION

CS 221 Lecture 9. Tuesday, 1 November 2011

Solution of Nonlinear Equations: Graphical and Incremental Sea

BHAKT KAVI NARSINH MEHTAUNIVERSITY JUNAGADH.

Modified Bracketing Method for Solving Nonlinear Problems With Second Order of Convergence

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn

Transcription:

80 CHAP. 2 SOLUTION OF NONLINEAR EQUATIONS f (x) = 0 y y = f(x) (p, 0) p 2 p 1 p 0 x (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- Figure 2.16 cant method. Secant Method The Newton-Raphson algorithm requires the evaluation of two functions per iteration, f (p k 1 ) and f (p k 1 ). Traditionally, the calculation of derivatives of elementary functions could involve considerable effort. But with modern computer algebra software packages, this has become less of an issue. Still many functions have nonelementary forms (integrals, sums, etc.), and it is desirable to have a method that converges almost as fast as Newton s method yet involves only evaluations of f (x) and not of f (x). The secant method will require only one evaluation of f (x) per step and at a simple root has an order of convergence R 1.618033989. It is almost as fast as Newton s method, which has order 2. The formula involved in the secant method is the same one that was used in the regula falsi method, except that the logical decisions regarding how to define each succeeding term are different. Two initial points (p 0, f (p 0 )) and (p 1, f (p 1 )) near the point (p, 0) are needed, as shown in Figure 2.16. Define p 2 to be the abscissa

SEC. 2.4 NEWTON-RAPHSON AND SECANT METHODS 81 Table 2.7 Convergence of the Secant Method at a Simple Root k p k p k+1 p k E k = p p k E k+1 E k 1.618 0 2.600000000 0.200000000 0.600000000 0.914152831 1 2.400000000 0.293401015 0.400000000 0.469497765 2 2.106598985 0.083957573 0.106598985 0.847290012 3 2.022641412 0.021130314 0.022641412 0.693608922 4 2.001511098 0.001488561 0.001511098 0.825841116 5 2.000022537 0.000022515 0.000022537 0.727100987 6 2.000000022 0.000000022 0.000000022 7 2.000000000 0.000000000 0.000000000 of the point of intersection of the line through these two points and the x-axis; then Figure 2.16 shows that p 2 will be closer to p than to either p 0 or p 1. The equation relating p 2, p 1, and p 0 is found by considering the slope (24) m = f (p 1) f (p 0 ) and m = 0 f (p 1). p 1 p 0 p 2 p 1 The values of m in (25) are the slope of the secant line through the first two approximations and the slope of the line through (p 1, f (p 1 )) and (p 2, 0), respectively. Set the right-hand sides equal in (25) and solve for p 2 = g(p 1, p 0 ) and get (25) p 2 = g(p 1, p 0 ) = p 1 f (p 1)(p 1 p 0 ) f (p 1 ) f (p 0 ). The general term is given by the two-point iteration formula (26) p k+1 = g(p k, p k 1 ) = p k f (p k)(p k p k 1 ) f (p k ) f (p k 1 ). Example 2.16 (Secant Method at a Simple Root). Start with p 0 = 2.6 and p 1 = 2.4and use the secant method to find the root p = 2ofthe polynomial function f (x) = x 3 3x + 2. In this case the iteration formula (27) is (27) p k+1 = g(p k, p k 1 ) = p k (p3 k 3p k + 2)(p k p k 1 ) pk 3 p3 k 1 3p. k + 3p k 1 This can be algebraically manipulated to obtain (28) p k+1 = g(p k, p k 1 ) = p2 k p k 1 + p k pk 1 2 2 pk 2 + p k p k 1 + pk 1 2 3. The sequence of iterates is given in Table 2.7.

82 CHAP. 2 SOLUTION OF NONLINEAR EQUATIONS f (x) = 0 There is a relationship between the secant method and Newton s method. For a polynomial function f (x), the secant method two-point formula p k+1 = g(p k, p k 1 ) will reduce to Newton s one-point formula p k+1 = g(p k ) if p k is replaced by p k 1. Indeed, if we replace p k by p k 1 in (29), then the right side becomes the same as the right side of (22) in Example 2.14. Proofs about the rate of convergence of the secant method can be found in advanced texts on numerical analysis. Let us state that the error terms satisfy the relationship (29) E k+1 E k 1.618 f (p) 2 f (p) where the order of convergence is R = (1 + 5)/2 1.618 and the relation in (30) is valid only at simple roots. To check this, we make use of Example 2.16 and the specific values 0.618 and p p 5 =0.000022537 p p 4 1.618 = 0.001511098 1.618 = 0.000027296, A = f ( 2)/2 f ( 2) 0.618 = (2/3) 0.618 = 0.778351205. Combine these and it is easy to see that p p 5 =0.000022537 0.000021246 = A p p 4 1.618. Accelerated Convergence We could hope that there are root-finding techniques that converge faster than linearly when p is a root of order M. Ourfinal result shows that a modification can be made to Newton s method so that convergence becomes quadratic at a multiple root. Theorem 2.7 (Acceleration of Newton-Raphson Iteration). Suppose that the Newton-Raphson algorithm produces a sequence that converges linearly to the root x = p of order M > 1. Then the Newton-Raphson iteration formula (30) p k = p k 1 Mf(p k 1) f (p k 1 ) will produce a sequence {p k } k=0 that converges quadratically to p.

SEC. 2.4 NEWTON-RAPHSON AND SECANT METHODS 83 Table 2.8 Acceleration of Convergence at a Double Root k p k p k+1 p k E k = p p k E k+1 E k 2 0 1.200000000 0.193939394 0.200000000 0.151515150 1 1.006060606 0.006054519 0.006060606 0.165718578 2 1.000006087 0.000006087 0.000006087 3 1.000000000 0.000000000 0.000000000 Table 2.9 Comparison of the Speed of Convergence Method Special considerations Relation between successive error terms Bisection E k+1 1 2 E k Regula falsi E k+1 A E k Secant method Multiple root E k+1 A E k Newton-Raphson Multiple root E k+1 A E k Secant method Simple root E k+1 A E k 1.618 Newton-Raphson Simple root E k+1 A E k 2 Accelerated Multiple root E k+1 A E k 2 Newton-Raphson Example 2.17 (Acceleration of Convergence at a Double Root). Start with p 0 = 1.2 and use accelerated Newton-Raphson iteration to find the double root p = 1of f (x) = x 3 3x + 2. Since M = 2, the acceleration formula (31) becomes p k = p k 1 2 f (p k 1) f (p k 1 ) = p3 k 1 + 3p k 1 4 3p 2 k 1 3, and we obtain the values in Table 2.8. Table 2.9 compares the speed of convergence of the various root-finding methods that we have studied so far. The value of the constant A is different for each method.

Numerical Methods Using Matlab, 4 th Edition, 2004 John H. Mathews and Kurtis K. Fink ISBN: 0-13-065248-2 Prentice-Hall Inc. Upper Saddle River, New Jersey, USA http://vig.prenhall.com/