TOPICS
Search

Golub-Welsch Algorithm


The Golub-Welsch algorithm constructs a Gaussian quadrature rule from the eigenvalues and eigenvectors of a Jacobi matrix. Let mu be a finite positive measure on the real line, with finite moments through order 2n-1 and a positive definite polynomial inner product through degree n-1, where n is a positive integer. Form the leading n×n Jacobi matrix J_n from its orthogonal polynomials. The eigenvalues x_i of J_n are the quadrature nodes. For corresponding real unit eigenvectors v^((i)), the weights are

 w_i=mu_0(v_1^((i)))^2,

where mu_0=intdmu is the total mass. The rule

 intf(x)dmu(x) approx sum_(i=1)^nw_if(x_i)

is exact for polynomials of polynomial degree at most 2n-1 (Golub and Welsch 1969).

The Jacobi matrix is a real symmetric matrix and a tridiagonal matrix, so its spectrum can be computed with specialized symmetric tridiagonal eigensolvers. Modifying its terminal entries similarly constructs Radau quadrature and Lobatto quadrature rules with prescribed endpoints (Golub 1973).


See also

Gaussian Quadrature, Jacobi Matrix, Lobatto Quadrature, Radau Quadrature

Explore with Wolfram|Alpha

References

Golub, G. H. "Some Modified Matrix Eigenvalue Problems." SIAM Rev. 15, 318-334, 1973. https://doi.org/10.1137/1015032.Golub, G. H. and Welsch, J. H. "Calculation of Gauss Quadrature Rules." Math. Comput. 23, 221-230, 1969. https://doi.org/10.1090/S0025-5718-69-99647-1.

Cite this as:

Weisstein, Eric W. "Golub-Welsch Algorithm." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Golub-WelschAlgorithm.html

Subject classifications