![]()
MATH566 Lesson 19: Numerical integration - polynomials
|
Integration of polynomial approximant
Integration operator: continuous and discrete cases, integration matrix
Definite integration numerical formulas:
trapezoid
Simpson
Second Simpson
Composite quadrature
![]()
Integration of polynomial approximants
|
Consider , difficult to compute, and the problem of computation of
The integration operator is linear
Approach to numerical integration is similar to numerical differentiation
Construct approximant of ,
Approximate by ,
Easiest approximant to work with: polynomial, e.g., polynomial interpolant
![]()
Continuous and discrete integration operators
|
, dificult to compute, only (partially) known through sample
Continuous-discrete operator analogy
![]()
Integration (quadrature) matrix
|
Computation of a definite integral yields a scalar from a function sample
Consider computation of the primitive
difficult to compute implies difficult to compute, known through sample
Discrete analog, a linear mapping from ( sample) to ( sample)
![]()
Integration matrix components
|
Lagrange form of polynomial interpolant of
Integral of polynomial interpolant
In matrix form the above is
Components of
![]()
Definite integration quadrature formulas
|
To approximate , evaluate
known through data set ( sample)
Construct polynomial interpolant
Trapezoid formula: , linear, ,
![]()
Definite integration quadrature formulas
|
Simpson formula: , quadratic, ,
![]()
Definite integration quadrature formulas
|
Second Simpson formula: , cubic,
![]()
Error analysis
|
Previous quadrature formulas based upon -degree polynomial interpolation
Numerical integration error is evaluated by integral of interpolation error
![]()
Common single-interval error estimates
|
Trapezoid
Simpson
Try with to obtain
Terms of order cancel out!
Peano kernel theorem is used to obtain
![]()
Composite quadrature
|
Increased accuracy arises from more sample points
Do not use high degree polynomial interpolant (Runge phenomenon)
Apply a lower-order formula repeatedly over subintervals “composite”
Composite trapezoid formula
Assume equidistant sampling
Composite trapezoid error, over , error is
Composite trapezoid is second-order accurate.
![]()
Compiste Simpson
|
Assume ,
Composite Simpson formula
Assume equidistant sampling
Composite Simpson error, over , error is
Composite Simpson is fourth-order accurate.