Docsity

Gaussian Quadrature Rules: Derivation and Error Analysis - Prof. Weizhang Huang, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
HW10(a) 1. Problem 5.3.
2. It is known that the two-point Gaussian quadrature rule is given by
!1
โˆ’1f(x)dx =f(โˆ’
1
โˆš3)+f(1
โˆš3)+ 8
45
f(4)(ฮพ)
4!
Assume that we use n+ 1 equidistant nodes for [a, b]:
xi=a+ih, i =0, ..., n
where h=(bโˆ’a)/n. Derive the composite Gaussian rule by applying the above
Gaussian quadrature rule to "xi+1
xif(x)dx. Find the error term for the composite
rule.
3. Consider the quadrature rule in the form
!1
โˆ’1f(x)dx =w0f(x0)+w1f(x1)+E(f)
Use undetermined coefficients method and symmetry argument to find x0,x
1,w
0,
and w1. Find the error term.
4. Consider the quadrature rule in the form
!1
โˆ’1f(x)dx =w0f(x0)+w1f(x1) + +w2f(x2)+E(f)
Use undetermined coefficients method and symmetry argument to find x0,x
1,x
2,w
0,w
1,
and w2. Find the error term.
5

Partial preview of the text

Download Gaussian Quadrature Rules: Derivation and Error Analysis - Prof. Weizhang Huang and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

HW10(a) 1. Problem 5.3.

  1. It is known that the two-point Gaussian quadrature rule is given by โˆซ (^1) โˆ’ 1 f^ (x)dx^ =^ f^ (โˆ’^

โˆš^1

3 ) +^ f^ (

โˆš^1

f (4)^ (ฮพ) 4! Assume that we use n + 1 equidistant nodes for [a, b]:

xi = a + ih, i = 0, ..., n

where h = (b โˆ’ a)/n. Derive the composite Gaussian rule by applying the above Gaussian quadrature rule to โˆซ^ xx (^) i^ i +1f (x)dx. Find the error term for the composite rule.

  1. Consider the quadrature rule in the form โˆซ (^1) โˆ’ 1 f^ (x)dx^ =^ w^0 f^ (x^0 ) +^ w^1 f^ (x^1 ) +^ E(f^ ) Use undetermined coefficients method and symmetry argument to find x 0 , x 1 , w 0 , and w 1. Find the error term.
  2. Consider the quadrature rule in the form โˆซ (^1) โˆ’ 1 f^ (x)dx^ =^ w^0 f^ (x^0 ) +^ w^1 f^ (x^1 ) + +w^2 f^ (x^2 ) +^ E(f^ ) Use undetermined coefficients method and symmetry argument to find x 0 , x 1 , x 2 , w 0 , w 1 , and w 2. Find the error term.