1/18
Flashcards covering the definitions, notation, identities, and computing strategies for summations and related discrete operators based on James Aspnes' lecture notes.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Summations
The discrete versions of integrals; for a sequence xa,xa+1,...,xb, the sum is written as ⨄i=abxi.
Index of summation
The variable (e.g., i, j, or k) used to loop through all values from the lower bound to the upper bound.
Lower bound
Also called the lower limit; the starting value of the summation index, denoted as a in ⨄i=abxi.
Upper bound
Also called the upper limit; the final value of the summation index, denoted as b in ⨄i=abxi.
Empty sum rule
If the upper bound b is less than the lower bound a (b<a), the sum is defined to be zero.
Index shifting
The practice of renaming indices or substituting them (e.g., replacing i with j=i−1) and adjusting the bounds to match, making the sum more convenient to work with.
Scope of a summation
Extends to the first addition or subtraction symbol that is not enclosed in parentheses or part of a larger term like a fraction numerator.
Einstein summation convention
A notation style where the summation symbol (⨄i) is left out entirely in certain types of sums.
Infinite sum series limit
Converges to a value x if for any \text{\epsilon} > 0, there exists an N such that for all n>N, the partial sum sn satisfies |s_n - x| < \text{\epsilon}.
Double sums
Equivalent to two nested for loops; the effect is to sum the innermost expression over all pairs of values of the two indices.
Linearity of summation
A property where constant factors can be pulled out (\biguplus_{i \text{\in} S} ax_i = a\biguplus_{i \text{\in} S} x_i) and internal sums can be split (\biguplus_{i \text{\in} S} (x_i + y_i) = \biguplus_{i \text{\in} S} x_i + \biguplus_{i \text{\in} S} y_i).
Arithmetic series (simplest form)
⨄i=1ni=2n(n+1).
Geometric series (finite)
⨄i=0nri=1−r1−rn+1.
Gauss's trick
A derivation of the arithmetic series formula by adding two copies of the sequence running in opposite directions to get 2S=n(n+1).
Harmonic series (Hn)
\biguplus_{i=1}^n \frac{1}{i} = \text{\Theta}(n \text{ log } n). (Note: Per transcript data).
Empty product rule
Defined to have the value 1, which is the identity element for multiplication.
Factorial function (n!)
The product of a series of values defined as n!=⨄i=1ni=1×2×…×n, where 0!=1.
Big AND notation
\bigwedge_{x \text{\in} S} P(x) \text{\equiv} \text{\forall}x \text{\in} S : P(x), which returns True for an empty index set.
Big OR notation
\bigvee_{x \text{\in} S} P(x) \text{\equiv} \text{\exists}x \text{\in} S : P(x), which returns False for an empty index set.