1 cmsc 250 chapter 4, summations and products. 2 cmsc 250 induction l induction is a proof technique...

12
1 CMSC 250 Chapter 4, Summations and Products

Upload: charles-higgins

Post on 18-Jan-2018

214 views

Category:

Documents


0 download

DESCRIPTION

3 CMSC 250 Finding an explicit formula l Figure out the formula for this sequence:

TRANSCRIPT

Page 1: 1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…

1CMSC 250

Chapter 4, Summations and Products

Page 2: 1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…

2CMSC 250

Induction

Induction is a proof technique used to verify a property of a sequence– 2,4,6,8,… for i 1 ai = 2i

• an infinite sequence with infinite distinct values– for i 1 bi = (1)i

• an infinite sequence with finite distinct values– for 1 i 6 ci = i + 5

• a finite sequence (with finite distinct values)

Page 3: 1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…

3CMSC 250

Finding an explicit formula

Figure out the formula for this sequence:

,...251,

161,

91,

41,1

Page 4: 1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…

4CMSC 250

Finding an explicit formula Different sequences with the same initial values:

2)1(

12:0

3

kkb

kak

k

k

Page 5: 1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…

5CMSC 250

Summation & product notation

Sum of items specified

Product of items specified

6543216

12222222

k

k

)5(2*)4(2*)3(2*)2(2*)1(225

1

k

k

Page 6: 1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…

6CMSC 250

Variable ending point

n as the index of the final term

for n = 2 for n = 3

n

k knk

0

1

Page 7: 1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…

7CMSC 250

Nesting of sum/product notation

Variations (same or different??):

n

j

m

iij

j

Y1

2

1

)(

n

j

m

iij

j

Y1

2

1

)(

n

j

m

iij

j

Y1 1

2

Page 8: 1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…

8CMSC 250

Telescoping series

n

k kk

kk

1)21

1(

)1

(1

iin

i

Page 9: 1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…

9CMSC 250

Properties

Merging and splitting

n

mkkk

n

mkk

n

mkk baba )(

)(* * kkn

mkk

n

mkk

n

mkbaba

n

ikk

i

mkk

n

mkk aaa

1

kn

ikk

i

mkk

n

mkaaa

1*

Page 10: 1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…

10CMSC 250

Properties, con't.

Distribution

n

mkk

n

mkk acac )*(*

Page 11: 1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…

11CMSC 250

Discrete StructuresCMSC 250Lecture 22

March 24, 2008

Page 12: 1 CMSC 250 Chapter 4, Summations and Products. 2 CMSC 250 Induction l Induction is a proof technique used to verify a property of a sequence –2,4,6,8,…

12CMSC 250

Factorial

n! = n (n 1) (n 2) … 2 1

Definition:0! = 1n! = n (n 1)!