Pi () Notation
The capital Greek letter Pi () is utilized similarily to notation, but instead of summation, the product of the terms is computed. For example, below the start, stop, and term are defined as three constants: 1, 4, and 5 respectively:
Likewise, we can define variables to the start, stop and term:
Here we see a variable start and stop, as well as a term that contains a yet undefined variable . Since we do not know what value(s) should take, we evaluate the as far as possible. That is, we apply algebraic simplification if possible.
Finally, notation is able to nest, just like notation. For example:
Factorials
While looking at notation, it is also timely to take a brief detour to look at factorials of non-negative integers:
or more generally:
This notation simply translates to: take the product of all positive integers less than or equal to . For example:
The aside is timely, because we can write the factorial using notation. I am intentionally not going to demonstrate how to do this as it will be a question on the weekly assignment. As a hint, remember that we can utilize a variable in the start and then reuse that variable in the term.