Products¶
Sums and products · Chapter 2 · Lecture notes (PDF) · Exercises: Products · Slides (PDF) · App: Sums and products
1. Definition¶
Definition 1: product
Given \(n\) values \(a_j \in \R\) with \(j \in \{1,2,\dots,n\}\), the product
can be indicated in compact form with the product symbol:
which reads: “product for \(j\) from \(1\) to \(n\) of \(a_j\)”. The symbol \(j\) is called product index.
- The product symbol is therefore very useful when the terms \(a_j\) are explicitly defined as a function of the product index \(j\).
Example 1: products
2. Properties¶
Observation 1: product 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 product \(\prod_{j=1}^n a_j\) and real number \(c\), we have:
Proof
From the commutative and associative properties of the product, we have:
□
Observation 3: product of products
For every pair of products \(\prod_{j=1}^n a_j\) and \(\prod_{j=1}^n b_j\), we have:
Proof
We have:
□
Observation 4: decomposition
For every product \(\prod_{j=1}^{n+m} a_j\), we have:
Observation 5: index translation
For every product \(\prod_{j=1}^{n} a_j\) and natural number \(m \ge 1\), we have:
Observation 6: index reflexion
For every product \(\prod_{j=1}^{n} a_j\), we have:
Proof
The three properties are simply different notations and/or arrangements of the terms in the products. □
3. Factorial¶
Definition 2: Factorial
The factorial of a natural number \( n \), denoted as \( n! \), is the product of the first \( n \) positive natural numbers. By convention, the factorial of 0 is defined as \( 1 \).
-
Formally, the factorial is defined as follows:
\[\begin{equation} n! = \begin{cases} 1 & \text{if~~} n = 0, \\[2ex] \prod_{j=1}^n j & \text{if~~} n \geq 1. \end{cases} \end{equation}\] -
A closed formula for the factorial is not known but Stirling's approximation provides an asymptotic approximation.
Observation 7
For every pair of natural numbers \(n \ge 0\) and \(k \in \{0,1,\dots, n\}\), we have:
-
Formula \(\eqref{MM}\) is the product of \(k\) factors, from \(n\) and decreasing by one unit at a time.
-
By convention, a product with no factors (i.e., whose upper index is smaller than its lower index, as \(\prod_{j=1}^{0} a_j\)) is equal to \(1\). This convention is consistent with \(0!=1\) and makes formula \(\eqref{MM}\) valid also for \(k=0\) and \(k=n\).
Proof
We have:
□
Example 2: use of the observation
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: 9 exercises with worked solutions
- Lab · Sums and products — choose «Product Π»: for example \(\prod_{k=1}^{n} k = n!\)