DS-Lecture 12
DS-Lecture 12
(CS-104)
Lecture 12
Today’s Lecture
Sequences
Alternating Sequence
Summation Notation
Product Notation
Properties of Summation
Change of Variable
Factorial Notations
Sequence and Summation
Definition
Thus the first six terms are 1,−1, 1,−1, 1,−1. It follows that the
sequence oscillates endlessly between 1 and −1.
Explicit formula
Note that the denominator of each term equals the square of the
subscript of that term, and that the numerator equals ±1. Hence
Cont….
Also the numerator oscillates back and forth between +1 and −1; it
is +1 when k is odd and −1 when k is even. To achieve this
oscillation, insert a factor of (−1)k+1 (or (−1)k−1) into the formula for
ak . [For when k is odd, k + 1 is even and thus (−1)k+1 = +1; and
when k is even, k + 1 is odd and thus (−1)k+1 = −1.] Consequently,
an explicit formula that gives the correct first six terms is
Note that making the first term a0 would have led to the alternative
formula
Summation
Cont…
Summation Notation to expanded form
Expanded form to Summation Notation
Cont…
Observe thet
And also
One-to-One Function
Onto Function
Bijective Function (One-to-One
correspondence)
Inverse Functions
Lecture Summery
Sequences
Alternating Sequence
Summation Notation
Product Notation
Properties of Sequences
Change of Variable
Factorial Notations