Discrete Mathematics and its Applications

Slides:



Advertisements
Similar presentations
1 Sequences Rosen 6 th ed., §2.4 2 Sequences A sequence represents an ordered list of elements.A sequence represents an ordered list of elements. e.g.,
Advertisements

22C:19 Discrete Math Sequence and Sums Fall 2011 Sukumar Ghosh.
CSE115/ENGR160 Discrete Mathematics 02/22/11 Ming-Hsuan Yang UC Merced 1.
Chapter 4 Mathematical Induction Used to verify a property of a sequence 2,4,6,8,… for i >= 1 a i = 2i –infinite sequence with infinite distinct values.
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.
CMSC 250 Discrete Structures Summation: Sequences and Mathematical Induction.
Copyright © 2007 Pearson Education, Inc. Slide 8-1 Warm-Up Find the next term in the sequence: 1, 1, 2, 6, 24, 120,…
MATH 224 – Discrete Mathematics
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
2015 년 봄학기 강원대학교 컴퓨터과학전공 문양세 이산수학 (Discrete Mathematics) 수열과 합 (Sequences and Summations)
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
Copyright © 2011 Pearson Education, Inc. Slide
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.
1 Sequences Rosen 6 th ed., §2.4 2 Sequences A sequence represents an ordered list of elements.A sequence represents an ordered list of elements. Formally:
Discrete math Bijections 2 A function f is a one-to-one correspondence, or a bijection or reversible, or invertible, iff it is both one-to-one and onto.
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.
Based on Rosen, Discrete Mathematics & Its Applications, 5e Prepared by (c) Michael P. Frank Modified by (c) Haluk Bingöl 1/18 Module.
Module #12: Summations Rosen 5 th ed., §3.2 Based on our knowledge on sequence, we can move on to summations easily.
강원대학교 컴퓨터과학전공 문양세 이산수학 (Discrete Mathematics) 수열과 합 (Sequences and Summations)
12 INFINITE SEQUENCES AND SERIES. In general, it is difficult to find the exact sum of a series.  We were able to accomplish this for geometric series.
2014 년 봄학기 강원대학교 컴퓨터과학전공 문양세 이산수학 (Discrete Mathematics) 수열과 합 (Sequences and Summations)
Copyright © Cengage Learning. All rights reserved.
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.
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.
8.1 CompSci 102© Michael Frank Today’s topics Integers & Number TheoryIntegers & Number Theory – –Sequences – –Summations Reading: Sections 3.2Reading:
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
8.1 CompSci 102© Michael Frank Today’s topics Integers & Number TheoryIntegers & Number Theory – –More proof techniques – –Sequences – –Summations Reading:
Copyright © Cengage Learning. All rights reserved The Integral Test and Estimates of Sums.
22C:19 Discrete Structures Sequence and Sums Fall 2014 Sukumar Ghosh.
Fall 2002CMSC Discrete Structures1 Chapter 3 Sequences Mathematical Induction Recursion Recursion.
INFINITE SEQUENCES AND SERIES In general, it is difficult to find the exact sum of a series.  We were able to accomplish this for geometric series and.
The sum of the infinite and finite geometric sequence
Sequences & Summations
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 2 Sets Slides are adopted from “Discrete.
Copyright © Cengage Learning. All rights reserved.
Mathematical Induction Recursion
VCU, Department of Computer Science CMSC 302 Sequences and Summations Vojislav Kecman 9/19/2018.
Rosen 5th ed., §3.2 ~19 slides, ~1 lecture
Rosen 5th ed., §3.2 ~19 slides, ~1 lecture
Rosen 5th ed., §3.2 ~9 slides, ~½ lecture
Discrete Mathematics and its Applications
ICS 253: Discrete Structures I
Module #4.5, Topic #∞: Cardinality & Infinite Sets
Discrete Mathematics and its Applications
Copyright © Cengage Learning. All rights reserved.
CMSC Discrete Structures
SUMMATION or SIGMA NOTATION
Rosen 5th ed., §3.2 ~9 slides, ~½ lecture
9.1 Sequences Sequences are ordered lists generated by a
Discrete Mathematics and its Applications
Discrete Mathematics and its Applications
Copyright © Cengage Learning. All rights reserved.
Module #4.5, Topic #∞: Cardinality & Infinite Sets
Sequences and Summation Notation
Sequences & Summations
Discrete Mathematics and its Applications
Discrete Mathematics and its Applications
Discrete Mathematics and its Applications
Discrete Mathematics and its Applications
Discrete Mathematics and its Applications
Discrete Mathematics and its Applications
Sequences & Summations
Discrete Mathematics and its Applications
Presentation transcript:

