Professional Documents
Culture Documents
CH 02 Sums
CH 02 Sums
Based on APL
Example
Say, is a prime identifier function
=
=
Same
Off Topic
◦ Interesting read on APL: https://xpqz.github.io/learnapl/intro.html
C
Example – Rocky Road
∑ ∑ 𝑎 𝑗 𝑏𝑘= ∑ ∑ 𝑎 𝑗 𝑏𝑘
1≤ 𝑗 ≤3 𝑗≤ 𝑘≤3 1≤ 𝑘≤3 1≤ 𝑗≤ 𝑘
Strategy 1
◦ If ,
◦ then
DOUBLE SUM
𝑆𝑢+𝑆𝑙=¿
Another Double Sum
Double Sum – Strategy 2
Double Sum 2
𝑛
1
𝐻 𝑛 =∑
𝑘=1 𝑘
https://math.stackexchange.com/questions/52572/do-harmonic-numbers-have-a-closed-form-expression
Double Sum 2
Double Sum 2
Double Sum 2
◦ Range of ◦ Range of
◦ (and )
https://math.stackexchange.com/questions/1751893/concrete-mathematics-2-4-sum-of-1-k-j
FINITE CALCULUS
Difference
◦ Infinite
◦ Finite
Factorial Powers
◦ Falling Factorial Power
x to the m falling
Same as
We define
is the class of functions whose difference is
Definite Sum (Anti-Difference)
We define
◦ Examples
How Does That Helps Us?
◦ Represent a sum as a definite finite sum
Using these
Ordinary Power to Falling Power
How Does That Helps Us Again?
Say, we need find sum of
Convert between ordinary powers and factorial powers
Ordinary Power to Falling Power
The following formulas relate integral powers of a variable x through sums using the
Stirling numbers of the second kind (notated by curly brackets)
Falling Negative Power
◦ We define
Falling Negative Power - Difference
◦ Example:
◦ In integration:
Falling Negative Power - Sum
¿ 𝐻 ( 𝑥 +1 ) − 𝐻 ( 𝑥 )=△ 𝐻 (𝑥)
◦ Then,
◦ Finally
Try Yourselves