For example, we know that the following is true (and can be easily derived):
n∑x=1x=12n(n+1)
But, what if we wanted to find the sum of a series like this:
n∑x=1x(2x+1)
Wolfram|Alpha tells me that the answer is 16n(n+1)(4n+5), but I'm at a loss as to how it came up with this answer. Is there a simple method for finding the general formula for a partial sum of the form n∑x=1y(x) where y(x) is a polynomial with rational roots?
Answer
Let p(x)=n∑i=0aixi
Say you wan't to find ∑p(x).
There is a general formula for ∑xk.
1k+2k+⋯+nk=k∑i=1S(k,i)(n+1i+1)i!=nk+1k+1+12nk+B1r2!nr−1−⋯
Where S(k,i) is the Stirling number of the Second Kind and Br denots the the Bernoulli's Numbers.
So using that you can find the sum of any polynomial.
The given sum- ∑x(2x+1)=2∑x2+∑x=2(n+12)+4(n+13)+(n+12)=16n(n+1)(4n+5)
No comments:
Post a Comment