Euler–Maclaurin formula
ID: euler-maclaurin-formula
The Euler-Maclaurin formula relates a finite sum to an integral and endpoint derivatives. If are integers, and has continuous derivatives through order on , thenHere are Bernoulli numbers. With the periodic Bernoulli function, the exact remainder isThis form rearranges the last endpoint correction in the NIST statement.[ref]
For on and , the remainder vanishes because the second Bernoulli polynomial has integral zero over each unit interval. The result is , the square pyramidal number formula. For other functions, retaining or bounding makes the finite truncation a controlled approximation.
The Euler–Maclaurin formula is a powerful mathematical tool that provides a connection between discrete sums and continuous integrals. It is useful in various areas of numerical analysis, calculus, and asymptotic analysis. The formula allows us to approximate sums by integrals, compensating for the differences with correction terms.
New to topics? Read the docs here!