The Euler–Maclaurin Summation Formula

Euler–Maclaurin compares a discrete sum with an integral and systematic endpoint corrections.

Source
Anbloq
Language
English
Created
Updated
Chapters
1
Reading time
1 min

For smooth \(f\) on integer endpoints \(a,b\), integrate by parts against the periodic Bernoulli polynomials. The jumps of the first Bernoulli polynomial produce the discrete values. Further integrations transfer derivatives to \(f\) and give endpoint differences.

\[\sum_{n=a}^b f(n)=\int_a^b f(t)\,dt+\frac{f(a)+f(b)}2 +\frac{f'(b)-f'(a)}{12}+R,\]

where the remainder after this term is \(-\tfrac12\int_a^b B_2(\{t\})f''(t)\,dt\). Equivalently, one can continue integration by parts to obtain higher corrections and a higher-derivative remainder.

Recovering a familiar sum

For \(f(t)=t^2\) on \([1,N]\), \(f''\) is constant and the periodic Bernoulli polynomial has integral zero over each integer interval. The formula gives \(N(N+1)(2N+1)/6\). Applied to \(t^{-s}\), the correction terms extend zeta continuation.[1]

References

  1. Andrew V. Sutherland, 18.785 Number Theory I lecture notes ↩