solutions of equations in one variable the bisection
play

Solutions of Equations in One Variable The Bisection Method - PowerPoint PPT Presentation

Solutions of Equations in One Variable The Bisection Method Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University 2011 Brooks/Cole, Cengage Learning c


  1. Solutions of Equations in One Variable The Bisection Method Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University � 2011 Brooks/Cole, Cengage Learning c

  2. Context Bisection Method Example Theoretical Result Outline Context: The Root-Finding Problem 1 Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 2 / 32

  3. Context Bisection Method Example Theoretical Result Outline Context: The Root-Finding Problem 1 Introducing the Bisection Method 2 Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 2 / 32

  4. Context Bisection Method Example Theoretical Result Outline Context: The Root-Finding Problem 1 Introducing the Bisection Method 2 Applying the Bisection Method 3 Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 2 / 32

  5. Context Bisection Method Example Theoretical Result Outline Context: The Root-Finding Problem 1 Introducing the Bisection Method 2 Applying the Bisection Method 3 A Theoretical Result for the Bisection Method 4 Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 2 / 32

  6. Context Bisection Method Example Theoretical Result Outline Context: The Root-Finding Problem 1 Introducing the Bisection Method 2 Applying the Bisection Method 3 A Theoretical Result for the Bisection Method 4 Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 3 / 32

  7. Context Bisection Method Example Theoretical Result The Root-Finding Problem A Zero of function f ( x ) Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 4 / 32

  8. Context Bisection Method Example Theoretical Result The Root-Finding Problem A Zero of function f ( x ) We now consider one of the most basic problems of numerical approximation, namely the root-finding problem. Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 4 / 32

  9. Context Bisection Method Example Theoretical Result The Root-Finding Problem A Zero of function f ( x ) We now consider one of the most basic problems of numerical approximation, namely the root-finding problem. This process involves finding a root, or solution, of an equation of the form f ( x ) = 0 for a given function f . Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 4 / 32

  10. Context Bisection Method Example Theoretical Result The Root-Finding Problem A Zero of function f ( x ) We now consider one of the most basic problems of numerical approximation, namely the root-finding problem. This process involves finding a root, or solution, of an equation of the form f ( x ) = 0 for a given function f . A root of this equation is also called a zero of the function f . Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 4 / 32

  11. Context Bisection Method Example Theoretical Result The Root-Finding Problem Historical Note Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 5 / 32

  12. Context Bisection Method Example Theoretical Result The Root-Finding Problem Historical Note The problem of finding an approximation to the root of an equation can be traced back at least to 1700 B . C . E . Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 5 / 32

  13. Context Bisection Method Example Theoretical Result The Root-Finding Problem Historical Note The problem of finding an approximation to the root of an equation can be traced back at least to 1700 B . C . E . A cuneiform table in the Yale Babylonian Collection dating from that period gives a sexigesimal (base-60) number equivalent to 1 . 414222 as an approximation to √ 2 a result that is accurate to within 10 − 5 . Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 5 / 32

  14. Context Bisection Method Example Theoretical Result Outline Context: The Root-Finding Problem 1 Introducing the Bisection Method 2 Applying the Bisection Method 3 A Theoretical Result for the Bisection Method 4 Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 6 / 32

  15. Context Bisection Method Example Theoretical Result The Bisection Method Overview We first consider the Bisection (Binary search) Method which is based on the Intermediate Value Theorem (IVT). IVT Illustration Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 7 / 32

  16. Context Bisection Method Example Theoretical Result The Bisection Method Overview We first consider the Bisection (Binary search) Method which is based on the Intermediate Value Theorem (IVT). IVT Illustration Suppose a continuous function f , defined on [ a , b ] is given with f ( a ) and f ( b ) of opposite sign. Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 7 / 32

  17. Context Bisection Method Example Theoretical Result The Bisection Method Overview We first consider the Bisection (Binary search) Method which is based on the Intermediate Value Theorem (IVT). IVT Illustration Suppose a continuous function f , defined on [ a , b ] is given with f ( a ) and f ( b ) of opposite sign. By the IVT, there exists a point p ∈ ( a , b ) for which f ( p ) = 0 . In what follows, it will be assumed that the root in this interval is unique. Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 7 / 32

  18. Context Bisection Method Example Theoretical Result Bisection Technique Main Assumptions Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 8 / 32

  19. Context Bisection Method Example Theoretical Result Bisection Technique Main Assumptions Suppose f is a continuous function defined on the interval [ a , b ] , with f ( a ) and f ( b ) of opposite sign. Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 8 / 32

  20. Context Bisection Method Example Theoretical Result Bisection Technique Main Assumptions Suppose f is a continuous function defined on the interval [ a , b ] , with f ( a ) and f ( b ) of opposite sign. The Intermediate Value Theorem implies that a number p exists in ( a , b ) with f ( p ) = 0. Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 8 / 32

  21. Context Bisection Method Example Theoretical Result Bisection Technique Main Assumptions Suppose f is a continuous function defined on the interval [ a , b ] , with f ( a ) and f ( b ) of opposite sign. The Intermediate Value Theorem implies that a number p exists in ( a , b ) with f ( p ) = 0. Although the procedure will work when there is more than one root in the interval ( a , b ) , we assume for simplicity that the root in this interval is unique. Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 8 / 32

  22. Context Bisection Method Example Theoretical Result Bisection Technique Main Assumptions Suppose f is a continuous function defined on the interval [ a , b ] , with f ( a ) and f ( b ) of opposite sign. The Intermediate Value Theorem implies that a number p exists in ( a , b ) with f ( p ) = 0. Although the procedure will work when there is more than one root in the interval ( a , b ) , we assume for simplicity that the root in this interval is unique. The method calls for a repeated halving (or bisecting) of subintervals of [ a , b ] and, at each step, locating the half containing p . Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 8 / 32

  23. Context Bisection Method Example Theoretical Result Bisection Technique Computational Steps Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 9 / 32

  24. Context Bisection Method Example Theoretical Result Bisection Technique Computational Steps To begin, set a 1 = a and b 1 = b , and let p 1 be the midpoint of [ a , b ] ; that is, p 1 = a 1 + b 1 − a 1 = a 1 + b 1 . 2 2 Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 9 / 32

  25. Context Bisection Method Example Theoretical Result Bisection Technique Computational Steps To begin, set a 1 = a and b 1 = b , and let p 1 be the midpoint of [ a , b ] ; that is, p 1 = a 1 + b 1 − a 1 = a 1 + b 1 . 2 2 If f ( p 1 ) = 0, then p = p 1 , and we are done. Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 9 / 32

  26. Context Bisection Method Example Theoretical Result Bisection Technique Computational Steps To begin, set a 1 = a and b 1 = b , and let p 1 be the midpoint of [ a , b ] ; that is, p 1 = a 1 + b 1 − a 1 = a 1 + b 1 . 2 2 If f ( p 1 ) = 0, then p = p 1 , and we are done. If f ( p 1 ) � = 0, then f ( p 1 ) has the same sign as either f ( a 1 ) or f ( b 1 ) . Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 9 / 32

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend