Sequences & Summations Section 2.4 of Rosen Fall 2008 CSCE 235 Introduction to Discrete Structures Course web-page: cse.unl.edu/~cse235 Questions:

Slides:



Advertisements
Similar presentations
Chapter 8 Vocabulary. Section 8.1 Vocabulary Sequences An infinite sequence is a function whose domain is the set of positive integers. The function.
Advertisements

Section 9.1 – Sequences.
22C:19 Discrete Math Sequence and Sums Fall 2011 Sukumar Ghosh.
The sum of the infinite and finite geometric sequence
Assignment Answers: Find the partial sum of the following: 1. = 250/2 ( ) = 218, = 101/2 (1/2 – 73/4) = Find the indicated n th.
INFINITE SEQUENCES AND SERIES
Recursion Sections 7.1 and 7.2 of Rosen Fall 2008 CSCE 235 Introduction to Discrete Structures Course web-page: cse.unl.edu/~cse235 Questions:
Series (i.e., Sums) (3/22/06) As we have seen in many examples, the definite integral represents summing infinitely many quantities which are each infinitely.
1 Section 3.2 Sequences and Summations. 2 Sequence Function from a subset of Z (usually the set beginning with 1 or 0) to a set S a n denotes the image.
Copyright © 2007 Pearson Education, Inc. Slide 8-1 Warm-Up Find the next term in the sequence: 1, 1, 2, 6, 24, 120,…
Series NOTES Name ____________________________ Arithmetic Sequences.
Geometric Sequences and Series
Calculus and Analytic Geometry II Cloud County Community College Spring, 2011 Instructor: Timothy L. Warkentin.
Sequences & Summations CS 1050 Rosen 3.2. Sequence A sequence is a discrete structure used to represent an ordered list. A sequence is a function from.
THE BEST CLASS EVER…ERRR…. PRE-CALCULUS Chapter 13 Final Exam Review.
Sequences and Summations
2.4 Sequences and Summations
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
Copyright © 2011 Pearson Education, Inc. Slide
Sequences Definition - A function whose domain is the set of all positive integers. Finite Sequence - finite number of values or elements Infinite Sequence.
SEQUENCES AND SERIES Arithmetic. Definition A series is an indicated sum of the terms of a sequence.  Finite Sequence: 2, 6, 10, 14  Finite Series:2.
Fall 2002CMSC Discrete Structures1 … and now for… Sequences.
11.2 Series In this section, we will learn about: Various types of series. INFINITE SEQUENCES AND SERIES.
ADVANCED ALG/TRIG Chapter 11 – Sequences and Series.
Review of Sequences and Series.  Find the explicit and recursive formulas for the sequence:  -4, 1, 6, 11, 16, ….
Geometric Sequences and Series Section Objectives Recognize, write, and find nth terms of geometric sequences Find the nth partial sums of geometric.
1 1 OBJECTIVE At the end of this topic you should be able to Define sequences and series Understand finite and infinite sequence,
Aim: Summation Notation Course: Alg. 2 & Trig. Do Now: Aim: What is this symbol It’s Greek to me! Find the sum of the geometric series.
Sequences & Series MATH Precalculus S. Rook.
The Ratio Test: Let Section 10.5 – The Ratio and Root Tests be a positive series and.
(C) Find the Sum of a sequence
Copyright © Cengage Learning. All rights reserved.
Section 9-4 Sequences and Series.
Copyright © Cengage Learning. All rights reserved.
SERIES: PART 1 Infinite Geometric Series. Progressions Arithmetic Geometric Trigonometric Harmonic Exponential.
One important application of infinite sequences is in representing “infinite summations.” Informally, if {a n } is an infinite sequence, then is an infinite.
Section 3.2: Sequences and Summations. Def: A sequence is a function from a subset of the set of integers (usually the set of natural numbers) to a set.
9.1 Sequences and Series. Definition of Sequence  An ordered list of numbers  An infinite sequence is a function whose domain is the set of positive.
Lecture#15 Discrete Mathematics. Summation Computing Summation Let a 0 = 2, a 1 = 3, a 2 = -2, a 3 = 1 and a 4 = 0. Compute each of the summations: =
Review of Sequences and Series
A LESSON BY U S PRAJAPATI, PGT MATH, KV KHAGAUL GEOMETRIC SEQUENCES AND SERIES.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 Basic Structure : Sets, Functions, Sequences, and Sums Sequences and Summations.
Geometric Sequence – a sequence of terms in which a common ratio (r) between any two successive terms is the same. (aka: Geometric Progression) Section.
Copyright © Cengage Learning. All rights reserved Series.
Arithmetic Sequences and Series Section Objectives Use sequence notation to find terms of any sequence Use summation notation to write sums Use.
22C:19 Discrete Structures Sequence and Sums Fall 2014 Sukumar Ghosh.
CS 2210 (22C:19) Discrete Structures Sequence and Sums
The sum of the infinite and finite geometric sequence
Sequences & Summations
Sect.R10 Geometric Sequences and Series
The symbol for summation is the Greek letter Sigma, S.
CS 2210:0001 Discrete Structures Sequence and Sums
Infinite Geometric Series
Sequences and Summations
Sequences, Series and the test of their convergence
ICS 253: Discrete Structures I
Copyright © Cengage Learning. All rights reserved.
CS 2210:0001 Discrete Structures Sequence and Sums
CMSC Discrete Structures
Infinite Series One important application of infinite sequences is in representing “infinite summations.” Informally, if {an} is an infinite sequence,
Sequences & Summations
Discrete Mathematics and its Applications
9.5 Series.
Geometric Sequences and Series
Warm Up Use summation notation to write the series for the specified number of terms …; n = 7.
Series.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Sequences & Summations
Presentation transcript:

