On Computing the Points and Weights for Gauss--Legendre Quadrature
Author:
- Paul N. SwarztrauberPSPaul N. Swarztrauber
- 1 January 2003
- journal article
- Published by Society for Industrial & Applied Mathematics (SIAM) in SIAM Journal on Scientific Computing
- Vol. 24 (3) , 945-954
Abstract
Three methods are compared for computing n points xi and weights w(xi) for Gauss--Legendre quadrature. The eigensystem method computes the points as the eigenvalues of a symmetric tridiagonal matrix, and the weights are computed from its eigenvectors. The resulting error is O(n) for the points and $O(n^2)$ for the weights. Using an inverse Taylor series computation for the points, Yakimiw [J. Comput. Phys., 129 (1996), pp. 406--430] reduced the point error growth to O(1). He also reduced the error in the weights to O(n) and obtained uniform pointwise relative accuracy. However, the points xi cluster quadratically near the end points $x = \pm 1$, where for some n = nmax they coalesce or even exchange to within machine accuracy, and computation fails. Although this has not been a problem in the past, it could soon become so because weather models are now approaching resolutions with n > 1000. Here we compare these methods to the Fourier--Newton method, which consists of Newton's method for computing the tra...
Keywords
This publication has 9 references indexed in Scilit:
- Generalized Discrete Spherical Harmonic TransformsJournal of Computational Physics, 2000
- On the computation of the Gauss–Legendre quadrature formula with a given precisionJournal of Computational and Applied Mathematics, 1999
- SPHEREPACK 3.0: A Model Development FacilityMonthly Weather Review, 1999
- Accurate Computation of Weights in Classical Gauss–Christoffel Quadrature RulesJournal of Computational Physics, 1996
- Minimax approximations to the zeros of Pn(x) and Gauss-Legendre quadratureJournal of Computational and Applied Mathematics, 1995
- The Vector Harmonic Transform Method for Solving Partial Differential Equations in Spherical GeometryMonthly Weather Review, 1993
- A parallel algorithm for computing the eigenvalues of a symmetric tridiagonal matrixMathematics of Computation, 1993
- Accurate Singular Values of Bidiagonal MatricesSIAM Journal on Scientific and Statistical Computing, 1990
- Some Modified Matrix Eigenvalue ProblemsSIAM Review, 1973