Sequences & Summations

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.
Sequences & Summations Section 2.4 of Rosen Fall 2008 CSCE 235 Introduction to Discrete Structures Course web-page: cse.unl.edu/~cse235 Questions:
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
Arithmetic Sequences and Series
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
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.
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.
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.
(C) Find the Sum of a sequence
Section 9-4 Sequences and Series.
Copyright © Cengage Learning. All rights reserved.
One important application of infinite sequences is in representing “infinite summations.” Informally, if {a n } is an infinite sequence, then is an infinite.
SECTION 8.2 SERIES. P2P28.2 SERIES  If we try to add the terms of an infinite sequence we get an expression of the form a 1 + a 2 + a 3 + ··· + a n +
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: =
Math 20-1 Chapter 1 Sequences and Series 1.5 Infinite Geometric Series Teacher Notes.
Review of 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.
Lecture # 20 Sequence & Series
Arithmetic Sequences and Series Section Objectives Use sequence notation to find terms of any sequence Use summation notation to write sums Use.
Mathematics Medicine Sequences and series.
CS 2210 (22C:19) Discrete Structures Sequence and Sums
Series and Convergence
The sum of the infinite and finite geometric sequence
Sequences & Summations
nth or General Term of an Arithmetic Sequence
8.1 and 8.2 Summarized.
Sect.R10 Geometric Sequences and Series
CS 2210:0001 Discrete Structures Sequence and Sums
11.4 The Comparison Tests In this section, we will learn:
Copyright © Cengage Learning. All rights reserved.
Infinite Geometric Series
Lecture 7 Functions.
CS100: Discrete structures
How do I find the sum & terms of geometric sequences and series?
Sequences and Series 4.7 & 8 Standard: MM2A3d Students will explore arithmetic sequences and various ways of computing their sums. Standard: MM2A3e Students.
ICS 253: Discrete Structures I
Chapter 8 Infinite Series.
Copyright © Cengage Learning. All rights reserved.
CS 2210:0001 Discrete Structures Sequence and Sums
CMSC Discrete Structures
Geometric Sequences.
11.2 Series.
9.1 Sequences Sequences are ordered lists generated by a
Copyright © Cengage Learning. All rights reserved.
Infinite Series One important application of infinite sequences is in representing “infinite summations.” Informally, if {an} is an infinite sequence,
Math 20-1 Chapter 1 Sequences and Series
Copyright © Cengage Learning. All rights reserved.
Sequences and Summation Notation
Sequences & Summations
Discrete Mathematics and its Applications
9.5 Series.
Geometric Sequences and Series
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Presentation transcript:

Sequences & Summations Section 2.4 of Rosen Spring 2018 CSCE 235H Introduction to Discrete Structures (Honors) Course web-page: cse.unl.edu/~cse235h Questions: Piazza

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 Definition: A sequence is a function from a subset of integers to a set S. We use the notation(s): {an} {an}n {an}n=0 Each an is called the nth term of the sequence We rely on the context to distinguish between a sequence and a set, although they are distinct structures

limn{(1 + 1/n)n}n=1  = e = 2.71828.. Sequences: Example 1 Consider the sequence {(1 + 1/n)n}n=1  The terms of the sequence are: a1 = (1 + 1/1)1 = 2.00000 a2 = (1 + 1/2)2 = 2.25000 a3 = (1 + 1/3)3 = 2.37037 a4 = (1 + 1/4)4 = 2.44140 a5 = (1 + 1/5)5 = 2.48832 What is this sequence? The sequence corresponds to Euler number, Napier number limn{(1 + 1/n)n}n=1  = e = 2.71828..

Sequences: Example 2 The sequence: {hn}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 interesting because its summation is divergent:  n=1 (1/n) = 

Progressions: Geometric Definition: A geometric progression is a sequence of the form a, ar, ar2, ar3, …, arn, … 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) = arx

Geometric Progressions: Examples A common geometric progression in Computer Science is: {an}= 1/2n with a=1 and r=1/2 Give the initial term and the common ratio of {bn} with bn= (-1)n {cn} with cn= 2(5)n {dn} with dn= 6(1/3)n

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 difference An arithmetic progression is a discrete analogue of the linear function f(x) = dx+a

Arithmetic Progressions: Examples Give the initial term and the common difference of {sn} with sn= -1 + 4n {tn} with sn= 7 – 3n

{n2}n=1, {n3} n=1, {n4} n=1, {2n} n=1, {3n} n=1, {n!} n=1 More Examples Table 1 on Page 162 (Rosen) has some useful sequences: {n2}n=1, {n3} n=1, {n4} n=1, {2n} n=1, {3n} n=1, {n!} n=1

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

Summations (1) You should be by now familiar with the summation notation: j=mn (aj) = am + am+1 + … + an-1 + an 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=1n (aj) = i=on-1 (ai+1)

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 (arn+1-a)/(r-1) if r  1 i=0n (ari) = (n+1)a if r = 1

Summations (3) Double summations often arise when analyzing an algorithm i=1n j=1i(aj) = a1+ a1+a2+ a1+a2+a3+ … a1+a2+a3+…+an Summations can also be indexed over elements in a set: sS f(s) Table 2 on Page 166 (Rosen) has very useful summations. Exercises 2.4.30—34 (edition 7th) are great material to practice on.

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

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=ku 1 = u-k+1, for ku i=0n i = n(n+1)/2 i=0n (i2) = n(n+1)(2n+1)/6 i=0n (ik)  nk+1/(k+1)

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/2n) = 1 + 1/2 + 1/4 + 1/8 + … converges to 2 n=0 (2n) = 1 + 2 + 4 + 8 + … does not converge However note: n=0n (2n) = 2n+1 – 1 (a=1,r=2)

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 When |r|<1,