Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Sequences and Summations: Understanding the Basics of Discrete Structures, Study notes of Computer Science

An introduction to sequences and summations, two fundamental concepts in discrete mathematics. A sequence is an ordered list of terms, while summations allow us to calculate the sum of terms in a sequence. Notations, common sequences, arithmetic summations, telescoping sums, closed form solutions, and double summations.

Typology: Study notes

Pre 2010

Uploaded on 08/04/2009

koofers-user-35k-1
koofers-user-35k-1 ๐Ÿ‡บ๐Ÿ‡ธ

10 documents

1 / 13

Toggle sidebar

Related documents


Partial preview of the text

Download Sequences and Summations: Understanding the Basics of Discrete Structures and more Study notes Computer Science in PDF only on Docsity! Sequences & Summations CS 1050 Rosen 1.7 Sequence ยฅ A sequence is a discrete structure used to represent an ordered list. ยฅ A sequence is a function from a subset of the set of integers (usually either the set {0,1,2,. . .} or {1,2, 3,. . .}to a set S. ยฅ We use the notation an to denote the image of the integer n. We call an a term of the sequence. ยฅ Notation to represent sequence is {an} Summations ยฅ Notation for describing the sum of the terms am, am+1, . . ., an from the sequence, {an} n am+am+1+ . . . + an = โˆ‘ aj j=m ยฅ j is the index of summation (dummy variable) ยฅ The index of summation runs through all integers from its lower limit, m, to its upper limit, n. Examples j j jj = + = + + + + = == โˆ‘โˆ‘ ( )1 1 2 3 4 5 15 0 4 1 5 1 1 1 2 1 3 1 4 1 5 1 1 1 1 2 1 3 1 4 1 5 1 5 2 5 j j j j = + + + + + = + + + + = = โˆ‘ โˆ‘ Summations follow all the rules of multiplication and addition! c j cj j n j n = = == โˆ‘โˆ‘ 11 c(1+2+ร‰+n) = c + 2c +ร‰+ nc r ar ar ar ar ar ar a ar j j n j j n k k n n k k n n k k n = + = = + + = + = โˆ‘ โˆ‘ โˆ‘ โˆ‘ โˆ‘ = = = + = โˆ’ + 0 1 0 1 1 1 1 1 0 Proof (cont.) [ ]k k k k n k n 2 1 2 1 1 2 1 = = โˆ‘ โˆ‘โˆ’ โˆ’( ) = โˆ’( ) [ ]k k k k n k n k n 2 1 2 11 1 2 1 = == โˆ‘ โˆ‘โˆ‘โˆ’ โˆ’( ) = + โˆ’( ) n k n k n 2 2 1 0 2โˆ’ = + โˆ’ = โˆ‘( ) n n k k n 2 1 2+ = = โˆ‘( ) k n n k n = โˆ‘ = + 1 2 2 Closed Form Solutions to Sums j n n n j n = + + + = + = โˆ‘ 0 1 1 2 0 ... ( ) / j n n n n j n 2 0 2 2 20 1 1 2 1 6 = โˆ‘ = + + + = + +... ( )( ) / k n n k n 3 1 2 21 4= โˆ‘ = +( ) ar ar a r rk k n n = + โˆ‘ = โˆ’โˆ’ โ‰ 0 1 1 1, Double Summations ij ij i i i i ji iji i = ๏ฃฎ ๏ฃฐ ๏ฃฏ ๏ฃน ๏ฃป ๏ฃบ = + +( ) = = + + + = == === = โˆ‘โˆ‘ โˆ‘โˆ‘โˆ‘ โˆ‘ 1 3 1 4 1 4 1 3 1 4 1 4 2 3 6 6 12 18 24 60
Docsity logo



Copyright ยฉ 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved