Operators > Calculus Operators > Example: Sums and Products
  
Example: Sums and Products
Use the summation and product operators to add and multiply sequences of terms. You can either cast the elements to be summed or multiplied as vectors, or you can implicitly specify the elements in the range of the operator itself.
Start by defining an upper limit, and the equivalent integer range, of a sequence.
Click to copy this expression
Click to copy this expression
You can use the summation operator to perform the summation of a sequence. As you insert the summation operator, only fill the placeholders that you need and leave the other ones empty.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
You can use the product operator to calculate the product of a sequence. As for the summation operator, only fill the placeholders that you need.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
You can perform multiple summations or products.
Click to copy this expression
You can use a variable summation limit.
Click to copy this expression
* 
This is equivalent to the following calculation:
Click to copy this expression
Click to copy this expression
Click to copy this expression
You can use summations or products in function definitions. Here, the argument of the function controls the upper limit of the summation.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
* 
In the following two cases, the function argument is out of the summation range defined by k. The results returned are the same as the results for the lower and upper limits of the range variable.
Click to copy this expression
Click to copy this expression