Sequences & Summations Section 2.4 of Rosen Fall 2008 CSCE 235 Introduction to Discrete Structures Course web-page: cse.unl.edu/~cse235 Questions:

Sequences & SummationsCSCE 235, Fall Outline Although you are (more or less) familiar with sequences and summations, we give a quick review Sequences – Definition, 2 examples Progressions: Special sequences – Geometric, arithmetic Summations – Careful when changing lower/upper limits Series: Sum of the elements of a sequence – Examples, infinite series, convergence of a geometric series

Sequences & SummationsCSCE 235, Fall Sequences Definition: A sequence is a function from a subset of integers to a set S. We use the notation(s): {a n } {a n } n  {a n } n=0  Each a n is called the n th term of the sequence We rely on the context to distinguish between a sequence and a set, although they are distinct structures

Sequences & SummationsCSCE 235, Fall Sequences: Example 1 Consider the sequence {(1 + 1/n) n } n=1  The terms of the sequence are: a 1 = (1 + 1/1) 1 = a 2 = (1 + 1/2) 2 = a 3 = (1 + 1/3) 3 = a 4 = (1 + 1/4) 4 = a 5 = (1 + 1/5) 5 = What is this sequence? The sequence corresponds to e lim n  {(1 + 1/n) n } n=1  = e =

Sequences & SummationsCSCE 235, Fall Sequences: Example 2 The sequence: {h n } n=1  = 1/n is known as the harmonic sequence The sequence is simply: 1, 1/2, 1/3, 1/4, 1/5, … This sequence is particularly intersting because its summation is divergent:  n=1  (1/n) = 

Sequences & SummationsCSCE 235, Fall Progressions: Geometric Definition: A geometric progression is a sequence of the form a, ar, ar 2, ar 3, …, ar n, … Where: – a  R is called the initial term – r  R is called the common ratio A geometric progression is a discrete analogue of the exponential function f(x) = ar x

Sequences & SummationsCSCE 235, Fall Geometric Progressions: Examples A common geometric progression in Computer Science is: {a n }= 1/2 n with a=1 and r=1/2 Give the initial term and the common ratio of – {b n } with b n = (-1) n – {c n } with c n = 2(5) n – {d n } with d n = 6(1/3) n

