The Formula
If m and n are natural numbers and f(x) is a smooth (meaning: sufficiently often differentiable) function defined for all real numbers x in the interval, then the integral
can be approximated by the sum (or vice versa)
(see trapezoidal rule). The Euler–Maclaurin formula provides expressions for the difference between the sum and the integral in terms of the higher derivatives ƒ(k) at the end points of the interval m and n. Explicitly, for any natural number p, we have
where B1 = −1/2, B2 = 1/6, B3 = 0, B4 = −1/30, B5 = 0, B6 = 1/42, B7 = 0, B8 = −1/30, … are the Bernoulli numbers, and R is an error term which is normally small for suitable values of p and depends on n, m, p and f. (The formula is often written with the subscript taking only even values, since the odd Bernoulli numbers are zero except for B1.)
Note that
Hence, we may also write the formula as follows:
or even compacter and more elegant
with the convention of, i.e. the -1-th derivation of f is the integral of the function. This presentation also emphasizes the notation of the two kinds of Bernoulli numbers, called the first and the second kind, which are of equal legitimacy, and in principle not to favor of each other. Here we denote with the Bernoulli number of the second kind (only because the historical reason of formation of this article) which differ from the first kind only for the index 1.
Read more about this topic: Euler–Maclaurin Formula
Famous quotes containing the word formula:
“Given for one instant an intelligence which could comprehend all the forces by which nature is animated and the respective positions of the beings which compose it, if moreover this intelligence were vast enough to submit these data to analysis, it would embrace in the same formula both the movements of the largest bodies in the universe and those of the lightest atom; to it nothing would be uncertain, and the future as the past would be present to its eyes.”
—Pierre Simon De Laplace (17491827)
“Hidden away amongst Aschenbachs writing was a passage directly asserting that nearly all the great things that exist owe their existence to a defiant despite: it is despite grief and anguish, despite poverty, loneliness, bodily weakness, vice and passion and a thousand inhibitions, that they have come into being at all. But this was more than an observation, it was an experience, it was positively the formula of his life and his fame, the key to his work.”
—Thomas Mann (18751955)