ICS 253: Discrete Structures I

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.
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.
Geometric Sequences and Series
Geometric Sequences and Series A sequence is geometric if the ratios of consecutive terms are the same. 2, 8, 32, 128, 512,... Definition of Geometric.
Functions, Sequences, and Sums
Cardinality of Sets Section 2.5.
1 © 2010 Pearson Education, Inc. All rights reserved 10.1 DEFINITION OF A SEQUENCE An infinite sequence is a function whose domain is the set of positive.
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.
Sequences and Summations
2.4 Sequences and Summations
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
Copyright © 2011 Pearson Education, Inc. Sequences Section 8.1 Sequences, Series, and Probability.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen Chapter 3 Mathematical Reasoning, Induction and Recursion.
ICS 253: Discrete Structures I
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.
By Sheldon, Megan, Jimmy, and Grant..  Sequence- list of numbers that usually form a pattern.  Each number in the list is called a term.  Finite sequence.
Geometric Sequences and Series Section Objectives Recognize, write, and find nth terms of geometric sequences Find the nth partial sums of geometric.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Sequences and Summations Section 2.4. Section Summary Sequences. – Examples: Geometric Progression, Arithmetic Progression Recurrence Relations – Example:
Functions Section 2.3. Section Summary Definition of a Function. – Domain, Cdomain – Image, Preimage Injection, Surjection, Bijection Inverse Function.
Chapter 2: Basic Structures: Sets, Functions, Sequences, and Sums (1)
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Lecture 09: SEQUENCES Section 3.2 Jarek Rossignac CS1050: Understanding.
Section 9-4 Sequences and Series.
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
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!
How do I find the sum & terms of 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.
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.
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.
22C:19 Discrete Structures Sequence and Sums Fall 2014 Sukumar Ghosh.
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.
ICS 253: Discrete Structures I
CSE15 Discrete Mathematics 03/01/17
Discrete Mathematics CS 2610
Geometric Sequences and Series
The sum of the infinite and finite geometric sequence
Sect.R10 Geometric Sequences and Series
2.4 Sequences and Summations
Discrete Mathematics Lecture#14.
Sequences and Summations
Cardinality of Sets Section 2.5.
Discrete Math (2) Haiming Chen Associate Professor, PhD
Lecture 7 Functions.
Discrete Structures for Computer Science
CS100: Discrete structures
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Section 11.1 Sequences and Series
CMSC Discrete Structures
Sequences Overview.
Sequences and Summation Notation
Cardinality Definition: The cardinality of a set A is equal to the cardinality of a set B, denoted |A| = |B|, if and only if there is a one-to-one correspondence.
Geometric Sequences and Series
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
10.1 Sequences and Summation Notation
Presentation transcript:

ICS 253: Discrete Structures I King Fahd University of Petroleum & Minerals Information & Computer Science Department ICS 253: Discrete Structures I Basic Structures: Sets, Functions, Sequences and Sums

Section 2.4: Sequences and Summations A sequence is a function from a subset of the set of integers (usually either the set {0, 1, 2, . . .} or the set {1, 2, 3, . . .}) to a set S. We use the notation an to denote the image of the integer n. We call an a term of the sequence. The notation {an} is used to describe the sequence

Notation A geometric progression is a sequence of the form a, ar, ar 2 ,..., ar n ,... where the initial term a and the common ratio r are real numbers. A geometric progression is a discrete analogue of the exponential function f (x) = ar x .

Notation An arithmetic progression is a sequence of the form a, a + d, a + 2d, . . . , a + n d, . . . where the initial term a and the common difference d are real numbers. An arithmetic progression is a discrete analogue of the linear function ……

Examples Q2 pp 160: 2. What is the term a8 of the sequence {an} if an equals a) 2n – l? b) 7? c) 1 + (–1)n ? d) –(–2)n?

Sequence Generalization The problem is how to generalize a sequence from its first few terms. Examples 1, 1/2, 1/4, 1/8, 1/16, … 1, 3, 5, 7, 9, … 1, –1, 1, –1 , 1, … 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, … 5, 11, 17, 23, 29, 35, 41, 47, 53, 59, …

A Table to Memorize! nth term First 10 terms n2 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, ... n3 1, 8, 27, 64, 125, 216, 343, 512, 729, 1000, ... n4 1, 16, 81, 256, 625, 1296, 2401, 4096, 6561, 10000, ... 2n 2, 4, 8, 16, 32, 64, 128, 256 , 512, 1024, ... 3n 3, 9, 27, 81, 243, 729, 2187, 6561, 19683, 59049, ... n! 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800,...

More Examples 1, 7, 25, 79, 241, 727, 2185, 6559, 19681, 59047, … Q10 (b,c) pp 161: For each of these lists of integers, provide a simple formula or rule that generates the terms of an integer sequence that begins with the given list. Assuming that your formula or rule is correct, determine the next three terms of the sequence. b) 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, ... c) 1, 10, 11, 100, 101, 110, 111, 1000, 1001 , 1010, 1011, . . .

b) 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, ... c) 1, 10, 11, 100, 101, 110, 111, 1000, 1001 , 1010, 1011, . . .

Summations Important rule: j : index of summation, can be replaced by any arbitrary variable m: lower limit n: upper limit Important rule:

Examples Express the sum of the first 100 terms of the sequence {an}, where an = 1/n for n = 1, 2, 3, …

Index Changes in the Summation Consider the summation and assume that we want the index to start from 0 to n – 1 rather than 1 to n. How do we change the index?

Theorem 1 If a and r are real numbers and r  0, then Proof

Examples

Some Useful Summations

More Examples Find Let x be a real number with |x|<1. Find

More Examples Q10 (a) pp 161: For each of these lists of integers, provide a simple formula or rule that generates the terms of an integer sequence that begins with the given list. Assuming that your formula or rule is correct, determine the next three terms of the sequence. 3, 6, 11, 18, 27, 38, 51, 66, 83, 102, ...

Cardinality Definition: The sets A and B have the same cardinality if and only if there is a one-to-one correspondence from A to B. Definition: A set that is either finite or has the same cardinality as the set of positive integers is called countable. A set that is not countable is called uncountable. When an infinite set S is countable, we denote the cardinality of S by  0 (where 0 is aleph, the first letter of the Hebrew alphabet). We write |S| = 0 and say that S has cardinality "aleph null."

Cardinality Question: What do we need to do to find whether a set is countable or not? Example 1: Show that the set of odd positive integers is a countable set.

Example 2: Show that the set of all integers is countable. Cardinality Example 2: Show that the set of all integers is countable. F(n) = 2n -1

Cardinality Example 3: Show that the set of positive rational numbers is countable.

Cardinality Example 4: Show that the set of real numbers is an uncountable set.