Sum of all integrers of a certain degree

  • Thread starter Thread starter Werg22
  • Start date Start date
  • Tags Tags
    Degree Sum
AI Thread Summary
The discussion centers on the search for a general formula to sum the series of integers raised to a power, expressed as 1^n + 2^n + 3^n + ... + a^n. It is noted that formulas for these sums vary depending on the power, with specific examples provided for sum(n) and sum(n^2). Faulhaber's formula is mentioned as a reference for deriving such sums, along with a simpler method that avoids complex factorials. Corrections to earlier formulas are made, emphasizing the importance of accuracy in mathematical expressions. The conversation concludes with a suggestion to use bivariate induction for proving the derived sums.
Werg22
Messages
1,431
Reaction score
1
Is there a general formula for the sum all the terms of the a serie such as:

1^n + 2^n + 3^n ... a^n

?
 
Mathematics news on Phys.org
Werg22 said:
Is there a general formula for the sum all the terms of the a serie such as:
1^n + 2^n + 3^n ... a^n
?

well, as far as i know, the formulas differ depending on the power. I don't think that you can generalize a rhiemann summation like that...although it would defenetly be useful.

i know that sum(n) = n(n-1)/2
sum(n^2)=n(n-1)(n-2)/6

and so on...but i never had to memorize them so i might be wrong about the second one...if there was a way to combine all of them no matter the power, it should be in the precalculus manuals i think.
 
This looks like one

I was looking for this a few weeks ago and found one here:
http://mathworld.wolfram.com/FaulhabersFormula.html"
Also, google: "general power series sum" or variation and you should get quite a few hits
 
Last edited by a moderator:
There is a standard reference "Table of Integrals, Series, and Products" by Gradshteyn and Ryzhik, published by Academic Press. The answer gets fairly complicated in n. It is a polynomial in degree n+1 without a constant term and sometimes without a linear term. Specifically there are terms in n+1, n, n-1, n-3, n-5, etc.
 
Another way to do it

I came up with another general way. Borrows a bit from Faulhaber's formula but it's a little simpler and might be a little faster as it uses fewer factorials and no Bernoulli numbers

<br /> \sum_{j=0}^m j^p \quad = \quad p! \sum_{j=0}^m Q_{pj} R_{pmj}<br />

<br /> Q_{pk} \quad = \quad \left\{<br /> \begin{array}{ll}<br /> \sum_{j=0}^k -1^j \frac{ (k - j + 1)^p}{j!(p - j)!} \quad &amp; k &lt; p \\<br /> 1 &amp; k \geq p<br /> \end{array}<br />

<br /> R_{pmk} \quad = \quad \prod_{l=1}^p 1 + \frac{m - l}{k}<br />
 
Last edited:
Robokapp said:
well, as far as i know, the formulas differ depending on the power. I don't think that you can generalize a rhiemann summation like that...although it would defenetly be useful.
i know that sum(n) = n(n-1)/2
sum(n^2)=n(n-1)(n-2)/6
and so on...but i never had to memorize them so i might be wrong about the second one...if there was a way to combine all of them no matter the power, it should be in the precalculus manuals i think.

There's a typo there, it should be
sum(n^2)=n(n+1)(2n+1)/6.
Although n(n-1)(n-2)/6 will always return a possitve integer for n > 2, it does not give you the desired number.
 
Here's one using Lagrange Interpolating Polynomials

Here's one using Lagrange Interpolating Polynomials (eqivalent to simplified polynomial curve fitting here).

\sum_{k=1}^{n}k^{p}=\sum_{k=1}^{p+2}\left(\sum_{m=1}^{k}m^{p}\prod_{j=1}^{p+2}\frac{n-j}{k-j}\right)

where, in the product, the terms with j=k are omitted.
 
Last edited:
Alright. I hope the proof of those sum is not tied to integral as I was looking for such a thing in order to proove the integral!
 
Werg22 said:
Alright. I hope the proof of those sum is not tied to integral as I was looking for such a thing in order to proove the integral!

You can use bivariate induction to prove the above sum.
 

Similar threads

Back
Top