Rough automatic draft, low quality: expect mistakes and awkward wording. It will be replaced by a better translation. Original →
37
CALCULATING SUM
Calculating sums is one of the most important and interesting questions in mathematics. There are various methods for calculating sums. The article talks about two of them.
- In mathematics and its numerous applications, a special sign is used to abbreviate the sum. This is Σ - the letter of the Greek alphabet “sigma”. Writing a sum using the Σ sign is often very convenient. Let’s get to know this sign.
Let a sum of the form be given
a1+a2+⋯+an.
All terms of this sum are designated by one letter, to distinguish the use of subscripts. This amount can be abbreviated as follows:
k=1∑nak.
It reads: “sigma ak, k varies from 1 to n.” For such a notation, we take a “typical” summand of the sum, in our case ak∗, write the sign Σ in front of it and indicate the limits of change k. For example, record
k=1∑10k
means the amount
1+2+3+4+5+6+7+8+9+10,
*) ak is called the common term of the sum.
and the recording
k=1∑nk(k+1)1
- amount
1⋅21+2⋅31+⋯+(n−1)n1+n(n+1)1.
It is easy to check the following properties of the sign Σ:
k=1∑n1=n,k=1∑ncak=ck=1∑nak,
k=1∑n(ak+bk)=k=1∑nak+k=1∑nbk.
Let’s check, for example, the second property.
By definition
k=1∑ncak=ca1+ca2+⋯+can,
Therefore, according to the well-known property of sums, we have:
k=1∑ncak=c(a1+a2+⋯+an).
But the expression in brackets is nothing more than
k=1∑nak
and therefore
k=1∑ncak=ck=1∑nak.
38
The remaining two properties are checked in a similar way.
- Let’s consider the question of calculating a sum of the form
k=1∑nf(k)=f(1)+f(2)+⋯+f(n),
where f is a known function of an integer argument defined on the segment [1,n] of the natural series.
This sum is easy to calculate if we successfully solve the function F defined on the segment [1,n+1] of the natural series, which for all k,1≤k≤n, the equality is true
f(k)=F(k+1)−F(k).
In fact, putting k=1,2,…,n−1,n in this equality successively, we obtain:
f(1)=F(2)−F(1),
f(2)=F(3)−F(2),
f(3)=F(4)−F(3),
f(n−1)=F(n)−F(n−1),
f(n)=F(n+1)−F(n).
Adding these equalities, we arrive at the following formula:
k=1∑nf(k)=F(n+1)−F(1).
Thus, if the function F is found, the sum (1) is calculated simply.
Let us illustrate formula (3) of geometric progression.
On figure 1 we need to find the sum (1), denoted simply by Σ, as the length of the vertical segment. Each term of the form f(k) corresponds to the length of the red segment equal to the difference between the lengths of the green segments F(k+1) and F(k). Obviously, the sum of the lengths of all red segments is equal to the difference between the lengths of the first and last green segments.
Example 1. Calculate the sum
1.21+2.31+3.41+⋯+n(n+1)1,
that is
k=1∑nk(k+1)1.
Here
f(k)=k(k+1)1,
and, as is easy to check, it can be represented as the following difference:
f(k)=k1−k+11.
Therefore, if we denote
F(k)=−k1,
then formula (2) will be satisfied for all natural k:
f(k)=F(k+1)−F(k).
Applying formula (3), we easily obtain
k=1∑nk(k+1)1=1−n+11=n+1n.
Example 2. Find the sum of the terms of the following geometric progression:
q,q2,q3,…,qn(q=1).
Here f(k)=qk, and, using the equality qk+1−qk=qk(q−1), we can write
qk=q−1qk+1−q−1qk.
From this we can see that we can put
F(k)=q−1qk,
and therefore
k=1∑nqk=q−1qn+1−q−1q=q−1qn+1−q.
We obtained the well-known formula.
39
Example 3. Calculate the sum
k=1∑nsinkx(x=2πn).
It is easy to check that
sinkx=2sin0,5xcos(k−0,5)x−cos(k+0,5)x,
that is
sinkx=F(k+1)−F(k),
Where
F(k)=−2sin0,5xcos(k−0,5)x.
Now, based on formula (3), after simple transformations we obtain
k=1∑nsinkx=2sin0,5xsin0,5(n+1)xsin0,5nx.
The reader himself is convinced that formula (3) provides an effective way to calculate the sum (1). The main thing is to find the function F. Often, unfortunately, this is not an easy task, and sometimes even insurmountable.
3. Let now two finite sequences of numbers be given
u1,u2,…,un,
And
v1,v2,…,vn
and you need to calculate the amount
k=1∑nukvk.
One transformation that is often useful here is one that was pointed out by the replaced Norwegian mathematician Abel. Let Vk be the sum of the first k terms of sequence (4), that is
Vk=i=1∑kvi=v1+v2+⋯+vk.
It is clear that v1=V1; if k>1, then
vh=Vh−Vh−1.
Because
k=1∑nukvk=u1v1+u2v2+⋯+unvn=u1V1+u2(V2−V1)+⋯+un(Vn−Vn−1)
Opening the brackets and grouping the terms by two, we get
k=1∑nukvk=(u1−u2)V1+(u2−u3)V2+⋯+(un−1−un)Vn−1+unVn
or finally:
k=1∑nukvk=unVn−k=1∑n−1(uk+1−uk)Vk. (5)
A geometric interpretation of this method is given at figure 2. Each term of the form ukvk corresponds to the area of the rectangle (green). Terms of the form (uk+1−uk)Vn correspond to the areas of the red rectangles. The expression unVn is the area of the entire rectangle. After this, formula (5) becomes very visible.
Example 4. Calculate the sum
12+22+⋯+n2.
Let us denote the amount sought by S and write it down using the sign Σ:
S=k=1∑nk2.