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

Summation factor

To solve this equation :

anTn=bnTn−1+cna_nT_n=b_nT_{n-1}+c_n

We have to construct sns_n that satisfied : snbn=sn−1an−1s_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=Sn−1+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=sn−1⋅an−1bns_n=s_{n-1}\cdot \dfrac {a_{n-1}}{b_n}, therefore :

sn=k⋅an−1an−2⋯a1bnbn−1⋯b2s_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 :

∑0≤k<nHk=nHk−n\sum_{0 \le k < n}H_k=nH_k-n

Proof :

∑0≤k≤n∑1≤i≤k1i=∑i=1n∑k=in−11i=∑i=1nn−ii=∑i=1n(ni−1)=n∑i=1n1i−n=nHn−n\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=∑0≤k≤ncxkS_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)=n∑k=1nakbk−∑1≤j<k≤n(ak−aj)(bk−bj)\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 a1≤⋯≤an, b1≤⋯≤bna_1 \le \dots \le a_n,\ b_1 \le \dots \le b_n,we have:

(∑k=1nak)(∑k=1nbk)≤n∑k=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=∑1≤j<k≤n(ak−aj)(bk−bj)S = \sum_{1 \le j < k \le n} (a_k - a_j)(b_k - b_j)

Swap indices jj and kk:

S=∑1≤k<j≤n(aj−ak)(bj−bk)=∑1≤k<j≤n(ak−aj)(bk−bj)\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=∑1≤j,k≤n(aj−ak)(bj−bk)−∑1≤j=k≤n(aj−ak)(bj−bk)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:

∑1≤j,k≤najbj\sum_{1\le j,k\le n} a_j b_j

2n∑1≤k≤nakbk−2(∑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