Sums¶
Sums and products · Chapter 1 · Lecture notes (PDF) · Exercises: Sums · Slides (PDF) · App: Sums and products
1. Definition¶
Definition 1: sum
Given \(n\) values \(a_j \in \R\) with \(j \in \{1,2,\dots,n\}\), the sum
can be indicated in compact form with the sum symbol:
which reads: “sum for \(j\) from \(1\) to \(n\) of \(a_j\)”. The symbol \(j\) is called sum index.
- The sum symbol is therefore very useful when the terms \(a_j\) are explicitly defined as a function of the sum index \(j\).
Example 1: sums
- The sum index is a dummy index. This means that if \(j\) is replaced with \(i\), \(k\) or any other index in all its occurrences the value of the sum does not change.
Example 2: dummy index
We have:
as the two symbols indicate the sum of the squares of the first \(n\) natural numbers (without zero). On the contrary, we have:
as the two symbols indicate the sum, respectively, of the first \(n\) and the first \(m\) squares of the natural numbers (without zero). Clearly, if \(n \neq m\), the result is different.
2. Properties¶
Observation 1: sum with constant term
For every natural number \(n\ge 1\) and real number \(c\), we have:
Proof
We have:
□
Observation 2: product by a constant
For every sum \(\sum_{j=1}^n a_j\) and real number \(c\), we have:
Proof
From the distributive property, we have:
□
Observation 3: union of sums
For every pair of sums \(\sum_{j=1}^n a_j\) and \(\sum_{j=1}^n b_j\), we have:
Proof
We have:
□
Observation 4: decomposition
For every sum \(\sum_{j=1}^{n+m} a_j\), we have:
Observation 5: index translation
For every sum \(\sum_{j=1}^{n} a_j\) and natural number \(m \ge 1\), we have:
Observation 6: index reflexion
For every sum \(\sum_{j=1}^{n} a_j\), we have:
Proof
The three properties are simply different notations and/or arrangements of the terms in the sums. □
3. Some important sums¶
Observation 7: sum of the first \(n\) positive natural numbers
For every natural number \(n \ge 1\), we have:
Proof
We have:
□
Observation 8: sum of the first \(n\) positive even numbers
For every natural number \(n \ge 1\), we have:
Proof
We have:
□
Observation 9: sum of the first \(n\) odd numbers
For every natural number \(n \ge 1\), we have:
Proof
We have:
□
Try it in the lab
the same computation step by step: change the matrix and watch the steps change.
Exercises and lab¶
- Exercises · the exercise sheet of this chapter: 12 exercises with worked solutions
- Lab · Sums and products — type the general term and compare with the closed-form sums of this chapter