Sum of all integrers of a certain degree

  • Context: Undergrad 
  • Thread starter Thread starter Werg22
  • Start date Start date
  • Tags Tags
    Degree Sum
Click For Summary

Discussion Overview

The discussion revolves around the search for a general formula for the sum of the series of the form 1^n + 2^n + 3^n + ... + a^n, exploring various approaches, formulas, and methods for calculating these sums. The scope includes mathematical reasoning and technical explanations related to series and polynomial sums.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • Some participants note that formulas for the sums differ depending on the power, suggesting that a generalized formula may not be feasible.
  • One participant references Faulhaber's formula as a potential source for a general approach to summing powers.
  • Another participant mentions a standard reference, "Table of Integrals, Series, and Products," indicating that the answer can be complex and involves polynomials of varying degrees.
  • A participant proposes a new method that simplifies aspects of Faulhaber's formula, using fewer factorials and no Bernoulli numbers.
  • One participant corrects a previous claim about the formula for the sum of squares, providing the correct expression and noting that the earlier version does not yield the desired result.
  • Another participant introduces the use of Lagrange Interpolating Polynomials as a method for deriving the sum of powers.
  • Some participants express a desire for proofs that are not tied to integrals, indicating a focus on algebraic methods instead.

Areas of Agreement / Disagreement

Participants express differing views on the feasibility of a general formula for the sums of powers, with some suggesting that existing formulas are specific to certain powers and others proposing new methods. The discussion remains unresolved regarding the existence of a comprehensive formula.

Contextual Notes

Some limitations are noted, including the complexity of the formulas and the dependence on specific definitions and assumptions about the sums being discussed.

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

?
 
Physics 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

[tex] \sum_{j=0}^m j^p \quad = \quad p! \sum_{j=0}^m Q_{pj} R_{pmj}[/tex]

[tex] 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 & k < p \\<br /> 1 & k \geq p<br /> \end{array}[/tex]

[tex] R_{pmk} \quad = \quad \prod_{l=1}^p 1 + \frac{m - l}{k}[/tex]
 
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).

[tex]\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)[/tex]

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

  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K