Faulhaber's formula

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Use American English In mathematics, Faulhaber's formula, named after the early 17th century mathematician Johann Faulhaber, expresses the sum of the p-th powers of the first n positive integers k=1nkp=1p+2p+3p++np as a polynomial in n. In modern notation, Faulhaber's formula is k=1nkp=1p+1r=0p(p+1r)Brnp+1r. Here, (p+1r) is the binomial coefficient "p + 1 choose r", and the Bj are the Bernoulli numbers with the convention that B1=+12.

The result: Faulhaber's formula

Faulhaber's formula concerns expressing the sum of the p-th powers of the first n positive integers k=1nkp=1p+2p+3p++np as a (p + 1)th-degree polynomial function of n.

The first few examples are well known. For p = 0, we have k=1nk0=k=1n1=n. For p = 1, we have the triangular numbers k=1nk1=k=1nk=n(n+1)2=12(n2+n). For p = 2, we have the square pyramidal numbers k=1nk2=n(n+1)(2n+1)6=13(n3+32n2+12n).

The coefficients of Faulhaber's formula in its general form involve the Bernoulli numbers Bj. The Bernoulli numbers begin B0=1B1=12B2=16B3=0B4=130B5=0B6=142B7=0, where here we use the convention that B1=+12. The Bernoulli numbers have various definitions (see Bernoulli number#Definitions), such as that they are the coefficients of the exponential generating function t1et=t2(cotht2+1)=k=0Bktkk!.

Then Faulhaber's formula is that k=1nkp=1p+1k=0p(p+1k)Bknpk+1. Here, the Bj are the Bernoulli numbers as above, and (p+1k)=(p+1)!(p+1k)!k!=(p+1)p(p1)(pk+3)(pk+2)k(k1)(k2)21 is the binomial coefficient "p + 1 choose k".

Examples

So, for example, one has for Template:Math, 14+24+34++n4=15j=04(5j)Bjn5j=15(B0n5+5B1n4+10B2n3+10B3n2+5B4n)=15(n5+52n4+53n316n).

The first seven examples of Faulhaber's formula are k=1nk0=11(n)k=1nk1=12(n2+22n)k=1nk2=13(n3+32n2+36n)k=1nk3=14(n4+42n3+66n2+0n)k=1nk4=15(n5+52n4+106n3+0n2530n)k=1nk5=16(n6+62n5+156n4+0n31530n2+0n)k=1nk6=17(n7+72n6+216n5+0n43530n3+0n2+742n).

History

Ancient period

The history of the problem begins in antiquity and coincides with that of some of its special cases. The case p=1 coincides with that of the calculation of the arithmetic series, the sum of the first n values of an arithmetic progression. This problem is quite simple but the case already known by the Pythagorean school for its connection with triangular numbers is historically interesting:

1+2++n=12n2+12n, Template:Pad polynomial S1,11(n) calculating the sum of the first n natural numbers.

For m>1, the first cases encountered in the history of mathematics are:

1+3++2n1=n2, Template:Pad polynomial S1,21(n) calculating the sum of the first n successive odds forming a square. A property probably well known by the Pythagoreans themselves who, in constructing their figured numbers, had to add each time a gnomon consisting of an odd number of points to obtain the next perfect square.
12+22++n2=13n3+12n2+16n, Template:Pad polynomial S1,12(n) calculating the sum of the squares of the successive integers. Property that is demonstrated in Spirals, a work of Archimedes.[1]
13+23++n3=14n4+12n3+14n2, Template:Pad polynomial S1,13(n) calculating the sum of the cubes of the successive integers. Corollary of a theorem of Nicomachus of Gerasa.[1]

L'insieme S1,1m(n) of the cases, to which the two preceding polynomials belong, constitutes the classical problem of powers of successive integers.

Middle period

Over time, many other mathematicians became interested in the problem and made various contributions to its solution. These include Aryabhata, Al-Karaji, Ibn al-Haytham, Thomas Harriot, Johann Faulhaber, Pierre de Fermat and Blaise Pascal who recursively solved the problem of the sum of powers of successive integers by considering an identity that allowed to obtain a polynomial of degree m+1 already knowing the previous ones.[1]

Faulhaber's formula is also called Bernoulli's formula. Faulhaber did not know the properties of the coefficients later discovered by Bernoulli. Rather, he knew at least the first 17 cases, as well as the existence of the Faulhaber polynomials for odd powers described below.[2]

Jakob Bernoulli's Summae Potestatum, Ars Conjectandi, 1713

In 1713, Jacob Bernoulli published under the title Summae Potestatum an expression of the sum of the Template:Mvar powers of the Template:Math first integers as a (Template:Math)th-degree polynomial function of Template:Math, with coefficients involving numbers Template:Math, now called Bernoulli numbers:

k=1nkp=np+1p+1+12np+1p+1j=2p(p+1j)Bjnp+1j.

Introducing also the first two Bernoulli numbers (which Bernoulli did not), the previous formula becomes k=1nkp=1p+1j=0p(p+1j)Bjnp+1j, using the Bernoulli number of the second kind for which B1=12, or k=1nkp=1p+1j=0p(1)j(p+1j)Bjnp+1j, using the Bernoulli number of the first kind for which B1=12.

A rigorous proof of these formulas and Faulhaber's assertion that such formulas would exist for all odd powers took until Template:Harvs, two centuries later. Jacobi benefited from the progress of mathematical analysis using the development in infinite series of an exponential function generating Bernoulli numbers.

Modern period

In 1982 A.W.F. Edwards publishes an article [3] in which he shows that Pascal's identity can be expressed by means of triangular matrices containing the Pascal's triangle deprived of 'last element of each line:

(nn2n3n4n5)=(100001200013300146401510105)(nk=0n1k1k=0n1k2k=0n1k3k=0n1k4)[4][5]

The example is limited by the choice of a fifth order matrix but is easily extendable to higher orders. The equation can be written as: N=AS and multiplying the two sides of the equation to the left by A1 , inverse of the matrix A, we obtain A1N=S which allows to arrive directly at the polynomial coefficients without directly using the Bernoulli numbers. Other authors after Edwards dealing with various aspects of the power sum problem take the matrix path [6] and studying aspects of the problem in their articles useful tools such as the Vandermonde vector.[7] Other researchers continue to explore through the traditional analytic route [8] and generalize the problem of the sum of successive integers to any geometric progression[9][10]

Proof with exponential generating function

Let Sp(n)=k=1nkp, denote the sum under consideration for integer p0.

Define the following exponential generating function with (initially) indeterminate z G(z,n)=p=0Sp(n)1p!zp. We find G(z,n)=p=0k=1n1p!(kz)p=k=1nekz=ez1enz1ez,=1enzez1. This is an entire function in z so that z can be taken to be any complex number.

We next recall the exponential generating function for the Bernoulli polynomials Bj(x) zezxez1=j=0Bj(x)zjj!, where Bj=Bj(0) denotes the Bernoulli number with the convention B1=12. This may be converted to a generating function with the convention B1+=12 by the addition of j to the coefficient of xj1 in each Bj(x), see Bernoulli polynomials#Explicit formula for example. B0 does not need to be changed. j=0Bj+(x)zjj!=zezxez1+j=1jxj1zjj!=zezxez1+j=1xj1zj(j1)!=zezxez1+zezx=zezx+zezezxzezxez1=zezx1ez so that

j=0Bj+(x)zjj!j=0Bj+(0)zjj!=zezx1ezz1ez=zG(z,n) It follows that Sp(n)=Bp+1+(n)Bp+1+(0)p+1 for all p.

Faulhaber polynomials

The term Faulhaber polynomials is used by some authors to refer to another polynomial sequence related to that given above.

Write a=k=1nk=n(n+1)2. Faulhaber observed that if p is odd then k=1nkp is a polynomial function of a.

Proof without words for p = 3 [11]

For p = 1, it is clear that k=1nk1=k=1nk=n(n+1)2=a. For p = 3, the result that k=1nk3=n2(n+1)24=a2 is known as Nicomachus's theorem.

Further, we have k=1nk5=4a3a23k=1nk7=6a44a3+a23k=1nk9=16a520a4+12a33a25k=1nk11=16a632a5+34a420a3+5a23 (see Template:OEIS2C, Template:OEIS2C, Template:OEIS2C, Template:OEIS2C, Template:OEIS2C).

More generally, Template:Citation needed k=1nk2m+1=122m+2(2m+2)q=0m(2m+22q)(222q)B2q[(8a+1)m+1q1].

Some authors call the polynomials in a on the right-hand sides of these identities Faulhaber polynomials. These polynomials are divisible by Template:Math because the Bernoulli number Template:Math is 0 for odd Template:Math.

Inversely, writing for simplicity sj:=k=1nkj, we have 4a3=3s5+s38a4=4s7+4s516a5=5s9+10s7+s5 and generally 2m1am=j>0(m2j1)s2m2j+1.

Faulhaber also knew that if a sum for an odd power is given by k=1nk2m+1=c1a2+c2a3++cmam+1 then the sum for the even power just below is given by k=1nk2m=n+122m+1(2c1a+3c2a2++(m+1)cmam). Note that the polynomial in parentheses is the derivative of the polynomial above with respect to a.

