Docsity

Summation Formulas and Telescoping Sums: A Step-by-Step Guide, Study notes of Computer Science

Partial preview of the text

Download Summation Formulas and Telescoping Sums: A Step-by-Step Guide and more Study notes Computer Science in PDF only on Docsity!

Doing Sums

arar a r^

r n^ n k k =

∑^

=^

−≠− 0

1 1

(^1) ,

(^120)

(^11212) (^1111)

1 1 (^11) 1 1 2 2 1 2 2

2 2 2

=

−^

= −  (^) 

  =^ = −

−^ − − −^ − −

n^ k ∑^ k +

n n n^

n n

What is^ n n

Let a = 1 and r = 1/

n^ − k^2 ∑^0 = k

2

2

(^12) 0

1 − =

∑^

=^

− nn k k n

So we have two more closed form solutions^2

2 1 2 −=∑ (^1) =

− k n^ k

n n

Solve^2

2

2 2

2

2

2

2

2 1 2 2

2 1

2

2

2 2^

1 2

1 0

1 2 1 0

1 1

12

1 0

1

12

1 0

1

1

1 0

1

1 n^

n^ n i i n^

n^

i n i n^

n n n n^

n^

n

n^

n c^

c c^

c c^

c −^ c^ c c^ c

− = −^

− = − −^

−

−^

− +^

= +^

−^ = +^

−^  − (^) 

 = 

+^

−^ −^

=

+^

−^ − ∑ [^ (^ ∑

)^ ] (^

) ( (^

)^ )

nn

n^

n c^ c

−

−^

−

=

+^

−( )

1

1 0

(^11) 2

2

1

)

1 0

1 2 n^

n^

i n i

c^
c

−^

− =

+^

∑

Derive the closed form for

n^2 k ∑ k^1 =

[^

(^

) ]^

(^

k^

k^

k^

k

n k

n k

(^31)

3

2 1

=^

=

∑^

−^

−^

=^

−^

First we note that k

3 - (k-1)

3 = 3k

2 -3k+1, then we

sum both sides of the equation from 1 to nOn the left hand side we have a telescoping sum, so it is equal^3 to n.

n^

k^

k

k^

k^ n

k^

n n^

n

n k

n k

n k n k

n k 3 n k

2

1

1

(^121)

1

=^

−^

=^

−^

=^

−^

+^

=^

=

= =

=

∑^

∑

∑ ∑^

∑ ∑^

( (^

Rearranging the terms, we get