Sums of powers and Bernoulli numbers

Ask the tutor about Sums of powers and Bernoulli numbersOpen the graphing workbench

Adding the integers from 1 through pairs each term with a partner that makes the same total. Square those summands and the partners disagree: is one number, is another. The cubes close again, as the square of the old triangular number, and the fourth powers pick up yet another face. The question is whether one recipe still names the sum for every positive integer exponent.

The squares refuse to pair

On finite geometric and arithmetic series the sum from 1 through is , because each pair of ends adds to . That pairing spends two extra freezes: the first term is 1, and the step is 1. Square the summands and a constant pair-sum is gone. The board keeps the exponent frozen at 2 and lets run through the positive integers 1 through 6. Each left-hand layer is one square. A layer past has height 0. The right-hand bar is the single height .

Drag n. It stays a positive integer from 1 through 6, and the exponent stays 2. Each left bar is one square k^2, and a bar past n has height 0. The right bar is n(n+1)(2n+1)/6. The segment between the tops is level when that formula has paid the stack.

At the start is 4, so the left stack is and the right bar is the same 30. Drag . The segment between the tops stays level. Both freezes stay in force: is a positive integer, and the exponent is 2. The identity the tops are meeting is

A longer step is still the old sum

The even numbers are the arithmetic series with first term 2 and common difference 2, stopped after terms, so the sum is . That row is already on finite geometric and arithmetic series.

The odd numbers are the layers of a square. The -th layer has length , and of those layers fill an by square.

Drag n. It stays a positive integer from 1 through 6. The k-th layer has length 2k-1 and wraps the square already built. At the start n is 4, so the layers 1, 3, 5, and 7 fill a square of side 4.

Square those same odd steps and the total is still a polynomial in this :

Four exponents, four faces

The first power is the paired sum . The board freezes that number as the side of a square. The area is the sum of the cubes.

Drag n. It stays a positive integer from 1 through 5. The side is 1+2+...+n, the paired sum, so this is a square of that side and not a square of arbitrary length. Its area is the sum of the first n cubes.

The fourth powers pick up one more factor,

Read as polynomials, the four results wear four faces. The square sum carries a linear term, the cube sum has none, and the fourth-power sum carries a factor the square sum never used. Jacob Bernoulli (1645–1705), looking for an empirical formula for the sum of the powers of the natural numbers, met these special cases. For and exponents he wrote one expression that specialises to all four.

One polynomial for every exponent

Write

for a positive integer and an exponent . The expression is

The first term is the highest power, . For the squares, , that piece is , and the board's total is larger: the lower powers make up the difference between and . The second term is half of . Every later term is a Bernoulli number times a binomial coefficient, times a lower power of .

The coefficients in this polynomial always add to 1:

Set . The left side of the polynomial is , and the right side is this sum of coefficients. The identity is the general formula at the first positive integer.

Two values are fixed at the start: and . For every odd index , . The cube sum had no lone factor of because the term that would have carried is zero. The recursion that produces the later numbers is

Expand the left-hand side by multiplying, and wherever a power appears write the number instead. The same constraint reads

For this determines . Through the values are

Odd indices from 3 on stay 0, so the table leaves them out. is the last term of the fourth-power sum, .

The four expansions are one recipe

Substitute the first Bernoulli numbers and the early formulas come back as polynomials:

The board draws those terms divided by , so the picture keeps the shape of the coefficients while moves. The exponent stays on . At the start and , so each bar is the coefficient itself. The fourth slot is the term and sits on the axis. The fifth bar drops by , which is the term at . Drag off 4 and that downward bar leaves, because the formula stops at . Drag upward and each correction is a smaller share of .

Drag p or n. p stays on 1 through 4 and n stays a positive integer from 1 through 4. Each bar is that term of the expanded sum, divided by n to the power p+1. At the start p is 4 and n is 1, so the last bar drops by 1/30. The fourth bar is the B_3 term and stays on the axis.

The factorial writing is the same polynomial:

already sits in the second term. That is the sign the four expansions were built with.

The same numbers inside a series

For every complex with ,

The board stays on the positive reals inside that disk. The solid curve is . The dashed curve keeps , , , and . It omits because that number is 0, and it omits together with every later term. The segment from to is the height those omitted terms still owe at the sample point. The equality on the page is the full series inside the disk.

Drag t. The sample stays on the positive reals short of 2π. P lies on x/(e^x-1). Q is the partial sum through B_4, and the B_3 term is absent because that number is 0. The segment is the height the omitted terms still owe. The dashed vertical line is the positive edge x=2π.

The same coefficients appear in the power series for

This page names those functions.

Even powers in the denominator

In 1734 Leonhard Euler found

Drag n. It counts the first n terms, from 1 through 8. Each layer has height 1/k^2. The horizontal line is π^2/6. The stack of these finitely many layers stays below that line.

For each the even power is the same kind of sum, with the Bernoulli number of that even index:

For , , and

The absolute value carries the sign. is positive and is negative, while the sum of reciprocals stays positive either way. The formula is stated for the even orders . Johann Bernoulli (1667–1748) and Jacob Bernoulli spent a long time determining the values of these series.

The object is for a positive integer and a positive integer exponent : one polynomial in , with coefficients fixed by , , and the later . The generating series asks the further restriction . The reciprocal sums ask the exponent to be a positive even integer , so that can set . Keep only the odd denominators and alternate the sign. That constant is fixed by an Euler number, on Euler numbers.

Spot a mistake in this page?