Since a = n(n + 1)/2, these formulae show that for an odd power (greater than 1), the sum is a polynomial in n having factors n2 and (n + 1)2, while for an even power the polynomial has factors n, n + 1/2 and n + 1.

Expressing products of power sums as linear combinations of power sums

Products of two (and thus by iteration, several) power sums sjr:=k=1nkjr can be written as linear combinations of power sums with either all degrees even or all degrees odd, depending on the total degree of the product as a polynomial in n, e.g. 30s2s4=s3+15s5+16s7. Note that the sums of coefficients must be equal on both sides, as can be seen by putting n=1, which makes all the sj equal to 1. Some general formulae include: (m+1)sm2=2j=0m2(m+12j)(2m+12j)B2js2m+12j.m(m+1)smsm1=m(m+1)Bmsm+j=0m12(m+12j)(2m+12j)B2js2m2j.2m1s1m=j=1m+12(m2j1)s2m+12j. Note that in the second formula, for even m the term corresponding to j=m2 is different from the other terms in the sum, while for odd m, this additional term vanishes because of Bm=0.

Matrix form

Faulhaber's formula can also be written in a form using matrix multiplication.

Take the first seven examples k=1nk0=1nk=1nk1=12n+12n2k=1nk2=16n+12n2+13n3k=1nk3=0n+14n2+12n3+14n4k=1nk4=130n+0n2+13n3+12n4+15n5k=1nk5=0n112n2+0n3+512n4+12n5+16n6k=1nk6=142n+0n216n3+0n4+12n5+12n6+17n7. Writing these polynomials as a product between matrices gives (k0k1k2k3k4k5k6)=G7(nn2n3n4n5n6n7), where G7=(10000001212000001612130000014121400013001312150001120512121601420160121217).

Surprisingly, inverting the matrix of polynomial coefficients yields something more familiar: G71=(1000000120000013300001464000151010500161520156017213535217)=A7

In the inverted matrix, Pascal's triangle can be recognized, without the last element of each row, and with alternating signs.

Let A7 be the matrix obtained from A7 by changing the signs of the entries in odd diagonals, that is by replacing ai,j by (1)i+jai,j, let G7 be the matrix obtained from G7 with a similar transformation, then A7=(1000000120000013300001464000151010500161520156017213535217) and A71=(10000001212000001612130000014121400013001312150001120512121601420160121217)=G7. Also (k=0n1k0k=0n1k1k=0n1k2k=0n1k3k=0n1k4k=0n1k5k=0n1k6)=G7(nn2n3n4n5n6n7) This is because it is evident that k=1nkmk=0n1km=nm and that therefore polynomials of degree m+1 of the form 1m+1nm+1+12nm+ subtracted the monomial difference nm they become 1m+1nm+112nm+.

This is true for every order, that is, for each positive integer Template:Mvar, one has Gm1=Am and Gm1=Am. Thus, it is possible to obtain the coefficients of the polynomials of the sums of powers of successive integers without resorting to the numbers of Bernoulli but by inverting the matrix easily obtained from the triangle of Pascal.[12][13]

Variations

  • Replacing k with pk, we find the alternative expression: k=1nkp=k=0p1k+1(pk)Bpknk+1.
  • Subtracting np from both sides of the original formula and incrementing n by 1, we get k=1nkp=1p+1k=0p(p+1k)(1)kBk(n+1)pk+1=k=0p1k+1(pk)(1)pkBpk(n+1)k+1,
where (1)kBk=Bk can be interpreted as "negative" Bernoulli numbers with B1=12.
  • We may also expand G(z,n) in terms of the Bernoulli polynomials to find G(z,n)=e(n+1)zez1ezez1=j=0(Bj(n+1)(1)jBj)zj1j!, which implies k=1nkp=1p+1(Bp+1(n+1)(1)p+1Bp+1)=1p+1(Bp+1(n+1)Bp+1(1)). Since Bn=0 whenever n>1 is odd, the factor (1)p+1 may be removed when p>0.
  • It can also be expressed in terms of Stirling numbers of the second kind and falling factorials as[14] k=0nkp=k=0p{pk}(n+1)k+1k+1, k=1nkp=k=1p+1{p+1k}(n)kk. This is due to the definition of the Stirling numbers of the second kind as mononomials in terms of falling factorials, and the behaviour of falling factorials under the indefinite sum.

Interpreting the Stirling numbers of the second kind, {p+1k}, as the number of set partitions of [p+1] into k parts, the identity has a direct combinatorial proof since both sides count the number of functions f:[p+1][n] with f(1) maximal. The index of summation on the left hand side represents k=f(1), while the index on the right hand side is represents the number of elements in the image of f.

(n+1)k+11=m=1n((m+1)k+1mk+1)=p=0k(k+1p)(1p+2p++np).

This in particular yields the examples below – e.g., take Template:Math to get the first example. In a similar fashion we also find

nk+1=m=1n(mk+1(m1)k+1)=p=0k(1)k+p(k+1p)(1p+2p++np).

n=1nkxn=x(1x)k+1Ak(x).
  • Faulhaber's formula was generalized by Guo and Zeng to a [[q-analog|Template:Mvar-analog]].[16]

Relationship to Riemann zeta function

Using Bk=kζ(1k), one can write k=1nkp=np+1p+1j=0p1(pj)ζ(j)npj.

If we consider the generating function G(z,n) in the large n limit for (z)<0, then we find limnG(z,n)=1ez1=j=0(1)j1Bjzj1j! Heuristically, this suggests that k=1kp=(1)pBp+1p+1. This result agrees with the value of the Riemann zeta function ζ(s)=n=11ns for negative integers s=p<0 on appropriately analytically continuing ζ(s).

Faulhaber's formula can be written in terms of the Hurwitz zeta function:

k=1nkp=ζ(p)ζ(p,n+1)

Umbral form

In the umbral calculus, one treats the Bernoulli numbers B0=1, B1=12, B2=16, ... as if the index j in Bj were actually an exponent, and so as if the Bernoulli numbers were powers of some object B.

Using this notation, Faulhaber's formula can be written as k=1nkp=1p+1((B+n)p+1Bp+1). Here, the expression on the right must be understood by expanding out to get terms Bj that can then be interpreted as the Bernoulli numbers. Specifically, using the binomial theorem, we get 1p+1((B+n)p+1Bp+1)=1p+1(k=0p+1(p+1k)Bknp+1kBp+1)=1p+1k=0p(p+1j)Bknp+1k.

A derivation of Faulhaber's formula using the umbral form is available in The Book of Numbers by John Horton Conway and Richard K. Guy.[17]

Classically, this umbral form was considered as a notational convenience. In the modern umbral calculus, on the other hand, this is given a formal mathematical underpinning. One considers the linear functional T on the vector space of polynomials in a variable b given by T(bj)=Bj. Then one can say k=1nkp=1p+1j=0p(p+1j)Bjnp+1j=1p+1j=0p(p+1j)T(bj)np+1j=1p+1T(j=0p(p+1j)bjnp+1j)=T((b+n)p+1bp+1p+1).

A general formula

The series 1m+2m+3m+...+nm as a function of m is often abbreviated as Sm. Beardon has published formulas for powers of Sm, including a 1996 paper[18] which demonstrated that integer powers of S1 can be written as a linear sum of terms in the sequence S3,S5,S7,...:

S1N=12Nr=0N(Nr)SN+r(1(1)Nr)

The first few resulting identities are then

S12=S3
S13=14S3+34S5
S14=12S5+12S7.

Although other specific cases of SmN – including S22=13S3+23S5 and S23=112S4+712S6+13S8 – are known, no general formula for SmN for positive integers m and N has yet been reported. A 2019 paper by Derby[19] proved that:

SmN=k=1N(1)k1(Nk)r=1nrmkSmNk(r).

This can be calculated in matrix form, as described above. The m=1 case replicates Beardon's formula for S1N and confirms the above-stated results for m=2 and N=2 or 3. Results for higher powers include:

S24=154S5+518S7+59S9+427S11
S63=1588S8142S10+1384S124798S14+1728S16+1928S18+349S20.

Notes

Template:Reflist

  1. 1.0 1.1 1.2 Template:Cite news
  2. Template:Cite journal The arxiv.org paper has a misprint in the formula for the sum of 11th powers, which was corrected in the printed version. Correct version. Template:Webarchive
  3. Template:Cite journal
  4. The first element of the vector of the sums is n and not k=0n1k0 because of the first addend, the indeterminate form 00, which should otherwise be assigned a value of 1
  5. Template:Cite book
  6. Template:Cite news
  7. Template:Cite news
  8. Template:Cite web
  9. Template:Cite arXiv
  10. Template:Cite journal
  11. Template:Citation
  12. Template:Citation.
  13. Template:Citation.
  14. Concrete Mathematics, 1st ed. (1989), p. 275.
  15. Template:Cite journal
  16. Template:Cite journal
  17. Template:Cite book
  18. Template:Cite journal
  19. Template:Cite journal