Math 2.0

Numerical analysis Definition

Gaussian quadrature

Builds on Quadrature ruleDegree of exactness of a quadrature ruleOrthogonal polynomials

Definition

Let (a,b)(a, b) be an interval, bounded or not, and let ww be a weight function on (a,b)(a, b). This means that ww is integrable, w>0w > 0 almost everywhere, and every moment ∫abxkw(x) dx\int_a^b x^k w(x)\,dx is finite. Let n≥1n \ge 1. Consider a quadrature rule ∫abf(x) w(x) dx≈∑i=1nwif(xi)\int_a^b f(x)\, w(x)\,dx \approx \sum_{i=1}^{n} w_i f(x_i) with distinct nodes x1,…,xnx_1, \dots, x_n in (a,b)(a, b) and real weights w1,…,wnw_1, \dots, w_n. It is an nn-point Gaussian quadrature rule for ww if it is an equality for every polynomial ff of degree at most 2n−12n - 1.

Remarks

For each ww and nn such a rule exists and is unique. Its nodes are the zeros of the degree nn orthogonal polynomial pnp_n for the inner product ⟨f,g⟩=∫abfg w dx\langle f, g \rangle = \int_a^b f g\, w\,dx, and its weights are positive. No nn-point rule is exact for all polynomials of degree 2n2n: the polynomial ∏i(x−xi)2\prod_{i}(x - x_i)^2 has a positive integral but vanishes at every node. So 2n−12n - 1 is the largest possible degree of exactness.

Example: w=1w = 1 on (−1,1)(-1, 1) and n=1n = 1. The rule ∫−11f≈2f(0)\int_{-1}^{1} f \approx 2 f(0) is exact for f=1f = 1 (both sides are 22) and for f=xf = x (both sides are 00), so it is the one-point Gaussian rule, the midpoint rule.

Non-example: the trapezoidal rule ∫−11f≈f(−1)+f(1)\int_{-1}^{1} f \approx f(-1) + f(1) has two nodes but fails for f=x2f = x^2, since the left side is 2/32/3 and the right side is 22. So it is not exact up to degree 33 and is not a Gaussian rule.

The rule for w=1w = 1 on (−1,1)(-1, 1) is Gauss–Legendre quadrature.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Degree of exactness of a quadrature rule concept
  2. Orthogonal polynomials concept
  3. Quadrature rule concept
  4. Gaussian quadrature definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Gaussian_quadrature
About this page
TagSZ6XCSQA5H
URIm2://SZ6XCSQA5H
Kinddefinition
WritingW0 stub
MSC65D32, 41A55, 33C45
DefinesGaussian quadrature
UsesQuadrature rule, Degree of exactness of a quadrature rule, Orthogonal polynomials

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.