《具体数学》2 Sum Study Note (2)
Repertoire method
If we want to calculate : ∑i=1ni2, we can construct a recursion :
{R0=αRn=Rn−1+β+γn+δn2
And it must satisfy :
Rn=A(n)α+B(n)β+C(n)γ+D(n)δ
Consider that we have already known A(n),B(n),C(n), now I will demonstrate to you how to calculate D(n) :
Let Rn=n3 , so α=0, and :
n3−(n−1)3β=1,γ=3n2−3n+1=−3,δ=3
Therefore :
Rn=n3=A(n)⋅α+B(n)β+C(n)γ+D(n)δ
Since only D(n) remains unknown, we may solve for it directly !
Expansion method
For calculating ∑k=1nk2, this is a one-fold sum, yet we may rewrite it as a double sum :
k=1∑nk2=k=1∑n[kj=1∑k1]=k=1∑nj=1∑kk=j=1∑nk=j∑nk=j=1∑n2(j+n)(n−j+1)
That is easy.
Difference
Definition :
g(x)=Δf(x)⟺∑g(x)dx=f(x)+C
For example :
0≤k<n∑km=m+1km+10n=m+1nm+1−m+10m+1=m+1nm+1
Proof :
As :
Δ(xm)=(x+1)m−xm=(x+1)⋅x⋅(x−1)⋯(x−m+2)−x⋅(x−1)⋯(x−m+1)=m⋅xm−1
So :
xm=m+1Δ(xm+1)
Below are more common differences :

- xm is like xm in finite
- 2x is like ex in finite
- Hx is like lnx in finite
So the whole calculation of xm is :
a∑bxmδx=⎩⎨⎧m+1xm+1ab,Hx∣ab,m=−1,m=−1.
Δ(u(x)v(x))=u(x+1)v(x+1)−u(x)v(x)=u(x+1)v(x+1)−u(x)v(x+1)+u(x)v(x+1)−u(x)v(x)=u(x)Δv(x)+v(x+1)Δu(x)
Here, Ef(x)=f(x+1). We refer to E as the shift operator.
Give you an example :
*English improve
And it must have to be -> And it must satisfy
Only $D(n)$ is unknown, so we can get it easily ! -> Since only $D(n)$ remains unknown, we may solve for it directly !
but we can change it -> yet we may rewrite it as
Here's -> Below are
we called it -> we refer to E as