Discrete Mathematics and its Applications 5/3/2019 University of Florida Dept. of Computer & Information Science & Engineering COT 3100 Applications of Discrete Structures Dr. Michael P. Frank Slides for a Course Based on the Text Discrete Mathematics & Its Applications (5th Edition) by Kenneth H. Rosen A word about organization: Since different courses have different lengths of lecture periods, and different instructors go at different paces, rather than dividing the material up into fixed-length lectures, we will divide it up into “modules” which correspond to major topic areas and will generally take 1-3 lectures to cover. Within modules, we have smaller “topics”. Within topics are individual slides. 5/3/2019 (c)2001-2003, Michael P. Frank (c)2001-2002, Michael P. Frank

Rosen 5th ed., §3.2 ~19 slides, ~1 lecture Module #12: Summations Rosen 5th ed., §3.2 ~19 slides, ~1 lecture 5/3/2019 (c)2001-2003, Michael P. Frank

Summation Notation Given a series {an}, an integer lower bound (or limit) j0, and an integer upper bound kj, then the summation of {an} from j to k is written and defined as follows: Here, i is called the index of summation. 5/3/2019 (c)2001-2003, Michael P. Frank

Generalized Summations For an infinite series, we may write: To sum a function over all members of a set X={x1, x2, …}: Or, if X={x|P(x)}, we may just write: 5/3/2019 (c)2001-2003, Michael P. Frank

Simple Summation Example 5/3/2019 (c)2001-2003, Michael P. Frank

More Summation Examples An infinite series with a finite sum: Using a predicate to define a set of elements to sum over: 5/3/2019 (c)2001-2003, Michael P. Frank

Summation Manipulations Some handy identities for summations: (Distributive law.) (Application of commut- ativity.) (Index shifting.) 5/3/2019 (c)2001-2003, Michael P. Frank

More Summation Manipulations Other identities that are sometimes useful: (Series splitting.) (Order reversal.) (Grouping.) 5/3/2019 (c)2001-2003, Michael P. Frank

Example: Impress Your Friends Boast, “I’m so smart; give me any 2-digit number n, and I’ll add all the numbers from 1 to n in my head in just a few seconds.” I.e., Evaluate the summation: There is a simple closed-form formula for the result, discovered by Euler at age 12! Leonhard Euler (1707-1783) 5/3/2019 (c)2001-2003, Michael P. Frank

Euler’s Trick, Illustrated Consider the sum: 1+2+…+(n/2)+((n/2)+1)+…+(n-1)+n n/2 pairs of elements, each pair summing to n+1, for a total of (n/2)(n+1). n+1 … n+1 n+1 5/3/2019 (c)2001-2003, Michael P. Frank

Symbolic Derivation of Trick 5/3/2019 (c)2001-2003, Michael P. Frank

Concluding Euler’s Derivation So, you only have to do 1 easy multiplication in your head, then cut in half. Also works for odd n (prove this at home). 5/3/2019 (c)2001-2003, Michael P. Frank

Example: Geometric Progression A geometric progression is a series of the form a, ar, ar2, ar3, …, ark, where a,rR. The sum of such a series is given by: We can reduce this to closed form via clever manipulation of summations... 5/3/2019 (c)2001-2003, Michael P. Frank

Geometric Sum Derivation Here we go... 5/3/2019 (c)2001-2003, Michael P. Frank

Derivation example cont... 5/3/2019 (c)2001-2003, Michael P. Frank

Concluding long derivation... 5/3/2019 (c)2001-2003, Michael P. Frank

Nested Summations These have the meaning you’d expect. Note issues of free vs. bound variables, just like in quantified expressions, integrals, etc. 5/3/2019 (c)2001-2003, Michael P. Frank

Some Shortcut Expressions Geometric series. Euler’s trick. Quadratic series. Cubic series. 5/3/2019 (c)2001-2003, Michael P. Frank

Using the Shortcuts Example: Evaluate . Use series splitting. Solve for desired summation. Apply quadratic series rule. Evaluate. 5/3/2019 (c)2001-2003, Michael P. Frank

Summations: Conclusion You need to know: How to read, write & evaluate summation expressions like: Summation manipulation laws we covered. Shortcut closed-form formulas, & how to use them. 5/3/2019 (c)2001-2003, Michael P. Frank