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
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
Beamer Presentation Slides prepared by John Carroll Dublin City University
Context Bisection Method Example Theoretical Result
1
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 2 / 32
Context Bisection Method Example Theoretical Result
1
2
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 2 / 32
Context Bisection Method Example Theoretical Result
1
2
3
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 2 / 32
Context Bisection Method Example Theoretical Result
1
2
3
4
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 2 / 32
Context Bisection Method Example Theoretical Result
1
2
3
4
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 3 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 4 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 4 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 4 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 4 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 5 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 5 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 5 / 32
Context Bisection Method Example Theoretical Result
1
2
3
4
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 6 / 32
Context Bisection Method Example Theoretical Result
IVT Illustration Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 7 / 32
Context Bisection Method Example Theoretical Result
IVT Illustration
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 7 / 32
Context Bisection Method Example Theoretical Result
IVT Illustration
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 7 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 8 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 8 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 8 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 8 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 8 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 9 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 9 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 9 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 9 / 32
Context Bisection Method Example Theoretical Result
⋄ If f(p1) and f(a1) have the same sign, p ∈ (p1, b1). Set a2 = p1 and b2 = b1.
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 9 / 32
Context Bisection Method Example Theoretical Result
⋄ If f(p1) and f(a1) have the same sign, p ∈ (p1, b1). Set a2 = p1 and b2 = b1. ⋄ If f(p1) and f(a1) have opposite signs, p ∈ (a1, p1). Set a2 = a1 and b2 = p1.
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 9 / 32
Context Bisection Method Example Theoretical Result
x y f (a) f (p2) f (p1) f (b) y 5 f (x) a 5 a1 b 5 b1 p p1 p2 p3 a1 b1 p1 p2 a2 b2 p3 a3 b3
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 10 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 11 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 11 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 11 / 32
Context Bisection Method Example Theoretical Result
2 (ai + bi);
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 11 / 32
Context Bisection Method Example Theoretical Result
2 (ai + bi);
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 11 / 32
Context Bisection Method Example Theoretical Result
2 (ai + bi);
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 11 / 32
Context Bisection Method Example Theoretical Result
2 (ai + bi);
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 11 / 32
Context Bisection Method Example Theoretical Result
2 (ai + bi);
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 11 / 32
Context Bisection Method Example Theoretical Result
2 (ai + bi);
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 11 / 32
Context Bisection Method Example Theoretical Result
2 (ai + bi);
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 11 / 32
Context Bisection Method Example Theoretical Result
2 (ai + bi);
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 11 / 32
Context Bisection Method Example Theoretical Result
2 (ai + bi);
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 11 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 12 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 12 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 12 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 12 / 32
Context Bisection Method Example Theoretical Result
1
2
3
4
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 13 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 14 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 14 / 32
Context Bisection Method Example Theoretical Result
IVT Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 15 / 32
Context Bisection Method Example Theoretical Result
IVT
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 15 / 32
Context Bisection Method Example Theoretical Result
IVT
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 15 / 32
Context Bisection Method Example Theoretical Result
IVT
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 15 / 32
Context Bisection Method Example Theoretical Result
IVT
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 15 / 32
Context Bisection Method Example Theoretical Result
Iter an bn pn f (an) f (pn) RelErr 1 1.000000 2.000000 1.500000
2.375 0.33333
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 16 / 32
Context Bisection Method Example Theoretical Result
Iter an bn pn f (an) f (pn) RelErr 1 1.000000 2.000000 1.500000
2.375 0.33333 2 1.000000 1.500000 1.250000
0.20000
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 16 / 32
Context Bisection Method Example Theoretical Result
Iter an bn pn f (an) f (pn) RelErr 1 1.000000 2.000000 1.500000
2.375 0.33333 2 1.000000 1.500000 1.250000
0.20000 3 1.250000 1.500000 1.375000
0.162 0.09091
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 16 / 32
Context Bisection Method Example Theoretical Result
Iter an bn pn f (an) f (pn) RelErr 1 1.000000 2.000000 1.500000
2.375 0.33333 2 1.000000 1.500000 1.250000
0.20000 3 1.250000 1.500000 1.375000
0.162 0.09091 4 1.250000 1.375000 1.312500
0.04762 5 1.312500 1.375000 1.343750
0.02326 6 1.343750 1.375000 1.359375
0.01149 7 1.359375 1.375000 1.367188
0.032 0.00571 8 1.359375 1.367188 1.363281
0.00287 9 1.363281 1.367188 1.365234
0.000 0.00143 10 1.363281 1.365234 1.364258
0.00072 11 1.364258 1.365234 1.364746
0.00036 12 1.364746 1.365234 1.364990
0.00018 13 1.364990 1.365234 1.365112
0.00009
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 16 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 17 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 17 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 17 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 17 / 32
Context Bisection Method Example Theoretical Result Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 18 / 32
Context Bisection Method Example Theoretical Result
1
2
3
4
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 19 / 32
Context Bisection Method Example Theoretical Result
n=1 approximating a zero p of f with
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 20 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 21 / 32
Context Bisection Method Example Theoretical Result
2(an + bn) for all n ≥ 1, it follows that
The Bisection Method R L Burden & J D Faires 21 / 32
Context Bisection Method Example Theoretical Result
n=1 converges to p with rate of convergence O
2n
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 22 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 23 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 23 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 23 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 24 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 24 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 24 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 25 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 25 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 25 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 25 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 25 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 25 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 26 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 26 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 26 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 26 / 32
Context Bisection Method Example Theoretical Result
Numerical Analysis (Chapter 2) The Bisection Method R L Burden & J D Faires 26 / 32
y x
y=f(x) a b f(a) f(b)
y x
K y=f(x) a b f(a) f(b)
y x
y=f(x) c K a b f(a) f(b)
Return to Bisection Method
x y f(a) f(b) y 5 f (x) K (a, f(a)) (b, f(b)) a b c
Return to Bisection Method Example