Abstract
Summation formulas of the Euler–Maclaurin and Abel–Plana and their connections with several kinds of quadrature rules are studied. Besides the history of these formulas, several of their modifications and generalizations are considered. Connections between the Euler–Maclaurin formula and basic quadrature rules of Newton–Cotes type, as well as the composite Gauss–Legendre rule and its Lobatto modification are presented. Besides the basic Plana summation formula a few integral modifications (the midpoint summation formula, the Binet formula, Lindelöf formula) are introduced and analysed. Starting from the moments of their weight functions and applying the recent Mathematica package OrthogonalPolynomials, recursive coefficients in the three-term recurrence relation for the corresponding orthogonal polynomials are constructed, as well as the parameters (nodes and Christoffel numbers) of the corresponding Gaussian quadrature formula.
Access provided by CONRICYT-eBooks. Download chapter PDF
Similar content being viewed by others
Keywords
- Summation
- Euler–Maclaurin formula
- Abel–Plana formula
- Gaussian quadrature formula
- Orthogonal polynomial
- Three-term recurrence relation
Mathematics Subject Classification (2010)
1 Introduction and Preliminaries
A summation formula was discovered independently by Leonhard Euler [18, 19] and Colin Maclaurin [35] plays an important role in the broad area of numerical analysis, analytic number theory, approximation theory, as well as in many applications in other fields. This formula, today known as the Euler–Maclaurin summation formula,
was published first time by Euler in 1732 (without proof) in connection with the problem of determining the sum of the reciprocal squares,
which is known as the Basel problem. The brothers Johann and Jakob Bernoulli, Leibnitz, Stirling, etc. also dealt intensively by such a kind of problems. In modern terminology, the sum (2) represents the zeta function of 2, where more generally
Although at that time the theory of infinite series was not exactly based, it was observed a very slow convergence of this series, e.g. in order to compute directly the sum with an accuracy of six decimal places it requires taking into account at least a million first terms, because
Euler discovered the remarkable formula with much faster convergence
and obtained the value ζ(2) = 1. 644944… (with seven decimal digits). But the discovery of a general summation procedure (1) enabled Euler to calculate ζ(2) to 20 decimal places. For details see Gautschi [25, 26] and Varadarajan [61].
Using a generalized Newton identity for polynomials (when their degree tends to infinity), Euler [19] proved the exact result ζ(2) = π 2∕6. Using the same method he determined ζ(s) for even s = 2m up to 12,
Sometime later, using his own partial fraction expansion of the cotangent function, Euler obtained the general formula
where B 2ν are the Bernoulli numbers, which appear in the general Euler–Maclaurin summation formula (1). Detailed information about Euler’s complete works can be found in The Euler Archive ( http://eulerarchive.maa.org).
We return now to the general Euler–Maclaurin summation formula (1) which holds for any \(n,r \in \mathbb{N}\) and f ∈ C 2r[0, n]. As we mentioned before this formula was found independently by Maclaurin. While in Euler’s case the formula (1) was applied for computing slowly converging infinite series, in the second one Maclaurin used it to calculate integrals. A history of this formula was given by Barnes [5], and some details can be found in [3, 8, 25, 26, 38, 61].
Bernoulli numbers B k (B 0 = 1, B 1 = −1∕2, B 2 = 1∕6, B 3 = 0, B 4 = −1∕30, …) can be expressed as values at zero of the corresponding Bernoulli polynomials, which are defined by the generating function
Similarly, Euler polynomials can be introduced by
Bernoulli and Euler polynomials play a similar role in numerical analysis and approximation theory like orthogonal polynomials. First few Bernoulli polynomials are
Some interesting properties of these polynomials are
The error term E r (f) in (1) can be expressed in the form (cf. [8])
or in the form
where ⌊x⌋ denotes the largest integer that is not greater than x. Supposing f ∈ C 2r+1[0, n], after an integration by parts in (3) and recalling that the odd Bernoulli numbers are zero, we get (cf. [28, p. 455])
If f ∈ C 2r+2[0, n], using Darboux’s formula one can obtain (1), with
(cf. Whittaker and Watson [65, p. 128]). This expression for E r (f) can be also derived from (4), writting it in the form
and then by an integration by parts,
Because of B 2r+2(1) = B 2r+2(0) = B 2r+2, the last expression can be represented in the form (5).
Since
and
according to the Second Mean Value Theorem for Integrals, there exists η ∈ (0, 1) such that
The Euler–Maclaurin summation formula can be considered on an arbitrary interval (a, b) instead of (0, n). Namely, taking h = (b − a)∕n, t = a + xh, and f(x) = f((t − a)∕h) = φ(t), formula (1) reduces to
where, according to (6),
Remark 1.
An approach in the estimate of the remainder term of the Euler–Maclaurin formula was given by Ostrowski [47].
Remark 2.
The Euler–Maclaurin summation formula is implemented in Mathematica as the function NSum with option Method -> Integrate.
2 Connections Between Euler–Maclaurin Summation Formula and Some Basic Quadrature Rules of Newton–Cotes Type
In this section we first show a direct connection between the Euler–Maclaurin summation formula (1) and the well-known composite trapezoidal rule,
for calculating the integral
This rule for integrals over an arbitrary interval [a, b] can be presented in the form
where, as before, the sign ∑″ denotes summation with the first and last terms halved, h = (b − a)∕n, and E T(φ) is the remainder term.
Remark 3.
In general, the sequence of the composite trapezoidal sums converges very slowly with respect to step refinement, because of | E T(φ) | = O(h 2). However, the trapezoidal rule is very attractive in numerical integration of analytic and periodic functions, for which φ(t + b − a) = φ(t). In that case, the sequence of trapezoidal sums
converges geometrically when applied to analytic functions on periodic intervals or the real line. A nice survey on this subject, including history of this phenomenon, has been recently given by Trefethen and Weideman [59] (see also [64]). For example, when φ is a (b − a)-periodic and analytic function, such that | φ(z) | ≤ M in the half-plane Im z > −c for some c > 0, then for each n ≥ 1, the following estimate
holds. A similar result holds for integrals over \(\mathbb{R}\).
It is well known that there are certain types of integrals which can be transformed (by changing the variable of integration) to a form suitable for the trapezoidal rule. Such transformations are known as Exponential and Double Exponential Quadrature Rules (cf. [44–46, 57, 58]). However, the use of these transformations could introduce new singularities in the integrand and the analyticity strip may be lost. A nice discussion concerning the error theory of the trapezoidal rule, including several examples, has been recently given by Waldvogel [63].
Remark 4.
In 1990 Rahman and Schmeisser [51] gave a specification of spaces of functions for which the trapezoidal rule converges at a prescribed rate as n → +∞, where a correspondence is established between the speed of convergence and regularity properties of integrands. Some examples for these spaces were provided in [64].
In a general case, according to (1), it is clear that
where T n f and I n f are given by (9) and (10), respectively, and the remainder term E r T(f) is given by (6) for functions f ∈ C 2r+2[0, n].
Similarly, because of (7), the corresponding formula on the interval [a, b] is
where E r T(φ) is the corresponding remainder given by (8). Comparing this with (11) we see that E T(φ) = E 0 T(φ).
Notice that if φ (2r+2)(x) does not change its sign on (a, b), then E r T(φ) has the same sign as the first neglected term. Otherwise, when φ (2r+2)(x) is not of constant sign on (a, b), then it can be proved that (cf. [14, p. 299])
i.e., | E r T(φ) | = O(h 2r+2). Supposing that ∫ a +∞ | φ (2r+2)(x) | dx < +∞, this holds also in the limit case as b → +∞. This limit case enables applications of the Euler–Maclaurin formula in summation of infinite series, as well as for obtaining asymptotic formulas for a large b.
A standard application of the Euler–Maclaurin formula is in numerical integration. Namely, for a small constant h, the trapezoidal sum can be dramatically improved by subtracting appropriate terms with the values of derivatives at the endpoints a and b. In such a way, the corresponding approximations of the integral can be improved to O(h 4), O(h 6), etc.
Remark 5.
Rahman and Schmeisser [52] obtained generalizations of the trapezoidal rule and the Euler–Maclaurin formula and used them for constructing quadrature formulas for functions of exponential type over infinite intervals using holomorphic functions of exponential type in the right half-plane, or in a vertical strip, or in the whole plane. They also determined conditions which equate the existence of the improper integral to the convergence of its approximating series.
Remark 6.
In this connection an interesting question can be asked. Namely, what happens if the function \(\varphi \in C^{\infty }(\mathbb{R})\) and its derivatives are (b − a)-periodic, i.e., φ (2ν−1)(a) = φ (2ν−1)(b), ν = 1, 2, … ? The conclusion that T n (φ; h), in this case, must be exactly equal to ∫ a b φ(t) dt is wrong, but the correct conclusion is that E T(φ) decreases faster than any finite power of h as n tends to infinity.
Remark 7.
Also, the Euler–Maclaurin formula was used in getting an extrapolating method well-known as Romberg’s integration (cf. [14, pp. 302–308 and 546–523] and [39, pp. 158–164]).
In the sequel, we consider a quadrature sum with values of the function f at the points \(x = k + \frac{1} {2}\), k = 0, 1, …, n − 1, i.e., the so-called midpoint rule
Also, for this rule there exists the so-called second Euler–Maclaurin summation formula
for which
when f ∈ C 2r+2[0, n] (cf. [39, p. 157]). As before, I n f is given by (10).
The both formulas, (13) and (14), can be unified as
where τ = 0 for Q n ≡ T n and τ = 1∕2 for Q n ≡ M n . It is true, because of the fact that [50, p. 765] (see also [10])
If we take a combination of T n f and M n f as
which is, in fact, the well-known classical composite Simpson rule,
we obtain
Notice that the summation on the right-hand side in the previous equality starts with ν = 2, because the term for ν = 1 vanishes. For f ∈ C 2r+2[0, n] it can be proved that there exists ξ ∈ (0, n), such that
For some modification and generalizations of the Euler–Maclaurin formula, see [2, 7, 20–22, 37, 55, 60]. In 1965 Kalinin [29] derived an analogue of the Euler–Maclaurin formula for C ∞ functions, for which there is Taylor series at each positive integer x = ν,
where h = (b − a)∕n, and used it to find some new expansions for the gamma function, the ψ function, as well as the Riemann zeta function.
Using Bernoulli and Euler polynomials, B n (x) and E n (x), in 1960 Keda [30] established a quadrature formula similar to the Euler–Maclaurin,
where
and
for f ∈ C 2n+2[0, 1], where B n = B n (0) and E n = E n (0). The convergence of Euler–Maclaurin quadrature formulas on a class of smooth functions was considered by Vaskevič [62].
Some periodic analogues of the Euler–Maclaurin formula with applications to number theory have been developed by Berndt and Schoenfeld [6]. In the last section of [6], they showed how the composite Newton–Cotes quadrature formulas (Simpson’s parabolic and Simpson’s three-eighths rules), as well as various other quadratures (e.g., Weddle’s composite rule), can be derived from special cases of their periodic Euler–Maclaurin formula, including explicit formulas for the remainder term.
3 Euler–Maclaurin Formula Based on the Composite Gauss–Legendre Rule and Its Lobatto Modification
In the papers [15, 48, 56], the authors considered generalizations of the Euler–Maclaurin formula for some particular Newton–Cotes rules, as well as for 2- and 3-point Gauss–Legendre and Lobatto formulas (see also [4, 17, 33, 34]).
Recently, we have done [40] the extensions of Euler–Maclaurin formulas by replacing the quadrature sum Q n by the composite Gauss–Legendre shifted formula, as well as by its Lobatto modification. In these cases, several special rules have been obtained by using the Mathematica package OrthogonalPolynomials (cf. [9, 43]). Some details on construction of orthogonal polynomials and quadratures of Gaussian type will be given in Sect. 5.
We denote the space of all algebraic polynomials defined on \(\mathbb{R}\) (or some its subset) by \(\mathcal{P}\), and by \(\mathcal{P}_{m} \subset \mathcal{P}\) the space of polynomials of degree at most m \((m \in \mathbb{N})\).
Let w ν = w ν G and τ ν = τ ν G, ν = 1, …, m, be weights (Christoffel numbers) and nodes of the Gauss–Legendre quadrature formula on [0, 1],
Note that the nodes τ ν are zeros of the shifted (monic) Legendre polynomial
Degree of its algebraic precision is d = 2m − 1, i.e., R m G(f) = 0 for each \(f \in \mathcal{P}_{2m-1}\). The quadrature sum in (16) we denote by Q m G f, i.e.,
The corresponding composite Gauss–Legendre sum for approximating the integral I n f, given by (10), can be expressed in the form
In the sequel we use the following expansion of a function f ∈ C s[0, 1] in Bernoulli polynomials for any x ∈ [0, 1] (see Krylov [31, p. 15])
where L s (x, t) = B s ∗(x − t) − B s ∗(x) and B s ∗(x) is a function of period one, defined by
Notice that B 0 ∗(x) = 1, B 1 ∗(x) is a discontinuous function with a jump of − 1 at each integer, and B s ∗(x), s > 1, is a continuous function.
Suppose now that f ∈ C 2r[0, n], where r ≥ m. Since the all nodes τ ν = τ ν G, ν = 1, …, m, of the Gaussian rule (16) belong to (0, 1), using the expansion (18), with x = τ ν and s = 2r + 1, we have
where I 1 f = ∫ 0 1 f(t) dt.
Now, if we multiply it by w ν = w ν G and then sum in ν from 1 to m, we obtain
i.e.,
where
Since
and
because the Gauss–Legendre formula is exact for all algebraic polynomials of degree at most 2m − 1, the previous formula becomes
Notice that for Gauss–Legendre nodes and the corresponding weights the following equalities
hold, as well as
which is equal to zero for odd j. Also, if m is odd, then τ (m+1)∕2 = 1∕2 and B j (1∕2) = 0 for each odd j. Thus, the quadrature sum
for odd j, so that (20) becomes
Consider now the error of the (shifted) composite Gauss–Legendre formula (17). It is easy to see that
Then, using (21) we obtain
where E n, m, r G(f) is given by
Since L 2r+1(x, t) = B 2r+1 ∗(x − t) − B 2r+1 ∗(x) and
we have
because \(Q_{m}^{G}\left (B_{2r+1}(\,\cdot \,)\right ) = 0\). Then for (22) we get
By using an integration by parts, it reduces to
where F(t) is introduced in the following way
Since B 2r+2 ∗(τ ν − 1) = B 2r+2 ∗(τ ν ) = B 2r+2(τ ν ), we have
so that
Since
there exists an η ∈ (0, 1) such that
Typical graphs of functions t ↦ g m, r G(t) for some selected values of r ≥ m ≥ 1 are presented in Fig. 1.
Because of continuity of f (2r+2) on [0, n] we conclude that there exists also ξ ∈ (0, n) such that F′(η) = nf (2r+2)(ξ).
Finally, because of \(\int _{0}^{1}Q_{m}^{G}\left [B_{2r+2}^{{\ast}}(\,\cdot - t)\right ]\,\mathrm{d}t = 0\), we obtain that
In this way, we have just proved the Euler–Maclaurin formula for the composite Gauss–Legendre rule (17) for approximating the integral I n f, given by (10) (see [40]):
Theorem 1.
For \(n,m,r \in \mathbb{N}\) (m ≤ r) and f ∈ C 2r [0,n] we have
where G m (n) f is given by (17) , and Q m G B 2j denotes the basic Gauss–Legendre quadrature sum applied to the Bernoulli polynomial x ↦ B 2j (x), i.e.,
where R m G (f) is the remainder term in (16).
If f ∈ C 2r+2 [0,n], then there exists ξ ∈ (0,n), such that the error term in (24) can be expressed in the form
We consider now special cases of the formula (24) for some typical values of m. For a given m, by G (m) we denote the sequence of coefficients which appear in the sum on the right-hand side in (24), i.e.,
These Gaussian sums we can calculate very easily by using Mathematica Package OrthogonalPolynomials (cf. [9, 43]). In the sequel we mention cases when 1 ≤ m ≤ 6.
Case m = 1. Here τ 1 G = 1∕2 and w 1 G = 1, so that, according to (25),
and (24) reduces to (14). Thus,
Case m = 2. Here we have
so that \(Q_{2}^{G}(B_{2j}) = \frac{1} {2}\left (B_{2j}(\tau _{1}^{G}) + B_{ 2j}(\tau _{2}^{G})\right ) = B_{ 2j}(\tau _{1}^{G})\). In this case, the sequence of coefficients is
Case m = 3. In this case
and
so that
and
Cases m = 4, 5, 6. The corresponding sequences of coefficients are
The Euler–Maclaurin formula based on the composite Lobatto formula can be considered in a similar way. The corresponding Gauss-Lobatto quadrature formula
with the endnodes τ 0 = τ 0 L = 0, τ m+1 = τ m+1 L = 1, has internal nodes τ ν = τ ν L, ν = 1, …, m, which are zeros of the shifted (monic) Jacobi polynomial,
orthogonal on the interval (0, 1) with respect to the weight function x ↦ x(1 − x). The algebraic degree of precision of this formula is d = 2m + 1, i.e., R m L(f) = 0 for each \(f \in \mathcal{P}_{2m+1}\).
For constructing the Gauss-Lobatto formula
we use parameters of the corresponding Gaussian formula with respect to the weight function x ↦ x(1 − x), i.e.,
The nodes and weights of the Gauss-Lobatto quadrature formula (27) are (cf. [36, pp. 330–331])
and
respectively. The corresponding composite rule is
As in the Gauss–Legendre case, there exists a symmetry of nodes and weights, i.e.,
so that the Gauss-Lobatto quadrature sum
for each odd j.
By the similar arguments as before, we can state and prove the following result.
Theorem 2.
For \(n,m,r \in \mathbb{N}\) (m ≤ r) and f ∈ C 2r [0,n] we have
where L m (n) f is given by (29) , and Q m L B 2j denotes the basic Gauss-Lobatto quadrature sum (28) applied to the Bernoulli polynomial x ↦ B 2j (x), i.e.,
where R m L (f) is the remainder term in (27).
If f ∈ C 2r+2 [0,n], then there exists ξ ∈ (0,n), such that the error term in (30) can be expressed in the form
In the sequel we give the sequence of coefficients L (m) which appear in the sum on the right-hand side in (30), i.e.,
obtained by the Package OrthogonalPolynomials, for some values of m.
Case m = 0. This is a case of the standard Euler–Maclaurin formula (1), for which τ 0 L = 0 and τ 1 L = 1, with w 0 L = w 1 L = 1∕2. The sequence of coefficients is
which is, in fact, the sequence of Bernoulli numbers {B 2j } j = 1 ∞.
Case m = 1. In this case τ 0 L = 0, τ 1 L = 1∕2, and τ 2 = 1, with the corresponding weights w 0 L = 1∕6, w 1 L = 2∕3, and w 2 L = 1∕6, which is, in fact, the Simpson formula (15). The sequence of coefficients is
Case m = 2. Here we have
and w 0 L = w 3 L = 1∕12, w 1 L = w 2 L = 5∕12, and the sequence of coefficients is
Case m = 3. Here the nodes and the weight coefficients are
and
respectively, and the sequence of coefficients is
Cases m = 4, 5. The corresponding sequences of coefficients are
Remark 8.
Recently Dubeau [16] has shown that an Euler–Maclaurin like formula can be associated with any interpolatory quadrature rule.
4 Abel–Plana Summation Formula and Some Modifications
Another important summation formula is the so-called Abel–Plana formula, but it is not so well known like the Euler–Maclaurin formula. In 1820 Giovanni (Antonio Amedea) Plana [49] obtained the summation formula
which holds for analytic functions f in \(\varOmega ={\bigl \{ z \in \mathbb{C}\,:\,\mathrm{ Re\,}z \geq 0\bigr \}}\) which satisfy the conditions:
-
1∘ \(\lim \limits _{\vert y\vert \rightarrow +\infty }\mathrm{e}^{-\vert 2\pi y\vert }\vert f(x \pm \mathrm{i}y)\vert = 0\) uniformly in x on every finite interval,
-
2∘ \(\int _{0}^{+\infty }\vert f(x + \mathrm{i}y) - f(x -\mathrm{i}y)\vert \mathrm{e}^{-\vert 2\pi y\vert }\,\mathrm{d}y\) exists for every x ≥ 0 and tends to zero when x → +∞.
This formula was also proved in 1823 by Niels Henrik Abel [1]. In addition, Abel also proved an interesting “alternating series version”, under the same conditions,
Otherwise, this formula can be obtained only from (31). Note that, by subtracting (31) from the same formula written for the function z ↦ 2f(2z), we get (32).
For the finite sum \(S_{n,m}f =\sum \limits _{ k=m}^{n}\!(-1)^{k}f(k)\), (32) the Abel summation formula becomes
where the Abel weight on \(\mathbb{R}\) and the function ϕ m (y) are given by
The moments for the Abel weight can be expressed in terms of Bernoulli numbers as
A general Abel–Plana formula can be obtained by a contour integration in the complex plane. Let \(m,n \in \mathbb{N}\), m < n, and C(ɛ) be a closed rectangular contour with vertices at m ±ib, n ±ib, b > 0 (see Fig. 2), and with semicircular indentations of radius ɛ round m and n. Let f be an analytic function in the strip \(\varOmega _{m,n} ={\bigl \{ z \in \mathbb{C}\,:\, m \leq \mathrm{ Re\,}z \leq n\bigr \}}\) and suppose that for every m ≤ x ≤ n,
and that
exists.
The integration
with ɛ → 0 and b → +∞, leads to the Plana formula in the following form (cf. [42])
where
Practically, the Plana formula (36) gives the error of the composite trapezoidal formula (like the Euler–Maclaurin formula). As we can see the formula (36) is similar to the Euler–Maclaurin formula, with the difference that the sum of terms
replaced by an integral. Therefore, in applications this integral must be calculated by some quadrature rule. It is natural to construct the Gaussian formula with respect to the Plana weight function x ↦ w P(x) on \(\mathbb{R}\) (see the next section for such a construction).
In order to find the moments of this weight function, we note first that if k is odd, the moments are zero, i.e.,
For even k, we have
which can be exactly expressed in terms of the Riemann zeta function ζ(s),
because the number k + 2 is even. Thus, in terms of Bernoulli numbers, the moments are
Remark 9.
By the Taylor expansion for ϕ m (y) (and ϕ n (y)) on the right-hand side in (36),
and using the moments (38), the Plana formula (36) reduces to the Euler–Maclaurin formula,
because of μ 2j−2(w P) = (−1)j−1 B 2j ∕(2j). Note that T m, n f is the notation for the composite trapezoidal sum
For more details see Rahman and Schmeisser [53, 54], Dahlquist [11–13], as well as a recent paper by Butzer, Ferreira, Schmeisser, and Stens [8].
A similar summation formula is the so-called midpoint summation formula. It can be obtained by combining two Plana formulas for the functions z ↦ f(z − 1∕2) and z ↦ f((z + m − 1)∕2). Namely,
i.e.,
where the midpoint weight function is given by
and ϕ m−1∕2 and ϕ n+1∕2 are defined in (37), taking m: = m − 1∕2 and m: = n + 1∕2, respectively. The moments for the midpoint weight function can be expressed also in terms of Bernoulli numbers as
An interesting weight function and the corresponding summation formula can be obtained from the Plana formula, if we integrate by parts the right side in (36) (cf. [13]). Introducing the so-called Binet weight function y ↦ w B(y) and the function y ↦ ψ m (y) by
respectively, we see that dw B(y)∕ dy = −w P(y)∕y and
so that
because w B(y) = O(e−2π | y | ) as | y | → +∞. Thus, the Binet summation formula becomes
Such a formula can be useful when f′(z) is easier to compute than f(z).
The moments for the Binet weight can be obtained from ones for w P. Since
according to (38),
There are also several other summation formulas. For example, the Lindelöf formula [32] for alternating series is
where the Lindelöf weight function is given by
Here, the moments
can be expressed in terms of the generalized Riemann zeta function z ↦ ζ(z, a), defined by
Namely,
5 Construction of Orthogonal Polynomials and Gaussian Quadratures for Weights of Abel–Plana Type
The weight functions w ( ∈ { w P, w M, w B, w A, w L}) which appear in the summation formulas considered in the previous section are even functions on \(\mathbb{R}\). In this section we consider the construction of (monic) orthogonal polynomials π k ( ≡ π k (w; ⋅ ) and corresponding Gaussian formulas
with respect to the inner product \((p,q) =\int _{\mathbb{R}}p(x)q(x)w(x)\,\mathrm{d}x\) \((p,q \in \mathcal{P})\). We note that R n (w; f) ≡ 0 for each \(f \in \mathcal{P}_{2n-1}\).
Such orthogonal polynomials \(\{\pi _{k}\}_{k\in \mathbb{N}_{0}}\) and Gaussian quadratures (49) exist uniquely, because all the moments for these weights μ k ( ≡ μ k (w)), k = 0, 1, … , exist, are finite, and μ 0 > 0.
Because of the property (xp, q) = (p, xq), these (monic) orthogonal polynomials π k satisfy the fundamental three–term recurrence relation
with π 0(x) = 1 and π −1(x) = 0, where \(\{\beta _{k}\}_{k\in \mathbb{N}_{0}}\) \((=\{\beta _{k}(w)\}_{k\in \mathbb{N}_{0}})\) is a sequence of recursion coefficients which depend on the weight w. The coefficient β 0 may be arbitrary, but it is conveniently defined by \(\beta _{0} =\mu _{0} =\int _{\mathbb{R}}w(x)\,\mathrm{d}x\). Note that the coefficients α k in (50) are equal to zero, because the weight function w is an even function! Therefore, the nodes in (49) are symmetrically distributed with respect to the origin, and the weights for symmetrical nodes are equal. For odd n one node is at zero.
A characterization of the Gaussian quadrature (49) can be done via an eigenvalue problem for the symmetric tridiagonal Jacobi matrix (cf. [36, p. 326]),
constructed with the coefficients from the three-term recurrence relation (50) (in our case, α k = 0, k = 0, 1, …, n − 1).
The nodes x ν are the eigenvalues of J n and the weights A ν are given by A ν = β 0 v ν, 1 2, ν = 1, …, n, where β 0 is the moment \(\mu _{0} =\int _{\mathbb{R}}w(x)\,\mathrm{d}x\), and v ν, 1 is the first component of the normalized eigenvector v ν = [v ν, 1 ⋯ v ν, n ]T (with v ν T v ν = 1) corresponding to the eigenvalue x ν ,
An efficient procedure for constructing the Gaussian quadrature rules was given by Golub and Welsch [27], by simplifying the well-known QR algorithm, so that only the first components of the eigenvectors are computed.
The problems are very sensitive with respect to small perturbations in the data.
Unfortunately, the recursion coefficients are known explicitly only for some narrow classes of orthogonal polynomials, as e.g. for the classical orthogonal polynomials (Jacobi, the generalized Laguerre, and Hermite polynomials). However, for a large class of the so-called strongly non-classical polynomials these coefficients can be constructed numerically, but procedures are very sensitive with respect to small perturbations in the data. Basic procedures for generating these coefficients were developed by Walter Gautschi in the eighties of the last century (cf. [23, 24, 36, 41]).
However, because of progress in symbolic computations and variable-precision arithmetic, recursion coefficients can be today directly generated by using the original Chebyshev method of moments (cf. [36, pp. 159–166]) in symbolic form or numerically in sufficiently high precision. In this way, instability problems can be eliminated. Respectively symbolic/variable-precision software for orthogonal polynomials and Gaussian and similar type quadratures is available. In this regard, the Mathematica package OrthogonalPolynomials (see [9] and [43]) is downloadable from the web site http://www.mi.sanu.ac.rs/~gvm/. Also, there is Gautschi’s software in Matlab (packages OPQ and SOPQ). Thus, all that is required is a procedure for the symbolic calculation of moments or their calculation in variable-precision arithmetic.
In our case we calculate the first 2N moments in a symbolic form (list mom), using corresponding formulas (for example, (38) in the case of the Plana weight w P), so that we can construct the Gaussian formula (49) for each n ≤ N. Now, in order to get the first N recurrence coefficients {al,be} in a symbolic form, we apply the implemented function aChebyshevAlgorithm from the Package OrthogonalPolynomials, which performs construction of these coefficients using Chebyshev algorithm, with the option Algorithm->Symbolic. Thus, it can be implemented in the Mathematica package OrthogonalPolynomials in a very simple way as
<<orthogonalPolynomials‘ mom=Table[<expression for moments>,{k,0,199}]; {al,be}=aChebyshevAlgorithm[mom,Algorithm->Symbolic] pq[n_]:=aGaussianNodesWeights[n,al,be, WorkingPrecision->65,Precision -> 60] xA = Table[pq[n],{n,5,40,5}];
where we put N = 100 and the WorkingPrecision->65 in order to obtain very precisely quadrature parameters (nodes and weights) with Precision->60. These parameters are calculated for n = 5(5)40, so that xA[[k]][[1]] and xA[[k]][[2]] give lists of nodes and weights for five-point formula when k=1, for ten-point formula when k=2, etc. Otherwise, here we can calculate the n-point Gaussian quadrature formula for each n ≤ N = 100.
All computations were performed in Mathematica, Ver. 10.3.0, on MacBook Pro (Retina, Mid 2012) OS X 10.11.2. The calculations are very fast. The running time is evaluated by the function Timing in Mathematica and it includes only CPU time spent in the Mathematica kernel. Such a way may give different results on different occasions within a session, because of the use of internal system caches. In order to generate worst-case timing results independent of previous computations, we used also the command ClearSystemCache[], and in that case the running time for the Plana weight function w P has been 4. 2 ms (calculation of moments), 0. 75 s (calculation of recursive coefficients), and 8 s (calculation quadrature parameters for n = 5(5)40).
In the sequel we mention results for different weight functions, whose graphs are presented in Fig. 3.
1. Abel and Lindelöf Weight Functions w A and w L These weight functions are given by (34) and (47), and their moments by (35) and (48), respectively. It is interesting that their corresponding coefficients in the three-term recurrence relation (50) are known explicitly (see [36, p. 159])
and
Thus, for these two weight functions we have recursive coefficients in the explicit form, so that we go directly to construction quadrature parameters.
2. Plana Weight Function w P This weight function is given by (37), and the corresponding moments by (38). Using the Package OrthogonalPolynomials we obtain the sequence of recurrence coefficients {β k P} k ≥ 0 in the rational form:
etc.
As we can see, the fractions are becoming more complicated, so that already β 11 P has the “form of complexity” {72∕71}, i.e., it has 72 decimal digits in the numerator and 71 digits in the denominator. Further terms of this sequence have the “form of complexity” {88∕87}, {106∕05}, {129∕128}, {152∕151}, …, {13451∕13448}.
Thus, the last term β 99 P has more than 13 thousand digits in its numerator and denominator. Otherwise, its value, e.g. rounded to 60 decimal digits, is
3. Midpoint Weight Function w M This weight function is given by (41), and the corresponding moments by (42). As in the previous case, we obtain the sequence of recurrence coefficients {β k M} k ≥ 0 in the rational form:
etc. In this case, the last term β 99 M has slightly complicated the “form of complexity” {16401∕16398} than one in the previous case, precisely. Otherwise, its value (rounded to 60 decimal digits) is
4. Binet Weight Function w B The moments for this weight function are given in (38), and our Package OrthogonalPolynomials gives the sequence of recurrence coefficients {β k B} k ≥ 0 in the rational form:
etc. Numerical values of coefficients β k B for k = 12, …, 39, rounded to 60 decimal digits, are presented in Table 1.
For this case we give also quadrature parameters x ν B and A ν B, ν = 1, …, n, for n = 10 (rounded to 30 digits in order to save space). Numbers in parenthesis indicate the decimal exponents (Table 2).
References
Abel, N.H.: Solution de quelques problèmes à l’aide d’intégrales définies. In: Sylow, L., Lie, S. (eds.) Œuvres complètes d’Abel, vol. I, pp. 11–27. Johnson, New York (1965) (reprint of the Nouvelle éd., Christiania, 1881)
Aljančić, S.: Sur une formule sommatoire généralisée. Acad. Serbe Sci. Publ. Inst. Math. 2, 263–269 (1948)
Apostol, T.M.: An elementary view of Euler’s summation formula. Am. Math. Mon. 106, 409–418 (1999)
Baker, C.T.H., Hodgson, G.S.: Asymptotic expansions for integration formulae in one or more dimensions. SIAM J. Numer. Anal. 8, 473–480 (1971)
Barnes, E.W.: The Maclaurin sum-formula. Proc. Lond. Math. Soc. 2/3, 253–272 (1905)
Berndt, B.C., Schoenfeld, L.: Periodic analogues of the Euler-Maclaurin and Poisson summation formulas with applications to number theory. Acta Arith. 28, 23–68 (1975)
Bird, M.T.: On generalizations of sum formulas of the Euler-MacLaurin type. Am. J. Math. 58 (3), 487–503 (1936)
Butzer, P.L., Ferreira, P.J.S.G., Schmeisser, G., Stens, R.L.: The summation formulae of Euler-Maclaurin, Abel-Plana, Poisson, and their interconnections with the approximate sampling formula of signal analysis. Results Math. 59 (3/4), 359–400 (2011)
Cvetković, A.S., Milovanović, G.V.: The mathematica package “OrthogonalPolynomials”. Facta Univ. Ser. Math. Inform. 19, 17–36 (2004)
Cvijović, Dj., Klinkovski, J.: New formulae for the Bernoulli and Euler polynomials at rational arguments. Proc. Am. Math. Soc. 123, 1527–1535 (1995)
Dahlquist, G.: On summation formulas due to Plana, Lindelöf and Abel, and related Gauss-Christoffel rules, I. BIT 37, 256–295 (1997)
Dahlquist, G.: On summation formulas due to Plana, Lindelöf and Abel, and related Gauss-Christoffel rules, II. BIT 37, 804–832 (1997)
Dahlquist, G.: On summation formulas due to Plana, Lindelöf and Abel, and related Gauss-Christoffel rules, III. BIT 39, 51–78 (1999)
Dahlquist, G., Björck, Å.: Numerical Methods in Scientific Computing, vol. I. SIAM, Philadelphia (2008)
Derr, L., Outlaw, C., Sarafyan, D.: Generalization of Euler-Maclaurin sum formula to the six-point Newton-Cotes quadrature formula. Rend. Mat. (6) 12 (3–4), 597–607 (1979)
Dubeau, F.: On Euler-Maclaurin formula. J. Comput. Appl. Math. 296, 649–660 (2016)
Elliott, D.: The Euler-Maclaurin formula revisited. J. Aust. Math. Soc. Ser. B 40 (E), E27–E76 (1998/1999)
Euler, L.: Methodus generalis summandi progressiones (A General Method for Summing Series). Commentarii Academiae Scientiarum Petropolitanae 6, pp. 68–97. Opera Omnia, ser. 1, vol. XIV, pp. 42–72. Presented to the St. Petersburg Academy on June 20 (1732)
Euler, L.: Inventio summae cuiusque seriei ex dato termino generali (Finding the sum of any series from a given general term), Commentarii academiae scientiarum Petropolitanae 8, pp. 9–22. Opera Omnia, ser. 1, vol. XIV, pp. 108–123. Presented to the St. Petersburg Academy on October 13 (1735)
Fort, T.: The Euler-Maclaurin summation formula. Bull. Am. Math. Soc. 45, 748–754 (1939)
Fort, T.: Generalizations of the Bernoulli polynomials and numbers and corresponding summation formulas. Bull. Am. Math. Soc. 48, 567–574 (1942)
Fort, T.: An addition to “Generalizations of the Bernoulli polynomials and numbers and corresponding summation formulas”. Bull. Am. Math. Soc. 48, 949 (1942)
Gautschi, W.: On generating orthogonal polynomials. SIAM J. Sci. Statist. Comput. 3, 289–317 (1982)
Gautschi, W.: Orthogonal Polynomials: Computation and Approximation. Clarendon Press, Oxford (2004)
Gautschi, W.: Leonhard Eulers Umgang mit langsam konvergenten Reihen (Leonhard Euler’s handling of slowly convergent series). Elem. Math. 62, 174–183 (2007)
Gautschi, W.: Leonhard Euler: his life, the man, and his works. SIAM Rev. 50, 3–33 (2008)
Golub, G., Welsch, J. H.: Calculation of Gauss quadrature rules. Math. Comp. 23, 221–230 (1969)
Henrici, P.: Applied and Computational Complex Analysis. Special functions, Integral transforms, Asymptotics, Continued Fractions, Pure and Applied Mathematics, vol. 2. Wiley, New York/London/Sydney (1977)
Kalinin, V.M.: On the evaluation of sums, integrals and products. Vestnik Leningrad. Univ. 20 (7), 63–77 (Russian) (1965)
Keda, N.P.: An analogue of the Euler method of increasing the accuracy of mechanical quadratures. Dokl. Akad. Nauk BSSR 4, 43–46 (Russian) (1960)
Krylov, V.I.: Approximate Calculation of Integrals. Macmillan, New York (1962)
Lindelöf, E.: Le Calcul des Résidus. Gauthier-Villars, Paris (1905)
Lyness, J.N.: An algorithm for Gauss-Romberg integration. BIT 12, 294–203 (1972)
Lyness, J.N.: The Euler-Maclaurin expansion for the Cauchy principal value integral. Numer. Math. 46 (4), 611–622 (1985)
Maclaurin, C.: A Treatise of Fluxions, 2 vols. T. W. and T. Ruddimans, Edinburgh (1742)
Mastroianni, G., Milovanović, G.V.: Interpolation Processes – Basic Theory and Applications. Springer Monographs in Mathematics, Springer, Berlin/Heidelberg/New York (2008)
Matiyasevich, Yu.V.: Alternatives to the Euler-Maclaurin formula for computing infinite sums. Mat. Zametki 88 (4), 543–548 (2010); translation in Math. Notes 88 (3–4), 524–529 (2010)
Mills, S.: The independent derivations by Euler, Leonhard and Maclaurin, Colin of the Euler-Maclaurin summation formula. Arch. Hist. Exact Sci. 33, 1–13 (1985)
Milovanović, G.V.: Numerical Analysis, Part II. Naučna knjiga, Beograd (1988)
Milovanović, G.V.: Families of Euler-Maclaurin formulae for composite Gauss-Legendre and Lobatto quadratures. Bull. Cl. Sci. Math. Nat. Sci. Math. 38, 63–81 (2013)
Milovanović, G.V.: Orthogonal polynomials on the real line, chapter 11. In: Brezinski, C., Sameh, A. (eds.) Walter Gautschi: Selected Works and Commentaries, vol. 2. Birkhäuser, Basel (2014)
Milovanović, G.V.: Methods for computation of slowly convergent series and finite sums based on Gauss-Christoffel quadratures. Jaen J. Approx. 6, 37–68 (2014)
Milovanović, G.V., Cvetković, A.S.: Special classes of orthogonal polynomials and corresponding quadratures of Gaussian type. Math. Balkanica 26, 169–184 (2012)
Mori, M.: An IMT-type double exponential formula for numerical integration. Publ. Res. Inst. Math. Sci. 14, 713–729 (1978)
Mori, M.: Discovery of the double exponential transformation and its developments. Publ. Res. Inst. Math. Sci. 41, 897–935 (2005)
Mori, M., Sugihara, M.: The double-exponential transformation in numerical analysis. J. Comput. Appl. Math. 127, 287–296 (2001)
Ostrowski, A.M.: On the remainder term of the Euler-Maclaurin formula. J. Reine Angew. Math. 239/240, 268–286 (1969)
Outlaw, C., Sarafyan, D., Derr, L.: Generalization of the Euler-Maclaurin formula for Gauss, Lobatto and other quadrature formulas. Rend. Mat. (7) 2 (3), 523–530 (1982)
Plana, G.A.A.: Sur une nouvelle expression analytique des nombres Bernoulliens, propre à exprimer en termes finis la formule générale pour la sommation des suites. Mem. Accad. Sci. Torino 25, 403–418 (1820)
Prudnikov, A.P., Brychkov, Yu. A., Marichev, O.I.: Integrals and Series, vol. 3. Gordon and Breach, New York (1990)
Rahman, Q.I., Schmeisser, G.: Characterization of the speed of convergence of the trapezoidal rule. Numer. Math. 57 (2), 123–138 (1990)
Rahman, Q.I., Schmeisser, G.: Quadrature formulae and functions of exponential type. Math. Comput. 54 (189), 245–270 (1990)
Rahman, Q.I., Schmeisser, G.: A quadrature formula for entire functions of exponential type. Math. Comp. 63 (207), 215–227 (1994)
Rahman, Q.I., Schmeisser, G.: The summation formulae of Poisson, Plana, Euler-Maclaurin and their relationship. J. Math. Sci. Delhi 28, 151–171 (1994)
Rza̧dkowski, G., Łpkowski, S.: A generalization of the Euler-Maclaurin summation formula: an application to numerical computation of the Fermi-Dirac integrals. J. Sci. Comput. 35 (1), 63–74 (2008)
Sarafyan, D., Derr, L., Outlaw, C.: Generalizations of the Euler-Maclaurin formula. J. Math. Anal. Appl. 67 (2), 542–548 (1979)
Takahasi, H., Mori, M.: Quadrature formulas obtained by variable transformation. Numer. Math. 21, 206–219 (1973)
Takahasi, H., Mori, M.: Double exponential formulas for numerical integration. Publ. Res. Inst. Math. Sci. 9, 721–741 (1974)
Trefethen, L.N., Weideman, J.A.C.: The exponentially convergent trapezoidal rule. SIAM Rev. 56, 385–458 (2014)
Trigub, R.M.: A generalization of the Euler-Maclaurin formula. Mat. Zametki 61 (2), 312–316 (1997); translation in Math. Notes 61 (1/2), 253–257 (1997)
Varadarajan, V.S.: Euler and his work on infinite series. Bull. Am. Math. Soc. (N.S.) 44 (4), 515–539 (2007)
Vaskevič, V.L.: On the convergence of Euler-Maclaurin quadrature formulas on a class of smooth functions. Dokl. Akad. Nauk SSSR 260 (5), 1040–1043 (Russian) (1981)
Waldvogel, J.: Towards a general error theory of the trapezoidal rule. In: Gautschi, W., Mastroianni, G., Rassias, Th.M. (eds.) Approximation and Computation: In Honor of Gradimir V. Milovanović. Springer Optimization and Its Applications, vol. 42, pp. 267–282. Springer, New York (2011)
Weideman, J.A.C.: Numerical integration of periodic functions: a few examples. Am. Math. Mon. 109, 21–36 (2002)
Whittaker, E.T., Watson, G.N.: A Course of Modern Analysis. Cambridge Mathematical Library, 4th edn. Cambridge University Press, Cambridge (1996)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this chapter
Cite this chapter
Milovanović, G.V. (2017). Summation Formulas of Euler–Maclaurin and Abel–Plana: Old and New Results and Applications. In: Govil, N., Mohapatra, R., Qazi, M., Schmeisser, G. (eds) Progress in Approximation Theory and Applicable Complex Analysis. Springer Optimization and Its Applications, vol 117. Springer, Cham. https://doi.org/10.1007/978-3-319-49242-1_20
Download citation
DOI: https://doi.org/10.1007/978-3-319-49242-1_20
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-49240-7
Online ISBN: 978-3-319-49242-1
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)