Legendre-Gauss quadrature is a Gaussian quadrature over the interval with weighting function
. This numerical
integration method is also called Legendre quadrature. The abscissas
for positive integer quadrature order
are given by the polynomial
roots of the Legendre polynomials
, which occur symmetrically about 0. The weights
are
|
(1)
| |||
|
(2)
|
where
is the coefficient of
in
.
For Legendre polynomials,
|
(3)
|
(Hildebrand 1956, p. 323), so
|
(4)
| |||
|
(5)
|
Additionally,
|
(6)
| |||
|
(7)
|
(Hildebrand 1956, p. 324), so
|
(8)
| |||
|
(9)
|
Using the recurrence relation
|
(10)
| |||
|
(11)
|
(correcting Hildebrand 1956, p. 324) gives
|
(12)
| |||
|
(13)
|
(Hildebrand 1956, p. 324).
The weights satisfy
|
(14)
|
which follows from the identity
|
(15)
|
For a real-valued function with
continuous derivatives
on
, the error
is
|
(16)
|
for some
(Hildebrand 1956, p. 325).
Beyer (1987) gives a table of abscissas and weights up to , and Chandrasekhar (1960) up to
for
even.
| 2 | 1.000000 | |
| 3 | 0 | 0.888889 |
| 0.555556 | ||
| 4 | 0.652145 | |
| 0.347855 | ||
| 5 | 0 | 0.568889 |
| 0.478629 | ||
| 0.236927 |
The exact abscissas are given in the table below.
| 2 | 1 | |
| 3 | 0 | |
| 4 | ||
| 5 | 0 | |
For , the nonzero abscissas
are polynomial roots of
when
is even and of
when
is odd. These polynomials
have polynomial degree
, where
is the floor function,
giving 2, 2, 4, 4, 6, 6, 8, 8, 10, 10, 12, ... for
, 3, ... (OEIS A052928).
This gives an upper bound for the algebraic degrees
of the nonzero abscissas.
At odd order, the central abscissa
is 0 and has algebraic degree 1.
The weights belonging to nonzero abscissas are polynomial
roots of polynomials of degrees
for
. These degrees
are 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, ... for
,
3, ... (OEIS A008619). At odd
order, the central weight is the rational
number
, giving 2,
,
,
, ... for
,
3, 5, 7, .... The following polynomials give the weight 2 for
and the weights belonging to
nonzero abscissas for
, with the rational
central weight omitted at odd
order.
|
(17)
| |
|
(18)
| |
|
(19)
| |
|
(20)
| |
|
(21)
| |
|
(22)
| |
|
(23)
| |
|
(24)
|
(OEIS A112734).
Legendre-Gauss quadrature has a higher polynomial degree of exactness than Clenshaw-Curtis quadrature with the same number of abscissas. For many smooth integrands the two rules nevertheless have comparable accuracy (Trefethen 2008).
For a Cauchy principal value integral on an interval symmetric about its simple pole, pairing quadrature abscissas on opposite sides of the pole permits the use of even-order Legendre-Gauss quadrature (Piessens 1970, Noble 2000).