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

Size: px
Start display at page:

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

Transcription

1 Chapter 5 by Martin Mendez, 1

2 Roots of Equations Part Why? b m b a + b + c = 0 = aa 4ac But a b + c + d + e + f = 0 sin + = 0 =? =? by Martin Mendez,

3 Nonlinear Equation Solvers Bracketing Graphical Open Methods Bisection False Position Regula-Falsi Newton Raphson Secant All Iterative by Martin Mendez, 3

4 Eample 5.1 by Martin Mendez, 4

5 Bracketing Methods Or, two point methods for finding roots Two initial iti guesses for the root are required. These guesses must bracket or be on either side of the root. If one root of a real and continuous function, f=0, is bounded dby values = l, = u then f l. f u <0. The function changes sign on opposite sides of the root by Martin Mendez, 5

6 by Martin Mendez, 6

7 No answer No root Nice case one root Oops!! two roots!! Three roots Might work for a while!! by Martin Mendez, 7

8 Figure 5.3 Two roots Might work for a while!! Discontinuous function. Need special method by Martin Mendez, 8

9 MANY-MANY roots. What do we do? f=sin 10+cos 3 by Martin Mendez, 9

10 The Bisection Method For the arbitrary equation of one variable, f=0 1. Pick l and u such that they bound the root of interest, check if f l.f u <0.. Estimate the root by evaluating f[ l + u /]. 3. Find the pair If f l. f[ l + u /]<0, root lies in the lower interval, then u = l + u / and go to step. by Martin Mendez, 10

