This wiki page page inspired me to do discover \(\sum^n_{i=1}i^a\) with \(a\) being a natural number;
I will just start using \(\sum^n_{i=1}i^0=1^0+2^0+3^0+...+n^0=n\) so I can discover the next ones;
Using the same method that the linked page had done with \(n^2\) and \(n^3\), I will discover the polynomial that is equal to \(\sum^n_{i=1}i^a\);
First, I will use binomial theorem:
(n+1)a+1=∑i=0a+1(ia+1)ni The 1a+1−i will be always 1, so it will not change the result if not written
Therefore:
(n+1)a+1=na+1+∑i=0a(ia+1)ni (I took the "na+1" out of the sum notation)
(n+1)a+1−na+1=∑i=0a(ia+1)ni
As the page did, I will substitute n by 1,2,3....n
2a+1−1a+1=∑i=0a(ia+1)1i
3a+1−2a+1=∑i=0a(ia+1)2i
4a+1−3a+1=∑i=0a(ia+1)3i
⋮
na+1−(n−1)a+1=∑i=0a(ia+1)(n−1)i
(n+1)a+1−na+1=∑i=0a(ia+1)ni
Then I will sum everything, notice that everything on the left side, except (n+1)a+1 and −1a+1 cancels themselves, for the right side, every sum has now another sum inside it!
(n+1)a+1−1=∑i=0a((ia+1)∑j=1nji)
I will work the left side now, remember what (n+1)a+1 is, but now, we will have to take the (0a+1)n0=1, because it will cancel with −1:
∑i=1a+1(ia+1)ni=∑i=0a((ia+1)∑j=1nji)
Now, I will take the term that appears on the sum of the right when i=a out of the notation:
∑i=1a+1(ia+1)ni=(aa+1)∑j=1nja+∑i=0a−1((ia+1)∑j=1nji)
Notice that this term is exactally what we are searching, so I will isolate it:
(aa+1)∑j=1nja=∑i=1a+1(ia+1)ni−∑i=0a−1((ia+1)∑j=1nji)
Remember that (aa+1)=(1a+1)=a+1:
∑j=1nja=a+1∑i=1a+1(ia+1)ni−∑i=0a−1((ia+1)∑j=1nji)
Now, Remember that, when a=0, we have a polynomial expression n, then if a=2 also "is"(As in: there is a polynomial expression that has the same values) a polynomial expression, and, by a strong induction, if a is natural, then the expression ∑i=1nia also "is".
I also made a program, in Python, that returned the expression of ∑i=1nia, but to much more values other than 0, 1, 2, 3(Which the original page did), some of the results are:
∑i=1ni1=2n2+n
∑i=1ni2=62n3+3n2+n
∑i=1ni3=4n4+2n3+n2
∑i=1ni4=306n5+15n4+10n3−n
∑i=1ni5=122n6+6n5+5n4−1n2
∑i=1ni6=426n7+21n6+21n5−7n3+n
∑i=1ni7=243n8+12n7+14n6−7n4+2n2
∑i=1ni8=9010n9+45n8+60n7−42n5+20n3−3n
∑i=1ni9=202n10+10n9+15n8−14n6+10n4−3n2
There are patterns there, but I will make another note to that, as this is getting huge
#Algebra
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
This is amazing, i never knew we can generalize it !! Before reading this note , i used to approximate the answer.
Sk=1k+2k+3k+⋯+nk=r=1∑nrk
For a large value of n (probably greater than 1000 for negligible error) we can convert the sum in an integral
r=0∑nrk=nk+1∫01xkdxSk≈k+1nk+1
For example take k=1 and n=2000
S1≈220002=2000000exact sum = 2001000
an error of only 1000 . the bigger the value of n , more accurate is the approximation
Log in to reply
That is one of the patterns:
The term with the highest degree of the equivalent of ∑i=1nia is a+1na+1
We can prove it by induction, as in: it works for a=1, because ∑i=1ni1=1+1n2+...
If it works for a=k,k−1,k−2,..., then for a=k+1, we have:
∑i=1nik+1=k+2∑i=1k+2(ik+2)ni−(∑i=0a(ik+2)∑j=1nji)
The term with the highest degree is (k+1)+1n(k+1)+1 due the first sum highest degree, no term of the other sum has a equal or higher degree, because the highest one is ∑i=1nik, which gives k+1nk+1
And as the others sums have a lower exponent, then they will have a lower degree of term(this is a strong induction)
There's a (somewhat) general result for this involving Bernoulli numbers. It's called Faulhaber's formula.
Log in to reply
That is a very good comment, thanks for linking it, even though it make everything I did useless...