Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 Basic Structure : Sets, Functions, Sequences, and Sums Sequences and 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

22C:19 Discrete Math Sequence and Sums Fall 2011 Sukumar Ghosh.
A sequence is a set of numbers arranged in a definite order
CSE115/ENGR160 Discrete Mathematics 02/22/11 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/21/12
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.
For a geometric sequence, , for every positive integer k.
Geometric Sequences and Series
Arithmetic Sequences and Series
Functions, Sequences, and Sums
Precalculus – MAT 129 Instructor: Rachel Graham Location: BETTS Rm. 107 Time: 8 – 11:20 a.m. MWF.
1 Sequences and Summations CS/APMA 202 Rosen section 3.2 Aaron Bloomfield.
Introduction to sequences and series A sequence is a listing of numbers. For example, 2, 4, 6, 8,... or 1, 3, 5,... are the sequences of even positive.
MSU/CSE 260 Fall Sequences and Summations.
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.
Arithmetic Sequences and Series
Sequences and Summations
February 12, 2015Applied Discrete Mathematics Week 2: Functions and Sequences 1Exercises Question 1: Given a set A = {x, y, z} and a set B = {1, 2, 3,
2.4 Sequences and Summations
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
Introduction to sequences and series
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.
Sequences and Summations
Fall 2002CMSC Discrete Structures1 … and now for… Sequences.
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
Sequences & Series. Sequences  A sequence is a function whose domain is the set of all positive integers.  The first term of a sequences is denoted.
Section Finding sums of arithmetic series -Using Sigma notation Taylor Morgan.
4.7 Define & Use Sequences & Series. Vocabulary  A sequence is a function whose domain is a set of consecutive integers. If not specified, the domain.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Module #12: Summations Rosen 5 th ed., §3.2 Based on our knowledge on sequence, we can move on to summations easily.
Sequences and Summations
Sequences and Summations Section 2.4. Section Summary Sequences. – Examples: Geometric Progression, Arithmetic Progression Recurrence Relations – Example:
Warm up 1. Find the sum of : 2. Find the tenth term of the sequence if an = n2 +1: =
Chapter 11 Sequences, Induction, and Probability Copyright © 2014, 2010, 2007 Pearson Education, Inc Sequences and Summation Notation.
Arithmetic Series 19 May Summations Summation – the sum of the terms in a sequence {2, 4, 6, 8} → = 20 Represented by a capital Sigma.
Sequences and Series (Section 9.4 in Textbook).
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 Basic Structure : Sets, Functions, Sequences, and Sums Sets Operations.
Section 9-4 Sequences and Series.
Math 51/COEN 19. Sequences and Summations - vocab An arithmetic progression is a sequence of the form a, a+d, a+2d, …, a+nd, … with fixed a, d in R and.
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.
SEQUENCES OBJECTIVES: Write the first several terms of a sequence Write the terms of a sequence defined by a Recursive Formula Use Summation Notation Find.
Sequences & Series: Arithmetic, Geometric, Infinite!
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: =
3/16/20161 … and now for… Sequences. 3/16/20162 Sequences Sequences represent ordered lists of elements. A sequence is defined as a function from a subset.
Chapter 2 1. Chapter Summary Sets The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions and sequences.
Arithmetic Sequences and Series Section Objectives Use sequence notation to find terms of any sequence Use summation notation to write sums Use.
Fall 2002CMSC Discrete Structures1 Chapter 3 Sequences Mathematical Induction Recursion Recursion.
Essential Question: How do you find the nth term and the sum of an arithmetic sequence? Students will write a summary describing the steps to find the.
Arithmetic Sequences and Series
Applied Discrete Mathematics Week 2: Functions and Sequences
Geometric Sequences and Series
The sum of the infinite and finite geometric sequence
Sect.R10 Geometric Sequences and Series
The symbol for summation is the Greek letter Sigma, S.
Sequences and Summations
Mathematical Induction Recursion
Lecture 7 Functions.
Sequences and Summations
CS100: Discrete structures
Finite Differences.
Sequences & Series.
ICS 253: Discrete Structures I
CMSC Discrete Structures
Properties of Functions
Sequences and Summation Notation
Geometric Sequences and Series
Series.
Presentation transcript:

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 Basic Structure : Sets, Functions, Sequences, and Sums Sequences and Summations

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Sequences Sequences represent ordered lists of elements. A sequence is defined as a function from a subset of N ( either {0,1,2,…} or {1,2,3,…} to a set S. We use the notation a n to denote the image of the integer n. We call a n a term of the sequence. Example: subset of N: … S: …

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Sequences We use the notation {a n } to describe a sequence. Important: Do not confuse this with the {} used in set notation. It is convenient to describe a sequence with a formula. For example, the sequence on the previous slide can be specified as {a n }, where a n = 2n.

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Sequences Example: Consider the sequence {a n }, where a n =1/n The list of the term of this sequence, beginning with a 1, namely a 1,a 2,… Starts with 1,1/2,1/3,…

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity The Formula Game 1, 3, 5, 7, 9, … a n = 2n - 1 3, 5, 9, 17, 33, … a n = 2 n , 0.5, 0.75, 1, 1.25 … a n = 0.25n 3, 9, 27, 81, … a n = 3 n What are the formulas that describe the following sequences a 1, a 2, a 3, … ?

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Sequences A geometric progression is a sequence of the form a, ar, ar 2, ar 3, …, ar n, …. Where the initial term a and the common ration r are real numbers For example : The sequence WithInitial termCommon term Start n=0 a0,a1,a2,… {b n }b n =(-1) n 11,-1,1,-1,1,…. {c n }c n =2*5 n 252,10,50,250,…. {d n }d n =6*(1/3) n 61/36,2,2/3,2/9,….

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Sequences An arithmetic progression is a sequence of the form a, a+d, a+2d, a+3d, …, a+nd, …. Where the initial term a and the common difference d are real numbers For example : The sequence WithInitial termCommon term Start n=0 a0,a1,a2,… {s n }S n =-1+4n4-1,3,7,11,… {t n }t n =7-3n7-37,4,1,-2,…

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity The Formula Game 1, 1/2, 1/4, 1/8, 1/16,… a n = 1/2 n n=0,1,2,… geometric progression a= 1 r=1/2 r=1/2 1,3,5,7,…. an = 2n+1 n=0,1,2,… n=0,1,2,… arithmetic progression a= 1 d=2 d=2 What are the formulas, and find what kind of progression ?

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Some useful Sequences Nth termFirst 10 Terms a 1,a 2,a 3 n2n2 1,4,9,16,25,36,49,64,81,…. n3n3 1,8,27,64,125,216,…. n4n4 1,16,81,256,625,… 2n2n 2,4,8,16,32,64,128,… 3n3n 3,9,27,81,243,729,… n!1,2,6,24,120,720,…

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Strings Finite sequences are also called strings, denoted by a 1 a 2 a 3 …a n. The length of a string S is the number of terms that it consists of. The empty string contains no terms at all. It has length zero.

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Summations It represents the sum a m + a m+1 + a m+2 + … + a n. The variable j is called the index of summation, running from its lower limit m to its upper limit n. We could as well have used any other letter to denote this index. What does stand for?

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Summations It is = 21.. We write it as. What is the value of ? How can we express the sum of the first 1000 terms of the sequence {a n } with a n =n 2 for n = 1, 2, 3, … ? It is = 55.

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Summations  Sometimes it is useful to shift the index of summation in a sum, suppose:  We want the index to run from 0 to 4 rather than 1 to 5  Let k = j – 1, then j 2 = (k+1) 2

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Useful Summations formula The following formula: When you have such a formula, the result of any summation can be calculated much more easily, for example:

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Geometric Series If a and r are real numbers and r≠0, then (n+1)a If r≠1 If r=1 Proof: Let S = and continue…

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Useful Series

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Double Summations Corresponding to nested loops in C or Java, there is also double (or triple etc.) summation: Example:

Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity Summations Example :Find += = - = n(n+1)(2n+1)/6 from formula 2 = 100*101*201 – 49*50*99 = 338,350 – 40,