Sequences & SummationsCSCE 235, Fall Progressions: Arithmetic Definition: An arithmetric progression is a sequence of the form a, a+d, a+2d, a+3d, …, a+nd, … Where: – a  R is called the initial term – d  R is called the common ratio An arithmetic progression is a discrete analogue of the linear function f(x) = dx+a

Sequences & SummationsCSCE 235, Fall Arithmetic Progressions: Examples Give the initial term and the common difference of – {s n } with s n = n – {t n } with s n = 7 – 3n

Sequences & SummationsCSCE 235, Fall More Examples Table 1 on Page 153 (Rosen) has some useful sequences: {n 2 } n=1 , {n 3 } n=1 , {n 4 } n=1 , {2 n } n=1 , {3 n } n=1 , {n!} n=1 

Sequences & SummationsCSCE 235, Fall Outline Although you are (more or less) familiar with sequences and summations, we give a quick review Sequences – Definition, 2 examples Progressions: Special sequences – Geometric, arithmetic Summations – Careful when changing lower/upper limits Series: Sum of the elements of a sequence – Examples, infinite series, convergence of a geometric series

Sequences & SummationsCSCE 235, Fall Summations (1) You should be by now familiar with the summation notation:  j=m n (a j ) = a m + a m+1 + … + a n-1 + a n Here – j is the index of the summation – m is the lower limit – n is the upper limit Often times, it is useful to change the lower/upper limits, which can be done in a straightforward manner (although we must be very careful):  j=1 n (a j ) =  i=o n-1 (a i+1 )

Sequences & SummationsCSCE 235, Fall Summations (2) Sometimes we can express a summation in closed form, as for geometric series Theorem: For a, r  R, r  0 Closed form = analytical expression using a bounded number of well-known functions, does not involved an infinite series or use of recursion (ar n+1 -a)/(r-1) if r  1  i=0 n (ar i ) = (n+1)aif r = 1

Sequences & SummationsCSCE 235, Fall Summations (3) Double summations often arise when analyzing an algorithm  i=1 n  j=1 i (a j ) = a 1 + a 1 +a 2 + a 1 +a 2 +a 3 + … a 1 +a 2 +a 3 +…+a n Summations can also be indexed over elements in a set:  s  S f(s) Table 2 on Page 157 (Rosen) has very useful summations. Exercises —18 are great material to practice on.

Sequences & SummationsCSCE 235, Fall Outline Although you are (more or less) familiar with sequences and summations, we give a quick review Sequences – Definition, 2 examples Progressions: Special sequences – Geometric, arithmetic Summations – Careful when changing lower/upper limits Series: Sum of the elements of a sequence – Examples, infinite series, convergence of a geometric series

Sequences & SummationsCSCE 235, Fall Series When we take the sum of a sequence, we get a series We have already seen a closed form for geometric series Some other useful closed forms include the following: –  i=k u 1 = u-k+1, for k  u –  i=0 n i = n(n+1)/2 –  i=0 n (i 2 ) = n(n+1)(2n+1)/6 –  i=0 n (i k )  n k+1 /(k+1)

Sequences & SummationsCSCE 235, Fall Infinite Series Although we will mostly deal with finite series (i.e., an upper limit of n for fixed integer), inifinite series are also useful Consider the following geometric series: –  n=0  (1/2 n ) = 1 + 1/2 + 1/4 + 1/8 + … converges to 2 –  n=0  (2 n ) = … does not converge However note:  n=0 n (2 n ) = 2 n+1 – 1 (a=1,r=2)

Sequences & SummationsCSCE 235, Fall Infinite Series: Geometric Series In fact, we can generalize that fact as follows Lemma: A geometric series converges if and only if the absolute value of the common ratio is less than 1 (ar n+1 -a)/(r-1) if r  1  i=0 n (ar i ) = (n+1)aif r = 1