An alternative to the Euler–Maclaurin summation formula: approximating sums by integrals only
The Euler–Maclaurin (EM) summation formula is used in many theoretical studies and numerical calculations. It approximates the sum ∑ k = 0 n - 1 f ( k ) of values of a function f by a linear combination of a corresponding integral of f and values of its higher-order derivatives f ( j ) . An alternat...
Gespeichert in:
Veröffentlicht in: | Numerische Mathematik 2018-11, Vol.140 (3), p.755-790 |
---|---|
1. Verfasser: | |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The Euler–Maclaurin (EM) summation formula is used in many theoretical studies and numerical calculations. It approximates the sum
∑
k
=
0
n
-
1
f
(
k
)
of values of a function
f
by a linear combination of a corresponding integral of
f
and values of its higher-order derivatives
f
(
j
)
. An alternative (Alt) summation formula is proposed, which approximates the sum by a linear combination of integrals only, without using high-order derivatives of
f
. Explicit and rather easy to use bounds on the remainder are given. Extensions to multi-index summation and to sums over lattice polytopes are indicated. Applications to summing possibly divergent series are presented. The Alt formula will in most cases outperform, or greatly outperform, the EM summation formula in terms of the execution time and memory use. One of the advantages of the Alt calculations is that, in contrast with the EM ones, they can be almost completely parallelized. Illustrative examples are given. In one of the examples, where an array of values of the Hurwitz generalized zeta function is computed with high accuracy, it is shown that both our implementation of the EM summation formula and, especially, the Alt formula perform much faster than the built-in Mathematica command HurwitzZeta[]. |
---|---|
ISSN: | 0029-599X 0945-3245 |
DOI: | 10.1007/s00211-018-0978-y |