Numerical Differentiation & Integration Elements of Numerical Integration I
Numerical Analysis (9th Edition) R L Burden & J D Faires
Beamer Presentation Slides prepared by John Carroll Dublin City University
Numerical Differentiation & Integration Elements of Numerical - - PowerPoint PPT Presentation
Numerical Differentiation & Integration Elements of Numerical Integration I Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University c 2011 Brooks/Cole,
Beamer Presentation Slides prepared by John Carroll Dublin City University
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
1
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 2 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
1
2
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 2 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
1
2
3
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 2 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
1
2
3
4
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 2 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
1
2
3
4
5
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 2 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
1
2
3
4
5
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 3 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 4 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 4 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a f(x) dx is called
i=0 aif(xi) to approximate
a f(x) dx.
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 4 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 5 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 5 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
n
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 5 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a
a n
a n
n
a n
a
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 6 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a
n
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 7 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a
n
a
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 7 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a
n
a
a n
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 7 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
1
2
3
4
5
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 8 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 9 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a f(x) dx, let x0 = a,
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 9 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a f(x) dx, let x0 = a,
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 9 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a f(x) dx, let x0 = a,
a
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 9 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
See Theorem can be applied
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 10 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
See Theorem can be applied
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 10 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
See Theorem can be applied
x0
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 10 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
See Theorem can be applied
x0
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 10 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 11 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
x0
a
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 11 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
x0
a
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 11 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 12 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 12 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a
a f(x) dx is approximated by the
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 12 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 13 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
1
2
3
4
5
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 14 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
y x a 5 x0 x2 5 b x1 y 5 f (x) y 5 P2(x)
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 15 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 16 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 16 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 16 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 16 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 17 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 17 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 17 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
x0
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 17 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
See Theorem Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 18 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
See Theorem implies that
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 18 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
See Theorem implies that
x0
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 18 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 19 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 19 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 19 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 20 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
x0
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 20 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
x0
x0
x0
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 20 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
See Formula Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 21 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
See Formula we obtain
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 21 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
See Formula we obtain
x0
Elements of Numerical Integration I R L Burden & J D Faires 21 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
See Formula we obtain
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 21 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
x0
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 22 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
1
2
3
4
5
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 23 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 24 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 25 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 25 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 26 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 26 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 27 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
1
2
3
4
5
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 28 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 29 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 29 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 29 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 29 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 29 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 30 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a
a
a
n
n
n
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 30 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
a
a
a
n
n
n
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 30 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 31 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 31 / 36
Introduction Trapezoidal Rule Simpson’s Rule Comparison Measuring Precision
Numerical Analysis (Chapter 4) Elements of Numerical Integration I R L Burden & J D Faires 31 / 36
a
a
a
See Diagram Return to Derivation of the Trapezoidal Rule Return to Derivation of Simpson’s Method
a
Return to the Weighted Mean Value Theorem for Integrals
Return to Derivation of Simpson’s Rule