![]()
MATH566 Lesson 22: Gauss quadrature
|
Weighted quadrature - method of moments
Optimal sampling - Gauss quadrature
Common Gauss quadrature methods:
Gauss-Legendre
Gauss-Chebyshev
Gauss-Laguerre
Gauss-Legendre
![]()
Method of moments: review of simplest case
|
known through data set ( sample)
Set a simple, predefined integration domain, e.g., , ,
Monomial basis set: conditions
Solve above system to find weights , obtain formula with error
What if is not defined (infinite) at some points in the integration domain?
![]()
Integrals with singular integrands
|
Consider integrals of form
Typically:
is smooth, e.g., (all derivatives exist, are finite)
captures some singular behavior of the integral
Examples:
Chebyshev weight
Laguerre weight
Hermite weight
![]()
Method of moments for weighted integrals
|
As in the case, choose evaluation points, ,
Choose a basis set, e.g., monomials and impose exact result when using exact, analytical weight function
Example for Chebyshev, , , ,
![]()
Optimal sampling
|
Up to now the sampling points were arbitrarily chosen
One could obtain more accurate method by optimal choice of , more of the moment equations could be satisfied, instead of only
Difficult to do within method of moments since a non-linear system results
![]()
Gauss quadrature
|
Solving the nonlinear system can be avoided by use of orthogonal polynomials
Consider
In method of moments there are parameters, weights, 's
Can impose exact quadrature up to degree
Consider a polynomial of degree
Introduce scalar product
with assumed to satisfy scalar product properties ()
![]()
Gauss quadrature: polynomial division
|
Introduce polynomials orthogonal w.r.t. scalar product
polynomials can be found by Gram-Schmidt algorithm applied to
Divide by
Example divided by , , ,
![]()
Gauss quadrature: basic idea
|
Integrate
However, orthogonal w.r.t. to all polynomials of degree at most
Obtain
implying that a formula that is exact for polynomials up to degree is also exact for of degree .
Gauss observation: the only values of that arise are . Can be chosen such that ? Yes!
Choose evaluation point such that , roots of
![]()
Gauss-Legendre quadrature
|
, weight , scalar product
Orthogonal family of polynomials are the Legendre polynomials
Gauss-Legendre quadrature formulas
GL2 with roots ,
exact up to cubics
GL3 with roots ,
exact up to quintics
![]()
Gauss-Chebyshev quadrature
|
Gauss-Chebyshev sample points given by roots of ,
Gauss-Chebyshev weights are especially simple, they're all equal!
![]()
Gauss-Laguerre quadrature
|
Relevant for Laplace transforms
Gauss-Laguerre 2, exact up to cubics
Gauss-Laguerre 3, exact up to quintics
![]()
Gauss-Hermite quadrature
|
Relevant for Gauss distributions, diffusion equations
Gauss-Hermite 2, exact up to cubics
Gauss-Hermite 3, exact up to quintics
Wiener transform of is
specifies the temperature after one unit of time of a bar whose initial temperature was .