《具体数学》Lesson 2 SUMS | Study Note(1)

Summation factor

To solve this equation :

anTn=bnTn1+cna_nT_n=b_nT_{n-1}+c_n

We have to construct sns_n that satisfied : snbn=sn1an1s_nb_n=s_{n-1}a_{n-1} (1). And in here, sns_n is the summation factor.

so if we define Sn=snanTnS_n=s_na_nT_n. And when we multiple sns_n, thus the original expression becomes :

Sn=Sn1+sncnS_n=S_{n-1}+s_nc_n

This can be solved easily.

Yet how can we find sns_n ?

From the definiton (1), we know that sn=sn1an1bns_n=s_{n-1}\cdot \dfrac {a_{n-1}}{b_n}, therefore :

sn=kan1an2a1bnbn1b2s_n=k\cdot \dfrac{a_{n-1}a_{n-2}\cdots a_1}{b_nb_{n-1}\cdots b_2}

Harmonic number

Definition :

Hn=k=1n1kH_n = \sum_{k=1}^n\dfrac 1 k

The summation of harmonic number :

0k<nHk=nHkn\sum_{0 \le k < n}H_k=nH_k-n

Proof :

0kn1ik1i=i=1nk=in11i=i=1nnii=i=1n(ni1)=ni=1n1in=nHnn\begin{align*} \sum_{0 \le k \le n} \sum_{1 \le i \le k} \frac{1}{i} &= \sum_{i=1}^{n} \sum_{k=i}^{n-1} \frac{1}{i} \\ &= \sum_{i=1}^{n} \frac{n-i}{i} = \sum_{i=1}^{n} \left( \frac{n}{i} - 1 \right) \\ &= n \sum_{i=1}^{n} \frac{1}{i} - n = n H_n - n \end{align*}

The methods are multiple, any ways you choose can get the answer easily.

In fact, the most interesting feature of this problem is that when we arrange the numbers in a grid :

Summing the numbers along rows or columns proves difficult, yet calculating along the diagnonals is straightforward.

Perturbation method

Suppose we are given the sequence term ana_n, and we aim to compute its partial sum SnS_n, defined as:

Sn=k=0nakS_n=\sum_{k=0}^na_k

Adding an+1a_{n+1} to both sides, we derive the following identity step by step :

Sn+an+1=a0+k=0nak+1S_n+a_{n+1}=a_0+\sum_{k=0}^na_{k+1}

If we possess a recurrence relationship linking aka_k and ak+1a_{k+1}, the summation k=0nak+1\sum_{k=0}^na_{k+1} may be rewritten directly in terms of SnS_n.

Take the geometric partial sum as an example : Sn=0kncxkS_n=\sum_{0\le k\le n}cx^k

We obtain the equation :

Sn+cxn+1=c+xSnS_n+cx^{n+1}=c+xS_n

This is a linear equation containing only the unknown SnS_n

Chebyshev’s monotonic inequality

(k=1nak)(k=1nbk)=nk=1nakbk1j<kn(akaj)(bkbj)\left( \sum_{k=1}^n a_k \right) \left( \sum_{k=1}^n b_k \right) = n \sum_{k=1}^n a_k b_k - \sum_{1 \le j < k \le n} (a_k - a_j)(b_k - b_j)

Therefore, if a1an, b1bna_1 \le \dots \le a_n,\ b_1 \le \dots \le b_n,we have:

(k=1nak)(k=1nbk)nk=1nakbk\left( \sum_{k=1}^n a_k \right) \left( \sum_{k=1}^n b_k \right) \le n \sum_{k=1}^n a_k b_k

This is called the Chebyshev’s monitonic inequality


But how can we get the first equation ?

Define the sum :

S=1j<kn(akaj)(bkbj)S = \sum_{1 \le j < k \le n} (a_k - a_j)(b_k - b_j)

Swap indices jj and kk:

S=1k<jn(ajak)(bjbk)=1k<jn(akaj)(bkbj)\begin{aligned} S &= \sum_{1 \le k < j \le n} (a_j - a_k)(b_j - b_k) \\ &= \sum_{1 \le k < j \le n} (a_k - a_j)(b_k - b_j) \end{aligned}

Therefore:

2S=1j,kn(ajak)(bjbk)1j=kn(ajak)(bjbk)2S = \sum_{1 \le j,k \le n} (a_j - a_k)(b_j - b_k) - \sum_{1 \le j = k \le n} (a_j - a_k)(b_j - b_k)

The second term is 00.

The first term is:

1j,knajbj\sum_{1\le j,k\le n} a_j b_j

2n1knakbk2(k=1nak)(k=1nbk)2n\sum_{1\le k\le n} a_k b_k - 2\left(\sum_{k=1}^n a_k\right)\left(\sum_{k=1}^n b_k\right)

*Draft

This is my first draft of these notes. I used AI to refine it, and I rewrote the whole thing by hand to practice and improve my English.

image-20260716110755192