24
Concrete Mathematics: Exploring Sums Anmol Sakarda Nhat Pham May 20, 2018 Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 1 / 24

Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Concrete Mathematics: Exploring Sums

Anmol Sakarda Nhat Pham

May 20, 2018

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 1 / 24

Page 2: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Outline

1 Abstract

2 Sums and Recurrences

3 Manipulating Sums

4 Multiple Sums

5 Finite and Infinite Calculus

6 Infinite Series

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24

Page 3: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Abstract

In this paper, we explore various methodologies to calculate sums. Webegin by looking at simple methods: converting sums into recurrences. Weproceed to discuss common manipulations, such as using the repertoiremethod or perturbation. Finally, we conclude by extrapolating sums toboth finite and infinite calculus mainly by building integrals.

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 3 / 24

Page 4: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Sums and Recurrences

The sum

Sn =n∑

k=0

ak

is the recurrenceS0 = a0

Sn−1 + an

for n > 0

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 4 / 24

Page 5: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Sums and Recurrences Continued

Therefore, sums can be evaluated in closed form by solving recurrences.Assuming an equals a constant plus a multiple of n, the recurrence abovecan be rewritten as

R0 = α

Rn = Rn−1 + β + γn

for n > 0 Thus, we can generalize a solution such that:

R(n) = A(n)α + B(n)β + C (n)γ

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 5 / 24

Page 6: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Manipulating Sums

Distributive Property ∑k∈K

cak = c∑k∈K

ak

Associative Property∑k∈K

(ak + bk) =∑k∈K

ak +∑k∈K

bk

Commutative Property ∑k∈K

(ak) =∑

p(k)∈K

ap(k)

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 6 / 24

Page 7: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Manipulating Sums Continued

Iverson Convention

From any logical statements made in middle of a formula, the values 0 or1 can be obtained.

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 7 / 24

Page 8: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Multiple Sums Continued

Example

The following example demonstrates an important rule for combiningdifferent sets of indices. If K and K’ are any sets of integers, then∑

k∈Kak +

∑k∈K ′

ak =∑

k∈K∪K ′

ak +∑

k∈K∩K ′

ak

This is derived from the general formulas∑k∈K

ak =∑k

ak [k ∈ K ]

and[k ∈ K ] + [k ∈ K ′] = [k ∈ K ∩ K ′] + [k ∈ K ∪ K ′]

We use this method to either combine 2 almost disjoint index sets or tosplit off a single term from a set.

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 8 / 24

Page 9: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Manipulating Sums Continued

Perturbation

Start with an unknown sum and call it

Sn + an+1 =∑

0≤k≤n+1

ak = a0 +∑

1≤k≤n+1

ak

= a0 +∑

1≤k+1≤n+1

ak+1

= a0 +∑

0≤k≤nak+1

This expression can then be simply expressed in terms of Sn

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 9 / 24

Page 10: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Manipulation Sums Perturbation

Example

Sn =∑

0≤k≤nk2k

We then have

Sn + (n + 1)2n+1 =∑

0≤k≤n(k + 1)2(k+1)

Using the associative property gives∑0≤k≤n

k2(k+1) +∑

0≤k≤n2(k+1)

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 10 / 24

Page 11: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Manipulation Sums Perturbation

Example

The first sum is simply 2Sn The second sum is just a geometricprogression that yields 2n+2 − 2 Therefore, the total sum becomes

(n − 1)2n+1 + 2

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 11 / 24

Page 12: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Multiple Sums

Multiple Sums

The terms of a sum might be specified by two or more indices.

General Distributive Law∑j∈J,k∈K

ajbk = (∑j∈J

aj) + (∑k∈K

bk)

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 12 / 24

Page 13: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Multiple Sums Continued

Example

Evaluate

Sn =∑

1≤j<k≤n

1

k − j

Replace k with k + j

=∑

1≤j<k+j≤n

1

k

Summing on j, which is trivial, gives

=∑

1≤k≤n

∑1 ≤ j ≤ n − k

1

k=

∑1≤k≤n

n − k

k

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 13 / 24

Page 14: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Multiple Sums Continued

Example

Then, by the associative law, we have∑1≤k≤n

n

k−

∑1≤k≤n

1 = n(∑

1≤k≤n

1

k)− n

This has the harmonic mean, and is a final answer for the original sum.

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 14 / 24

Page 15: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Finite Calculus

Difference Operator, Definite Sum, and Shift

∆f (x) = f (x + 1)− f (x)

b∑a

g(x)δx =∑

a≤k<b

g(k)

Ef (x) = f (x + 1)

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 15 / 24

Page 16: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Finite Calculus

Properties

Multiplicative Rule:∆fg = f ∆g + Eg∆f

Integration analogue

b∑a

g(x)δx = −a∑b

g(x)δx

b∑a

g(x)δx +c∑b

g(x)δx =c∑a

g(x)δx

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 16 / 24

Page 17: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Finite Calculus

Properties (cont.)

Fundamental Theorem of (Finite) Calculus:

g(x) = ∆f (x)⇒b∑a

g(x) = f (b)− f (a)

Chain Rule: ∑u∆v = uv −

∑Ev∆u

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 17 / 24

Page 18: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Finite Calculus Analogues: Rising and Falling Powers

Definition

Rising and Falling Powers

∀m > 0 : xm = x(x − 1)(x − 2)...(x −m + 1)

∀m > 0 : xm = x(x + 1)(x + 2)...(x + m − 1)

x0 = x0 = 1

∀m > 0 : x−m =1

(x + 1)(x + 2)...(x + m)

∀m > 0 : x−m =1

(x − 1)(x − 2)...(x −m)

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 18 / 24

Page 19: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Finite Calculus Analogues: Rising and Falling Powers

Properties of Rising and Falling Powers

∆xm = mxm−1∑0≤k<n

km =nm+1

m + 1

∑a≤k<b

ck =cb − ca

c − 1

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 19 / 24

Page 20: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Infinite Series

Definition

Infinite Series: Suppose ak ≥ 0∀k ∈ K . If there is a number A such thatfor any finite F ⊂ K : ∑

k∈Fak ≤ A

Then∑

k∈K ak exists and is equal to the least such A.

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 20 / 24

Page 21: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Infinite Series

Generalization for any (multi-dimensional) index set K and any sequenceak :

A =∑k∈K

ak =∑k∈K

a+k −∑k∈K

a−k

where:a+k = ak .[ak > 0]

a−k = ak .[ak < 0]

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 21 / 24

Page 22: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Infinite Series

We have the following scenarios:

A+ and A− are finite: A converges absolutely to A+ + A−.

A+ is infinite, A− is finite: A diverges to ∞.

A− is infinite, A+ is finite: then A diverges to −∞.

A+ and A− are infinite: A is undefined.

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 22 / 24

Page 23: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Infinite Series

Fundamental Principle of Multiple Sums

Absolutely convergent sums over 2 or more indices can always be summedfirst with respect to any one of those indices.

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 23 / 24

Page 24: Concrete Mathematics: Exploring Sums · Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 2 / 24 Abstract In this paper, we explore various methodologies

Infinite Series

Formally, if J and the elements of {Kj |j ∈ J} are sets of indices such that:∑j∈J,k∈Kj

aj ,k converges absolutely to A

Then there exists Aj for each j ∈ J such that∑k∈Kj

aj ,k converges absolutely to Aj

∑j∈J

Aj converges absolutely to A

Anmol Sakarda, Nhat Pham Concrete Mathematics: Exploring Sums May 20, 2018 24 / 24