A lesson from Mathematical Foundations for ML
£29/month
£29/month£29/month or £249/year · 30-day money-back guarantee
Get full accessOur content is best on a larger screen
Anatomy of sigma notation
When we need to add up a long sequence of terms, writing them all out gets tedious fast. Mathematics has a shorthand for this: sigma notation, named after the capital Greek letter (sigma), which acts as a summation operator - it tells us to add up a series of terms.
Definition
A summation written in sigma notation has five components:
The expression above tells us to evaluate for each integer from to and add the results together.
Gotcha
The choice of letter for the index variable does not affect the sum. The letters , , , and are all common choices. For example, and represent exactly the same sum - only the placeholder name has changed.
If the lower limit exceeds the upper limit, there are no terms to add. By convention, such an empty sum equals - the additive identity.
Identify each component of the following expression:
Solution
The expression tells us to evaluate for each integer from to and add the results together.
Practice questions
4 questions
In the expression , what is the general term?
Select the correct answer:
+ 3 more questions · unlocked with a subscription
Expanding sigma notation
Now that we can identify the parts of sigma notation, the next step is to expand a summation - writing out each term individually.
Procedure
To expand a sigma expression with lower limit and upper limit :
Expand each of the following:
Solution
1. We substitute into the general term :
Details
2. Here the upper limit is the letter rather than a specific number, so we cannot write every term. We write the first few, use "" to show the pattern continues, and end with the last term:
Practice questions
4 questions
What is the expansion of ?
Select the correct answer:
+ 3 more questions · unlocked with a subscription
Writing sums in sigma notation
We have seen how to expand a sigma expression into its terms. Now we go in the other direction: given an expanded sum, we write it in sigma notation.
Procedure
Write in sigma notation.
Solution
Step 1: Spot the pattern. We label each term by its position:
| Position () | |||||
|---|---|---|---|---|---|
| Term |
Each term is times its position: , , , and so on.
Step 2: Write the general term. The -th term is .
Step 3: Set the limits. The index starts at (for the first term, ) and ends at (for the last term, ).
Putting it together:
Practice questions
4 questions
Which sigma expression represents ?
Select the correct answer:
+ 3 more questions · unlocked with a subscription
Every time you pull an answer from memory, the memory gets stronger. Reading doesn't do that. Nodeledge asks you questions on every step of every lesson, then asks again after days, weeks and months.