11 If f l. f[ l + u /]>0, root lies in the upper interval, then l = [ l + u /, go to step. If f l. f[ l + u /]=0, then root is l + u / and terminate. l l + + l u 4. Compare ε s with ε a l + u 5. If ε a < ε s, stop. Otherwise repeat the process. or u l + u u p100% p100% by Martin Mendez, 11

12 by Martin Mendez, 1

13 by Martin Mendez, 13

14 by Martin Mendez, 14

15 Evaluation of Method Pros Easy Always find root Number of iterations required to attain an absolute error can be computed a priori. Cons Slow Know a and b that bound root Multiple roots No account tis taken of f l and f u, if f l is closer to zero, it is likely l that root is closer to l. by Martin Mendez, 15

16 by Martin Mendez, 16

17 by Martin Mendez, 17

18 How Many Iterations will It Take? Length of the first Interval L o =b-a After 1 iteration L 1 =L o / After iterations L =L o /4 After k iterations L =L k k o / ε a L k 100% ε a ε s by Martin Mendez, 18

19 If the absolute magnitude of the error is ε s 100% = 10 4 and L o =, how many iterations will you have to do to get the required accuracy in the solution? 10 4 = k k = 10 4 k 14.3 = 15 by Martin Mendez, 19

20 by Martin Mendez, 0

21 The False-Position Method Regula-Falsi If a real root is bounded by l and u of f=0, Then we can approimate the solution by doing a linear interpolation between the points [ l, f l ] and [ u, f u ] to find the r value such that l r =0, l is the linear approimation of f. by Martin Mendez, 1

22 by Martin Mendez,

23 Procedure 1. Find a pair of values of, l and u such that f l =f l <0 and f u =f u >0.. Estimate the value of the root from the following formula Refer to Bo 5.1 and evaluate f r. by Martin Mendez, 3

24 by Martin Mendez, 4

25 by Martin Mendez, 5

26 by Martin Mendez, 6

27 by Martin Mendez, 7

28 3. Use the new point to replace one of the original points, keeping the two points on opposite sides of the ais. If f r <0 then l = r == > f l =f r If f r >0 then u = r == > f u =f r If f r =0 then you have found the root and need go no further! by Martin Mendez, 8

29 4. See if the new l and u are close enough for convergence to be declared. If they are not go back to step. Why this method? Faster Always converges for a single root. See Sec.5.3.1, Pitfalls of the False-Position Method Note: Always check by substituting estimated root in the original equation to determine whether f r 0. by Martin Mendez, 9

30 by Martin Mendez, 30

31 by Martin Mendez, 31

32 OPEN METHODS by Martin Mendez, 3

33 Simple Fied-point Iteration Rearrange the function so that is on the left side of the equation: f k = 0 g = = k o g given, k = 1, 1,... Bracketing methods are convergent. Fied-point methods may sometime diverge, depending on the stating point initial iti guess and how the function behaves. Chapter 6 33

34 Eample: f = f 0 g = or g = + or g = 1+ M Chapter 6 34

35 by Martin Mendez, 35

36 Almost linear by Martin Mendez, 36

37 Convergence Figure 6. =g can be epressed as a pair of equations: y 1 = y =g component equations Plot them separately. Chapter 6 37

38 by Martin Mendez, 38

39 Conclusion Fied-point iteration converges if g p 1 l slope of the line f = When the method converges, the error is roughly proportional to or less than the error of the previous step, therefore it is called linearly convergent. Chapter 6 39

40 by Martin Mendez, 40

41 Newton Raphson Method Newton-Raphson Method Most widely used method. Based on Taylor series epansion:! 3 1 i i i i O f f f f Δ + Δ + Δ + = + 0 when f the value of The root is! 1 i 1 i 1 i i i i = Rearranging, 1 i i i i f f + = + Solve for 1 1 i i i i i i i f f f f = + + Newton-Raphson formula Chapter 6 41 i f

42 A convenient method for functions whose derivatives can be evaluated analytically. It may not be convenient for functions whose derivatives cannot be evaluated analytically. Fig. 6.5 Chapter 6 4

43 Fig. 6.6 Ej. f=ep-- Chapter 6 43

44 by Martin Mendez, 44

45 by Martin Mendez, 45

46 The Secant Method A slight variation of Newton s method for functions whose derivatives are difficult to evaluate. For these cases the derivative can be approimated by a backward finite divided difference. f 1 i i 1 i f i f i 1 i i 1 1 = i f i = 1,,3,K f i f i 1 i+ i Chapter 6 46

47 Fig. 6.7 Requires two initial estimates of, e.g, o, 1. However, because f is not required to change signs between estimates, it is not classified as a bracketing method. The secant method has the same properties as Newton s method. Convergence is not guaranteed for all o, f. Chapter 6 47

48 by Lale Yurttas, Teas A&M University Chapter 6 48

49 Fig. 6.8 Chapter 6 49

50 The Modified Secant Method The Modified Secant Method Rather than using two arbitrary values to estimate the derivative, an alternative approach involves a fractional perturbation of the independent variable to estimate f` f. ' i i i i f f + δ δ 1 i i i i i i i f f f + = + δ δ Where delta is a small fraction change Chapter 6 50

51 Chapter 6 51

52 Chapter 6 5

53 Roots of Polynomials Chapter 7 The roots of polynomials such as f = a + a + a + K+ a n o 1 n Follow these rules: 1. For an nth order equation, there are n real or comple roots.. If n is odd, there is at least one real root. 3. If comple root eist in conjugate pairs that is, λ+μiμ and λ-μi, μ where i=sqrt-1. Chapter 7 53 n

54 Conventional Methods The efficacy of bracketing and open methods depends on whether the problem being solved involves comple roots. If only real roots eist, these methods could be used. However, Finding good initial guesses complicates both the open and bracketing methods, also the open methods could be susceptible to divergence. Special methods have been developed to find the real and comple roots of polynomials Müller and Bairstow methods. Chapter 7 54

55 by Martin Mendez, 55

56 by Martin Mendez, 56

57 Müller Method Müller s method obtains a root estimate by projecting a parabola to the ais through three function values. Figure 7.3 Chapter 7 57

58 Müller Method The method consists of deriving the coefficients of parabola that goes through the three points: 1. Write the equation in a convenient form: f = a + b + c Chapter 7 58

59 The parabola should intersect the three points [. The parabola should intersect the three points [ o, f o ], [ 1, f 1 ], [, f ]. The coefficients of the polynomial can be estimated by substituting three polynomial can be estimated by substituting three points to give c b a f + + = c b a f c b a f o o o + + = Three equations can be solved for three unknowns, c b a f + + = 3. Three equations can be solved for three unknowns, a, b, c. Since two of the terms in the 3 rd equation are zero, it can be immediately solved for c=f. b a f f b a f f o o o + = + = Chapter b a f f + =

60 If - h - h If 1 1 o 1 o = = f f f f o o = = δ δ h h a h h b h h o o o o o + = + + δ δ Solved for a h a h b h = δ Solved for a and b 1 f h b o + δ δ δ f c ah b h h a o o = + = + = δ Chapter 7 60

61 Roots can be found by applying an alternative form of quadratic formula: 3 = + c c b ± b 4 ac The error can be calculated as ε a = % ±term yields two roots, the sign is chosen to agree with b. This will result in a largest denominator, and will give root estimate that is closest to. Chapter 7 61

62 Once 3 is determined, the process is repeated using the following guidelines: 1. If only real roots are being located, choose the two original points that are nearest the new root estimate, 3.. If both real and comple roots are estimated, t employ a sequential approach just like in secant method, 1,, and 3 to replace o, 1, and. Chapter 7 6

63 Chapter 7 63

64 Chapter 7 64

65 Chapter 7 65

66 Tarea Chapter 7 66

67 Polinomial evaluation and Differenciation Chapter 6 67

68 Evaluating the polinomial Evaluating the polinomial and its derivative Chapter 6 68

69 Polynomial deflation This is to eliminate the found root from the polynomial Forma factorizada Roots Si se divide el polinomio entre cualquiera de sus factores, el resultado serà un polinomio de grado 4 con un residuo igual a cero. 69

70 Seudocódigo r= an an=0 DOFOR i = n-1,0,-1 s=ai ai=r R=s+r*t ENDDO Ejemplo: f=-4+6=^+-44 Dividiento entre -4 Usando los parametros de suedocódigo: n=,a0=-4,a1=,a=1 y t=4 Entonces r=a=1 a=0 Divide un polinomio Iterando en el loop desde i=-1 hasta 0: de n-ésimo grado entre un monomial il Para i=1 -t Chapter 6 70

71 s=a1= a1=r=1 r=s+rt=+14=6 Para i = 0, s=a0=-4 a0=r=6 r=-4+64=0 Entonces, a0+a1=6+ Chapter 6 71

72 Chapter 6 7

Scientific Computing. Roots of Equations

Scientific Computing. Roots of Equations ECE257 Numerical Methods and Scientific Computing Roots of Equations Today s s class: Roots of Equations Polynomials Polynomials A polynomial is of the form: ( x) = a 0 + a 1 x + a 2 x 2 +L+ a n x n f

More information

Numerical Methods. Root Finding

Numerical Methods. Root Finding Numerical Methods Solving Non Linear 1-Dimensional Equations Root Finding Given a real valued function f of one variable (say ), the idea is to find an such that: f() 0 1 Root Finding Eamples Find real

More information

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

Chapter 6. Nonlinear Equations. 6.1 The Problem of Nonlinear Root-finding. 6.2 Rate of Convergence Chapter 6 Nonlinear Equations 6. The Problem of Nonlinear Root-finding In this module we consider the problem of using numerical techniques to find the roots of nonlinear equations, f () =. Initially we

More information

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

PART I Lecture Notes on Numerical Solution of Root Finding Problems MATH 435 PART I Lecture Notes on Numerical Solution of Root Finding Problems MATH 435 Professor Biswa Nath Datta Department of Mathematical Sciences Northern Illinois University DeKalb, IL. 60115 USA E mail: dattab@math.niu.edu

More information

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

Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Spring 2018 Instructor: Dr. Sateesh Mane. Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Spring 2018 Instructor: Dr. Sateesh Mane c Sateesh R. Mane 2018 3 Lecture 3 3.1 General remarks March 4, 2018 This

More information

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

Roots of Equations. ITCS 4133/5133: Introduction to Numerical Methods 1 Roots of Equations Roots of Equations Direct Search, Bisection Methods Regula Falsi, Secant Methods Newton-Raphson Method Zeros of Polynomials (Horner s, Muller s methods) EigenValue Analysis ITCS 4133/5133: Introduction

More information

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 4

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 4 2.29 Spring 2015 Lecture 4 Review Lecture 3 Truncation Errors, Taylor Series and Error Analysis Taylor series: 2 3 n n i1 i i i i i n f( ) f( ) f '( ) f ''( ) f '''( )... f ( ) R 2! 3! n! n1 ( n1) Rn f

More information

Exact and Approximate Numbers:

Exact and Approximate Numbers: Eact and Approimate Numbers: The numbers that arise in technical applications are better described as eact numbers because there is not the sort of uncertainty in their values that was described above.

More information

CHAPTER-II ROOTS OF EQUATIONS

CHAPTER-II ROOTS OF EQUATIONS CHAPTER-II ROOTS OF EQUATIONS 2.1 Introduction The roots or zeros of equations can be simply defined as the values of x that makes f(x) =0. There are many ways to solve for roots of equations. For some

More information

The iteration formula for to find the root of the equation

The iteration formula for to find the root of the equation SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY, COIMBATORE- 10 DEPARTMENT OF SCIENCE AND HUMANITIES SUBJECT: NUMERICAL METHODS & LINEAR PROGRAMMING UNIT II SOLUTIONS OF EQUATION 1. If is continuous in then under

More information

SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS BISECTION METHOD

SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS BISECTION METHOD BISECTION METHOD If a function f(x) is continuous between a and b, and f(a) and f(b) are of opposite signs, then there exists at least one root between a and b. It is shown graphically as, Let f a be negative

More information

SOLVING EQUATIONS OF ONE VARIABLE

SOLVING EQUATIONS OF ONE VARIABLE 1 SOLVING EQUATIONS OF ONE VARIABLE ELM1222 Numerical Analysis Some of the contents are adopted from Laurene V. Fausett, Applied Numerical Analysis using MATLAB. Prentice Hall Inc., 1999 2 Today s lecture

More information

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.

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. 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

More information

ROOT FINDING REVIEW MICHELLE FENG

ROOT FINDING REVIEW MICHELLE FENG ROOT FINDING REVIEW MICHELLE FENG 1.1. Bisection Method. 1. Root Finding Methods (1) Very naive approach based on the Intermediate Value Theorem (2) You need to be looking in an interval with only one

More information

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

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science EAD 115 Numerical Solution of Engineering and Scientific Problems David M. Rocke Department of Applied Science Taylor s Theorem Can often approximate a function by a polynomial The error in the approximation

More information

Numerical Analysis Fall. Roots: Open Methods

Numerical Analysis Fall. Roots: Open Methods Numerical Analysis 2015 Fall Roots: Open Methods Open Methods Open methods differ from bracketing methods, in that they require only a single starting value or two starting values that do not necessarily

More information

Root Finding Methods

Root Finding Methods Root Finding Methods Let's take a simple problem ax 2 +bx+c=0 Can calculate roots using the quadratic equation or just by factoring Easy and does not need any numerical methods How about solving for the

More information

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

SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY, COIMBATORE- 10 DEPARTMENT OF SCIENCE AND HUMANITIES B.E - EEE & CIVIL UNIT I SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY, COIMBATORE- 10 DEPARTMENT OF SCIENCE AND HUMANITIES B.E - EEE & CIVIL SUBJECT: NUMERICAL METHODS ( SEMESTER VI ) UNIT I SOLUTIONS OF EQUATIONS AND EIGEN VALUE PROBLEMS

More information

Nonlinear Equations. Chapter The Bisection Method

Nonlinear Equations. Chapter The Bisection Method Chapter 6 Nonlinear Equations Given a nonlinear function f(), a value r such that f(r) = 0, is called a root or a zero of f() For eample, for f() = e 016064, Fig?? gives the set of points satisfying y

More information

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

Zeroes of Transcendental and Polynomial Equations. Bisection method, Regula-falsi method and Newton-Raphson method Zeroes of Transcendental and Polynomial Equations Bisection method, Regula-falsi method and Newton-Raphson method PRELIMINARIES Solution of equation f (x) = 0 A number (real or complex) is a root of the

More information

Chapter 1. Root Finding Methods. 1.1 Bisection method

Chapter 1. Root Finding Methods. 1.1 Bisection method Chapter 1 Root Finding Methods We begin by considering numerical solutions to the problem f(x) = 0 (1.1) Although the problem above is simple to state it is not always easy to solve analytically. This

More information

UNIT II SOLUTION OF NON-LINEAR AND SIMULTANEOUS LINEAR EQUATION

UNIT II SOLUTION OF NON-LINEAR AND SIMULTANEOUS LINEAR EQUATION UNIT II SOLUTION OF NON-LINEAR AND SIMULTANEOUS LINEAR EQUATION. If g x is continuous in a, b, then under what condition the iterative method x = g x has a unique solution in a, b? g x < in a, b. State

More information

Finding roots. Lecture 4

Finding roots. Lecture 4 Finding roots Lecture 4 Finding roots: Find such that 0 or given. Bisection method: The intermediate value theorem states the obvious: i a continuous unction changes sign within a given interval, it has

More information

Solving Non-Linear Equations (Root Finding)

Solving Non-Linear Equations (Root Finding) Solving Non-Linear Equations (Root Finding) Root finding Methods What are root finding methods? Methods for determining a solution of an equation. Essentially finding a root of a function, that is, a zero

More information

CHAPTER 4 ROOTS OF EQUATIONS

CHAPTER 4 ROOTS OF EQUATIONS CHAPTER 4 ROOTS OF EQUATIONS Chapter 3 : TOPIC COVERS (ROOTS OF EQUATIONS) Definition of Root of Equations Bracketing Method Graphical Method Bisection Method False Position Method Open Method One-Point

More information

Solution of Algebric & Transcendental Equations

Solution of Algebric & Transcendental Equations Page15 Solution of Algebric & Transcendental Equations Contents: o Introduction o Evaluation of Polynomials by Horner s Method o Methods of solving non linear equations o Bracketing Methods o Bisection

More information

Example - Newton-Raphson Method

Example - Newton-Raphson Method Eample - Newton-Raphson Method We now consider the following eample: minimize f( 3 3 + -- 4 4 Since f ( 3 2 + 3 3 and f ( 6 + 9 2 we form the following iteration: + n 3 ( n 3 3( n 2 ------------------------------------

More information

Root Finding (and Optimisation)

Root Finding (and Optimisation) Root Finding (and Optimisation) M.Sc. in Mathematical Modelling & Scientific Computing, Practical Numerical Analysis Michaelmas Term 2018, Lecture 4 Root Finding The idea of root finding is simple we want

More information

THE SOLUTION OF NONLINEAR EQUATIONS f( x ) = 0.

THE SOLUTION OF NONLINEAR EQUATIONS f( x ) = 0. THE SOLUTION OF NONLINEAR EQUATIONS f( ) = 0. Noliear Equatio Solvers Bracketig. Graphical. Aalytical Ope Methods Bisectio False Positio (Regula-Falsi) Fied poit iteratio Newto Raphso Secat The root of

More information

SOLVING QUADRATICS. Copyright - Kramzil Pty Ltd trading as Academic Teacher Resources

SOLVING QUADRATICS. Copyright - Kramzil Pty Ltd trading as Academic Teacher Resources SOLVING QUADRATICS Copyright - Kramzil Pty Ltd trading as Academic Teacher Resources SOLVING QUADRATICS General Form: y a b c Where a, b and c are constants To solve a quadratic equation, the equation

More information

Root Finding: Close Methods. Bisection and False Position Dr. Marco A. Arocha Aug, 2014

Root Finding: Close Methods. Bisection and False Position Dr. Marco A. Arocha Aug, 2014 Root Finding: Close Methods Bisection and False Position Dr. Marco A. Arocha Aug, 2014 1 Roots Given function f(x), we seek x values for which f(x)=0 Solution x is the root of the equation or zero of the

More information

Numerical Analysis: Solving Nonlinear Equations

Numerical Analysis: Solving Nonlinear Equations Numerical Analysis: Solving Nonlinear Equations Mirko Navara http://cmp.felk.cvut.cz/ navara/ Center for Machine Perception, Department of Cybernetics, FEE, CTU Karlovo náměstí, building G, office 104a

More information

Numerical Methods. Roots of Equations

Numerical Methods. Roots of Equations Roots of Equations by Norhayati Rosli & Nadirah Mohd Nasir Faculty of Industrial Sciences & Technology norhayati@ump.edu.my, nadirah@ump.edu.my Description AIMS This chapter is aimed to compute the root(s)

More information

APPLICATIONS OF DIFFERENTIATION

APPLICATIONS OF DIFFERENTIATION 4 APPLICATIONS OF DIFFERENTIATION APPLICATIONS OF DIFFERENTIATION 4.8 Newton s Method In this section, we will learn: How to solve high degree equations using Newton s method. INTRODUCTION Suppose that

More information

Algebra Concepts Equation Solving Flow Chart Page 1 of 6. How Do I Solve This Equation?

Algebra Concepts Equation Solving Flow Chart Page 1 of 6. How Do I Solve This Equation? Algebra Concepts Equation Solving Flow Chart Page of 6 How Do I Solve This Equation? First, simplify both sides of the equation as much as possible by: combining like terms, removing parentheses using

More information

A Review of Bracketing Methods for Finding Zeros of Nonlinear Functions

A Review of Bracketing Methods for Finding Zeros of Nonlinear Functions Applied Mathematical Sciences, Vol 1, 018, no 3, 137-146 HIKARI Ltd, wwwm-hikaricom https://doiorg/101988/ams018811 A Review of Bracketing Methods for Finding Zeros of Nonlinear Functions Somkid Intep

More information

Computational Methods. Solving Equations

Computational Methods. Solving Equations Computational Methods Solving Equations Manfred Huber 2010 1 Solving Equations Solving scalar equations is an elemental task that arises in a wide range of applications Corresponds to finding parameters

More information

NUMERICAL METHODS FOR SOLVING EQUATIONS

NUMERICAL METHODS FOR SOLVING EQUATIONS Mathematics Revision Guides Numerical Methods for Solving Equations Page of M.K. HOME TUITION Mathematics Revision Guides Level: AS / A Level AQA : C3 Edecel: C3 OCR: C3 NUMERICAL METHODS FOR SOLVING EQUATIONS

More information

(One Dimension) Problem: for a function f(x), find x 0 such that f(x 0 ) = 0. f(x)

(One Dimension) Problem: for a function f(x), find x 0 such that f(x 0 ) = 0. f(x) Solving Nonlinear Equations & Optimization One Dimension Problem: or a unction, ind 0 such that 0 = 0. 0 One Root: The Bisection Method This one s guaranteed to converge at least to a singularity, i not

More information

15 Nonlinear Equations and Zero-Finders

15 Nonlinear Equations and Zero-Finders 15 Nonlinear Equations and Zero-Finders This lecture describes several methods for the solution of nonlinear equations. In particular, we will discuss the computation of zeros of nonlinear functions f(x).

More information

Bisection and False Position Dr. Marco A. Arocha Aug, 2014

Bisection and False Position Dr. Marco A. Arocha Aug, 2014 Bisection and False Position Dr. Marco A. Arocha Aug, 2014 1 Given function f, we seek x values for which f(x)=0 Solution x is the root of the equation or zero of the function f Problem is known as root

More information

Numerical Solution of f(x) = 0

Numerical Solution of f(x) = 0 Numerical Solution of f(x) = 0 Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@pdx.edu ME 350: Finding roots of f(x) = 0 Overview Topics covered in these slides

More information

NUMERICAL AND STATISTICAL COMPUTING (MCA-202-CR)

NUMERICAL AND STATISTICAL COMPUTING (MCA-202-CR) NUMERICAL AND STATISTICAL COMPUTING (MCA-202-CR) Autumn Session UNIT 1 Numerical analysis is the study of algorithms that uses, creates and implements algorithms for obtaining numerical solutions to problems

More information

Review Algebra and Functions & Equations (10 questions)

Review Algebra and Functions & Equations (10 questions) Paper 1 Review No calculator allowed [ worked solutions included ] 1. Find the set of values of for which e e 3 e.. Given that 3 k 1 is positive for all values of, find the range of possible values for

More information

Numerical Analysis MTH603

Numerical Analysis MTH603 Numerical Analysis Course Contents Solution of Non Linear Equations Solution of Linear System of Equations Approximation of Eigen Values Interpolation and Polynomial Approximation Numerical Differentiation

More information

Applied Mathematics Letters. Combined bracketing methods for solving nonlinear equations

Applied Mathematics Letters. Combined bracketing methods for solving nonlinear equations Applied Mathematics Letters 5 (01) 1755 1760 Contents lists available at SciVerse ScienceDirect Applied Mathematics Letters journal homepage: www.elsevier.com/locate/aml Combined bracketing methods for

More information

Answer Key 1973 BC 1969 BC 24. A 14. A 24. C 25. A 26. C 27. C 28. D 29. C 30. D 31. C 13. C 12. D 12. E 3. A 32. B 27. E 34. C 14. D 25. B 26.

Answer Key 1973 BC 1969 BC 24. A 14. A 24. C 25. A 26. C 27. C 28. D 29. C 30. D 31. C 13. C 12. D 12. E 3. A 32. B 27. E 34. C 14. D 25. B 26. Answer Key 969 BC 97 BC. C. E. B. D 5. E 6. B 7. D 8. C 9. D. A. B. E. C. D 5. B 6. B 7. B 8. E 9. C. A. B. E. D. C 5. A 6. C 7. C 8. D 9. C. D. C. B. A. D 5. A 6. B 7. D 8. A 9. D. E. D. B. E. E 5. E.

More information

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.

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. 3.1 Introduction Solve non-linear real equation f(x) = 0 for real root or zero x. E.g. x 3 +1.5x 1.5 =0, tan x x =0. Practical existence test for roots: by intermediate value theorem, f C[a, b] & f(a)f(b)

More information

Finding Roots of Equations

Finding Roots of Equations Finding Roots of Equations Solution Methods Overview Bisection/Half-interval Search Method of false position/regula Falsi Secant Method Newton Raphson Iteration Method Many more. Open Methods Bracketing

More information

Determining the Roots of Non-Linear Equations Part I

Determining the Roots of Non-Linear Equations Part I Determining the Roots of Non-Linear Equations Part I Prof. Dr. Florian Rupp German University of Technology in Oman (GUtech) Introduction to Numerical Methods for ENG & CS (Mathematics IV) Spring Term

More information

APPM 1360 Final Exam Spring 2016

APPM 1360 Final Exam Spring 2016 APPM 36 Final Eam Spring 6. 8 points) State whether each of the following quantities converge or diverge. Eplain your reasoning. a) The sequence a, a, a 3,... where a n ln8n) lnn + ) n!) b) ln d c) arctan

More information

Roots of equations, minimization, numerical integration

Roots of equations, minimization, numerical integration Roots of equations, minimization, numerical integration Alexander Khanov PHYS6260: Experimental Methods is HEP Oklahoma State University November 1, 2017 Roots of equations Find the roots solve equation

More information

Solution of Nonlinear Equations

Solution of Nonlinear Equations Solution of Nonlinear Equations (Com S 477/577 Notes) Yan-Bin Jia Sep 14, 017 One of the most frequently occurring problems in scientific work is to find the roots of equations of the form f(x) = 0. (1)

More information

Chapter 3: Root Finding. September 26, 2005

Chapter 3: Root Finding. September 26, 2005 Chapter 3: Root Finding September 26, 2005 Outline 1 Root Finding 2 3.1 The Bisection Method 3 3.2 Newton s Method: Derivation and Examples 4 3.3 How To Stop Newton s Method 5 3.4 Application: Division

More information

Limits and Their Properties

Limits and Their Properties Chapter 1 Limits and Their Properties Course Number Section 1.1 A Preview of Calculus Objective: In this lesson you learned how calculus compares with precalculus. I. What is Calculus? (Pages 42 44) Calculus

More information

Optimization. Totally not complete this is...don't use it yet...

Optimization. Totally not complete this is...don't use it yet... Optimization Totally not complete this is...don't use it yet... Bisection? Doing a root method is akin to doing a optimization method, but bi-section would not be an effective method - can detect sign

More information

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

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn Review Taylor Series and Error Analysis Roots of Equations Linear Algebraic Equations Optimization Numerical Differentiation and Integration Ordinary Differential Equations Partial Differential Equations

More information

6.1 The function can be set up for fixed-point iteration by solving it for x

6.1 The function can be set up for fixed-point iteration by solving it for x 1 CHAPTER 6 6.1 The function can be set up for fied-point iteration by solving it for 1 sin i i Using an initial guess of 0 = 0.5, the first iteration yields 1 sin 0.5 0.649637 a 0.649637 0.5 100% 3% 0.649637

More information

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

1. Method 1: bisection. The bisection methods starts from two points a 0 and b 0 such that Chapter 4 Nonlinear equations 4.1 Root finding Consider the problem of solving any nonlinear relation g(x) = h(x) in the real variable x. We rephrase this problem as one of finding the zero (root) of a

More information

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

Chapter 4. Solution of Non-linear Equation. Module No. 1. Newton s Method to Solve Transcendental Equation Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Mathematics National Institute of Technology Durgapur Durgapur-713209 email: anita.buie@gmail.com 1 . Chapter 4 Solution of Non-linear

More information

Solution of Nonlinear Equations

Solution of Nonlinear Equations Solution of Nonlinear Equations In many engineering applications, there are cases when one needs to solve nonlinear algebraic or trigonometric equations or set of equations. These are also common in Civil

More information

B.Tech. Theory Examination (Semester IV) Engineering Mathematics III

B.Tech. Theory Examination (Semester IV) Engineering Mathematics III Solved Question Paper 5-6 B.Tech. Theory Eamination (Semester IV) 5-6 Engineering Mathematics III Time : hours] [Maimum Marks : Section-A. Attempt all questions of this section. Each question carry equal

More information

Part six: Numerical differentiation and numerical integration

Part six: Numerical differentiation and numerical integration Part six: Numerical differentiation and numerical integration Numerical integration formulas. Rectangle rule = = 21.1 Trapezoidal rule = 21.2 Simpson 1/3 = 21.2.3 Simpson 3/8 = =,,,, (21.3) (21.10) (21.15)

More information

Summer Review Packet for Students Entering AP Calculus BC. Complex Fractions

Summer Review Packet for Students Entering AP Calculus BC. Complex Fractions Summer Review Packet for Students Entering AP Calculus BC Comple Fractions When simplifying comple fractions, multiply by a fraction equal to 1 which has a numerator and denominator composed of the common

More information

A. Incorrect! Apply the rational root test to determine if any rational roots exist.

A. Incorrect! Apply the rational root test to determine if any rational roots exist. College Algebra - Problem Drill 13: Zeros of Polynomial Functions No. 1 of 10 1. Determine which statement is true given f() = 3 + 4. A. f() is irreducible. B. f() has no real roots. C. There is a root

More information

INTRODUCTION TO NUMERICAL ANALYSIS

INTRODUCTION TO NUMERICAL ANALYSIS INTRODUCTION TO NUMERICAL ANALYSIS Cho, Hyoung Kyu Department of Nuclear Engineering Seoul National University 3. SOLVING NONLINEAR EQUATIONS 3.1 Background 3.2 Estimation of errors in numerical solutions

More information

Finding the Roots of f(x) = 0. Gerald W. Recktenwald Department of Mechanical Engineering Portland State University

Finding the Roots of f(x) = 0. Gerald W. Recktenwald Department of Mechanical Engineering Portland State University Finding the Roots of f(x) = 0 Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@me.pdx.edu These slides are a supplement to the book Numerical Methods with Matlab:

More information

Finding the Roots of f(x) = 0

Finding the Roots of f(x) = 0 Finding the Roots of f(x) = 0 Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@me.pdx.edu These slides are a supplement to the book Numerical Methods with Matlab:

More information

4.7. Newton s Method. Procedure for Newton s Method HISTORICAL BIOGRAPHY

4.7. Newton s Method. Procedure for Newton s Method HISTORICAL BIOGRAPHY 4. Newton s Method 99 4. Newton s Method HISTORICAL BIOGRAPHY Niels Henrik Abel (18 189) One of the basic problems of mathematics is solving equations. Using the quadratic root formula, we know how to

More information

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

APPROXIMATION OF ROOTS OF EQUATIONS WITH A HAND-HELD CALCULATOR. Jay Villanueva Florida Memorial University Miami, FL APPROXIMATION OF ROOTS OF EQUATIONS WITH A HAND-HELD CALCULATOR Jay Villanueva Florida Memorial University Miami, FL jvillanu@fmunivedu I Introduction II III IV Classical methods A Bisection B Linear interpolation

More information

Figure 1: Graph of y = x cos(x)

Figure 1: Graph of y = x cos(x) Chapter The Solution of Nonlinear Equations f(x) = 0 In this chapter we will study methods for find the solutions of functions of single variables, ie values of x such that f(x) = 0 For example, f(x) =

More information

Order of convergence

Order of convergence Order of convergence Linear and Quadratic Order of convergence Computing square root with Newton s Method Given a > 0, p def = a is positive root of equation Newton s Method p k+1 = p k p2 k a 2p k = 1

More information

Math 2300 Calculus II University of Colorado

Math 2300 Calculus II University of Colorado Math 3 Calculus II University of Colorado Spring Final eam review problems: ANSWER KEY. Find f (, ) for f(, y) = esin( y) ( + y ) 3/.. Consider the solid region W situated above the region apple apple,

More information

Math-3 Lesson 4-6 Polynomial and Rational Inequalities

Math-3 Lesson 4-6 Polynomial and Rational Inequalities Math-3 Lesson 4-6 Polynomial and Rational Inequalities SM3 HANDOUT 4-6 Polynomial and Rational Inequalities Graph the general shape of the equation. y 4 1 Positive lead coefficient, even degree nd degree

More information

Goals for This Lecture:

Goals for This Lecture: Goals for This Lecture: Learn the Newton-Raphson method for finding real roots of real functions Learn the Bisection method for finding real roots of a real function Look at efficient implementations of

More information

Page No.1. MTH603-Numerical Analysis_ Muhammad Ishfaq

Page No.1. MTH603-Numerical Analysis_ Muhammad Ishfaq Page No.1 File Version v1.5.3 Update: (Dated: 3-May-011) This version of file contains: Content of the Course (Done) FAQ updated version.(these must be read once because some very basic definition and

More information

Numerical Analysis & Computer Programming

Numerical Analysis & Computer Programming ++++++++++ Numerical Analysis & Computer Programming Previous year Questions from 07 to 99 Ramanasri Institute W E B S I T E : M A T H E M A T I C S O P T I O N A L. C O M C O N T A C T : 8 7 5 0 7 0 6

More information

ACCUPLACER MATH 0311 OR MATH 0120

ACCUPLACER MATH 0311 OR MATH 0120 The University of Teas at El Paso Tutoring and Learning Center ACCUPLACER MATH 0 OR MATH 00 http://www.academics.utep.edu/tlc MATH 0 OR MATH 00 Page Factoring Factoring Eercises 8 Factoring Answer to Eercises

More information

CLASS NOTES Computational Methods for Engineering Applications I Spring 2015

CLASS NOTES Computational Methods for Engineering Applications I Spring 2015 CLASS NOTES Computational Methods for Engineering Applications I Spring 2015 Petros Koumoutsakos Gerardo Tauriello (Last update: July 2, 2015) IMPORTANT DISCLAIMERS 1. REFERENCES: Much of the material

More information

MATH 2 - PROBLEM SETS

MATH 2 - PROBLEM SETS MATH - PROBLEM SETS Problem Set 1: 1. Simplify and write without negative eponents or radicals: a. c d p 5 y cd b. 5p 1 y. Joe is standing at the top of a 100-foot tall building. Mike eits the building

More information

Pre-Calculus Module 4

Pre-Calculus Module 4 Pre-Calculus Module 4 4 th Nine Weeks Table of Contents Precalculus Module 4 Unit 9 Rational Functions Rational Functions with Removable Discontinuities (1 5) End Behavior of Rational Functions (6) Rational

More information

Today s class. Numerical differentiation Roots of equation Bracketing methods. Numerical Methods, Fall 2011 Lecture 4. Prof. Jinbo Bi CSE, UConn

Today s class. Numerical differentiation Roots of equation Bracketing methods. Numerical Methods, Fall 2011 Lecture 4. Prof. Jinbo Bi CSE, UConn Today s class Numerical differentiation Roots of equation Bracketing methods 1 Numerical Differentiation Finite divided difference First forward difference First backward difference Lecture 3 2 Numerical

More information

Lecture 8. Root finding II

Lecture 8. Root finding II 1 Introduction Lecture 8 Root finding II In the previous lecture we considered the bisection root-bracketing algorithm. It requires only that the function be continuous and that we have a root bracketed

More information

C) 2 D) 4 E) 6. ? A) 0 B) 1 C) 1 D) The limit does not exist.

C) 2 D) 4 E) 6. ? A) 0 B) 1 C) 1 D) The limit does not exist. . The asymptotes of the graph of the parametric equations = t, y = t t + are A) =, y = B) = only C) =, y = D) = only E) =, y =. What are the coordinates of the inflection point on the graph of y = ( +

More information

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.

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. The Bisection method or BOLZANO s method or Interval halving method: Find the positive root of x 3 x = 1 correct to four decimal places by bisection method Let f x = x 3 x 1 Here f 0 = 1 = ve, f 1 = ve,

More information

Virtual University of Pakistan

Virtual University of Pakistan Virtual University of Pakistan File Version v.0.0 Prepared For: Final Term Note: Use Table Of Content to view the Topics, In PDF(Portable Document Format) format, you can check Bookmarks menu Disclaimer:

More information

Methods for Advanced Mathematics (C3) Coursework Numerical Methods

Methods for Advanced Mathematics (C3) Coursework Numerical Methods Woodhouse College 0 Page Introduction... 3 Terminolog... 3 Activit... 4 Wh use numerical methods?... Change of sign... Activit... 6 Interval Bisection... 7 Decimal Search... 8 Coursework Requirements on

More information

The Islamic University of Gaza Faculty of Engineering Civil Engineering Department. Numerical Analysis ECIV Chapter 5. Bracketing Methods

The Islamic University of Gaza Faculty of Engineering Civil Engineering Department. Numerical Analysis ECIV Chapter 5. Bracketing Methods The Islami University of Gaza Faulty of Engineering Civil Engineering Department Numerial Analysis ECIV 3306 Chapter 5 Braketing Methods Assoiate Prof. Mazen Abualtayef Civil Engineering Department, The

More information

GENG2140, S2, 2012 Week 7: Curve fitting

GENG2140, S2, 2012 Week 7: Curve fitting GENG2140, S2, 2012 Week 7: Curve fitting Curve fitting is the process of constructing a curve, or mathematical function, f(x) that has the best fit to a series of data points Involves fitting lines and

More information

SAZ3C NUMERICAL AND STATISTICAL METHODS Unit : I -V

SAZ3C NUMERICAL AND STATISTICAL METHODS Unit : I -V SAZ3C NUMERICAL AND STATISTICAL METHODS Unit : I -V UNIT-I Introduction Mathematical Preliminaries Errors: Computations, Formula Errors in a Series Approximation Roots of Equations Linear Equations Bisection

More information

is the intuition: the derivative tells us the change in output y (from f(b)) in response to a change of input x at x = b.

is the intuition: the derivative tells us the change in output y (from f(b)) in response to a change of input x at x = b. Uses of differentials to estimate errors. Recall the derivative notation df d is the intuition: the derivative tells us the change in output y (from f(b)) in response to a change of input at = b. Eamples.

More information

MATH 3795 Lecture 12. Numerical Solution of Nonlinear Equations.

MATH 3795 Lecture 12. Numerical Solution of Nonlinear Equations. MATH 3795 Lecture 12. Numerical Solution of Nonlinear Equations. Dmitriy Leykekhman Fall 2008 Goals Learn about different methods for the solution of f(x) = 0, their advantages and disadvantages. Convergence

More information

Polynomial Functions of Higher Degree

Polynomial Functions of Higher Degree SAMPLE CHAPTER. NOT FOR DISTRIBUTION. 4 Polynomial Functions of Higher Degree Polynomial functions of degree greater than 2 can be used to model data such as the annual temperature fluctuations in Daytona

More information

(f(x) P 3 (x)) dx. (a) The Lagrange formula for the error is given by

(f(x) P 3 (x)) dx. (a) The Lagrange formula for the error is given by 1. QUESTION (a) Given a nth degree Taylor polynomial P n (x) of a function f(x), expanded about x = x 0, write down the Lagrange formula for the truncation error, carefully defining all its elements. How

More information

Calculus - Chapter 2 Solutions

Calculus - Chapter 2 Solutions Calculus - Chapter Solutions. a. See graph at right. b. The velocity is decreasing over the entire interval. It is changing fastest at the beginning and slowest at the end. c. A = (95 + 85)(5) = 450 feet

More information

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

NON-LINEAR ALGEBRAIC EQUATIONS Lec. 5.1: Nonlinear Equation in Single Variable NON-LINEAR ALGEBRAIC EQUATIONS Lec. 5.1: Nonlinear Equation in Single Variable Dr. Niket Kaisare Department of Chemical Engineering IIT Madras NPTEL Course: MATLAB Programming for Numerical Computations

More information

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 5. Nonlinear Equations

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 5. Nonlinear Equations Lecture Notes to Accompany Scientific Computing An Introductory Survey Second Edition by Michael T Heath Chapter 5 Nonlinear Equations Copyright c 2001 Reproduction permitted only for noncommercial, educational

More information

QUIZ ON CHAPTERS 1 AND 2 - SOLUTIONS REVIEW / LIMITS AND CONTINUITY; MATH 150 SPRING 2017 KUNIYUKI 105 POINTS TOTAL, BUT 100 POINTS = 100%

QUIZ ON CHAPTERS 1 AND 2 - SOLUTIONS REVIEW / LIMITS AND CONTINUITY; MATH 150 SPRING 2017 KUNIYUKI 105 POINTS TOTAL, BUT 100 POINTS = 100% QUIZ ON CHAPTERS AND 2 - SOLUTIONS REVIEW / LIMITS AND CONTINUITY; MATH 50 SPRING 207 KUNIYUKI 05 POINTS TOTAL, BUT 00 POINTS = 00% ) For a), b), and c) below, bo in the correct answer. (6 points total;

More information

Today. Introduction to optimization Definition and motivation 1-dimensional methods. Multi-dimensional methods. General strategies, value-only methods

Today. Introduction to optimization Definition and motivation 1-dimensional methods. Multi-dimensional methods. General strategies, value-only methods Optimization Last time Root inding: deinition, motivation Algorithms: Bisection, alse position, secant, Newton-Raphson Convergence & tradeos Eample applications o Newton s method Root inding in > 1 dimension

More information

1969 AP Calculus BC: Section I

1969 AP Calculus BC: Section I 969 AP Calculus BC: Section I 9 Minutes No Calculator Note: In this eamination, ln denotes the natural logarithm of (that is, logarithm to the base e).. t The asymptotes of the graph of the parametric

More information