When performing calculations, we’ll often end up writing sums of terms, where each term follows a pattern. For example: \[\frac{1 + 1^2}{3 + 1} + \frac{2 + 2^2}{3 + 2} + \frac{3 + 3^2}{3 + 3} + \cdots + \frac{100 + 100^2}{3 + 100}\]
We will often use summation notation to express such sums concisely. We could rewrite the previous example simply as: \[\sum_{i=1}^{100} \frac{i + i^2}{3 + i}.\]
In this example, \(i\) is called the index of summation, and \(1\) and \(100\) are the lower and upper bounds of the summation, respectively. A bit more generally, for any pair of integers \(j\) and \(k\), and any function \(f : \Z \to \R\), we can use summation notation in the following way: \[\sum_{i=j}^k f(i) = f(j) + f(j+1) + f(j+2) + \dots + f(k).\]
We can similarly use product notation to abbreviate multiplication:Fun fact: the Greek letter \(\Sigma\) (sigma) corresponds to the first letter of “sum,” and the Greek letter \(\Pi\) (pi) corresponds to the first letter of “product.” \[\prod_{i=j}^k f(i) = f(j) \times f(j+1) \times f(j+2) \times \dots \times f(k).\]
It is sometimes useful (e.g., in certain formulas) to allow a summation or product’s lower bound to be greater than its upper bound. In this case, we say the summation or product is empty, and define their values as follows:These particular values are chosen so that adding an empty summation and multiplying by an empty product do not change the value of an expression.
Finally, we’ll end off this section with a few formulas for common summation formulas, and a few laws governing how expressions using summation and product notation can be simplified.
For all \(n \in \N\), the following formulas hold:
For all \(m, n \in \Z\), the following formulas hold:
\(\sum_{i=m}^{n} (a_i + b_i) = \left( \sum_{i=m}^{n} a_i \right) + \left(\sum_{i=m}^{n} b_i \right)\) (separating sums)
\(\prod_{i=m}^{n} (a_i \cdot b_i) = \left( \prod_{i=m}^{n} a_i \right) \cdot \left (\prod_{i=m}^{n} b_i \right)\) (separating products)
\(\sum_{i=m}^{n} c \cdot a_i = c \cdot \left( \sum_{i=m}^{n} a_i \right)\) (factoring out constants, sums)
\(\prod_{i=m}^{n} c \cdot a_i = c^{n - m + 1} \cdot \left( \prod_{i=m}^{n} a_i \right)\) (factoring out constants, products)
\(\sum_{i=m}^{n} a_i = \sum_{i'=0}^{n-m} a_{i'+m}\) (change of index \(i' = i - m\))
\(\prod_{i=m}^{n} a_i = \prod_{i'=0}^{n-m} a_{i'+m}\) (change of index \(i' = i - m\))