The Bernoulli numbers are a sequence of rational numbers that turns integer power sums into exact polynomials. The same numbers describe corrections when a discrete summation is compared with an integral. For example, the sum of squares is : the leading term is an integral, while the last two terms repair the difference between area and sampled values.
We use throughout. The defining exponential generating function is
Here is the exponential function and is a factorial; in particular, the coefficient of is , rather than . At the quotient has limiting value one. The identity can be read algebraically as a formal power series, or as a convergent series for .[ref]
To compute the numbers, multiply by and compare coefficients. The resulting recurrence relation, with binomial coefficients, is
Thus , , and give , , and . Continuing gives
The recurrence relation agrees with equation 24.5.3 after replacing its index by .[ref]
Why do so many values vanish? Put . Direct substitution gives , so is an even function. Its odd power series coefficients vanish: for every positive integer . The exception matters. The alternative convention obtained from has and exactly the same other values. A formula copied between conventions must also retain its summation endpoints.
Historically, integer power sums were studied before the modern Bernoulli number notation. A historical study examines formulas published in 1631 and distinguishes those separate formulas from encoding all exponents using one sequence of constants. This is a useful motivation for the generating function, without assigning all discovery to a single moment. [ref]
The Bernoulli polynomials extend the Bernoulli numbers by inserting the exponential function into their exponential generating function:
For example, , , , and .[ref]
Their crucial property is a finite difference identity:
Indeed, subtracting the two exponential generating functions cancels and leaves . Thus plays for discrete summation the role that plays for integration: taking a unit finite difference recovers .[ref]
An integer power sum adds a fixed nonnegative integer power of consecutive integers. Let be a nonnegative integer and a nonnegative integer. For , use the constant polynomial , including at zero, so . Summing the Bernoulli polynomial finite difference identity makes the intermediate terms cancel and gives
The sum is empty when . For the endpoints , the formula valid also at is instead
For , , and this becomes the standard positive-endpoint formula. The exception at is essential: .[ref]
For , adding to changes the contribution from to . Equivalently,
where only differs from our Bernoulli numbers. A quick endpoint check is : the sums over and are and , respectively. The latter is a triangular number.
For a concrete comparison, take on . The integral is , whereas the unit-width left and right Riemann sums are and . The exact integer power sum formula gives
The endpoint choice explains the opposite signs of the correction. The remaining correction is one in both cases.
Figure 1.
Left and right Riemann sums for differ from its integral by exact Bernoulli number corrections
. Six rectangles of width one sample at on the left and on the right. Their areas are and ; the smooth area is . The endpoint terms are and , while the correction adds one in each case. Details.
The same method is useful far beyond squares of numbers. Substituting , , and into the integer power sum formula gives the exact fourth-power result
At , this is
Thus a finite polynomial calculation replaces ten additions, or a million additions if is a million. Although the individual corrections can be rational numbers, the result is the exact integer sum.
Figure 2.
Exact Bernoulli number corrections turn an integral into the fourth-power sum
. The first panel builds the sum from integral , endpoint term , and term . The enlarged second panel resolves the final correction , reaching , checked independently by direct addition. Details.
There is also a useful numerical integration interpretation. The average of the left and right Riemann sums is the composite trapezoidal rule. For , the endpoint corrections cancel but its value is , one above the true integral. Subtracting the correction makes this particular polynomial example exact. For , the two interior corrections above can be written and . These are exact identities for these polynomials; extending such corrections to general functions requires a separate error analysis.
The defining generating function of the Bernoulli numbers, with , gives this identity of formal Laurent series by . Therefore is regular and odd. Integrating it gives the even formal logarithm of . Its even derivatives of order at zero are , while the odd derivatives vanish. This computes the cyclotomic higher logarithmic derivatives of symmetric cyclotomic units without introducing a spurious linear term.
The Euler evaluation of even zeta values turns a family of series into exact expressions using Bernoulli numbers, factorials and powers of . For every positive integer ,
Here is the Riemann zeta function, defined by its convergent series at these arguments, and the Bernoulli number convention is . The alternating sign combines with the sign of to give a positive sum.[ref]
Substituting , and gives
The first identity answers the Basel problem. It is surprising because the original series only mentions reciprocal squares of integers, while its exact sum involves the circle constant . The cotangent partial-fraction expansion supplies a connection between the two: trigonometric functions encode equally spaced integer poles, whose expansion brings the reciprocal powers into view.
For an original numerical comparison, the first ten terms give , while . The omitted positive terms still contribute approximately . For fourth powers, the ten-term partial sum is approximately , only below . Both are convergent series, but the second approaches its limit much faster.
Figure 1.
Reciprocal-square and reciprocal-fourth-power partial sums approach exact zeta values
. Original computed partial sums for the first thirty terms. Each panel has its own vertical scale. Dashed horizontal lines mark and ; neither finite partial sum equals its limiting value. Details.
Exact evaluation is useful beyond obtaining more digits. It supplies an independent check on a numerical summation, exposes how Bernoulli numbers organize infinitely many identities, and makes the remaining series truncation error measurable without knowing any omitted terms individually. The even integer condition is essential to this formula: putting into it is not a way to evaluate , since the required Bernoulli number index and factorial expression here are indexed by positive integers.
Historically, Leonhard Euler announced reciprocal-square and reciprocal-fourth-power evaluations in §2 of On the sums of series of reciprocals by Leonhard Euler. That paper was presented on 5 December 1735 and published in 1740, as the English translation's first-page note records. His §§3–8 develop a route through the sine power series and relationships between roots and coefficients. The cotangent calculation below is a concise modern presentation of the connection.[ref]
For a real exponent and a positive integer , the series truncation error in the defining Riemann zeta function series is
The integral comparison for the positive decreasing function gives the explicit bounds
On each unit interval, the area under lies between its endpoint heights. Summing from the first omitted term gives the lower integral from to infinity and the upper integral from to infinity. This uses positivity and monotonicity, not an assumption that the last computed term equals the remaining error.
At , the bounds are , whereas . The errors above fit both intervals. Merely looking at the eleventh term would give for squares, far smaller than the actual remaining .
Figure 1.
Integral bounds enclose the full remaining error of two zeta series
. Original computed errors, obtained by subtracting finite partial sums from the exact even zeta values. Shaded bands show the upper and lower integral comparison bounds. The logarithmic axes reveal decay proportional to for squares and for fourth powers. These are mathematical computations, not measured data. Details.
For a chosen absolute error target , the sufficient condition is , rounded upward to an integer. Thus requires by this bound for squares but only for fourth powers. This is a guarantee from an upper bound, not a claim that those are the smallest successful term counts.
The cotangent partial-fraction expansion gives, on ,
The Bernoulli number generating function gives the same Laurent series in another form:
The term cancels the separate ; the higher odd Bernoulli numbers vanish. Comparing Laurent coefficients therefore gives , which is the stated real formula because . The cotangent partial-fraction expansion justifies the convergent expansion before the coefficient comparison; a finite plot of partial sums alone would not prove the infinite identity.
For a Dirichlet character of conductor , define the generalized Bernoulli numbers by
They express special values of Dirichlet L-functions at nonpositive integers and occur in the interpolation formula for Kubota-Leopoldt p-adic L-functions.

There are no discussions about this article yet.

Articles by others on the same topic (1)