Sunday, 30 August 2015

summation - The sum of squares of the first n natural numbers.



My basic question is this: how to find the sum of squares of the first n natural numbers?



My thoughts have led me to an interesting theorem: Faulhaber's formula. It is known that 1k+2k++nk=Pk+1(n) is a polynomial of degree n (k+1) (!). For my problem: 12+22++n2=a+bn+cn2+dn3. Further resolving an uncomplicated system of linear equations:
{0=a12=a+b1+c12+d1312+22=a+b2+c22+d2312+22+32=a+b3+c32+d33
Thus we get: a=0,b=16,c=12,d=13, i.eP3(n)=n(n+1)(2n+1)6.
My further questions:



1) What are some ways to find the sum of the squares of the first n natural numbers?




2) (!) How to prove that the sum of 1k+2k++nk is a polynomial of degree n k+1?


Answer



An integer-valued polynomial is a polynomial with complex coefficients taking values in Z when all the variables take integer values. For example, x2+3x2 and 13x3+5xy26 are integer-valued polynomials. Clearly, the set of integer-valued polynomials with variables x1,x2,,xn form a subring of Q[x1,x2,,xn]. A result by Polya states that the ring of integer-valued polynomials in one variable x is a free abelian group with basis elements (xk)=x(x1)(x2)(xk+1)k! for k=0,1,2,\ldots.



To answer your question, x^k is an integer-valued polynomial. Therefore, x^k=\sum_{r=0}^k \,a_r\binom{x}{r} for some a_0,a_1,\ldots,a_n\in\mathbb{Z} (obviously, a_n\neq 0). Now, \sum_{m=0}^n\,m^k=\sum_{m=0}^n\,\sum_{r=0}^k\,a_r\binom{m}{r}=\sum_{r=0}^k\,a_k\,\sum_{m=0}^n\,\binom{m}{r}. By the Hockey-Stick Identity (see http://www.artofproblemsolving.com/wiki/index.php/Combinatorial_identity#Hockey-Stick_Identity), \sum_{m=0}^n\,m^k=\sum_{r=0}^k\,a_k\,\binom{n+1}{r+1}. Hence, \sum_{m=0}^n\,m^k is a polynomial in n of degree k+1, as the coefficient of n^{k+1} is \frac{a_k}{(k+1)!}\neq 0. (In fact, a_k=k!, so we know that \sum_{m=0}^n\,m^k=\frac{n^{k+1}}{k+1}+\mathcal{O}\left(n^k\right).)


No comments:

Post a Comment

real analysis - How to find lim_{hrightarrow 0}frac{sin(ha)}{h}

How to find \lim_{h\rightarrow 0}\frac{\sin(ha)}{h} without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...