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.

Slides:



Advertisements
Similar presentations
22C:19 Discrete Math Sequence and Sums Fall 2011 Sukumar Ghosh.
Advertisements

A sequence is a set of numbers arranged in a definite order
Discrete Structures Chapter 2 Part A Sequences Nurul Amelina Nasharuddin Multimedia Department.
CSE115/ENGR160 Discrete Mathematics 02/22/11 Ming-Hsuan Yang UC Merced 1.
Discrete Structures & Algorithms Summations EECE 320 — UBC.
CSE115/ENGR160 Discrete Mathematics 02/21/12
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.
CMSC 250 Discrete Structures Summation: Sequences and Mathematical Induction.
Lecture ,3.3 Sequences & Summations Proof by Induction.
Cardinality of a Set “The number of elements in a set.” Let A be a set. a.If A =  (the empty set), then the cardinality of A is 0. b. If A has exactly.
Cardinality of Sets Section 2.5.
GPS – Sequences and Series  MA3A9. Students will use sequences and series  a. Use and find recursive and explicit formulae for the terms of sequences.
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.
Sequences and Summations
2.4 Sequences and Summations
Factorial Notation For any positive integer n, n! means: n (n – 1) (n – 2)... (3) (2) (1) 0! will be defined as equal to one. Examples: 4! = =
Copyright © Cengage Learning. All rights reserved.
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen Chapter 3 Mathematical Reasoning, Induction and Recursion.
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.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Copyright  The McGraw-Hill Companies, Inc. Permission required for reproduction.
Notes Over 11.1 Sequences and Series A sequence is a set of consecutive integers. A finite sequence contains a last term Infinite sequences continue without.
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.
Lesson 8.1 Page #1-25(EOO), 33, 37, (ODD), 69-77(EOO), (ODD), 99, (ODD)
Sequence – a function whose domain is positive integers. Section 9.1 – Sequences.
Defining and Using Sequences and Series
Module #12: Summations Rosen 5 th ed., §3.2 Based on our knowledge on sequence, we can move on to summations easily.
Sequences & Series MATH Precalculus S. Rook.
Sequences and Summations
Sequences and Summations Section 2.4. Section Summary Sequences. – Examples: Geometric Progression, Arithmetic Progression Recurrence Relations – Example:
Review 2 Basic Definitions Set - Collection of objects, usually denoted by capital letter Member, element - Object in a set, usually denoted by lower.
CompSci 102 Discrete Math for Computer Science February 7, 2012 Prof. Rodger Slides modified from Rosen.
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.
CS 285- Discrete Mathematics
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,…
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.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 2.6 Infinite Sets.
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: =
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 Basic Structure : Sets, Functions, Sequences, and Sums Sequences and Summations.
Section 2.5. Cardinality Definition: A set that is either finite or has the same cardinality as the set of positive integers (Z + ) is called countable.
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.
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.
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.
CSE15 Discrete Mathematics 03/01/17
Arithmetic Sequences and Series
Discrete Mathematics CS 2610
The sum of the infinite and finite geometric sequence
Sequences and Summations
Mathematical Induction Recursion
Review 2.
Lecture 7 Functions.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
ICS 253: Discrete Structures I
CMSC Discrete Structures
Sets, Sequences, and Summations
SUMMATION or SIGMA NOTATION
Discrete Mathematics CS 2610
Sequences and Summation Notation
Section 2.6 Infinite Sets.
Series.
Presentation transcript:

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 a subset of the set of integers (usually either the set {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. Notation to represent sequence is {a n }

Examples {1, 1/2, 1/3, 1/4,...} or the sequence {a n } where a n = 1/n, n  Z +. {1,2,4,8,16,...} = {a n } where a n = 2 n, n  N. {1 2,2 2,3 2,4 2,...} = {a n } where a n = n 2, n  Z +

Common Sequences Arithmetica, a+d, a+2d, a+3d, a+4d, … n2n2 1, 4, 9, 16, 25,... n3n3 1, 8, 27, 64, 125,... n4n4 1, 16, 81, 256, 625,... 2n2n 2, 4, 8, 16, 32,... 3n3n 3, 9, 27, 81, 243,... n!1, 2, 6, 24, 120,...

Summations Notation for describing the sum of the terms a m, a m+1,..., a n from the sequence, {a n } n a m +a m a n =  a j j=m j is the index of summation (dummy variable) The index of summation runs through all integers from its lower limit, m, to its upper limit, n.

Examples

Summations follow all the rules of multiplication and addition! c(1+2+…+n) = c + 2c +…+ nc

Telescoping Sums Example

Closed Form Solutions A simple formula that can be used to calculate a sum without doing all the additions. Example: Proof: First we note that k 2 - (k-1) 2 = k 2 - (k 2 -2k+1) = 2k-1. Since k 2 -(k-1) 2 = 2k-1, then we can sum each side from k=1 to k=n

Proof (cont.)

Closed Form Solutions to Sums

Double Summations

Cardinality Earlier we defined cardinality of a set as the number of elements in the set. We can extend this idea to infinite sets. The sets A and B have the same cardinality if and only if there is a one-to-one correspondence from A to B. A set that is either finite or has the same cardinality as the set of natural numbers is called countable. A set that is not countable is called uncountable.

Cardinality Cardinality of set of natural numbers? An infinite set is countable if and only if it is possible to list the elements in a sequence (indexed by the positive integers). –Why? A one-to-one correspondence f can be expressed in terms of the sequence a 1, a 2, a 3 …., where a 1 = f(1), a 2 =f(2), etc. –One-to-one correspondence for set of odd positive integers (in terms of positive integers)? f(n) = 2n - 1